字符串的输入输出处理 (C语言代码) 摘要:#include <iostream> #include <string> #include <cstdio> using std::cin; using std::cout; usin…… 题解列表 2017年12月23日 0 点赞 0 评论 699 浏览 评分:0.0
字符串的输入输出处理 (C++代码)principle 's simple c++ 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstring>#include<string>#include<stdio.h>using namespace…… 题解列表 2017年12月21日 0 点赞 0 评论 874 浏览 评分:0.0
字符串的输入输出处理 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.io.BufferedReader; import java.io.InputStreamReader; public class Mai…… 题解列表 2017年12月17日 3 点赞 2 评论 1694 浏览 评分:8.0
WU-字符串的输入输出处理 (C语言代码) 摘要:参考代码:#include<stdio.h> int main() { char str[1000][1000]; int i=0,n,j,k; scanf("%d",&n); g…… 题解列表 2017年12月16日 3 点赞 0 评论 775 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:直接简单的字符串输入输出注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int n,j; scanf("%d",&n); c…… 题解列表 2017年12月16日 0 点赞 0 评论 590 浏览 评分:0.0
字符串的输入输出处理 (C++代码) 摘要:解题思路:在全局定义一个指针数组,用于指向后面输入的字符串;开始输入数n,之后的n个字符串用gets函数来接收(gets函数能接收空格);之后的字符串就用普通的cin或者scanf来接收,依次用数组指…… 题解列表 2017年12月15日 2 点赞 0 评论 2744 浏览 评分:9.8
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdio.h" int main() { char a[1000]; int n,i; scanf("%d",&n); getc…… 题解列表 2017年12月13日 0 点赞 0 评论 583 浏览 评分:0.0
字符串的输入输出处理 (C++代码) 摘要:解题思路:虽然一遍就过,但还是觉得这个题目有点叙述不清楚,反正设置一个计数器cnt,计算输入字符串的数量,超过N的便采取特殊处理,还有,输入n之后记得getchar(),其他的没什么了。注意事项:参考…… 题解列表 2017年12月12日 0 点赞 0 评论 724 浏览 评分:0.0
优质题解 Manchester-字符串的输入输出处理 摘要:解题思路:1.有n+个待输入字符串;前面n个有空格,后面的字符串没有空格 (即后面:D O T CPP是四个字符串);2.因为前面n个字符串原样输出,先用for循环输入( 用gets() )前n个字符…… 题解列表 2017年11月26日 76 点赞 79 评论 13282 浏览 评分:8.9
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,i,j; char str[100][1000]; scanf("%d",&n); …… 题解列表 2017年10月22日 6 点赞 0 评论 1282 浏览 评分:0.0