Pagini recente » Borderou de evaluare (job #2495599) | Borderou de evaluare (job #1973356) | Borderou de evaluare (job #1973391) | Borderou de evaluare (job #1798755) | Borderou de evaluare (job #1695304)
Borderou de evaluare (job #1695304)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:11:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nucleulvaloros2.in","r",stdin);
^
user.cpp:12:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nucleulvaloros2.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ",&v[i]),sum[i]=sum[i-1]+v[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1028kb | OK | 10 | 100 |
2 | 36ms | 8380kb | OK | 10 |
3 | 76ms | 14320kb | OK | 10 |
4 | 304ms | 39888kb | OK | 10 |
5 | 788ms | 74172kb | OK | 10 |
6 | 796ms | 74164kb | OK | 10 |
7 | 804ms | 74164kb | OK | 10 |
8 | 796ms | 74168kb | OK | 10 |
9 | 776ms | 74172kb | OK | 10 |
10 | 784ms | 74168kb | OK | 10 |
Punctaj total | 100 |