Pagini recente » Borderou de evaluare (job #2410943) | Borderou de evaluare (job #1803612) | Borderou de evaluare (job #1950160) | Borderou de evaluare (job #2528371) | Borderou de evaluare (job #1500957)
Borderou de evaluare (job #1500957)
Raport evaluator
Compilare:
user.cpp: In function ‘void HeapDown(int)’:
user.cpp:26:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (node * 2 + 1 < minHeap.size())
^
user.cpp:28:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (node * 2 + 2 < minHeap.size() && minHeap[node * 2 + 1].first > minHeap[node * 2 + 2].first)
^
user.cpp: In function ‘int Remove(int)’:
user.cpp:41:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (added[index] != minHeap.size()) {
^
user.cpp:45:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:49:40: 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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 436kb | OK | 10 | 10 |
| 2 | 0ms | 436kb | Incorect | 0 | 0 |
| 3 | 0ms | 448kb | OK | 10 | 10 |
| 4 | 4ms | 516kb | Incorect | 0 | 0 |
| 5 | 28ms | 556kb | Incorect | 0 | 0 |
| 6 | 60ms | 784kb | Incorect | 0 |
| 7 | 128ms | 1680kb | Incorect | 0 |
| 8 | 120ms | 1460kb | OK | 10 |
| 9 | 124ms | 1020kb | Incorect | 0 |
| 10 | 124ms | 1028kb | Incorect | 0 |
| Punctaj total | 20 |