Borderou de evaluare (job #3182597)

Utilizator Dumiboidumitrache rares Dumiboi Data 9 decembrie 2023 10:55:21
Problema Transport Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 25 | for(i=1;i<=n;i++) | ^~~ main.cpp:33:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 33 | if(nrt>k) | ^~ main.cpp:41:11: warning: 'sol' may be used uninitialized [-Wmaybe-uninitialized] 41 | cout<<sol; | ^~~ main.cpp:9:13: note: 'sol' was declared here 9 | int n,k,sol,st,dr,maxim=0,i,s=0,mij,nrt; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbOK10
40ms303kbOK10
50ms303kbOK10
61ms303kbOK10
71ms303kbOK10
81ms303kbOK10
91ms303kbOK10
101ms303kbOK10
Punctaj total100

Ceva nu functioneaza?