|
|
вернуться в форум#MLE 14 How to solve this problem using c++ ? My pick is #MLE 14. I use (10^5 + 1000)*4 + 10^5 * 2 = 589,84375 kilobytes of memory. I have no idea how to optimize it even more( Edited by author 20.08.2020 02:34 Edited by author 20.08.2020 02:34 hint I solved this problem. I can only suggest you to think about headers.In this problem this cost a lot. To save memory,you must count total amount of bits that you need and use nearly that amount of space. Use bitwise operators to write and read numbers. Edited by author 21.08.2020 01:15 |
|
|