省略
省略
C++に変換後のコードはこちら
int H, W, A, B;
char res1[1002], res2[1002];
{
rd(H,W,A,B);
rep(i,W) res1[i] = res2[i] = '0';
rep(i,A) res1[i]++;
rep(i,A,W) res2[i]++;
rep(i,B) wt(res1);
rep(i,B,H) wt(res2);
}
Current time: 2024年04月24日21時26分39秒
Last modified: 2019年09月22日00時26分23秒 (by laycrs)
Tags: Competitive_Programming_Incomplete AtCoder AtCoder_Grand_Contest AGC038 AGC_A
トップページに戻る
Logged in as: unknown user (not login)