题解列表

筛选

傻逼图形输出

摘要:#include<bits/stdc++.h>using namespace std;int main(){ printf( " X | X | X\n"    "---+---+---\n"    ……

三角形——题解

摘要:解题思路:此题一般的迭代解法在遇到较大规模的测试时会需要花费大量时间,从而导致程序通不过,比如我一开始用的如下解法:#include<iostream>#include<vector>using na……

[编程入门]选择排序

摘要:解题思路:直接排序注意事项:sort参考代码:#include<bits/stdc++.h>using namespace std;long long a[15];int main(){     fo……

1669: 求圆的面积

摘要:解题思路:直接求注意事项:用double参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;d……

[编程入门]水仙花数判断

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