Pagini recente » Borderou de evaluare (job #1233923) | Borderou de evaluare (job #1233408) | Borderou de evaluare (job #1336906)
Borderou de evaluare (job #1336906)
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("expresie.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("expresie.out","w",stdout);
^
user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:14:44: 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",&v[i]); s=s+v[i];}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 0ms | 428kb | OK | 10 |
| 3 | 0ms | 432kb | OK | 10 |
| 4 | 0ms | 432kb | OK | 10 |
| 5 | 0ms | 428kb | OK | 10 |
| 6 | 4ms | 428kb | OK | 10 |
| 7 | 8ms | 428kb | OK | 10 |
| 8 | 8ms | 432kb | OK | 10 |
| 9 | 12ms | 432kb | OK | 10 |
| 10 | 0ms | 432kb | OK | 10 |
| Punctaj total | 100 |