题解 1094: 字符串的输入输出处理

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

字符串的输入输出处理

摘要:解题思路:注意事项:输出时,并不是按照题目给出的全部输入,最后一次性输出。而是输入一行输出一行。参考代码:#include<iostream>#include<iomanip>#include<cma……

无调用函数和指针的小白级题解

摘要:优质题解大多都用到函数调用和指针,写了一个不需要用这些,仅用字符串、输入输出和循环知识就能看懂的题解。 ```cpp #include #include #include using nam……

使用stringstream求解

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;vector<string>kk;int main(){ int N; strin……

使用getline求解

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;vector<string>kk;int main(){ int N; strin……

字符串的处理方法

摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string.h>using namespace std;int main() { int n; scanf("……

字符串的输入输出处理

摘要:#include #include#includeusing namespace std; int main() {     int n;char str[1000];    cin>>n……