题解列表
c++计算圆周率代码
摘要:解题思路:利用迭代法计算圆周率注意事项:注意精度参考代码:#include<iostream>#include<iomanip>using namespace std;int main() { dou……
1124:大小写问题 C语言
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char a[101]; int len; gets(a); len=s……
用两个循环语句写不用数组,用小学奥数
摘要:解题思路:每一行先打印第一列的首数字,再按规律求解注意事项:参考代码:#include <stdio.h>int main(){ int n,i,j,k=1,l=0,m=2,a=1; ……
蓝桥杯算法提高VIP-模拟计算器(c++代码题解)
摘要:解题思路:定义二个int类型,一个char类型变量用if函数即可解决此题注意事项:无参考代码:#include<bits/stdc++.h>
using namespace std;
int ma……
简单易懂-------不妨看看
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char arr[80]; while (gets(arr)) { for……