結果
| 問題 |
No.1237 EXP Multiple!
|
| コンテスト | |
| ユーザー |
tails
|
| 提出日時 | 2020-09-26 13:14:03 |
| 言語 | Perl (5.40.0) |
| 結果 |
AC
|
| 実行時間 | 530 ms / 2,000 ms |
| コード長 | 66 bytes |
| コンパイル時間 | 194 ms |
| コンパイル使用メモリ | 6,144 KB |
| 実行使用メモリ | 49,152 KB |
| 最終ジャッジ日時 | 2024-06-29 00:09:30 |
| 合計ジャッジ時間 | 7,962 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 19 |
コンパイルメッセージ
Unquoted string "inf" may clash with future reserved word at Main.pl line 1. Main.pl syntax OK
ソースコード
$p=1;<>;map$p*=(0,1,4,729)[$_]//inf,glob<>;print$p>0?(1e9+7)%$p:-1
tails