Pagini recente » Cod sursa (job #1892457) | Borderou de evaluare (job #2659422) | Borderou de evaluare (job #395134) | Monitorul de evaluare | Borderou de evaluare (job #1216542)
Borderou de evaluare (job #1216542)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tabara.in","r",stdin);
^
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("tabara.out","w",stdout);
^
user.cpp:11:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&p);
^
user.cpp:12:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(s=p,i=0;i<n;i++)scanf("%ld",&v[i]),s+=v[i];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | Esti baza! | 10 |
| 2 | 0ms | 252kb | Esti baza! | 10 |
| 3 | 0ms | 256kb | Esti baza! | 10 |
| 4 | 0ms | 256kb | Esti baza! | 10 |
| 5 | 8ms | 368kb | Esti baza! | 10 |
| 6 | 32ms | 376kb | Esti baza! | 10 |
| 7 | 32ms | 348kb | Esti baza! | 10 |
| 8 | 12ms | 448kb | Esti baza! | 10 |
| 9 | 12ms | 440kb | Esti baza! | 10 |
| 10 | 0ms | 256kb | Esti baza! | 10 |
| Punctaj total | 100 |