Pagini recente » Borderou de evaluare (job #2138509) | Borderou de evaluare (job #3229421) | Borderou de evaluare (job #925068) | Borderou de evaluare (job #2533643) | Borderou de evaluare (job #2318926)
Borderou de evaluare (job #2318926)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:22:30: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld",a*v[a]*2 );
^
main.cpp:16:13: warning: unused variable 'j' [-Wunused-variable]
int n,i,j;
^
main.cpp:9:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sum.in","r",stdin);
^
main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sum.out","w",stdout);
^
main.cpp:17:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:21:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 524kb | OK | 5 |
2 | 9ms | 524kb | OK | 5 |
3 | 9ms | 524kb | OK | 5 |
4 | 9ms | 524kb | OK | 5 |
5 | 9ms | 524kb | OK | 5 |
6 | 9ms | 524kb | OK | 5 |
7 | 9ms | 524kb | OK | 5 |
8 | 9ms | 524kb | OK | 5 |
9 | 9ms | 524kb | Incorect | 0 |
10 | 43ms | 655kb | OK | 5 |
11 | 13ms | 524kb | OK | 5 |
12 | 14ms | 524kb | OK | 5 |
13 | 17ms | 655kb | OK | 5 |
14 | 19ms | 655kb | OK | 5 |
15 | 54ms | 1048kb | Incorect | 0 |
16 | 61ms | 917kb | OK | 5 |
17 | 9ms | 524kb | OK | 5 |
18 | 91ms | 1441kb | Incorect | 0 |
19 | 72ms | 1441kb | Incorect | 0 |
20 | 81ms | 1572kb | Incorect | 0 |
Punctaj total | 75 |