Hay
P2925 [USACO08DEC] Hay For Sale S
题目与P2639十分相似 #include<bits/stdc++.h> using namespace std; const int N=5e4+10; int f[N],t[5010]; int main(){ int T,n; cin>>T>>n; for(int i=1;i<=n;i++){ ......
题解 P2903 【[USACO08MAR]The Loathesome Hay Baler S】
posted on 2021-05-03 20:50:49 | under 题解 | [source](https://www.luogu.com.cn/blog/_post/331434) 首先输入,记录一下哪个齿轮的位置在 $(0,0)$,哪个在 $(x_t,y_t)$。 接着,为了避免多次判断 ......