Pagini recente » Borderou de evaluare (job #512534) | Borderou de evaluare (job #3141490) | Borderou de evaluare (job #285732) | Borderou de evaluare (job #2555849) | Borderou de evaluare (job #1277998)
Borderou de evaluare (job #1277998)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%I64d",&N,&K);
^
user.cpp:15:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:17:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&A[i]);
^
user.cpp:42:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d",Res);
^
user.cpp:13:37: 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:14:39: 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:15:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d",&N,&K);
^
user.cpp:17:29: 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 | 444kb | Incorect | 0 |
2 | 0ms | 436kb | Incorect | 0 |
3 | 0ms | 440kb | Incorect | 0 |
4 | 0ms | 460kb | Incorect | 0 |
5 | 36ms | 912kb | Incorect | 0 |
6 | 56ms | 912kb | Incorect | 0 |
7 | 96ms | 1224kb | Incorect | 0 |
8 | 140ms | 1540kb | Incorect | 0 |
9 | Depăşit | 1824kb | Time limit exceeded. | 0 |
10 | Depăşit | 1960kb | Time limit exceeded. | 0 |
Punctaj total | 0 |