結果
| 問題 | No.108 トリプルカードコンプ |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2017-02-13 18:38:30 |
| 言語 | Perl (5.42.1) |
| 結果 |
AC
|
| 実行時間 | 1,009 ms / 5,000 ms |
| コード長 | 165 bytes |
| 記録 | |
| コンパイル時間 | 369 ms |
| コンパイル使用メモリ | 6,656 KB |
| 実行使用メモリ | 69,504 KB |
| 最終ジャッジ日時 | 2026-06-03 13:07:07 |
| 合計ジャッジ時間 | 4,420 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
コンパイルメッセージ
Unquoted string "c" may clash with future reserved word at Main.pl line 1. Unquoted string "b" may clash with future reserved word at Main.pl line 1. Unquoted string "a" may clash with future reserved word at Main.pl line 1. Main.pl syntax OK
ソースコード
sub f{local($c,$b,$a)=map$$_+pop,c,b,a;${$_="$a $b $c"}//=!/-/&&($n+$a*f(-1,1,0)+$b*f(-1,1)+$c*f(-1))/($a+$b+$c)}$n=<>;${"0 0 0"}=0;$_++for@a[glob<>];print f@a[0..2]
tails