結果

問題 No.1851 Regular Tiling
ユーザー tailstails
提出日時 2022-03-01 12:29:11
言語 Bash
(Bash 5.1.16)
結果
TLE  
実行時間 -
コード長 98 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-22 01:20:07
合計ジャッジ時間 24,081 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,380 KB
testcase_01 AC 1,188 ms
4,380 KB
testcase_02 AC 1,483 ms
4,376 KB
testcase_03 AC 1,403 ms
4,380 KB
testcase_04 AC 1,321 ms
4,380 KB
testcase_05 AC 1,362 ms
4,376 KB
testcase_06 AC 1,566 ms
4,376 KB
testcase_07 AC 1,267 ms
4,376 KB
testcase_08 AC 1,331 ms
4,376 KB
testcase_09 AC 1,575 ms
4,380 KB
testcase_10 AC 1,401 ms
4,380 KB
testcase_11 AC 28 ms
4,380 KB
testcase_12 AC 30 ms
4,376 KB
testcase_13 TLE -
testcase_14 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

read
while
read h w
do
for((y=h;y;--y)){
	eval echo '$[('{1..$w}'%3!=w%3<2)+(y%3!=h%3<2)]'
}
done
0