题解列表
信息学奥赛一本通T1180-分数线划定--sort排序
摘要:解题思路:定义结构体--按照规定排序--过分数线人数s--输出s名注意事项:结构体使用sort排序需要自己编写排序规则:sort(start,end,排序方法)参考代码:#include<iostre……
2799: 奥运奖牌计数(C语言)
摘要: #include
int main()
{
int n;
scanf("%d",&n);
int a[n][3];
int i,j;
for(i=0;i……
1045题 : 自定义函数之整数处理
摘要:# 自己写的代码(没有写完)
```c
#include
int shuru(int a[]){
for(int i=0;i max )
{
……
编程入门]第一个HelloWorld程序
摘要:解题思路:照着题目要求,细心注意换行就行了,cout一行搞定注意事项:换行时注意n前面是\而不是/,另外是单引号参考代码:#include<iostream>using namespace std;i……
2803: 整数的个数(C语言,数组解法)
摘要: #include
int main()
{
int n;
scanf("%d",&n);
int a[n];
int i;
for(i=0;i……
1921: 蓝桥杯算法提高VIP-金陵十三钗
摘要:dfs不剪枝的话会有3个点超时#include<bits/stdc++.h>
using namespace std;
int like[105][105];
int stu[105];
i……