Borderou de evaluare (job #619836)

Utilizator avatar ssss Ismana Andrei Stefan ssss IP ascuns
Problemă Excel1 (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 6 dec. 2021 15:59:29 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int transfcol()': main.cpp:14:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 14 | for(i = 0; i < strlen(v); i++) | ~~^~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:42:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 42 | if(aux == ' ' || aux == '\n') | ^~ main.cpp:44:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 44 | operatii[cnt][cnt1] = aux; | ^~~~~~~~ main.cpp: In function 'int transfcol()': main.cpp:23:25: warning: 'col' may be used uninitialized in this function [-Wmaybe-uninitialized] 23 | rasp += mat[lin][col]; | ~~~~~~~~~~~~^ main.cpp:23:25: warning: 'lin' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 2 ms 131 kb OK 10
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb Incorect 0
6 1 ms 131 kb OK 10
7 1 ms 262 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb Incorect 0
10 1 ms 131 kb OK 10
Punctaj total 40