题解列表

筛选

灵活运用库函数解决

摘要:注意,这道题有个测试数据有问题!!!参考代码:#include<stdio.h> #include<string.h> #include<stdlib.h> int main() { ch……

1739: 成绩排序 (坑很多)

摘要:解题思路:注意事项:1.成绩小的在前  2.名字小的在前(比较的整个字符串不是首字母) 3.年龄小的在前参考代码:#include<stdio.h> typedef struct{ char a[10……

3020: 最大数位置

摘要:``` #include using namespace std; int a[100000],n,maxx,num; int main(){ cin>>n; maxx = -1; ……