去掉空格 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100]; int flog=0,i,t=0; while(gets(a)!=N…… 题解列表 2019年02月01日 0 点赞 0 评论 551 浏览 评分:0.0
我说这是最简单的代码应该没有人反对吧? 摘要:解题思路: 解题思路就是找到规律注意事项:参考代码:/*有n个整数,使前面各数顺序向后移m个位置,最后m个数变成前面m个数。写一函数:实现以上功能,在主函数中输入n个数和…… 题解列表 2019年02月01日 1 点赞 0 评论 984 浏览 评分:0.0
。。。最快。。。提交时的原代码直接提交。。 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { 见提交时的原代码。 return 0; }…… 题解列表 2019年02月08日 1 点赞 0 评论 964 浏览 评分:0.0
作弊的方法。。C语言考试练习题_保留字母 (C语言代码)还没学数组,没办法。。 摘要:解题思路:注意事项:因为测试数据中长度没有超过80,所以可以用这种方法做这个题。当然只限这个网站的这个题。。。参考代码:#include<stdio.h> int main() { ch…… 题解列表 2019年02月08日 1 点赞 0 评论 964 浏览 评分:0.0
真。。简。Tom数 (C语言代码)绝对看得懂。 摘要:解题思路:分别求出各位数再求和。注意事项:参考代码:#include<stdio.h> int main() { int sum; long long n,m; while(…… 题解列表 2019年02月05日 1 点赞 2 评论 648 浏览 评分:0.0
发工资咯 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int fun(int* a,int* b, int n){ int i,j,t=0; fo…… 题解列表 2019年02月03日 1 点赞 0 评论 702 浏览 评分:0.0
DNA (Java代码) 摘要:解题思路:没想到什么简便的方法,那就只能暴力解题。注意事项:从 X 1 推到 X Y。按行来输出,设置一个d=0,没输出一次 d++ 用 d==a 来判断是否结束用 递归的思想 实现 整体输出。虽然代…… 题解列表 2019年02月02日 0 点赞 0 评论 958 浏览 评分:0.0
C语言训练-谁家孩子跑最慢* (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int flag=0; int l1=9; int w1=8; int l2,l3,w2…… 题解列表 2019年02月02日 1 点赞 0 评论 638 浏览 评分:0.0
密码截获 (C语言代码)穷举法 摘要:参考代码:#include <stdio.h> #include <string.h> int symm(int i,int j,char *a) { int k,m,flag=1…… 题解列表 2019年02月02日 0 点赞 0 评论 666 浏览 评分:0.0
回文判断 (C++代码) 摘要:解题思路:通过string类读取正整数,然后直接按照回文数的定义进行比较,可以只比较一半的字符串,单位了省事,我直接从头比较到尾注意事项:注意#include<string>,注意结果输出全是大写(Y…… 题解列表 2019年02月02日 0 点赞 0 评论 680 浏览 评分:0.0