Borderou de evaluare (job #2737916)

Utilizator marcumihaiMarcu Mihai marcumihai Data 5 aprilie 2021 12:11:11
Problema Showroom Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'void citire()': main.cpp:22:22: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] mt[i][j]=NULL; ^~~~ main.cpp: In function 'int main()': main.cpp:55:26: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] mt[i][j]=NULL; ^~~~ main.cpp:64:22: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] s[i]=NULL; ^~~~ main.cpp:51:13: warning: unused variable 'ok' [-Wunused-variable] int ok=1; ^~ main.cpp:44:9: warning: unused variable 'nivel' [-Wunused-variable] int nivel=0; ^~~~~ main.cpp: In function 'void citire()': main.cpp:22:21: warning: iteration 50 invokes undefined behavior [-Waggressive-loop-optimizations] mt[i][j]=NULL; ^ main.cpp:21:23: note: within this loop for(int j=0; j<=50; ++j) ~^~~~ main.cpp: In function 'int main()': main.cpp:55:25: warning: iteration 50 invokes undefined behavior [-Waggressive-loop-optimizations] mt[i][j]=NULL; ^ main.cpp:54:27: note: within this loop for(int j=0; j<=50; ++j) ~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbPartial incorect5
24ms131kbPartial incorect5
334ms262kbPartial incorect5
4106ms262kbPartial incorect5
5400ms393kbTime limit exceeded0
6400ms352kbTime limit exceeded0
7401ms393kbTime limit exceeded0
88ms131kbIncorect0
927ms131kbOK10
1010ms131kbIncorect0
Punctaj total30

Ceva nu functioneaza?