Borderou de evaluare (job #3041491)
Utilizator | Data | 31 martie 2023 16:10:32 | |
---|---|---|---|
Problema | Cerc5 | 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:53:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | if (pos == v.size())
| ~~~~^~~~~~~~~~~
main.cpp:51:17: warning: unused variable 'ok' [-Wunused-variable]
51 | int ok = 1;
| ^~
main.cpp:72:30: error: expected ';' before 'n'
72 | x=(x%n+n)n;
| ^
| ;
main.cpp:76:29: error: expected ';' before 'n'
76 | x=(x%n+n)n;
| ^
| ;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !