結果
問題 |
No.1053 ゲーミング棒
|
ユーザー |
![]() |
提出日時 | 2020-06-02 15:05:43 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 105 ms / 2,000 ms |
コード長 | 67 bytes |
コンパイル時間 | 337 ms |
コンパイル使用メモリ | 5,376 KB |
実行使用メモリ | 17,920 KB |
最終ジャッジ日時 | 2024-11-23 23:18:46 |
合計ジャッジ時間 | 2,277 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 34 |
コンパイルメッセージ
Possible precedence problem on bitwise | operator at Main.pl line 1. Useless use of non-destructive substitution (s///r) in void context at Main.pl line 1. Name "main::c" used only once: possible typo at Main.pl line 1. Main.pl syntax OK
ソースコード
<>;$_=<>;s/\d+/$d|=$c[$b=$&]++if$b-$&/ger;print$d?$d>1|$b-$_?-1:1:0