题解列表

筛选

2767: 计算多项式的值

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){   double f,a,b,c,d……

不与最大值相同的数字之和

摘要:解题思路:注意事项:参考代码:public class Main {    public static void main(String[] args) {        Scanner sc = n……

#C++1745—— 继续畅通工程(带权并查集)

摘要:解题思路:找出有根节点的“家族”即还未畅通的“村庄群”,按权值排序后归并统计数量。注意事项:对于之前已经连接的道路,先预处理合并,再用cmp处理权值较小的边。AC代码:#include <iostre……

炒鸡简单(易懂)

摘要:解题思路:定义另一个数组来存放该数组的元音并输出注意事项:参考代码:#include<stdio.h>void line(char a[100]){    char b[100];    int i,……

编写题解 2920: 分数线划定

摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct xs { int id; int mark;};struct xs x[5001];struct xs t;int mai……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int m,consume=0;    char demand;    scanf("%d %c",&m,……

编写题解 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……
优质题解

2797: 最高的分数(C++STL)解题

摘要:###### 解题思路: 将所有的数据存储到数组中去,,使用sort函数对他们进行排序,然后再输出就可以啦 ###### 注意事项: 在使用sort函数前,先了解一下它吧 它是ST……