题解列表

筛选

有规律的数列求和

摘要:解题思路:找数列的规律。注意事项:做除法运算,分子和分母是浮点数!参考代码:#include<stdio.h>int main() {   int n;   double s=0,x=1.0,y=2.……

自定义函数之整数处理

摘要:解题思路:注意事项:参考代码:#include<stdio.h> void InputString(int a[]); void ChangeString(int a[]); void ……

蓝桥杯算法提高VIP-前10名

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n,a[1000];int main(){    cin>>n;……

筛选N以内的素数

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;long long n……

二级C语言-计负均正

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,s;double t,t1;int main(){ for(……

[编程入门]打印图案

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