Borderou de evaluare (job #800182)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bravo, ai şir! (Clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 dec. 2024 19:23:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:92:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
92 | for(int i = 0; i < primes.size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp:112:33: error: expected '}' at end of input
112 | int len = 0;
| ^
main.cpp:109:21: note: to match this '{'
109 | else{
| ^
main.cpp:111:26: warning: unused variable 'tmp' [-Wunused-variable]
111 | char tmp[12];
| ^~~
main.cpp:112:25: warning: unused variable 'len' [-Wunused-variable]
112 | int len = 0;
| ^~~
main.cpp:112:33: error: expected '}' at end of input
112 | int len = 0;
| ^
main.cpp:88:23: note: to match this '{'
88 | while(M--){
| ^
main.cpp:112:33: error: expected '}' at end of input
112 | int len = 0;
| ^
main.cpp:76:13: note: to match this '{'
76 | else{
| ^
main.cpp:112:33: error: expected '}' at end of input
112 | int len = 0;
| ^
main.cpp:63:9: note: to match this '{'
63 | else{
| ^
main.cpp:112:33: error: expected '}' at end of input
112 | int len = 0;
| ^
main.cpp:4:11: note: to match this '{'
4 | int main(){
| ^