Pagini recente » Borderou de evaluare (job #2532414) | Borderou de evaluare (job #2094283) | Borderou de evaluare (job #1571889) | Borderou de evaluare (job #2196253) | Borderou de evaluare (job #1653412)
Borderou de evaluare (job #1653412)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("orase1.in","r",stdin);
^
user.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("orase1.out","w",stdout);
^
user.cpp:33:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&K);
^
user.cpp:35:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=2;i<=n;++i) scanf("%d",&a[i]), a[i]+=a[i-1];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 20ms | 660kb | OK | 10 | 10 |
4 | 44ms | 1052kb | OK | 10 | 10 |
5 | 124ms | 2612kb | OK | 10 | 10 |
6 | 156ms | 3004kb | OK | 10 | 10 |
7 | 184ms | 3396kb | OK | 10 | 30 |
8 | 208ms | 3780kb | OK | 10 |
9 | 224ms | 4168kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 | 10 |
Punctaj total | 100 |