Pagini recente » Borderou de evaluare (job #1406028) | Borderou de evaluare (job #1526496) | Borderou de evaluare (job #2831237) | Borderou de evaluare (job #848036) | Borderou de evaluare (job #2587348)
Borderou de evaluare (job #2587348)
Raport evaluator
Compilare:
main.cpp: In member function 'void Heap::pushDown(int)':
main.cpp:69:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (left >= data_.size())
~~~~~^~~~~~~~~~~~~~~
main.cpp:73:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (right >= data_.size())
~~~~~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:105: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);
^
main.cpp:106: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);
^
main.cpp:109:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
main.cpp:114:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
main.cpp:117:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:122:22: 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 | 2ms | 131kb | OK | 10 | 10 |
2 | 2ms | 131kb | OK | 10 | 10 |
3 | 3ms | 131kb | OK | 10 | 10 |
4 | 9ms | 131kb | OK | 10 | 10 |
5 | 3ms | 131kb | Incorect | 0 | 0 |
6 | 109ms | 684kb | OK | 10 |
7 | 108ms | 2084kb | OK | 10 |
8 | 126ms | 1695kb | OK | 10 |
9 | 127ms | 1044kb | OK | 10 |
10 | 132ms | 1044kb | OK | 10 |
Punctaj total | 40 |