2012-01-15から1日間の記事一覧
0539 not lower but upper #include <cstdio> #include <algorithm> using namespace std; typedef long long ll; int main() { ll d; while (scanf("%lld",&d)) { if (!d) break; int n, m; scanf("%d%d",&n,&m); ll store[n+1], k; store[0]=0; for (int i=1; i</algorithm></cstdio>
non rated
ローマン♪