Pagini recente » Borderou de evaluare (job #404717) | Borderou de evaluare (job #1014364) | Borderou de evaluare (job #3214569) | Borderou de evaluare (job #231955) | Borderou de evaluare (job #1532129)
Borderou de evaluare (job #1532129)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘ll* {aka long long int*}’ [-Wformat=]
scanf("%d %I64d",&N,&B);
^
user.cpp:24:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=]
scanf("%I64d",&A[i]);
^
user.cpp:47:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ll {aka long long int}’ [-Wformat=]
printf("%I64d\n",Sol);
^
user.cpp:18:34: 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:36: 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:21:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %I64d",&N,&B);
^
user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&A[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 268kb | Incorect | 0 |
✓ | 2 | 0ms | 276kb | Incorect | 0 |
✓ | 3 | 0ms | 280kb | Incorect | 0 |
✓ | 4 | 0ms | 280kb | Incorect | 0 |
✓ | 5 | 8ms | 308kb | Incorect | 0 |
✓ | 6 | 4ms | 312kb | Incorect | 0 |
✓ | 7 | 68ms | 588kb | Incorect | 0 |
✓ | 8 | 60ms | 584kb | Incorect | 0 |
✓ | 9 | 160ms | 980kb | Incorect | 0 |
✓ | 10 | 148ms | 980kb | Incorect | 0 |
Punctaj total | 0 |