Borderou de evaluare (job #708427)

Utilizator avatar teodor2017 Togan Teodor-Bogdan teodor2017 IP ascuns
Problemă Romeo si Julieta (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 16 mar. 2023 23:10:57 Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int BFS()': main.cpp:46:57: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 46 | }else if((q[p.rom % MOD].l.rom + dirl[i]) < lin == lin){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp:71:57: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 71 | }else if((q[p.jul % MOD].l.jul + dirl[i]) < lin == lin){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ main.cpp: In function 'void planB(int, int)': main.cpp:104:8: warning: unused variable 'f' [-Wunused-variable] 104 | bool f = false; | ^ main.cpp: In function 'int main()': main.cpp:125:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | fscanf(fin, "%d%d", &n, &m); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 90