摘要: B. Breaking Branches https://nanti.jisuanke.com/t/44319 题意:给一个长度为n的树枝,将数值分为n段,有n-1个位置,谁最后将树枝分为n段谁赢,Alice先开始 当n为偶数时,Alice赢,n为偶数时,Bob赢 #include<iostream 阅读全文
posted @ 2020-03-26 21:54 Endeavo_r 阅读(144) 评论(0) 推荐(0)
摘要: A. Architecture 比较行列最大值相同则possible 不同则impossible #include<iostream> #include<algorithm> #include<cmath> #include<cstdio> using namespace std; int main 阅读全文
posted @ 2020-03-18 21:20 Endeavo_r 阅读(156) 评论(0) 推荐(0)