Problem | ntuc |
---|---|
User | abcde271828 |
Submission Time | 2025-06-19 11:15:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ntuc.cpp: In function ‘int main()’:
ntuc.cpp:12:5: error: ‘cin’ was not declared in this scope
12 | cin >> n >> k;
| ^~~
ntuc.cpp:14:5: error: ‘vector’ was not declared in this scope
14 | vector<Toji> v(n);
| ^~~~~~
ntuc.cpp:14:16: error: expected primary-expression before ‘>’ token
14 | vector<Toji> v(n);
| ^
ntuc.cpp:14:18: error: ‘v’ was not declared in this scope
14 | vector<Toji> v(n);
| ^
ntuc.cpp:22:5: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
22 | sort(v.begin(), v.end(), comparePhysical);
| ^~~~
| short
ntuc.cpp:39:5: error: ‘cout’ was not declared in this scope
39 | cout << ans;
| ^~~~