摘要:
P1376 机器工厂 题目描述 小T开办了一家机器工厂,在N(N include using namespace std; int c,y; long long ans = 0; int main() { int n,s; cin n s; int last; for(int i = 1;i c y 阅读全文
摘要:
P1842 奶牛玩杂技 题目背景 Farmer John 养了N(1 include include using namespace std; const int Max = 50005; struct node { int w,s; }a[Max]; bool cmp(const node x,c 阅读全文