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

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

筛选

scanf和gets的混合使用

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    char a[1001];    int n;    scanf("%d",&n);//scanf结束回车……

1094基础解法(Python)

摘要:解题思路:注意split()的用法即可注意事项:空一行是print(),空两行是print(&#39;\n&#39;)参考代码:n = int(input())lst = []while True :……

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

摘要:解题思路:注意事项:参考代码:n=int(input())for i in range(n):    print(input(),end=&#39;\n\n&#39;)while True:    t……

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

摘要:解题思路:注意事项:参考代码:n=int(input())a=[]b=Truewhile b:    try:        x=input()        if x!=&#39;&#39;:   ……

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

摘要:####字符串问题基本暴力解决就够了,碰到什么问题,就具体解决就行,基本都是输入输出问题:tw-1f35c:(用时8分钟) ```cpp #include using namespace std……

解决python代码 EOFERROR

摘要:解题思路:注意事项:参考代码:n=int(input())a=[]b=Truewhile b:    try:        x=input()        if x!=&#39;&#39;:   ……