Pagini recente » Borderou de evaluare (job #2827164) | Borderou de evaluare (job #2316070)
Borderou de evaluare (job #2316070)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
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("ksecv3.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("ksecv3.out","w",stdout);
^
main.cpp:11:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &n, &k, &v[0]);
^
main.cpp:13:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[i]),v[i]+=v[i-1];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 5ms | 262kb | OK | 10 |
6 | 6ms | 262kb | OK | 10 |
7 | 29ms | 917kb | OK | 10 |
8 | 78ms | 2359kb | OK | 10 |
9 | 28ms | 917kb | OK | 10 |
10 | 26ms | 917kb | OK | 10 |
Punctaj total | 100 |