Pagini recente » Borderou de evaluare (job #361575) | Borderou de evaluare (job #2648067) | Borderou de evaluare (job #631042) | Borderou de evaluare (job #2120663) | Borderou de evaluare (job #302058)
Borderou de evaluare (job #302058)
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 | 0ms | 264kb | OK! | 10 |
| 2 | 0ms | 264kb | OK! | 10 |
| 3 | 0ms | 268kb | OK! | 10 |
| 4 | 0ms | 264kb | OK! | 10 |
| 5 | 0ms | 268kb | OK! | 10 |
| 6 | 4ms | 260kb | OK! | 10 |
| 7 | 12ms | 264kb | OK! | 10 |
| 8 | 20ms | 272kb | OK! | 10 |
| 9 | 48ms | 264kb | OK! | 10 |
| 10 | 0ms | 260kb | OK! | 10 |
| Punctaj total | 100 |