摘要:
考场真是困傻了,这都不会 横的放左边k列,竖的放上边k行,优先放能消的位置 #include<bits/stdc++.h> using namespace std; int t,n,m,k,q,a[105][105]; char s[1005]; int x[105],y[105]; int mai 阅读全文
posted @ 2024-07-29 21:09
Kent530
阅读(13)
评论(0)
推荐(0)
摘要:
A. Maximize the Last Element 很明显只有奇数项可以留到最后,所以取奇数项的max即可 #include<bits/stdc++.h> using namespace std; int t,n,a[105]; int main(){ scanf("%d",&t); whil 阅读全文
posted @ 2024-07-29 15:33
Kent530
阅读(62)
评论(0)
推荐(0)
浙公网安备 33010602011771号