Pagini recente » Borderou de evaluare (job #2562780) | Borderou de evaluare (job #2088352) | Borderou de evaluare (job #1203007) | Borderou de evaluare (job #2160085) | Borderou de evaluare (job #1885808)
Borderou de evaluare (job #1885808)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:20: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (a[i][j] == a[i + 1][j] + 1 || a[i][j] == a[i + 1][j] - 1 || b[i][j] == b[i + 1][j] + 1 || b[i][j] == b[i + 1][j] - 1)
^
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zona.in","r",stdin);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zona.out","w",stdout);
^
user.cpp:19:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n", &x, &y, &n, &q);
^
user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &d);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | Corect | 10 |
| 2 | 0ms | 468kb | Corect | 10 |
| 3 | 0ms | 464kb | Corect | 10 |
| 4 | 0ms | 460kb | Corect | 10 |
| 5 | 0ms | 464kb | Corect | 10 |
| 6 | 0ms | 468kb | Corect | 10 |
| 7 | 0ms | 468kb | Corect | 10 |
| 8 | 0ms | 484kb | Corect | 10 |
| 9 | 0ms | 484kb | Corect | 10 |
| 10 | 0ms | 480kb | Corect | 10 |
| Punctaj total | 100 |