Borderou de evaluare (job #2962990)
Utilizator | Data | 9 ianuarie 2023 22:38:06 | |
---|---|---|---|
Problema | Aranjare3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:15:1: error: 'vector' does not name a type
15 | vector<pair<int,int>>ans;
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:35:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
35 | ans.push_back(make_pair(0,1));
| ^~~
| abs
main.cpp:40:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
40 | ans.push_back(make_pair(0,2));
| ^~~
| abs
main.cpp:46:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
46 | ans.push_back(make_pair(2,0));
| ^~~
| abs
main.cpp:52:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
52 | ans.push_back(make_pair(1,0));
| ^~~
| abs
main.cpp:56:19: error: 'ans' was not declared in this scope; did you mean 'abs'?
56 | fout<<2<<" "<<ans.size()<<"\n";
| ^~~
| abs
main.cpp:19:13: warning: unused variable 'j' [-Wunused-variable]
19 | int n,i,j,k,x,mask,varf;
| ^
main.cpp:19:15: warning: unused variable 'k' [-Wunused-variable]
19 | int n,i,j,k,x,mask,varf;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !