Borderou de evaluare (job #629127)

Utilizator avatar MAlex2019 Melintioi George Alexandru MAlex2019 IP ascuns
Problemă Turist (clasa a 8-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 30 ian. 2022 15:11:54 Scor 50

Raport evaluator

Compilare: main.c:1: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 1 | #pragma warning(disable: 4996) | main.c: In function 'main': main.c:51:97: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses] 51 | if (j != i && !used[j] && poz[j][0] == 0 && !(poz[i][1] > 0 ^ poz[j][1] > 0)) | ~~~~~~~~~~^~~ main.c:56:97: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses] 56 | if (j != i && !used[j] && poz[j][1] == 0 && !(poz[i][0] > 0 ^ poz[j][0] > 0)) | ~~~~~~~~~~^~~ main.c:77:66: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses] 77 | !(min[1] > 0 ^ max[1] > 0) && !(min[0] > 0 ^ max[0] > 0)) | ~~~~~~~^~~ main.c:77:96: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses] 77 | !(min[1] > 0 ^ max[1] > 0) && !(min[0] > 0 ^ max[0] > 0)) | ~~~~~~~^~~ main.c:32:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fscanf(fin, "%d%d%d%d%d", &n, &m, &l, &c, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:34:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | fscanf(fin, "%d%d", &poz[i][0], &poz[i][1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb OK 10
3 1 ms 118 kb OK 10
4 1 ms 118 kb Incorect 0
5 60 ms 118 kb OK 10
6 1 ms 118 kb Incorect 0
7 1 ms 118 kb Incorect 0
8 6 ms 114 kb Incorect 0
9 1 ms 118 kb OK 10
10 1 ms 118 kb OK 10
Punctaj total 50