摘要: A. Dice Rolling 签到. 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 int t, n; 5 6 int main() 7 { 8 scanf("%d", &t); 9 while (t--) 10 { 11 scanf( 阅读全文
posted @ 2018-12-20 08:42 Dup4 阅读(252) 评论(0) 推荐(0)
摘要: 训练地址 A: 树剖板子题 求最小值的时候要注意值是不是有负数,如果有,初值要置为$-INF$ 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 #define N 30010 5 #define INF 0x3f3f3f3f 6 int n 阅读全文
posted @ 2018-12-20 08:11 Dup4 阅读(195) 评论(0) 推荐(0)