Pagini recente » Borderou de evaluare (job #2019253) | Borderou de evaluare (job #1609635) | Borderou de evaluare (job #2405071) | Borderou de evaluare (job #1048211) | Borderou de evaluare (job #190911)
Borderou de evaluare (job #190911)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:131:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("borcane.in","r",stdin);
^
user.cpp:132:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("borcane.out","w",stdout);
^
user.cpp:135:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:136: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("%d",v+i); suma += v[i]; }
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 3 | 0ms | 272kb | OK! | 10 |
| 4 | 0ms | 264kb | OK! | 10 |
| 5 | 0ms | 272kb | OK! | 10 |
| 6 | 4ms | 268kb | OK! | 10 |
| 7 | 12ms | 264kb | OK! | 10 |
| 8 | 20ms | 272kb | OK! | 10 |
| 9 | 44ms | 268kb | OK! | 10 |
| 10 | 0ms | 264kb | OK! | 10 |
| Punctaj total | 80 |