Problem | GSS |
---|---|
User | ansel |
Submission Time | 2024-06-30 20:47:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
GSS.cpp: In function ‘int main()’:
GSS.cpp:9:5: error: expected initializer before ‘unsigned’
9 | unsigned long long A[N];
| ^~~~~~~~
GSS.cpp:11:14: error: ‘A’ was not declared in this scope
11 | cin>>A[i];
| ^
GSS.cpp:12:9: error: ‘total’ was not declared in this scope
12 | total+=A[i];
| ^~~~~
GSS.cpp:14:10: error: ‘A’ was not declared in this scope
14 | sort(A, A+N, smaller);
| ^
GSS.cpp:16:9: error: ‘total’ was not declared in this scope
16 | total-=A[i];
| ^~~~~
GSS.cpp:18:11: error: ‘total’ was not declared in this scope
18 | cout<<total;
| ^~~~~