結果
| 問題 |
No.3232 Not Tic Tac Toe
|
| コンテスト | |
| ユーザー |
tokugh
|
| 提出日時 | 2025-08-15 21:37:39 |
| 言語 | Julia (2.11.2) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 551 bytes |
| コンパイル時間 | 234 ms |
| コンパイル使用メモリ | 7,844 KB |
| 実行使用メモリ | 472,596 KB |
| 最終ジャッジ日時 | 2025-08-15 21:38:38 |
| 合計ジャッジ時間 | 6,635 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 TLE * 1 |
| other | WA * 25 TLE * 2 |
ソースコード
toI(s=readline()) = parse(Int,s)
toVI(s=readline()) = parse.(Int,split(s))
rep(f,n) = [f() for _ in 1:n]
@enum YN Yes=1 No=0
function main()
h,w = toVI()
res = solve(h,w)
for col in eachcol(res)
join(stdout,col)
print("\n")
end
end
function solve(h,w)
mat = ['o' 'o' 'x' 'x'; 'x' 'x' 'o' 'o']
res = Matrix{Char}(undef,w,h)
for i in 1:h
for j in 1:w
res[j,i] = mat[mod1(i,2),mod1(j,4)]
end
end
return res
end
@static if endswith(@__FILE__, PROGRAM_FILE)
main()
end
tokugh