Borderou de evaluare (job #2105984)

Utilizator inquisitorAnders inquisitor Data 14 ianuarie 2018 18:37:01
Problema Figuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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
10ms496kbOK10
20ms496kbOK10
30ms492kbIncorect0
40ms500kbOK10
50ms500kbIncorect0
60ms512kbIncorect0
70ms516kbIncorect0
8Depăşit548kbTime limit exceeded.0
90ms532kbIncorect0
104ms552kbIncorect0
Punctaj total30

Ceva nu functioneaza?