Borderou de evaluare (job #690636)

Utilizator avatar trofim_ion Trofim Ion trofim_ion IP ascuns
Problemă Placa (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 27 ian. 2023 14:16:46 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 33 | for(int i = 0 ; i < v.size()-1 ; ++i){ | ~~^~~~~~~~~~~~ main.cpp:10:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | freopen("placa.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:11:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | freopen("placa.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:41:32: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized] 41 | cout << minh << " " << r+1-l; | ^ main.cpp:41:29: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] 41 | cout << minh << " " << r+1-l; | ~^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 237 kb a) linie incorecta; b) linie incorecta 0
2 1 ms 241 kb a) linie incorecta; b) linie incorecta 0
3 19 ms 507 kb a) linie incorecta; b) linie incorecta 0
4 1 ms 245 kb a) linie incorecta; b) linie incorecta 0
5 62 ms 1298 kb a) linie incorecta; b) linie incorecta 0
6 65 ms 1417 kb a) linie incorecta; b) linie incorecta 0
7 69 ms 1286 kb a) linie incorecta; b) linie incorecta 0
8 41 ms 770 kb a) linie incorecta; b) linie incorecta 0
9 53 ms 643 kb a) linie incorecta; b) linie incorecta 0
10 45 ms 770 kb a) linie incorecta; b) linie incorecta 0
Punctaj total 0