题解列表

筛选

数位排序 c++

摘要:#include using namespace std; int n,m; const int N=1e6; vectorpi; int han(int x) { int sum=……

题解 2835: 计算书费

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;double a[10]={28.9,32.7,45.6,78,35,86.2,2……

等差数列求和

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int n,i;    int sum = 0;    int j = 2;    scanf("%d",……

求和训练,注意数据类型

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a, b, c;    int sum1 = 0, sum2 = 0;    float sum3……

题解 2836: 数组逆序重放

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