結果

問題 No.2699 Simple Math (Returned)
ユーザー tailstails
提出日時 2024-03-29 21:05:23
言語 Perl
(5.38.2)
結果
OLE  
実行時間 -
コード長 113 bytes
コンパイル時間 517 ms
コンパイル使用メモリ 6,676 KB
実行使用メモリ 35,712 KB
最終ジャッジ日時 2024-03-29 21:05:29
合計ジャッジ時間 6,424 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
6,676 KB
testcase_01 AC 1,042 ms
35,712 KB
testcase_02 OLE -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;
for(<>){
	($n,$m)=glob;
	$n%=$m*2;
	if($n<$m){
		$z=9x$n||0;
	}else{
		$z=9x$m.0 x($n-$m);
	}
	print$z,$/;
}
0