[编程入门]电报加密 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char a[1001]; ge…… 题解列表 2022年12月18日 0 点赞 0 评论 315 浏览 评分:9.9
二级C语言-分段函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double fun(double x){ if(x<1) { return x; } else if(x>=1 && x<10) {…… 题解列表 2022年12月18日 0 点赞 0 评论 372 浏览 评分:9.9
二级C语言-统计字符 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h>int main(){ int i,b=0,c=0,d=0,e=0; char a[1001]; …… 题解列表 2022年12月19日 0 点赞 0 评论 312 浏览 评分:9.9
放苹果 (Java代码) 摘要:import java.util.Scanner; public class Main { static int nums; public static void main(String[…… 题解列表 2022年12月19日 0 点赞 1 评论 413 浏览 评分:9.9
[STL训练]周瑜的反间计 摘要:解题思路:可以使用一个数组来记录数字出现的次数,然后遍历,每遇到一个数字就将相应的计数器加1。最后统计数组中值是否为1,为1则输出“YES”,反之则输出“NO”。 参考代码: ```cpp …… 题解列表 2022年12月19日 0 点赞 0 评论 407 浏览 评分:9.9
字符逆序c语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char a[1001]; gets(a); for(i=st…… 题解列表 2022年12月19日 0 点赞 0 评论 261 浏览 评分:9.9
重点来了 1090: A+B for Input-Output Practice (VI) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,sum,a; while(scanf("%d",&n)!=EOF){//此处坚决不可以少 ,一定写全…… 题解列表 2022年12月19日 0 点赞 1 评论 302 浏览 评分:9.9
数组插入处理c语言 摘要:解题思路:按照排序一个个进行比较大小插入注意事项:注意如果插入的是数组里面最大的还大,要另外讨论参考代码:#include <stdio.h>int main(){ int i,x,a[9],flag…… 题解列表 2022年12月19日 0 点赞 0 评论 225 浏览 评分:9.9
很简单 请各位指正 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,n,a,sum=0; scanf("%d",&n); for(i=1;i<n;i++)…… 题解列表 2022年12月20日 0 点赞 0 评论 412 浏览 评分:9.9
函数调用求线段长度-C语言 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<math.h> double func(double x1,double y1,double x2,double…… 题解列表 2022年12月20日 0 点赞 0 评论 1192 浏览 评分:9.9