Pagini recente » Borderou de evaluare (job #269038) | Borderou de evaluare (job #1650935) | Borderou de evaluare (job #2126872) | Borderou de evaluare (job #434769) | Borderou de evaluare (job #1438608)
Borderou de evaluare (job #1438608)
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 | 632kb | OK | 10 |
4 | 4ms | 892kb | OK | 10 |
5 | 4ms | 888kb | OK | 10 |
6 | 24ms | 2072kb | OK | 10 |
7 | 76ms | 3268kb | OK | 10 |
8 | 188ms | 4452kb | OK | 10 |
9 | 316ms | 6264kb | OK | 10 |
10 | 352ms | 6244kb | OK | 10 |
Punctaj total | 100 |