题解列表

筛选

多输入输出练习1(数组解法)

摘要:解题思路:注意事项:在输入为零的时候记得要将最大值置零。参考代码:#include<stdio.h>int main(){ int i=0; int max; int a[1000]; int fla……

c语言巧妙解答(小白)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int v1,v2,t,s,l,T=0,a=1,flag=0,i; double lu1=0,lu2=0; sc……

时间设计-C语言

摘要:解题思路: 首先创建一个含有十二个元素的数组,方便后面计算天数;注意事项: 闰年的二月为29天参考代码:#include<stdio.h>int main(){    int year,month,d……

1054: 二级C语言-计算素数和

摘要:写一个函数把 n~m 之间的每个数都判断一遍,true 的打印,false 的跳过。#include<bits/stdc++.h> using namespace std; bool sush……