Pagini recente » Borderou de evaluare (job #1554539) | Borderou de evaluare (job #2859653) | Istoria paginii sandbox/usermacrobug | Borderou de evaluare (job #1189574) | Borderou de evaluare (job #2105887)
Borderou de evaluare (job #2105887)
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 > 0 & I <= L & J >= 0 & J < C &
^
user.cpp:41:35: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(I > 0 & I <= L & J >= 0 & J < C &
^
user.cpp:41:44: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(I > 0 & I <= L & J >= 0 & J < C &
^
user.cpp:42:28: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
paper[I][J] == color & !visited[I][J])
^
user.cpp: In function ‘int main()’:
user.cpp:56: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:57: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:61: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:65: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 |
| 1 | 0ms | 488kb | OK | 10 |
| 2 | 0ms | 484kb | OK | 10 |
| 3 | 0ms | 484kb | OK | 10 |
| 4 | 0ms | 492kb | OK | 10 |
| 5 | 0ms | 492kb | OK | 10 |
| 6 | 0ms | 532kb | OK | 10 |
| 7 | 0ms | 532kb | OK | 10 |
| 8 | Depăşit | 572kb | Time limit exceeded. | 0 |
| 9 | 0ms | 588kb | OK | 10 |
| 10 | 4ms | 592kb | OK | 10 |
| Punctaj total | 90 |