Borderou de evaluare (job #719220)

Utilizator avatar ASN4999K Nuta Alexandru ASN4999K IP ascuns
Problemă 2numere (baraj gimnaziu) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 mai 2023 16:14:09 Scor 100

Raport evaluator

Compilare: main.cpp:68:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 68 | main() | ^~~~ main.cpp: In function 'int main()': main.cpp:70:10: warning: variable 'sol' set but not used [-Wunused-but-set-variable] 70 | auto sol=[&](bool x) | ^~~ main.cpp: In function 'void solve()': main.cpp:65:29: warning: 'm[1]' may be used uninitialized [-Wmaybe-uninitialized] 65 | cout<<m[0]<<'\n'<<m[1]<<'\n'<<rez; | ^~~~ main.cpp:49:9: note: 'm[1]' was declared here 49 | int m[2]; | ^ main.cpp:65:17: warning: 'm[0]' may be used uninitialized [-Wmaybe-uninitialized] 65 | cout<<m[0]<<'\n'<<m[1]<<'\n'<<rez; | ^~~~ main.cpp:49:9: note: 'm[0]' was declared here 49 | int m[2]; | ^
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 9 ms 774 kb OK 10
7 9 ms 245 kb OK 10
8 9 ms 897 kb OK 10
9 19 ms 1417 kb OK 10
10 9 ms 507 kb OK 10
Punctaj total 100