4 ms·
When stdin is a file, as it is in this case, you can mmap it.
by anonymoushn 2y ago
When stdin is a file, as it is in this case, you can mmap it.
- Iwan-Zotow 2y agotechnically not an equivalent problem - you can't map a stream
- anonymoushn 2y agoThe whole problem statement isn't equivalent to the substring of the problem statement that GP quoted? I agree. For example, the whole problem statement includes a part that specifies that stdin is a file stored in hugetlbfs.