代码改变世界

1090 Highest Price in Supply Chain (25分),记忆搜索

2020-02-29 09:53 by -三余无梦生, 388 阅读, 0 推荐, 收藏, 编辑
摘要:// 1090.cpp : 定义控制台应用程序的入口点。 // 并查集搜索从叶搜根 #include <iostream> #include <cmath> using namespace std; int n; double p, r; int a[100005]; int d[100005]; 阅读全文

1082 Read Number in Chinese (25分)

2020-02-27 20:57 by -三余无梦生, 135 阅读, 0 推荐, 收藏, 编辑
摘要:// 1082.cpp : 定义控制台应用程序的入口点。 // #include <iostream> #include <string> #include <vector> using namespace std; string str; string s1[4] = { "Ge","Shi"," 阅读全文

CCF认证201909-4推荐系统

2019-11-30 16:21 by -三余无梦生, 279 阅读, 0 推荐, 收藏, 编辑
摘要:#include <iostream> #include <list> #include <set> #include <vector> using namespace std; int m, n; int opask = 0; class node { public: int idm; long 阅读全文