mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
9 lines
170 B
Dart
9 lines
170 B
Dart
// Type your code here, or load an example.
|
|
int square(int num) {
|
|
return num * num;
|
|
}
|
|
|
|
int main(List<String> args) {
|
|
return square(int.fromEnvironment("input"));
|
|
}
|