acpa/src/read.cpp
方而静 e5caca5350 拆分源代码到多个文件 (#5)
fixes #3

Co-authored-by: lcw <ez_lcw@foxmail.com>
Co-authored-by: szdytom <szdytom@qq.com>
Reviewed-on: #5
2023-08-29 12:37:26 +00:00

11 lines
150 B
C++

#include "read.h"
using namespace std;
string read() {
string s;
for (char ch = getchar(); ch != EOF; ch = getchar()) {
s += ch;
}
return s;
}