結果

問題 No.894 二種類のバス
ユーザー tailstails
提出日時 2019-09-27 22:23:42
言語 Perl
(5.38.2)
結果
AC  
実行時間 54 ms / 1,000 ms
コード長 77 bytes
コンパイル時間 1,113 ms
コンパイル使用メモリ 12,968 KB
実行使用メモリ 12,948 KB
最終ジャッジ日時 2023-10-24 23:22:10
合計ジャッジ時間 2,995 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
12,948 KB
testcase_01 AC 53 ms
12,936 KB
testcase_02 AC 53 ms
12,936 KB
testcase_03 AC 54 ms
12,940 KB
testcase_04 AC 52 ms
12,936 KB
testcase_05 AC 53 ms
12,940 KB
testcase_06 AC 53 ms
12,936 KB
testcase_07 AC 52 ms
12,948 KB
testcase_08 AC 52 ms
12,928 KB
testcase_09 AC 52 ms
12,948 KB
testcase_10 AC 52 ms
12,936 KB
testcase_11 AC 52 ms
12,940 KB
testcase_12 AC 53 ms
12,944 KB
testcase_13 AC 52 ms
12,948 KB
testcase_14 AC 52 ms
12,932 KB
testcase_15 AC 53 ms
12,948 KB
testcase_16 AC 53 ms
12,940 KB
testcase_17 AC 51 ms
12,936 KB
testcase_18 AC 51 ms
12,940 KB
testcase_19 AC 52 ms
12,932 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Scalar found where operator expected (Missing operator before "$b"?) at Main.pl line 4, near "$a$b"
Main.pl syntax OK

ソースコード

diff #

use bigint;
($t,$a,$b)=map$_+0,glob<>;
$t-=1;
print 1+$t/$a+$t/$b-$t/blcm$a$b
0