Pagini recente » Borderou de evaluare (job #2194860) | Borderou de evaluare (job #2637255) | Borderou de evaluare (job #1816411) | Borderou de evaluare (job #1697424) | Borderou de evaluare (job #2104991)
Borderou de evaluare (job #2104991)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(std::pair<int, int>)’:
user.cpp:43:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
(abs(painting[x - 1][y]) == color && abs(painting[x][y + 1]) == color ||
^
user.cpp:45:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
abs(painting[x + 1][y]) == color && abs(painting[x][y + 1]) == color ||
^
user.cpp:46:59: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
abs(painting[x + 1][y]) == color && abs(painting[x][y - 1]) == color);
^
user.cpp: In function ‘int main()’:
user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pictura.in", "r", stdin);
^
user.cpp:55:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pictura.out", "w", stdout);
^
user.cpp:57:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:63:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &painting[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 484kb | OK | 5 |
2 | 0ms | 500kb | OK | 5 |
3 | 0ms | 492kb | OK | 5 |
4 | 0ms | 504kb | OK | 5 |
5 | 0ms | 536kb | OK | 5 |
6 | 0ms | 544kb | OK | 5 |
7 | 0ms | 740kb | OK | 5 |
8 | 0ms | 776kb | OK | 5 |
9 | 4ms | 824kb | OK | 5 |
10 | 4ms | 860kb | OK | 5 |
11 | 16ms | 1264kb | OK | 5 |
12 | 16ms | 1260kb | OK | 5 |
13 | 32ms | 1668kb | OK | 5 |
14 | 32ms | 1676kb | OK | 5 |
15 | 32ms | 1672kb | OK | 5 |
16 | 76ms | 2104kb | OK | 5 |
17 | 108ms | 2548kb | OK | 5 |
18 | 180ms | 3404kb | OK | 5 |
19 | 264ms | 4248kb | OK | 5 |
20 | 308ms | 4692kb | OK | 5 |
Punctaj total | 100 |