题解列表

筛选

2831: 画矩形

摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(int argc, char** argv) { int a,b,c; char d……

快且蠢(有点废空间)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<list> using namespace std; int main() { list<int>……

1669: 求圆的面积

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>  using namespace std; #define PI 3.1415926 int main() {……

1668: printf基础练习2

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<stdio.h> using namespace std; int main() {     long ……

1532: 蓝桥杯算法提高VIP-数组输出

摘要:解题思路:注意事项:它只需要比较列是否是最小的,最后更新列和行的数据就行。参考代码:#include<iostream> #include<cmath> using namespace std;……
优质题解

结构体+自定义sort轻松拿捏

摘要:解题思路:显而易见本题可利用结构体将各科成绩、学号等联系在一起,再根据题目给出的排序规则,自定义sort的方式即可。注意事项:第一个关键在于sort方式的编写,要先依据总分,总分相同比较语文成绩,若再……

原码求补码

摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main() { char a[16]; for (int i = 0; i < 1……