题解列表

筛选

舍罕王的失算

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

自由落体问题

摘要:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ int i,n; float s=100,m=100; ……

九九乘法表(详细)

摘要:解题思路:双重循环注意事项:题目要求乘积占2位且左对齐,因此,乘积的格式为%-2d参考代码:#include<stdio.h>int main(){    int i,j;    for(i=1;i<……

c语言调用函数解决

摘要:解题思路:函数调用的方法,需要用全局变量,不然可能会出现运行错误注意事项:函数调用的方法,需要用全局变量,不然可能会出现运行错误参考代码:#include<stdio.h>int a,b,m,min,……