Pagini recente » Cod sursa (job #26932) | Diferente pentru happy-coding-2007/solutii intre reviziile 56 si 13 | Diferente pentru happy-coding-2005-2/solutii intre reviziile 6 si 7 | Cod sursa (job #1822166) | Borderou de evaluare (job #1426395)
Borderou de evaluare (job #1426395)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &v[i]);
^
user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elemente.in", "r", stdin);
^
user.cpp:45:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elemente.out", "w", stdout);
^
user.cpp:46:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld", &n, &k);
^
user.cpp:49:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 272kb | Incorect | 0 |
| 4 | 0ms | 272kb | Incorect | 0 |
| 5 | 12ms | 508kb | Incorect | 0 |
| 6 | 16ms | 508kb | Incorect | 0 |
| 7 | 32ms | 660kb | Incorect | 0 |
| 8 | 60ms | 820kb | Incorect | 0 |
| 9 | 68ms | 972kb | Incorect | 0 |
| 10 | 88ms | 1048kb | Incorect | 0 |
| Punctaj total | 20 |