题解列表

筛选

2749: Hello, World!

摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main() {     cout<<"Hello, World!";     r……

2876: 矩阵交换行

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[100][100];int main(){    int n,m;  ……

2877: 同行列对角线的格子

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long a[100][100],n,i,j;int main(){  ……

光头强购买新家具

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef long long ll;int n,m;int a[10005];……

最简介易懂示例!!!

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define N 200int main(){    int n,i,num;    int arr[N];    while(sca……

自然数的拆分(dfs)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> using namespace std; const int N=10010; int ……

运行时间过长(半天跑不出数)的看过来!!!

摘要:解题思路:        在CPU频率中,1GHz 就是每秒10亿次运算,你可以算一算自己CPU运算速度。        但是你若在写代码的过程中——比如说这道题——使用了三重嵌套for循环,那么就是……