Pagini recente » Borderou de evaluare (job #1567639) | Cod sursa (job #135555) | Cod sursa (job #923760) | Borderou de evaluare (job #2142395) | Borderou de evaluare (job #1524085)
Borderou de evaluare (job #1524085)
Raport evaluator
Compilare:
main.cpp: In function 'void myfill(int, int)':
main.cpp:21:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (xn >= 0 && xn < n && yn >= 0 && yn < m)
^
main.cpp: In function 'int main()':
main.cpp:54:28: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1002]' [-Wformat=]
scanf ("%s", &H [i]);
^
main.cpp:49:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("pirati.in", "r", stdin);
^
main.cpp:50:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("pirati.out", "w", stdout);
^
main.cpp:52:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d\n", &n, &m, &q);
^
main.cpp:54:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", &H [i]);
^
main.cpp:66:47: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d%d", &xs, &ys, &xf, &yf);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 25ms | 12582kb | OK! | 8 |
| 2 | 34ms | 13238kb | OK! | 10 |
| 3 | 64ms | 16506kb | OK! | 10 |
| 4 | 130ms | 22278kb | OK! | 10 |
| 5 | 316ms | 41254kb | OK! | 10 |
| 6 | 342ms | 43089kb | OK! | 10 |
| 7 | 342ms | 45309kb | OK! | 10 |
| 8 | 386ms | 48451kb | OK! | 10 |
| 9 | 388ms | 49500kb | OK! | 10 |
| 10 | 387ms | 48848kb | OK! | 10 |
| 11 | 27ms | 12189kb | OK! | 1 |
| 12 | 28ms | 12189kb | OK! | 1 |
| Punctaj total | 100 |