Pagini recente » Borderou de evaluare (job #2170556) | Borderou de evaluare (job #1218889) | Borderou de evaluare (job #72501) | Borderou de evaluare (job #776320) | Borderou de evaluare (job #1726449)
Borderou de evaluare (job #1726449)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",sum);
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.in","r",stdin);
^
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.out","w",stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 16ms | 796kb | OK | 10 |
5 | 20ms | 880kb | OK | 10 |
6 | 24ms | 996kb | OK | 10 |
7 | 44ms | 1348kb | OK | 10 |
8 | 60ms | 1384kb | OK | 10 |
9 | 48ms | 1416kb | OK | 10 |
10 | 48ms | 1428kb | OK | 10 |
Punctaj total | 100 |