题解列表

筛选

超级简单的斐波那契数列

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int count; int a=1,b=1,c=1;//赋值初始值 1 1 2 3 5 8 13  scanf……

单词比较解决

摘要:解题思路:先用两个字符串记录关键词和待检查内容,然后用字符串数组放两行字符串中的单词,通过编写一个单词的比较函数解决注意事项:因为输入的字符串有空格,故要用nextLine()参考代码:import ……

蛮简单的--时间转换

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){      int time;      cin >> time;   ……

套公式就好--两直线交点

摘要:解题思路:注意事项:头文件勿忘,保留两位小数,x,y之间空格参考代码:#include<iostream>#include<iomanip>using namespace std;int main()……

蟠桃记——题解

摘要:```c++ #include using namespace std; int p(int x){ int y=(x+1)*2; return y; } int ma……