いろいろがんばりたいブログ

情報科学科の人がいろいろ書きます。

2012-12-06から1日間の記事一覧

CF 1B Spreadsheets

http://codeforces.com/problemset/problem/1/Bなんか大変だった。よ。 #include <iostream> #include <iomanip> #include <vector> #include <map> #include <set> #include <queue> #include <stack> #include <bitset> #include <numeric> #include <algorithm> #include <functional> #include <cctype> #include <complex> #inclu…</complex></cctype></functional></algorithm></numeric></bitset></stack></queue></set></map></vector></iomanip></iostream>

Codeforces 161A Dress'em in Vests!

なんかどっちを固定するかで一度、ミスって大変だった。 O(max(n,m))かなぁ。直感的には。わからん。 #include <iostream> #include <iomanip> #include <vector> #include <map> #include <set> #include <queue> #include <stack> #include <bitset> #include <numeric> #include <algorithm> #include <functional> #include <cctype> #include <complex> #include…</complex></cctype></functional></algorithm></numeric></bitset></stack></queue></set></map></vector></iomanip></iostream>