Pagini recente » Borderou de evaluare (job #1270005) | Borderou de evaluare (job #480870) | Borderou de evaluare (job #2668223) | Borderou de evaluare (job #2465380) | Borderou de evaluare (job #2241578)
Borderou de evaluare (job #2241578)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("jocul.in","r",stdin);
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("jocul.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("%ld",&n);
^
user.cpp:15:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) {scanf("%ld",&v[i]); s=s+v[i];}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1328kb | OK | 10 | 40 |
| 2 | 0ms | 1328kb | OK | 10 |
| 3 | 0ms | 1324kb | OK | 10 |
| 4 | 4ms | 1332kb | OK | 10 |
| 5 | 20ms | 1336kb | OK | 10 | 40 |
| 6 | 0ms | 1324kb | OK | 10 |
| 7 | 36ms | 1340kb | OK | 10 |
| 8 | 4ms | 1332kb | OK | 10 |
| 9 | 0ms | 1328kb | OK | 10 | 20 |
| 10 | 36ms | 1348kb | OK | 10 |
| Punctaj total | 100 |