Problem | GSS |
---|---|
User | CuriousFox |
Submission Time | 2024-06-20 10:38:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
GSS.cpp: In function ‘int main()’:
GSS.cpp:4:2: error: ‘cin’ was not declared in this scope
4 | cin >> bars;
| ^~~
GSS.cpp:5:2: error: ‘vector’ was not declared in this scope
5 | vector<long long> total_val(bars);
| ^~~~~~
GSS.cpp:5:9: error: expected primary-expression before ‘long’
5 | vector<long long> total_val(bars);
| ^~~~
GSS.cpp:8:3: error: ‘total_val’ was not declared in this scope
8 | total_val[i] = bars_val;
| ^~~~~~~~~
GSS.cpp:10:7: error: ‘total_val’ was not declared in this scope
10 | sort(total_val.begin(), total_val.end());
| ^~~~~~~~~
GSS.cpp:10:2: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
10 | sort(total_val.begin(), total_val.end());
| ^~~~
| short
GSS.cpp:14:2: error: ‘cout’ was not declared in this scope
14 | cout << ans;
| ^~~~