Pagini recente » Borderou de evaluare (job #2035154) | Borderou de evaluare (job #2337962) | Borderou de evaluare (job #2904985) | Borderou de evaluare (job #405764) | Borderou de evaluare (job #2105987)
Borderou de evaluare (job #2105987)
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 |
1 | 0ms | 508kb | Incorect | 0 |
2 | 0ms | 504kb | OK | 10 |
3 | 0ms | 508kb | Incorect | 0 |
4 | 0ms | 508kb | Incorect | 0 |
5 | 0ms | 512kb | Incorect | 0 |
6 | 0ms | 520kb | Incorect | 0 |
7 | 0ms | 520kb | Incorect | 0 |
8 | Depăşit | 552kb | Time limit exceeded. | 0 |
9 | 0ms | 540kb | Incorect | 0 |
10 | 4ms | 568kb | Incorect | 0 |
Punctaj total | 10 |