Pagini recente » Borderou de evaluare (job #3176296) | Borderou de evaluare (job #2322489) | Borderou de evaluare (job #1325466) | Borderou de evaluare (job #2408081) | Borderou de evaluare (job #1688221)
Borderou de evaluare (job #1688221)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:35: 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:8:37: 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:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:12:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(register int i=1;i<=n;i++){scanf("%lld",&v[i]);s+=v[i];}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 84ms | 1836kb | Incorect | 0 |
3 | 84ms | 1836kb | Incorect | 0 |
4 | 0ms | 280kb | Incorect | 0 |
5 | 28ms | 1044kb | OK | 10 |
6 | 68ms | 1836kb | OK | 10 |
7 | 0ms | 280kb | OK | 10 |
8 | 0ms | 276kb | OK | 10 |
9 | 0ms | 292kb | OK | 10 |
10 | 44ms | 1328kb | OK | 10 |
Punctaj total | 60 |