Pagini recente » Borderou de evaluare (job #2534694) | Borderou de evaluare (job #1277357) | Borderou de evaluare (job #2591594) | Borderou de evaluare (job #2439494) | Borderou de evaluare (job #1438607)
Borderou de evaluare (job #1438607)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:65:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d \n", &forest[i][j]);
^
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("padure.in", "r", stdin);
^
user.cpp:57:95: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d\n", &n, &m, &start.line, &start.column, &stop.line, &stop.column);
^
user.cpp:65:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d \n", &forest[i][j]);
^
user.cpp: In function ‘void write()’:
user.cpp:73:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 352kb | OK | 10 |
| 2 | 0ms | 396kb | OK | 10 |
| 3 | 0ms | 636kb | OK | 10 |
| 4 | 4ms | 888kb | OK | 10 |
| 5 | 4ms | 892kb | OK | 10 |
| 6 | 24ms | 2076kb | OK | 10 |
| 7 | 76ms | 3268kb | OK | 10 |
| 8 | 196ms | 4456kb | OK | 10 |
| 9 | 312ms | 6260kb | OK | 10 |
| 10 | 344ms | 6244kb | OK | 10 |
| Punctaj total | 100 |