Pagini recente » Borderou de evaluare (job #1712256) | Borderou de evaluare (job #1173756) | Borderou de evaluare (job #236459) | Borderou de evaluare (job #2378229) | Borderou de evaluare (job #1495547)
Borderou de evaluare (job #1495547)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:31:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d", &a[i][j]);
^
user.cpp: In function ‘void dfs(coord)’:
user.cpp:37:12: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int k, x = 0;
^
user.cpp: In function ‘void read()’:
user.cpp:26: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:27:59: 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, &m, &pl, &pc, &cl, &cc);
^
user.cpp:31:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
user.cpp: In function ‘void write()’:
user.cpp:82: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 | 320kb | OK | 10 |
2 | 0ms | 352kb | OK | 10 |
3 | 0ms | 560kb | OK | 10 |
4 | 4ms | 768kb | OK | 10 |
5 | 4ms | 764kb | OK | 10 |
6 | 36ms | 1808kb | OK | 10 |
7 | 108ms | 2760kb | OK | 10 |
8 | 252ms | 3744kb | OK | 10 |
9 | Depăşit | 5308kb | Time limit exceeded. | 0 |
10 | Depăşit | 5240kb | Time limit exceeded. | 0 |
Punctaj total | 80 |