摘要:
状态不佳,rating--,blog质量--,有点抱歉 A. Submission is All You Need 思路:mex操作优于max操作只限定于{0},{0,1},其他都是sum更优秀.所以直接判断0,1数量即可 吐槽:没判多余的0,wa了发 #include<iostream> #inc 阅读全文
摘要:
赛时没有Ak,今天做matlab作业做麻了 A.小红的数组查询(一) 思路:其实只和长度有关系,l==r,答案就为1,否则就为2 #include<bits/stdc++.h> #define ll long long #define endl '\n' using namespace std; c 阅读全文