Problem winter
User usernamehere
Submission Time 2024-12-21 11:10:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

winter.cpp: In function ‘int main()’:
winter.cpp:21:5: error: expected initializer before ‘ull’
21 | ull s = 0;
| ^~~
winter.cpp:25:9: error: ‘a’ was not declared in this scope
25 | a[i] = w;
| ^
winter.cpp:26:9: error: ‘s’ was not declared in this scope
26 | s += w;
| ^
winter.cpp:29:17: error: ‘a’ was not declared in this scope
29 | cout << a[0] << '\n';
| ^
winter.cpp:32:10: error: ‘a’ was not declared in this scope
32 | sort(a, a+m);
| ^
winter.cpp:37:21: error: ‘s’ was not declared in this scope
37 | cout << s - largest2 << '\n';
| ^
winter.cpp:39:21: error: ‘s’ was not declared in this scope
39 | cout << s - largest << '\n';
| ^