题解列表

筛选

C语言训练-"水仙花数"问题1

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a,b,c,i;    bool p;    cin>>……

津津的储蓄计划

摘要:注意事项: 只有交给母亲的整钱才加20%,别忘了到最后可以还有余钱,没成整的 参考代码: ```c #include int main() { int a,k,sum=0; dou……

C++ 温度换算

摘要:解题思路:注意事项:  简单编程,注意用float参考代码:#include<bits/stdc++.h>    using namespace std;        int main()    {……

水仙花数-for循环

摘要:解题思路:注意事项:  经历for循环之后n的值会变化参考代码:    #include<iostream> using namespace std; int main() {         i……

1067: 二级C语言-分段函数(c++题解)

摘要:解题思路:x<0时求绝对值,x>=0并<2时求(x+1)的平方根,x>=2并<4时求(x+2)的5次方,否则求2x+5。注意事项:保留2位小数参考代码:#include <bits/stdc++.h>……

循环移位(基础)

摘要:解题思路:  循环就是转圈  建议画图理解注意事项: 无参考代码:#include<iostream> using namespace std; const int N=10010; unsig……