mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 20:08:47 +00:00
765. 字符串加空格
https://www.acwing.com/problem/content/submission/code_detail/2613527/
This commit is contained in:
parent
42646f7d60
commit
86b50a0f4f
13
AcWing/765/765.cpp
Normal file
13
AcWing/765/765.cpp
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#include <bits/stdc++.h>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
char c;
|
||||||
|
c = getchar();
|
||||||
|
while (c != '\n') {
|
||||||
|
cout << c << ' ';
|
||||||
|
c = getchar();
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user