Pagini recente » Borderou de evaluare (job #2803192) | Borderou de evaluare (job #1531324) | Borderou de evaluare (job #2918674) | Borderou de evaluare (job #2825487) | Borderou de evaluare (job #2183260)
Borderou de evaluare (job #2183260)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:33: 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:64: 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:66: 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:38: 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 | 792kb | OK | 10 |
2 | 0ms | 932kb | OK | 10 |
3 | 0ms | 808kb | OK | 10 |
4 | 0ms | 756kb | OK | 10 |
5 | 12ms | 1232kb | OK | 10 |
6 | 36ms | 1624kb | OK | 10 |
7 | 44ms | 1624kb | OK | 10 |
8 | 44ms | 1628kb | OK | 10 |
9 | 44ms | 1628kb | OK | 10 |
10 | 44ms | 1624kb | OK | 10 |
Punctaj total | 100 |