結果

問題 No.894 二種類のバス
ユーザー tails
提出日時 2019-09-27 22:23:42
言語 Perl
(5.40.0)
結果
AC  
実行時間 51 ms / 1,000 ms
コード長 77 bytes
コンパイル時間 958 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 12,928 KB
最終ジャッジ日時 2024-09-24 18:24:44
合計ジャッジ時間 2,604 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます
コンパイルメッセージ
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