保存されている過去のバージョンの一覧

2019年08月30日20時25分39秒

Codeforces Manthan Codefest 19 C問題 - Magic Grid

Source

Codeforces Manthan Codefest 19 C問題 (1500pt)
Problem description

問題概要

省略

解法

省略

cLayversion 20190830-1)のコード

C++に変換後のコードはこちら

//no-unlocked
int N;
int res[1000][1000];
{
  int i, j, k, x, y;
  
  rd(N);
  k = 0;
  rep(x,N/4) rep(y,N/4) rep(i,4) rep(j,4) res[4x+i][4y+j] = k++;
  
  rep(i,N) wt(res[i](N));
}

Current time: 2024年04月20日13時25分51秒
Last modified: 2019年08月30日20時25分39秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces
トップページに戻る

Logged in as: unknown user (not login)

ログイン: