21 lines
392 B
Typst
21 lines
392 B
Typst
#import "template/module.typ": *
|
|
|
|
#show: default.with(
|
|
title: "Golang Homework 5",
|
|
authors: ((
|
|
name: "Yi-Ting Shih (111550013)",
|
|
affiliation: "National Yang Ming Chaio Tung University",
|
|
email: "ytshih@cs.nycu.edu.tw",
|
|
),),
|
|
)
|
|
|
|
== Code
|
|
|
|
#code(read("../reverse.go"))
|
|
|
|
This code doesn't allocate new memory except array subscript `i, l, r`.
|
|
|
|
== Result
|
|
|
|
#code(read("../result"))
|