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