Problem A : #include <cstdio> #include <iostream> #include <cstring> using namespace std; #d…
标签:codeforces
CodeForces Round402 补题
Problem A : #include <cstdio> #include <cstring> #include <cmath> #include <iostream> …
Codeforces 268B Two Sets
题目链接:http://codeforces.com/contest/468/problem/B #include<iostream> #include<map> using namespace …
Codeforces 401C Team 贪心法
本题使用贪心法,关键是考贪心策略,同时要求要细心,我提交的时候也WA了几次,大意题目就是如何按照给定的规则排列一个01字符串,引用原题如下: C. Team time limit per test1 second mem…
CodeForces 442 div2 记录
这次CF感觉挺简单的,但是我思路不够宽 A. Fake NP Tavak and Seyyed are good friends. Seyyed is very funny and he told Tavak to so…
CodeForces Round #401 补题
Problem A: #include <cstdio> #include <iostream> using namespace std; #define F(i,a,b) for(int i=a…