Pagini recente » Borderou de evaluare (job #900742) | Borderou de evaluare (job #598041) | Borderou de evaluare (job #2492495) | Borderou de evaluare (job #1022285) | Borderou de evaluare (job #1597170)
Borderou de evaluare (job #1597170)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d", &d[i], &c[i]);
^
user.cpp:29:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in", "r", stdin);
^
user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out", "w", stdout);
^
user.cpp:26:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &p, &k );
^
user.cpp:29:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &d[i], &c[i]);
^
user.cpp:39:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 16ms | 580kb | OK | 10 |
4 | 0ms | 616kb | OK | 10 |
5 | 8ms | 460kb | Incorect | 0 |
6 | 0ms | 328kb | OK | 10 |
7 | 0ms | 364kb | OK | 10 |
8 | 0ms | 292kb | OK | 10 |
9 | 8ms | 560kb | OK | 10 |
10 | 20ms | 592kb | OK | 10 |
Punctaj total | 80 |