| Problem | NYSSW_easy |
|---|---|
| User | NoobMugger420 |
| Submission Time | 2024-12-11 14:33:54 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
NYSSW_easy.cpp: In function ‘int main()’:
NYSSW_easy.cpp:2:1: error: ‘ios_base’ has not been declared
2 | ios_base::sync_with_stdio(0); cin.tie(0); // do note that fast input/output is needed
| ^~~~~~~~
NYSSW_easy.cpp:2:31: error: ‘cin’ was not declared in this scope
2 | ios_base::sync_with_stdio(0); cin.tie(0); // do note that fast input/output is needed
| ^~~
NYSSW_easy.cpp:5:1: error: ‘vector’ was not declared in this scope
5 | vector<int> a(n);
| ^~~~~~
NYSSW_easy.cpp:5:8: error: expected primary-expression before ‘int’
5 | vector<int> a(n);
| ^~~
NYSSW_easy.cpp:6:15: error: ‘a’ was not declared in this scope
6 | for(auto &x : a) cin >> x;
| ^
NYSSW_easy.cpp:7:9: error: ‘a’ was not declared in this scope
7 | m = max(a[0], a[1]);
| ^
NYSSW_easy.cpp:7:5: error: ‘max’ was not declared in this s