Pagini recente » Autentificare | Borderou de evaluare (job #1803202) | Borderou de evaluare (job #3268773) | Borderou de evaluare (job #2181930) | Borderou de evaluare (job #1318757)
Borderou de evaluare (job #1318757)
Raport evaluator
Compilare:
user.cpp: In function ‘void downheap(int)’:
user.cpp:25:19: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while(q*2+1<=k&&h[q]<h[q*2]||h[q]<h[q*2+1])
^
user.cpp: In function ‘int main()’:
user.cpp:42:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procesor.in","r",stdin);
^
user.cpp:43:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("procesor.out","w",stdout);
^
user.cpp:44:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:48:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 0ms | 280kb | OK | 10 |
| 6 | 8ms | 352kb | OK | 10 |
| 7 | 20ms | 376kb | OK | 10 |
| 8 | 48ms | 804kb | OK | 10 |
| 9 | 64ms | 804kb | OK | 10 |
| 10 | 88ms | 1080kb | OK | 10 |
| Punctaj total | 100 |