摘要:
/* 水水的dp 然而菜死了没想出正解QAQ */ #include<iostream> #include<cstdio> #include<cstring> #include<map> #define N 3001 #define ll long long #define mod 23333333 阅读全文
摘要:
E. Maximum Subsequence time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output E. Maximum Subsequ 阅读全文
摘要:
#include<iostream> #include<cstdio> #include<cstring> #include<queue> #define N 200007 using namespace std; int n,m,ans,cnt; int head[N],pos[N],vis[N] 阅读全文
摘要:
F. Xor-Paths time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output There is a rectangular grid 阅读全文
摘要:
D. Don't fear, DravDe is kind time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A motorcad 阅读全文
摘要:
2679: [Usaco2012 Open]Balanced Cow Subsets Description Farmer John's owns N cows (2 <= N <= 20), where cow i produces M(i) units of milk each day (1 < 阅读全文
摘要:
4758: [Usaco2017 Jan]Subsequence Reversal Description Farmer John is arranging his NN cows in a line to take a photo (1≤N≤50). The height of the iith 阅读全文
摘要:
4580: [Usaco2016 Open]248 Description Bessie likes downloading games to play on her cell phone, even though she does find the small touch screen rathe 阅读全文