Borderou de evaluare (job #2105982)

Utilizator inquisitorAnders inquisitor Data 14 ianuarie 2018 18:32:40
Problema Figuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void BFS(std::pair<short int, short int>)’: user.cpp:47:18: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(I > 0 & I <= L & J >= 0 & J < C & ^ user.cpp:47:35: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(I > 0 & I <= L & J >= 0 & J < C & ^ user.cpp:47:44: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(I > 0 & I <= L & J >= 0 & J < C & ^ user.cpp:48:28: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] paper[I][J] == color & !visited[I][J]) ^ user.cpp: In function ‘int get_nr()’: user.cpp:86:13: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] while(c < 48 | c > 57); ^ user.cpp:88:13: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] for(; c > 47 & c < 58; nr = nr * 10 + c - 48, c = GetChar()); ^ user.cpp: In function ‘char GetChar()’: user.cpp:70:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff, 1, kBuffSize, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:95: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:96: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms500kbOK10
20ms500kbOK10
30ms504kbIncorect0
40ms500kbIncorect0
50ms504kbIncorect0
60ms516kbIncorect0
70ms520kbIncorect0
8Depăşit552kbTime limit exceeded.0
90ms536kbIncorect0
104ms564kbIncorect0
Punctaj total20

Ceva nu functioneaza?