题解列表

筛选

The 3n + 1 problem (C语言代码)

摘要:解题思路:这里选择的是几组数据一起输入,再一起输出。参考代码:#include <stdio.h> int main() {     double m[100],n[100],a,b;    ……

还是畅通工程 (C++代码)

摘要:解题思路:            还是并查集+快排#include<bits/stdc++.h> using namespace std; const int MAXN = 1e5 + 7; s……