Borderou de evaluare (job #611606)

Utilizator avatar Simon b i g b r e i n Simon Simon IP ascuns
Problemă Text (clasa 9) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 20 oct. 2021 19:21:03 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:21: warning: NULL used in arithmetic [-Wpointer-arith] 17 | while(s[l]!=NULL) | ^~~~ main.cpp:83:32: warning: NULL used in arithmetic [-Wpointer-arith] 83 | if(s[poz]==NULL) | ^~~~ main.cpp:95:18: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 95 | s[i]=NULL; | ^~~~ main.cpp:20:13: warning: variable 'lcop' set but not used [-Wunused-but-set-variable] 20 | int lcop,cop=0,poz2=0; | ^~~~ main.cpp:20:18: warning: variable 'cop' set but not used [-Wunused-but-set-variable] 20 | int lcop,cop=0,poz2=0; | ^~~ main.cpp:10:11: warning: unused variable 'n' [-Wunused-variable] 10 | int m,n=1,l,icop,l2,p,poz,pp,pozcop,k,r,i,lung; | ^ main.cpp:71:22: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] 71 | r--; | ~^~ main.cpp:75:34: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] 75 | for(i=1;i<=p;i++) | ~^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb Incorect 0
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 Incorect 0
7 1 ms 131 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb Incorect 0
10 2 ms 131 kb Incorect 0
Punctaj total 10