Borderou de evaluare (job #690635)

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:13:52 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:32:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 32 | 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:40:32: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized] 40 | cout << minh << " " << r+1-l; | ^ main.cpp:40:29: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized] 40 | 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 245 kb a) linie incorecta; b) linie incorecta 0
3 23 ms 503 kb a) linie incorecta; b) linie incorecta 0
4 1 ms 245 kb a) linie incorecta; b) linie incorecta 0
5 66 ms 1298 kb a) linie incorecta; b) linie incorecta 0
6 69 ms 1425 kb a) linie incorecta; b) linie incorecta 0
7 65 ms 1294 kb a) linie incorecta; b) linie incorecta 0
8 47 ms 774 kb a) linie incorecta; b) linie incorecta 0
9 60 ms 638 kb a) linie incorecta; b) linie incorecta 0
10 49 ms 765 kb a) linie incorecta; b) linie incorecta 0
Punctaj total 0