Pagini recente » Borderou de evaluare (job #1694105) | Borderou de evaluare (job #2271010) | Borderou de evaluare (job #2706366) | Borderou de evaluare (job #2292557) | Borderou de evaluare (job #2105941)
Borderou de evaluare (job #2105941)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(std::pair<short int, short int>)’:
user.cpp:45:18: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(I > 0 & I <= L & J >= 0 & J < C &
^
user.cpp:45:35: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(I > 0 & I <= L & J >= 0 & J < C &
^
user.cpp:45:44: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(I > 0 & I <= L & J >= 0 & J < C &
^
user.cpp:46: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:84:13: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
while(c < 48 | c > 57);
^
user.cpp:86: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:68: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:93: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:94: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 |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 440kb | OK | 10 |
5 | 0ms | 440kb | OK | 10 |
6 | 0ms | 484kb | OK | 10 |
7 | 0ms | 480kb | OK | 10 |
8 | Depăşit | 552kb | Time limit exceeded. | 0 |
9 | 0ms | 540kb | OK | 10 |
10 | 4ms | 552kb | OK | 10 |
Punctaj total | 90 |