Pagini recente » Borderou de evaluare (job #756502) | Borderou de evaluare (job #412196) | Borderou de evaluare (job #68779) | Borderou de evaluare (job #74258) | Borderou de evaluare (job #2183262)
Borderou de evaluare (job #2183262)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sao.in","r",stdin) ;freopen("sao.out","w",stdout) ;
^
user.cpp:5:60: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sao.in","r",stdin) ;freopen("sao.out","w",stdout) ;
^
user.cpp:6:62: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
long long n ,k ,hp ,a ,i ;scanf("%lld%lld%lld" ,&n ,&k ,&hp) ;
^
user.cpp:8:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&a) ,pq.push(a) ;hp -= a ;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 860kb | OK | 10 |
| 2 | 0ms | 872kb | OK | 10 |
| 3 | 0ms | 816kb | OK | 10 |
| 4 | 0ms | 936kb | OK | 10 |
| 5 | 12ms | 1236kb | OK | 10 |
| 6 | 36ms | 1624kb | OK | 10 |
| 7 | 44ms | 1628kb | OK | 10 |
| 8 | 44ms | 1628kb | OK | 10 |
| 9 | 44ms | 1624kb | OK | 10 |
| 10 | 44ms | 1624kb | OK | 10 |
| Punctaj total | 100 |