Skip to content

Commit 29d496a

Browse files
committed
updated fast-io.hpp
1 parent e747e5c commit 29d496a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/alfred/config/fast-io.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ class FastIO {
3838
}
3939
} __buf;
4040

41-
inline void pc(char c) { __buf.pc(c); }
41+
#define getchar() __buf.nc()
42+
#define putchar(x) __buf.pc(x)
4243

4344
template <class T>
4445
inline void fast_read(T &x) {

0 commit comments

Comments
 (0)