题解列表

筛选

琴海——计负均正——

摘要:解题思路:注意事项:参考代码:#include <stdio.h> void main() {     int i=0,a;     int neg=0,pos=0;     float s……

C++ 猴子偷逃问题

摘要: //整体思路:反向推理 #include using namespace std; int main() { int N;int s = 1;//表示桃子的数量 ……

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……