Pagini recente » Borderou de evaluare (job #3150116) | Borderou de evaluare (job #3303406) | Borderou de evaluare (job #2031485) | Borderou de evaluare (job #2795606) | Borderou de evaluare (job #1207267)
Borderou de evaluare (job #1207267)
Raport evaluator
Compilare:
user.cpp: In function ‘void godown(int)’:
user.cpp:67:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nod*2 > heap.size()-1)
^
user.cpp:69:83: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
nextnod = nod*2 + (v[heap[nod*2]] > v[heap[nod*2+1]] and nod*2+1<=heap.size()-1);
^
user.cpp: In function ‘int main()’:
user.cpp:19: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:20: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:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:26:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cod);
^
user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 272kb | OK | 10 | 10 |
| 2 | 0ms | 272kb | OK | 10 | 10 |
| 3 | 0ms | 284kb | OK | 10 | 10 |
| 4 | 0ms | 328kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 5 | 8ms | 460kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 6 | 8ms | 456kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 112ms | 1416kb | OK | 10 |
| 8 | 100ms | 1316kb | OK | 10 |
| 9 | 12ms | 488kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 12ms | 488kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 30 |