Borderou de evaluare (job #755284)

Utilizator avatar AffinityLiving AffinityLiving Riverside AffinityLiving IP ascuns
Problemă Tunel (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 14 ian. 2024 14:10:44 Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 21 | if(i + pas < tunnels[col].size() && tunnels[col][i + pas] <= lin) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:43:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 43 | if(i + pas < tunnels[col].size() && tunnels[col][i + pas] <= lin) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:66:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 66 | if(i + pas < tunnels[col].size() && tunnels[col][i + pas] <= lin) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:6:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 6 | freopen("tunel.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:7:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | freopen("tunel.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:8:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | scanf("%d%d%d%d", &c, &n, &m, &l); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:10:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | scanf("%d", &p); | ~~~~~^~~~~~~~~~ main.cpp:12:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | scanf("%d", &x); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 503 kb OK 4
2 1 ms 507 kb Killed by Signal 11 0
3 1 ms 512 kb Killed by Signal 11 0
4 1 ms 503 kb OK 4
5 1 ms 503 kb OK 4
6 1 ms 512 kb OK 4
7 10 ms 507 kb Incorect 0
8 49 ms 1036 kb OK 4
9 1 ms 503 kb OK 4
10 1 ms 507 kb OK 4
11 19 ms 770 kb OK 4
12 1 ms 507 kb OK 4
13 46 ms 1036 kb OK 4
14 1 ms 507 kb OK 4
15 1 ms 507 kb OK 4
16 86 ms 1298 kb OK 4
17 9 ms 507 kb OK 4
18 19 ms 770 kb OK 4
19 19 ms 765 kb OK 4
20 1 ms 507 kb Killed by Signal 11 0
21 1 ms 503 kb OK 4
22 18 ms 765 kb OK 4
23 8 ms 507 kb OK 4
24 1 ms 507 kb OK 4
25 2 ms 507 kb Killed by Signal 11 0
Punctaj total 80