Codeforces Round #678 DIV2 B問題 (1000pt)
Problem description
省略
省略
C++に変換後のコードはこちら
//no-unlocked
int N, res[100][100];
{
REP(rd_int()){
rd(N);
rep(i,N) rep(j,N) res[i][j] = 0;
rep(i,N) res[i][i] = res[i][(i+1)%N] = 1;
wt(res(N,N));
}
}
Current time: 2024年03月29日10時45分12秒
Last modified: 2020年11月16日23時27分22秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF678 CF_DIV2_B
トップページに戻る
Logged in as: unknown user (not login)