Pagini recente » Cod sursa (job #975701) | Borderou de evaluare (job #2043062) | Cod sursa (job #858862) | Borderou de evaluare (job #806127) | Borderou de evaluare (job #2286881)
Borderou de evaluare (job #2286881)
Raport evaluator
Compilare:
main.cpp: In function 'void Insert()':
main.cpp:25:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &heap[size].value); heap[size].order = cursor;
^
main.cpp: In function 'void Erase()':
main.cpp:38:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int x; scanf("%d", &x); x = where[x];
^
main.cpp: In function 'int main()':
main.cpp:71:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:74:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int type; scanf("%d", &type);
^
| 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 | 524kb | OK | 10 |
| 7 | 132ms | 1572kb | OK | 10 |
| 8 | 126ms | 1310kb | OK | 10 |
| 9 | 137ms | 786kb | OK | 10 |
| 10 | 140ms | 786kb | OK | 10 |
| Punctaj total | 100 |