Hello codeforces! Recently, i've noticed that codeforces g++ 17 uses more than 500bytes per empty std::queue, while sizeof shows only 40bytes. This problem is also with std::deque. What's going on? Compiled with GNU G++17 7.3.0
| № | Пользователь | Рейтинг |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | jiangly | 3631 |
| 4 | Kevin114514 | 3574 |
| 5 | maroonrk | 3521 |
| 6 | strapple | 3515 |
| 7 | Radewoosh | 3461 |
| 8 | tourist | 3428 |
| 9 | turmax | 3378 |
| 10 | Um_nik | 3376 |
| Страны | Города | Организации | Всё → |
| № | Пользователь | Вклад |
|---|---|---|
| 1 | Qingyu | 161 |
| 2 | adamant | 146 |
| 3 | Um_nik | 145 |
| 4 | Dominater069 | 142 |
| 5 | errorgorn | 140 |
| 6 | cry | 138 |
| 7 | Proof_by_QED | 136 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 10 | soullless | 133 |
Empty std::queue uses more than 500b of memory
Hello codeforces! Recently, i've noticed that codeforces g++ 17 uses more than 500bytes per empty std::queue, while sizeof shows only 40bytes. This problem is also with std::deque. What's going on? Compiled with GNU G++17 7.3.0
| Rev. | Язык | Кто | Когда | Δ | Комментарий | |
|---|---|---|---|---|---|---|
| en7 |
|
lis05 | 2021-09-13 17:44:07 | 9 | ||
| en6 |
|
lis05 | 2021-09-13 17:37:05 | 21 | ||
| en5 |
|
lis05 | 2021-09-13 17:28:24 | 21 | Tiny change: 'Hello code' -> 'What's going on??\n\nHello code' | |
| en4 |
|
lis05 | 2021-09-13 17:16:18 | 17 | Tiny change: 'odeforces g++ 17 us' -> 'odeforces custom test with g++ 17 us' | |
| en3 |
|
lis05 | 2021-09-13 17:13:18 | 0 | (published) | |
| en2 |
|
lis05 | 2021-09-13 17:12:37 | 84 | ||
| en1 |
|
lis05 | 2021-09-13 17:11:26 | 345 | Initial revision (saved to drafts) |
| Название |
|---|


