結果
問題 | No.905 Sorted? |
ユーザー |
![]() |
提出日時 | 2019-10-11 23:52:31 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 693 ms / 2,000 ms |
コード長 | 156 bytes |
コンパイル時間 | 433 ms |
コンパイル使用メモリ | 6,820 KB |
実行使用メモリ | 40,192 KB |
最終ジャッジ日時 | 2024-11-25 11:30:59 |
合計ジャッジ時間 | 7,726 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
コンパイルメッセージ
Possible precedence problem on bitwise ^ operator at Main.pl line 11. Possible precedence problem on bitwise ^ operator at Main.pl line 11. Main.pl syntax OK
ソースコード
<>; for(glob<>){ $u[$i]=$_<$p?$i:$u[$i-1]; $d[$i]=$_>$p?$i:$d[$i-1]; $p=$_; ++$i; } <>; for(<>){ ($l,$r)=glob; print $u[$r]>$l^1,$",$d[$r]>$l^1,$/; }