Borderou de evaluare (job #3164403)

Utilizator CraiuAndreiCraiu Andrei David CraiuAndrei Data 3 noiembrie 2023 02:22:27
Problema Ecuatii 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:19: warning: NULL used in arithmetic [-Wpointer-arith] 18 | for(i=0;s[i]!=NULL;) | ^~~~ main.cpp:61:19: warning: NULL used in arithmetic [-Wpointer-arith] 61 | for(i=j;s[i]!=NULL;) | ^~~~ main.cpp:104:19: warning: NULL used in arithmetic [-Wpointer-arith] 104 | for(i=0;s[i]!=NULL;) | ^~~~ main.cpp:61:16: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized] 61 | for(i=j;s[i]!=NULL;) | ~~~^ main.cpp:11:11: note: 'j' was declared here 11 | int i,j,nr,semn,k; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK!10
20ms303kbOK!10
30ms303kbOK!10
40ms303kbOK!10
50ms303kbGresit!0
60ms303kbGresit!0
70ms303kbGresit!0
80ms303kbGresit!0
90ms303kbGresit!0
100ms303kbOK!10
Punctaj total50

Ceva nu functioneaza?