Problem transform
User dooweidde
Submission Time 2025-10-15 16:24:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

transform.cpp: In function ‘int main()’:
transform.cpp:4:13: error: expected initializer before ‘long’
4 | #define int long long
| ^~~~
transform.cpp:48:2: note: in expansion of macro ‘int’
48 | int total = 0;
| ^~~
transform.cpp:55:18: error: ‘minnum’ was not declared in this scope
55 | minnum = INF;
| ^~~~~~
transform.cpp:60:18: error: ‘minnum’ was not declared in this scope
60 | if (minnum >= INF){
| ^~~~~~
transform.cpp:61:18: error: ‘total’ was not declared in this scope
61 | total = -1;
| ^~~~~
transform.cpp:67:10: error: ‘total’ was not declared in this scope
67 | total += minnum;
| ^~~~~
transform.cpp:67:19: error: ‘minnum’ was not declared in this scope
67 | total += minnum;
| ^~~~~~
transfor