上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 45 下一页
摘要: T1 我直接就用的LCA ,可能慢点。反正数据试过了。 T2 期望dp不会啊。 T3 好麻烦。 阅读全文
posted @ 2017-11-04 13:51 浪矢-CL 阅读(99) 评论(0) 推荐(0)
摘要: T1 部分分 枚举某个数 100 离散化。或 map 相对了不知道呢过不能过。 T2 逆序对,不知对不对 归并排序, 阅读全文
posted @ 2017-11-03 11:38 浪矢-CL 阅读(90) 评论(0) 推荐(0)
摘要: T1 模拟,80? #include<iostream> #include<cstring> #include<queue> #include<algorithm> #include<cstdio> #include<cmath> #include<ctime> using namespace st 阅读全文
posted @ 2017-11-02 17:38 浪矢-CL 阅读(135) 评论(0) 推荐(0)
摘要: 滑稽的题 T1 #include<iostream> #include<cstring> #include<queue> #include<algorithm> #include<cstdio> #include<cmath> #include<ctime> using namespace std; 阅读全文
posted @ 2017-11-02 10:52 浪矢-CL 阅读(204) 评论(0) 推荐(0)
摘要: T1 #include<iostream> #include<cstring> #include<cstdio> #include<algorithm> #include<queue> #include<cmath> using namespace std; const int N=1010; in 阅读全文
posted @ 2017-11-01 19:01 浪矢-CL 阅读(178) 评论(0) 推荐(0)
摘要: 好慌啊 0分?? T1 感觉是组合数,不知道对不对。 #include<iostream> #include<cstring> #include<cstdio> #include<algorithm> #include<queue> #include<cmath> #include<ctime> u 阅读全文
posted @ 2017-11-01 09:36 浪矢-CL 阅读(155) 评论(0) 推荐(0)
摘要: 不会啊。 T1 找规律: 辗转相减,加速。 #include<iostream> #include<cstring> #include<cstdio> #include<algorithm> #include<queue> #include<cmath> using namespace std; l 阅读全文
posted @ 2017-10-31 17:27 浪矢-CL 阅读(179) 评论(0) 推荐(0)
摘要: expect100+50+50, In fact 100+10+0. 代码能力还有待提高,部分分应该能拿的。结果。。。力不从心啊。 T1 贪心做的不知对不对。 看来思路是对的,不知道能不能对。 暴力做超时,所以优化,计数排序。 #include<iostream> #include<cstring> 阅读全文
posted @ 2017-10-31 09:48 浪矢-CL 阅读(264) 评论(1) 推荐(0)
摘要: 少女【问题描述】你是能看到第一题的 friends呢。—— hja少女在图上开车, 她们希望把每条边分配给与其相连的点中一个并且每个点最多被分配一条边,问可能的方案数。【输入格式】第一行两个整数 𝑁,𝑀代表点数和边。接下来 𝑀行每两个整数代表一条边。【输出格式】一行个整数代表答案对 109+7 阅读全文
posted @ 2017-10-30 16:06 浪矢-CL 阅读(426) 评论(0) 推荐(0)
摘要: T1 星空【问题描述】你是能看到第一题的friends 呢。——hja点点星空是一张𝑁 × 𝑀的棋盘,左下角有颗星星。尤和千每次可以将星星向右边、右上、上边移动一格。尤和千轮流移动,尤先手,问尤是否必胜?【输入格式】多组数据,每行两个整数𝑁, 𝑀,当𝑁 = 𝑀 = 0时数据停止。【输出格 阅读全文
posted @ 2017-10-30 09:41 浪矢-CL 阅读(449) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 45 下一页