結果

問題 No.3232 Not Tic Tac Toe
コンテスト
ユーザー ID 21712
提出日時 2025-08-30 03:19:47
言語 Go
(1.26.1)
コンパイル:
env GOCACHE=/tmp go build _filename_
実行:
./Main
結果
AC  
実行時間 6 ms / 2,000 ms
+ 593µs
コード長 199 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 10,323 ms
コンパイル使用メモリ 280,164 KB
実行使用メモリ 5,888 KB
最終ジャッジ日時 2026-07-14 12:55:28
合計ジャッジ時間 13,039 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

package main

import . "fmt"
import . "strings"

func main() {
	var h,w int
	Scan(&h,&w)
	s := Repeat("OOXX", w)
	t := s[2:]
	s = s[:w]
	t = t[:w]
	for ; h > 0 ; h-- {
		Println(s)
		s, t = t, s
	}
}
0