Borderou de evaluare (job #2335906)

Utilizator NoemikulcsarKulcsar Noemi Noemikulcsar Data 4 februarie 2019 17:04:47
Problema Pluton Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:51:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' i--; ^ main.cpp:54:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (i=pmax; i<pmax+nrpmax; i++) ^~~ main.cpp:56:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' return 0; ^~~~~~ main.cpp:20:38: warning: 'pmax' may be used uninitialized in this function [-Wmaybe-uninitialized] int n,i,j,nrp=0,nrmax=-1,nrpmax=0,p,pmax; ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms131kbOk!1050
23ms131kbOk!10
32ms131kbOk!10
42ms131kbOk!10
59ms262kbOk!10
64ms131kbOk!1050
76ms131kbOk!10
87ms131kbOk!10
910ms131kbOk!10
102ms131kbOk!10
Punctaj total100

Ceva nu functioneaza?