Borderou de evaluare (job #690570)

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ă 26 ian. 2023 21:25:40 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:40:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 40 | for(int i = 0; i < v.size()-1; i++) { | ~~^~~~~~~~~~~~ main.cpp:56:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 56 | for(int i = 0; i < v1.size(); i++) { | ~~^~~~~~~~~~~ main.cpp:14:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | freopen("placa.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:15:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | freopen("placa.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:52:22: warning: 'R' may be used uninitialized in this function [-Wmaybe-uninitialized] 52 | for(int i = L; i <= R; i++) { | ~~^~~~ main.cpp:38:9: warning: 'L' may be used uninitialized in this function [-Wmaybe-uninitialized] 38 | int L, R, current_mn = INF, current_mx = 0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 237 kb OK 10
2 1 ms 114 kb OK 10
3 16 ms 638 kb OK 10
4 1 ms 245 kb OK 10
5 30 ms 1294 kb Killed by Signal 11 0
6 29 ms 1294 kb Killed by Signal 11 0
7 63 ms 1777 kb Killed by Signal 11 0
8 22 ms 507 kb Killed by Signal 11 0
9 15 ms 380 kb Killed by Signal 11 0
10 23 ms 507 kb Killed by Signal 11 0
Punctaj total 40