Borderou de evaluare (job #2692856)
Utilizator | Data | 3 ianuarie 2021 23:39:38 | |
---|---|---|---|
Problema | Pariuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:20:18: error: 'x' was not declared in this scope
vmil[x]+=y;
^
main.cpp:20:22: error: 'y' was not declared in this scope
vmil[x]+=y;
^
main.cpp:24:15: error: cannot convert 'std::pair<const long long int, long long int>' to 'int' in initialization
for(int i:vmil)
^~~~
main.cpp:25:17: error: request for member 'first' in 'i', which is of non-class type 'int'
fout<<i.first<<" "<<i.second<<" ";
^~~~~
main.cpp:25:31: error: request for member 'second' in 'i', which is of non-class type 'int'
fout<<i.first<<" "<<i.second<<" ";
^~~~~~
main.cpp:11:13: warning: unused variable 'poz' [-Wunused-variable]
int n,m,poz=0;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !