結果

問題 No.1910 High Element on Grid
ユーザー tailstails
提出日時 2022-04-23 22:06:56
言語 Perl
(5.38.2)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 167 bytes
コンパイル時間 673 ms
コンパイル使用メモリ 5,400 KB
実行使用メモリ 5,340 KB
最終ジャッジ日時 2023-09-07 13:11:55
合計ジャッジ時間 10,112 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,012 KB
testcase_01 AC 6 ms
5,108 KB
testcase_02 AC 6 ms
5,264 KB
testcase_03 AC 6 ms
5,248 KB
testcase_04 AC 6 ms
5,188 KB
testcase_05 AC 6 ms
5,120 KB
testcase_06 AC 6 ms
5,100 KB
testcase_07 AC 7 ms
5,084 KB
testcase_08 AC 6 ms
5,076 KB
testcase_09 AC 6 ms
5,168 KB
testcase_10 AC 7 ms
5,208 KB
testcase_11 AC 65 ms
5,128 KB
testcase_12 AC 69 ms
5,308 KB
testcase_13 AC 68 ms
5,268 KB
testcase_14 AC 79 ms
5,188 KB
testcase_15 AC 55 ms
5,096 KB
testcase_16 AC 50 ms
5,088 KB
testcase_17 AC 54 ms
5,264 KB
testcase_18 AC 68 ms
5,128 KB
testcase_19 AC 54 ms
5,164 KB
testcase_20 AC 54 ms
5,128 KB
testcase_21 AC 64 ms
5,132 KB
testcase_22 AC 43 ms
5,172 KB
testcase_23 AC 73 ms
5,144 KB
testcase_24 AC 49 ms
5,088 KB
testcase_25 AC 63 ms
5,092 KB
testcase_26 AC 57 ms
5,116 KB
testcase_27 AC 61 ms
5,272 KB
testcase_28 AC 39 ms
5,104 KB
testcase_29 AC 49 ms
5,084 KB
testcase_30 AC 52 ms
5,092 KB
testcase_31 AC 6 ms
5,168 KB
testcase_32 AC 90 ms
5,252 KB
testcase_33 AC 90 ms
5,036 KB
testcase_34 AC 91 ms
5,340 KB
testcase_35 AC 90 ms
5,228 KB
testcase_36 AC 6 ms
5,264 KB
testcase_37 AC 47 ms
5,040 KB
testcase_38 AC 22 ms
5,208 KB
testcase_39 AC 21 ms
5,120 KB
testcase_40 AC 9 ms
5,024 KB
testcase_41 AC 26 ms
5,084 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::x" used only once: possible typo at Main.pl line 5.
Main.pl syntax OK

ソースコード

diff #

($h,$w)=glob<>;
$r=<>;
print 999;
for(<>=~/ \d+/g){
	print$",++$x+$h-$_;
}
print$/;
for($r=~/ \d+/g){
	print++$y+$w-$_;
	for(1..$w-1){
		print$",$_+$y;
	}
	print$/;
}
0