Pagini recente » Borderou de evaluare (job #615960) | Borderou de evaluare (job #516062) | Borderou de evaluare (job #2428599) | Borderou de evaluare (job #894480) | Borderou de evaluare (job #1593568)
Borderou de evaluare (job #1593568)
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 | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 8ms | 340kb | OK | 10 |
7 | 20ms | 368kb | OK | 10 |
8 | 48ms | 800kb | OK | 10 |
9 | 64ms | 788kb | OK | 10 |
10 | 88ms | 1064kb | OK | 10 |
Punctaj total | 100 |