Pagini recente » Borderou de evaluare (job #73559) | Borderou de evaluare (job #1585931) | Borderou de evaluare (job #1176603) | Borderou de evaluare (job #2213514) | Borderou de evaluare (job #1683217)
Borderou de evaluare (job #1683217)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.in", "r", stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.out", "w", stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:21:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; ++i) scanf("%lld", &a[i]), s+=a[i];
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 292kb | OK | 10 |
✗ | 2 | 72ms | 1852kb | OK | 10 |
✓ | 3 | 72ms | 1852kb | OK | 10 |
✗ | 4 | 0ms | 292kb | OK | 10 |
✗ | 5 | 0ms | 256kb | OK | 10 |
✗ | 6 | 0ms | 260kb | Incorect | 0 |
✓ | 7 | 0ms | 260kb | Incorect | 0 |
✗ | 8 | 0ms | 264kb | Incorect | 0 |
✗ | 9 | 0ms | 256kb | Incorect | 0 |
✗ | 10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 50 |