Pagini recente » Borderou de evaluare (job #994333) | Borderou de evaluare (job #282492) | Borderou de evaluare (job #2836013) | Borderou de evaluare (job #1670155) | Borderou de evaluare (job #1338065)
Borderou de evaluare (job #1338065)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d", &n, &p, &k);
^
user.cpp:13:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:13:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:16:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &a[i], &b[i]);
^
user.cpp:16:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:20:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &r, &t);
^
user.cpp:20:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:11: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:12: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:13:32: 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:16:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a[i], &b[i]);
^
user.cpp:20:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &r, &t);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 292kb | Incorect | 0 |
| 2 | 0ms | 292kb | Incorect | 0 |
| 3 | 8ms | 320kb | Incorect | 0 |
| 4 | 0ms | 292kb | Incorect | 0 |
| 5 | 8ms | 312kb | Incorect | 0 |
| 6 | 0ms | 300kb | Incorect | 0 |
| 7 | 0ms | 300kb | Incorect | 0 |
| 8 | 0ms | 292kb | Incorect | 0 |
| 9 | 0ms | 320kb | Incorect | 0 |
| 10 | 12ms | 332kb | Incorect | 0 |
| Punctaj total | 0 |