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

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

2013-06-23から1日間の記事一覧

ICPC2013国内模擬予選

A 王様の視察 がんばればできます。回すのをどうやるかは割と好みです。 #include <iostream> #include <vector> #include <string> using namespace std; int onebefore(char c){ if(c == 'a') return 'Z'; if(c == 'A') return 'z'; return c-1; } int before(char c,int n){ for(int</string></vector></iostream>…