Problem | GSS |
---|---|
User | waffles |
Submission Time | 2025-06-19 16:44:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
GSS.cpp: In function ‘int main()’:
GSS.cpp:4:5: error: ‘cin’ was not declared in this scope
4 | cin >> n;
| ^~~
GSS.cpp:9:19: error: ‘greater’ was not declared in this scope
9 | sort (T, T+n, greater<int>());
| ^~~~~~~
GSS.cpp:9:27: error: expected primary-expression before ‘int’
9 | sort (T, T+n, greater<int>());
| ^~~
GSS.cpp:9:5: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
9 | sort (T, T+n, greater<int>());
| ^~~~
| short
GSS.cpp:19:5: error: ‘cout’ was not declared in this scope; did you mean ‘count’?
19 | cout << sum;
| ^~~~
| count