Borderou de evaluare (job #732991)

Utilizator avatar Cornea_Alexandru Cornea Alexandru Cornea_Alexandru IP ascuns
Problemă Extraprime (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 sept. 2023 19:05:23 Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 33 | if (cnt==1) | ^~ main.cpp:35:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 35 | maxi=i; | ^~~~ main.cpp:40:34: warning: 'maxi' may be used uninitialized [-Wmaybe-uninitialized] 40 | fout<<cnt<<'\n'<<mini<<'\n'<<maxi; | ^~~~ main.cpp:9:24: note: 'maxi' was declared here 9 | int a,b,cnt=0,mini,maxi; | ^~~~ main.cpp:40:28: warning: 'mini' may be used uninitialized [-Wmaybe-uninitialized] 40 | fout<<cnt<<'\n'<<mini<<'\n'<<maxi; | ^~~~ main.cpp:9:19: note: 'mini' was declared here 9 | int a,b,cnt=0,mini,maxi; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 512 kb OK 10
7 119 ms 2338 kb OK 10
8 1109 ms 20172 kb Time limit exceeded 0
9 1079 ms 14925 kb OK 10
10 1148 ms 20299 kb Time limit exceeded 0
Punctaj total 80