摘要:
A. Mezo Playing Zoma 题意: 给你一串指令,只包含(L,R)表示向左向右移,但有些指令可能不起作用,问最后能到的位置有多少种可能 思路: 我们分析一下就可以知道,最终的结果时L的数目+R的数目+1。 代码: #include <bits/stdc++.h> using names 阅读全文
摘要:
QAQ:这场比赛打了,A掉三题,挺快乐的,希望今年比赛成绩能好一点,Hello 2020。 A. New Year and Naming 字符串取余拼接,简单题。 #include <bits/stdc++.h> using namespace std; const int maxn = 25; s 阅读全文
摘要:
QAQ:这场比赛在凌晨,于是乎没打。开了重现,A掉三题,这大概就是我现在的水平了吧 A. Card Game 简单题,看谁的牌最大 #include<bits/stdc++.h> using namespace std; int a[105],b[105]; int main() { int T; 阅读全文