Problem | gota |
---|---|
User | Alden |
Submission Time | 2025-06-18 10:03:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gota.cpp: In function ‘int main()’:
gota.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin>>A>>N;
| ^~~
gota.cpp:4:5: error: ‘vector’ was not declared in this scope
4 | vector<int> vec(N);
| ^~~~~~
gota.cpp:4:12: error: expected primary-expression before ‘int’
4 | vector<int> vec(N);
| ^~~
gota.cpp:6:31: error: expected ‘;’ before ‘)’ token
6 | for (int i = 0; i < N, i++){
| ^
| ;
gota.cpp:7:16: error: ‘vec’ was not declared in this scope
7 | cin >> vec[i];
| ^~~
gota.cpp:17:13: error: ‘cout’ was not declared in this scope
17 | cout<<"YES";
| ^~~~
gota.cpp:20:13: error: ‘cout’ was not declared in this scope
20 | cout<<"NO";
| ^~~~