题解列表
1147: C语言训练-角谷猜想
摘要:解题思路:注意事项:printf写在式子前。参考代码:#include<stdio.h>#include<math.h> int main(){ int a; scanf("%d",&a); for ……
1150: C语言训练-计算t=1+1/2+1/3+...+1/n
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> int main(){ int a; double sum = 0; scanf("%d",&a); ……
蓝桥杯2014年第五届真题-拼接平方数 (C++代码)简单通解
摘要:解题思路:注意事项:参考代码://1.先求所有平方数,缩小范围//2.只能拆分成左边数字和右边数字,通过求商和求余获得#include<iostream>#include<cmath>using na……