mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 19:24:32 -06:00
Huge thanks to @adamnemecek for his help: this is mostly a merge of his branch.
4 lines
91 B
Swift
4 lines
91 B
Swift
// Type your code here, or load an example.
|
|
func square(n: Int) -> Int {
|
|
return n * n
|
|
} |