Borderou de evaluare (job #691960)

Utilizator avatar Trusca-Marian-Daniel Trusca Marian-Daniel Trusca-Marian-Daniel IP ascuns
Problemă Lanterna Compilator cpp-32 | vezi sursa
Rundă cex_11_12_30_ian_2023 Status evaluat
Dată 1 feb. 2023 18:27:38 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'short int cautare(int, bool)': main.cpp:20:31: warning: overflow in conversion from 'int' to 'short int' changes value from '1000000000' to '-13824' [-Woverflow] 20 | short minim = 1000000000, persoana; | ^~~~~~~~~~ main.cpp:44:36: warning: overflow in conversion from 'int' to 'short int' changes value from '1000000000' to '-13824' [-Woverflow] 44 | rezultat = 1000000000; | ^~~~~~~~~~ main.cpp:27:64: warning: 'persoana' may be used uninitialized in this function [-Wmaybe-uninitialized] 27 | rezultat = minim + cautare(mascaStanga | (1 << persoana), !tura); | ^~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 2084 kb Memory limit exceeded 0
2 1 ms 2211 kb Memory limit exceeded 0
3 1 ms 2080 kb Memory limit exceeded 0
4 1 ms 2215 kb Memory limit exceeded 0
5 2 ms 2084 kb Memory limit exceeded 0
6 1 ms 2211 kb Memory limit exceeded 0
7 1 ms 2211 kb Memory limit exceeded 0
8 1 ms 2084 kb Memory limit exceeded 0
9 1 ms 2215 kb Memory limit exceeded 0
10 1 ms 2215 kb Memory limit exceeded 0
Punctaj total 0