Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2587451)
| Utilizator | Data | 22 martie 2020 18:10:15 | |
|---|---|---|---|
| Problema | Heapuri | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In member function 'void Heap::pushDown(int)':
main.cpp:74:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (left >= data_.size())
~~~~~^~~~~~~~~~~~~~~
main.cpp:78:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (right >= data_.size())
~~~~~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:110: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:111: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:114:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
main.cpp:119:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
main.cpp:122:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:127: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 | OK | 10 | 60 |
| 6 | 72ms | 655kb | OK | 10 | |
| 7 | 139ms | 2084kb | OK | 10 | |
| 8 | 104ms | 1695kb | OK | 10 | |
| 9 | 138ms | 1044kb | OK | 10 | |
| 10 | 142ms | 1044kb | OK | 10 | |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
