Borderou de evaluare (job #3179928)
Utilizator | Data | 4 decembrie 2023 14:18:13 | |
---|---|---|---|
Problema | Infinitywar | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:19:5: error: 'MAXNQ' was not declared in this scope; did you mean 'MAXN'?
19 | } q[MAXNQ+1];
| ^~~~~
| MAXN
main.cpp: In function 'void calc(int, int)':
main.cpp:36:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(j=0; j<v[i].size(); j++)
| ~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:65:14: error: 'q' was not declared in this scope
65 | cin>>q[i].l>>q[i].r;
| ^
main.cpp:75:10: error: 'q' was not declared in this scope
75 | sort(q+1, q+m+1, [&](const Query &a, const Query &b) {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !