Borderou de evaluare (job #693802)

Utilizator avatar trofim_ion Trofim Ion trofim_ion IP ascuns
Problemă Patrat (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 7 feb. 2023 18:24:58 Scor 35

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:51:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 51 | for(int i = 0 ; i < v.size() ; ++i){ | ~~^~~~~~~~~~ main.cpp:34:9: warning: unused variable 'ans' [-Wunused-variable] 34 | int ans = 0; | ^~~ main.cpp:32:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | freopen("patrat.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:33:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | freopen("patrat.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 5
2 1 ms 114 kb OK 5
3 2 ms 245 kb OK 5
4 7 ms 245 kb OK 5
5 1 ms 114 kb OK 5
6 1 ms 118 kb OK 5
7 7 ms 245 kb OK 5
8 65 ms 512 kb Killed by Signal 11 0
9 15 ms 249 kb Killed by Signal 11 0
10 16 ms 249 kb Killed by Signal 11 0
11 34 ms 245 kb Killed by Signal 11 0
12 41 ms 380 kb Killed by Signal 11 0
13 34 ms 245 kb Killed by Signal 11 0
14 17 ms 372 kb Killed by Signal 11 0
15 39 ms 512 kb Killed by Signal 11 0
16 33 ms 249 kb Killed by Signal 11 0
17 38 ms 512 kb Killed by Signal 11 0
18 41 ms 512 kb Killed by Signal 11 0
19 34 ms 376 kb Killed by Signal 11 0
20 35 ms 380 kb Killed by Signal 11 0
Punctaj total 35