Borderou de evaluare (job #2105886)

Utilizator inquisitorAnders inquisitor Data 14 ianuarie 2018 16:07:12
Problema Figuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void BFS(std::pair<short int, short int>)’: user.cpp:41:18: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] if(I < 1 | I > L | J < 0 | J >= C) ^ user.cpp:41:34: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] if(I < 1 | I > L | J < 0 | J >= C) ^ user.cpp:41:42: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] if(I < 1 | I > L | J < 0 | J >= C) ^ user.cpp: In function ‘int main()’: user.cpp:60:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("figuri.in", "r", stdin); ^ user.cpp:61:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("figuri.out", "w", stdout); ^ user.cpp:65:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd %hd %hd", &C, &L, &shapes); ^ user.cpp:69:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd %hd %hd %hd %hd", &x1, &y1, &x2, &y2, &color); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms492kbOK10
20ms480kbOK10
30ms488kbOK10
40ms492kbOK10
50ms496kbOK10
60ms532kbOK10
70ms536kbOK10
8Depăşit580kbTime limit exceeded.0
90ms592kbOK10
104ms592kbOK10
Punctaj total90

Ceva nu functioneaza?