結果
| 問題 | No.150 "良問"(良問とは言っていない |
| コンテスト | |
| ユーザー |
%20
|
| 提出日時 | 2017-03-06 18:44:53 |
| 言語 | Perl (5.44.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 116 ms / 5,000 ms |
| + 741µs | |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 171 ms |
| コンパイル使用メモリ | 6,528 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-13 16:13:10 |
| 合計ジャッジ時間 | 1,936 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 20 |
コンパイルメッセージ
Unquoted string "good" may clash with future reserved word at Main.pl line 5. Unquoted string "problem" may clash with future reserved word at Main.pl line 7. Main.pl syntax OK
ソースコード
<>;
for$s(<>){
$%=1e9;
for$i(0..length($s)-12){
$g=(good^substr$s,$i,4)=~y/\x00//c;
for$j($i+4..length($s)-8){
$%-=$-=$%-$g-(problem^substr$s,$j,7)=~y/\x00//c;
}
}
print$%,$/
}
%20