题解列表

筛选

适合新手小白

摘要:解题思路:第一步,根据题意定义变量;第二步,输入变量,由题意给变量赋值;第三步,输出变量。注意事项:浮点数可用float和double定义函数,float用格式符%f,double使用格式符%lf。输……

1953: 三位数分解

摘要:解题思路:慢慢分!注意事项:参考代码:#include<iostream> using namespace std; int main() {     int a,b,c,d;     ci……

1120: C语言训练-"水仙花数"问题2

摘要:#水仙花数 这道题与**1119C语言训练-"水仙花数"问题类似** 可以参考我的**1119文章** 按照题目要求输出所有水仙花数 水仙花数是三位数所以我们可以在100到999之间寻……

简单的字符串

摘要:解题思路:用join函数即可注意事项:无参考代码:num=input() print(&#39; &#39;.join(num[::-1]))……

answer question

摘要:解题思路:anwer the whole question is answer like usual persnaly my own opinion is to caoculate the selut……

二级C语言-自定义函数 c++

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;double a[10005];double b[10005];double ans……

简单的a+b(c++代码)

摘要:解题思路:注意事项:参考代码:解法一:#include <cstdio> int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF)//也可以写成whil……

神奇的fansC++必过题解

摘要:解题思路:排序后判断注意事项:无参考代码:#include<bits/stdc++.h>using namespace std;int main() {  bool d=1; int c=0,i,j,……