Pagini recente » Borderou de evaluare (job #714614) | Borderou de evaluare (job #1793183) | Borderou de evaluare (job #342518) | Borderou de evaluare (job #2891940) | Borderou de evaluare (job #1746096)
Borderou de evaluare (job #1746096)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26: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:27: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:28: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:29: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 | 272kb | OK | 10 | 10 |
| 3 | 24ms | 660kb | OK | 10 | 10 |
| 4 | 48ms | 1048kb | OK | 10 | 10 |
| 5 | 128ms | 2604kb | OK | 10 | 10 |
| 6 | 160ms | 3004kb | OK | 10 | 10 |
| 7 | 188ms | 3388kb | OK | 10 | 30 |
| 8 | 212ms | 3780kb | OK | 10 |
| 9 | 228ms | 4168kb | OK | 10 |
| 10 | 0ms | 268kb | OK | 10 | 10 |
| Punctaj total | 100 |