Borderou de evaluare (job #610069)

Utilizator avatar Lusian afa andrei Lusian IP ascuns
Problemă Comanda (clasa 5-6) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 oct. 2021 15:49:02 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool verif(int, char*)': main.cpp:9:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 9 | for(int j = 0 ; j < strlen(aux) ; j++) | ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:35:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 35 | for(int i = 0 ; i <strlen(r) ; i++) | ~~^~~~~~~~~~ main.cpp:35:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 35 | for(int i = 0 ; i <strlen(r) ; i++) | ^~~ main.cpp:37:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 37 | r=strtok(NULL,sep); | ^ main.cpp:50:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 50 | else | ^~~~ main.cpp:52:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 52 | return 0; | ^~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb OK 10
4 1 ms 131 kb OK 10
5 1 ms 131 kb OK 10
6 1 ms 131 kb OK 10
7 1 ms 131 kb OK 10
8 1 ms 131 kb OK 10
9 1 ms 131 kb OK 10
10 1 ms 131 kb OK 10
Punctaj total 100