結果

問題 No.3354 有理数の大小比較
コンテスト
ユーザー tails
提出日時 2025-11-14 22:07:25
言語 Perl
(5.40.0)
結果
AC  
実行時間 7 ms / 2,000 ms
コード長 50 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 7,720 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-11-14 22:07:27
合計ジャッジ時間 1,860 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 40
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "a" may clash with future reserved word at Main.pl line 1.
Unquoted string "d" may clash with future reserved word at Main.pl line 1.
Name "main::c" used only once: possible typo at Main.pl line 1.
Name "main::d" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$$_=glob<>.<>for a..d;print chr 61+($a*$d<=>$b*$c)
0