- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
type int = 1;
type int64 = 4294967296;
declare function GC_get_heap_size(): int64;
function main() {
let i = 0;
for (i = 0; i < 10000000; ++i) {
const p = new int[1];
if (i % 100000 == 0) print("Heap size = ", GC_get_heap_size());
}
}
ASD_77 22.08.2021 20:53 # −1
Paskal 22.08.2021 23:09 # 0
ASD_77 22.08.2021 20:54 # −1
Paskal 22.08.2021 23:09 # 0
Paskal 22.08.2021 23:09 # 0