摘要: 3.2日测试总结 F1010 数组逆序 无错误 数组反过来输出,把循环的起点和终点反过来就行。 代码: #include<bits/stdc++.h> using namespace std; const int maxn = 105; int a[maxn]; int main() { int n 阅读全文
posted @ 2024-03-09 12:01 yucheng0630 阅读(11) 评论(0) 推荐(0)
摘要: 2.2日测试总结 T1 P5740 【深基7.例9】最厉害的学生 无错误,本体使用结构体排序。 AC代码: #include<bits/stdc++.h> using namespace std; struct stu{ string name; int yw; int sx; int yy; in 阅读全文
posted @ 2024-02-02 21:47 yucheng0630 阅读(17) 评论(0) 推荐(0)