Pagini recente » Borderou de evaluare (job #1589300) | Borderou de evaluare (job #2445402) | Borderou de evaluare (job #1513391) | Borderou de evaluare (job #1815137) | Borderou de evaluare (job #1913056)
Borderou de evaluare (job #1913056)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=]
scanf("%d%ld", &n, &b);
^
user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.in", "r", stdin);
^
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.out", "w", stdout);
^
user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%ld", &n, &b);
^
user.cpp:21:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d", &p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 444kb | OK | 10 |
5 | 0ms | 452kb | Incorect | 0 |
6 | 0ms | 452kb | Incorect | 0 |
7 | 20ms | 588kb | Incorect | 0 |
8 | 20ms | 592kb | Incorect | 0 |
9 | 48ms | 788kb | Incorect | 0 |
10 | 44ms | 788kb | Incorect | 0 |
Punctaj total | 40 |