Pagini recente » Borderou de evaluare (job #2534345) | Borderou de evaluare (job #1406625) | Borderou de evaluare (job #1076965) | Borderou de evaluare (job #1771284)
Borderou de evaluare (job #1771284)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &h[i][j]);
^
user.cpp:32:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", ans);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("homm.in", "r", stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("homm.out", "w", stdout);
^
user.cpp:11:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &k);
^
user.cpp:14:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &h[i][j]);
^
user.cpp:17:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &sx, &sy, &fx, &fy);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 660kb | OK | 10 |
2 | 0ms | 640kb | OK | 10 |
3 | 0ms | 640kb | OK | 10 |
4 | 0ms | 588kb | OK | 10 |
5 | 0ms | 796kb | OK | 10 |
6 | 0ms | 700kb | OK | 10 |
7 | 0ms | 652kb | Incorect | 0 |
8 | 0ms | 1612kb | OK | 10 |
9 | 0ms | 1020kb | OK | 10 |
10 | 0ms | 872kb | OK | 10 |
Punctaj total | 90 |