Pagini recente » Borderou de evaluare (job #1506862) | Borderou de evaluare (job #2206566) | Borderou de evaluare (job #1508576) | Borderou de evaluare (job #875523) | Borderou de evaluare (job #2079254)
Borderou de evaluare (job #2079254)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.in","r",stdin);
^
user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("heapuri.out","w",stdout);
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:38:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op); if (op<3) scanf("%d", &x);
^
user.cpp:38:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op); if (op<3) scanf("%d", &x);
^
user.cpp: In function ‘void heap_down(int)’:
user.cpp:19:44: warning: ‘son’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else {if (heap[2*poz].f<=heap[2*son+1].f) son=2*poz; else son=2*poz+1;}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1824kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 2 | 0ms | 1820kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 3 | 0ms | 1828kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 4 | 4ms | 2024kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 5 | 0ms | 1796kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 6 | 0ms | 1804kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 48ms | 1896kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 1800kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 1804kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 1800kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |