Pagini recente » Cod sursa (job #2568292) | Cod sursa (job #1321079) | Monitorul de evaluare | Cod sursa (job #2980297) | Borderou de evaluare (job #2183212)
Borderou de evaluare (job #2183212)
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:67: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int n ,k ,hp ,a ;register int i ;scanf("%d%d%d" ,&n ,&k ,&hp) ;
^
user.cpp:8:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a) ,pq.push(a) ;hp -= a ;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 800kb | OK | 10 |
| 2 | 0ms | 936kb | OK | 10 |
| 3 | 0ms | 808kb | OK | 10 |
| 4 | 0ms | 804kb | OK | 10 |
| 5 | 12ms | 972kb | OK | 10 |
| 6 | 0ms | 796kb | Incorect | 0 |
| 7 | 0ms | 792kb | Incorect | 0 |
| 8 | 0ms | 756kb | Incorect | 0 |
| 9 | 0ms | 876kb | Incorect | 0 |
| 10 | 0ms | 752kb | Incorect | 0 |
| Punctaj total | 50 |