字符串的输入输出处理-题解(C++代码)我不知道为啥这样不对 摘要:我不知道为啥这样不对 提示 答案错误67大佬们看看 能回答就回答下 谢过我看了其他的解答 那种输入一句打一句的反而对了我看是这题目判定有问题吧解题思路:例样输入:2www.dotcpp.com D…… 题解列表 2020年07月07日 0 点赞 0 评论 312 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:#include "stdafx.h"#include "string.h"void fun(int n, char a[]){ int i; for (i = 0; i < n; i++) { i…… 题解列表 2018年11月09日 0 点赞 0 评论 426 浏览 评分:0.0
1094字符串的输入输出(两个while循环) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n; scanf("%d",&n); char s[10…… 题解列表 2024年05月30日 0 点赞 0 评论 105 浏览 评分:0.0
1094这样写更简单,C++ 摘要:解题思路: 一边接收输入一边接收输出注意事项:用getchar()来吸收输入n之后的回车参考代码:#include<iostream>#include<vector>using namespace s…… 题解列表 2024年11月26日 0 点赞 0 评论 303 浏览 评分:0.0
Java************************************** 摘要:import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner scann…… 题解列表 2021年03月23日 0 点赞 0 评论 154 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h" int main() { char a[1000]; int n,i; scanf("%d",&n); getc…… 题解列表 2017年12月13日 0 点赞 0 评论 584 浏览 评分:0.0
字符串的输入输出处理 (Java代码) 摘要:解题思路:注意事项:参考代码: Scanner sc = new Scanner(System.in); String a = sc.nextLine(); String[] s = new S…… 题解列表 2019年01月26日 0 点赞 1 评论 204 浏览 评分:0.0
字符串的输入输出处理-题解(C语言代码) 摘要:```c #include int main() { int N,i; char str[1000]; scanf("%d",&N); getchar(); if(N100)…… 题解列表 2020年01月30日 0 点赞 0 评论 288 浏览 评分:0.0
C语言-简洁易理解 摘要:解题思路:题目要求输入前n行原样输出,之后的行是不带空格的字符串,字符串间以空格或换行隔开,要求每个字符串单行输出,且每行输出间要输出空行注意事项:1.前n行与之后的行输入方式不同,前n行可用gets…… 题解列表 2022年06月22日 0 点赞 0 评论 121 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:这道题目有点意思,需要有一定的语文水平;需要解决的问题如下: 1,输入的字符串行数不确定(这里我用足够大的二维字符数组定义,并用while(gets(a[i]) != 0解决,…… 题解列表 2019年03月29日 1 点赞 0 评论 326 浏览 评分:0.0