摘要:
Codeforces Round 516 (Div. 2, by Moscow Team Olympiad) + Solved : 3 out of 6 + Rank : 1347 + A. Make a triangle! + 难度: 普及? + 数学题。。。若刚好能凑成三角形就输出0,否则,设a 阅读全文
摘要:
"JOYOI1424 占卜DIY" Sol: 模拟即可。 TIPS: 1.理清思路再写。 2.注意各种特判和细节。(比如抽到13后虽直接退出但牌堆还是要下落) AC CODE: include include include using namespace std; int a[15][6]; in 阅读全文
摘要:
"CODEVS 2485 七夕祭" Sol: 当行的平均值不为整数时,不能均分,列同理。 对行和列分别做一次环形均分纸牌问题。 AC CODE: include include include using namespace std; const int N = 100000 + 100; int 阅读全文