Pagini recente » Borderou de evaluare (job #1108486) | Borderou de evaluare (job #394834) | Borderou de evaluare (job #1795904) | Borderou de evaluare (job #1400301) | Borderou de evaluare (job #1500964)
Borderou de evaluare (job #1500964)
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 | 432kb | Incorect | 0 | 0 |
3 | 0ms | 440kb | OK | 10 | 10 |
4 | 4ms | 508kb | Incorect | 0 | 0 |
5 | 28ms | 552kb | Incorect | 0 | 0 |
6 | 60ms | 784kb | Incorect | 0 |
7 | 116ms | 1676kb | Incorect | 0 |
8 | 124ms | 1452kb | OK | 10 |
9 | 124ms | 1020kb | Incorect | 0 |
10 | 128ms | 1024kb | Incorect | 0 |
Punctaj total | 20 |