2008-10-03から1日間の記事一覧

JOI2006年模擬試験1 問題3@C++(86)

最近の予選よりは模擬試験のほうが難しい気がする。 #include <cstdio> #include <algorithm> #include <vector> #include <queue> using namespace std; int decimal_digit(int a) { int ret=1; while(a) { ret=ret*10; a=a/10; } return ret; } int main(int argc,char* argv[]) { int n; sca</queue></vector></algorithm></cstdio>…

JOI2006年模擬試験1 問題2@C++(87)

#include <cstdio> #include <algorithm> #include <vector> using namespace std; int gcm(int a,int b) { int tmp; while(b) { tmp=a%b; a=b; b=tmp; } return a; } int main(int argc,char* argv[]) { int n; scanf("%d\n",&n); int max; if(n==2) { int a,b; scanf("%d %d\n",&a,&b)</vector></algorithm></cstdio>…

JOI2006年模擬試験1 問題1@C++(88)

zatorikuとかに負けてられないのでがんばってプログラミング練習する。 #include <cstdio> #include <algorithm> using namespace std; int main(int argc,char* argv[]) { int a,b,c; int count_all=0; int count_right=0; int count_less=0; int count_more=0; while(true) { </algorithm></cstdio>…

夜桜四重奏 第一回「サクラサク」(91)

夜桜四重奏。原作は1巻だけ読んだ。原作と大分違う流れな気がするが、まあいいか。OPの曲がノれる。あとOP・EDともに表現が面白い。面白そうなので見るかなあ。

豆しばが面白い(89)

知ってますか豆しば。知らない人も多いかな。たまにCMやるやつ。あれ面白い。あのキャラクターが毒舌というか聞きたくない豆知識を吐く、という流れがつぼにはまった。一度は見るべき。なんかCLANNAD AFTER STORYで検索してくる人がかなりいるっぽい。ようこ…

CLANNAD AFTER STORY 第一話「夏の終わりのサヨナラ」(90)

CLANNAD AFTER STORY。原作は知らないです。我が筑駒が舞台モデルだと有名なCLANNADです。今期も出るとか出ないとか。まず、OP。5拍子きた!いやもう全体の雰囲気とかどうでもいいや。素数拍子大好き!でも、あんまりしっくりこないっていうか馴染まないね。…