Closed bethandtownes closed 4 years ago
The fast I/O (https://github.com/kmyk/competitive-programming-library/blob/d3db5941467a223143f56f93bc958f61b1e59d7c/hack/fastio.hpp) doesn't assume such cases that input is given manually. It's intended to be used with my kmyk/online-judge-verify-helper and the Library Checker. Also, I want to keep it short and simple since the fast I/O is submitted, e.g. https://judge.yosupo.jp/submission/3059.
Hi I tried the fast scanner but it seems to have some problems when I manually input data from command line. It sometimes has a delay in extracting next token (I need to input an extra newline char to work around it).
So I took the liberty to improve the design a bit and a prototype is the following: