fixes #3 Co-authored-by: lcw <ez_lcw@foxmail.com> Co-authored-by: szdytom <szdytom@qq.com> Reviewed-on: #5
11 lines
150 B
C++
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;
|
|
} |