题解列表
编写题解 2919: 奖学金
摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct student { int id; int yw, sx, yy; int sum;};struct student a[……
1328: 移动服务员
摘要:```cpp
#include
#include
#include
using namespace std;
int f[2][210][210],p[1010],c[210][210],l……
1327: [NOIP2005]等价表达式
摘要:```cpp
#include
#include
using namespace std;
const int mod=10001;
char w[51],c[51];
int a[100……
优质题解
2797: 最高的分数(C++STL)解题
摘要:###### 解题思路:
将所有的数据存储到数组中去,,使用sort函数对他们进行排序,然后再输出就可以啦
###### 注意事项:
在使用sort函数前,先了解一下它吧
它是ST……
二级C语言-同因查找
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; for(n=10;n<=1000;n++) { if(……
C++for循环简单实现
摘要:###### 解题思路:
对于输入中的换行,我们可以使用while()条件循环去解决,在输入n之后,在使用数组对输入的数进行存储,在定义一个double类型的sum(如果是int类型,就会出现结果是……
题解 2189: diamond
摘要:解题思路: 1.找规律,把图形分成上三角和下三角两个部分 上三角:每一行“*”比下一行少两个;偶数行不输出;居中对齐 下三角:每一行“*&