Pagini recente » Borderou de evaluare (job #3249114) | Borderou de evaluare (job #1963879) | Borderou de evaluare (job #652058) | Borderou de evaluare (job #2645993) | Borderou de evaluare (job #2183216)
Borderou de evaluare (job #2183216)
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:76: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
long long n ,k ,hp ,a ;long long 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 | 756kb | OK | 10 |
2 | 0ms | 756kb | OK | 10 |
3 | 0ms | 860kb | OK | 10 |
4 | 0ms | 876kb | OK | 10 |
5 | 12ms | 1236kb | OK | 10 |
6 | 36ms | 1628kb | OK | 10 |
7 | 40ms | 1624kb | Incorect | 0 |
8 | 44ms | 1628kb | Incorect | 0 |
9 | 44ms | 1624kb | Incorect | 0 |
10 | 44ms | 1624kb | Incorect | 0 |
Punctaj total | 60 |