Borderou de evaluare (job #3247712)

Utilizator robert111Peter Robert robert111 Data 8 octombrie 2024 20:58:53
Problema Bere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 10 | for(int i=1;i<=n;i++) | ^~~ main.cpp:12:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 12 | for(int i=n+1;i<=2*n;i++) | ^~~ main.cpp:41:20: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 41 | cout<<r-(k-1)<<'\n'; | ^~~~ main.cpp:19:21: note: 'r' was declared here 19 | int st=k,dr=k+n,r; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
31ms303kbOK10
41ms303kbOK10
51ms303kbOK10
62ms303kbOK10
72ms303kbOK10
82ms303kbOK10
92ms557kbOK10
102ms557kbOK10
Punctaj total100

Ceva nu functioneaza?