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

Codeforces #129

A,B:やるだけ。なのに低速submitC:わからないので飛ばす D:わかった気になったら嘘解法だった E:unopened結果:175位 rate:1793->1796(+3)

POJ2454 Jersey Politics

何でもいいから解を一つ求めればいいので、適当に山登り&登りきれなかったらrandom_shuffleで適当に書く。通る。(多分嘘解法じゃないはず)K #include<stdio.h> #include<vector> #include<algorithm> #include<stdlib.h> using namespace std; typedef pair<int,int>pii; int main() { int num; scanf("%d",&</int,int></stdlib.h></algorithm></vector></stdio.h>…