結果

問題 No.2112 All 2x2 are Equal
ユーザー tailstails
提出日時 2022-10-28 21:52:44
言語 Perl
(5.38.0)
結果
AC  
実行時間 305 ms / 2,000 ms
コード長 104 bytes
コンパイル時間 375 ms
コンパイル使用メモリ 5,284 KB
実行使用メモリ 5,436 KB
最終ジャッジ日時 2023-09-20 04:47:38
合計ジャッジ時間 9,110 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,296 KB
testcase_01 AC 5 ms
5,124 KB
testcase_02 AC 14 ms
5,128 KB
testcase_03 AC 13 ms
5,156 KB
testcase_04 AC 126 ms
5,116 KB
testcase_05 AC 161 ms
5,180 KB
testcase_06 AC 279 ms
5,188 KB
testcase_07 AC 91 ms
5,348 KB
testcase_08 AC 225 ms
5,264 KB
testcase_09 AC 18 ms
5,180 KB
testcase_10 AC 107 ms
5,264 KB
testcase_11 AC 74 ms
5,108 KB
testcase_12 AC 85 ms
5,232 KB
testcase_13 AC 247 ms
5,240 KB
testcase_14 AC 17 ms
5,012 KB
testcase_15 AC 179 ms
5,052 KB
testcase_16 AC 6 ms
5,008 KB
testcase_17 AC 221 ms
5,212 KB
testcase_18 AC 11 ms
5,120 KB
testcase_19 AC 23 ms
5,244 KB
testcase_20 AC 12 ms
5,188 KB
testcase_21 AC 213 ms
5,092 KB
testcase_22 AC 16 ms
5,072 KB
testcase_23 AC 13 ms
4,984 KB
testcase_24 AC 31 ms
5,240 KB
testcase_25 AC 40 ms
5,068 KB
testcase_26 AC 29 ms
5,032 KB
testcase_27 AC 57 ms
5,020 KB
testcase_28 AC 133 ms
5,000 KB
testcase_29 AC 23 ms
5,160 KB
testcase_30 AC 89 ms
5,292 KB
testcase_31 AC 168 ms
5,056 KB
testcase_32 AC 305 ms
5,224 KB
testcase_33 AC 305 ms
5,436 KB
testcase_34 AC 300 ms
5,224 KB
testcase_35 AC 300 ms
5,292 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

($h,$w)=glob<>;
print"Yes\n";
$a=$h*$w;
for$y(1..$h){
	print join($",map{$_+$y&1?$a--:++$b}1..$w),$/;
}
0