結果
問題 | No.104 国道 |
ユーザー | akitsugu777 |
提出日時 | 2019-09-19 13:23:46 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 173 bytes |
コンパイル時間 | 82 ms |
コンパイル使用メモリ | 10,728 KB |
実行使用メモリ | 816,844 KB |
最終ジャッジ日時 | 2023-09-26 07:33:06 |
合計ジャッジ時間 | 4,050 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | AC | 15 ms
7,776 KB |
testcase_04 | AC | 16 ms
7,808 KB |
testcase_05 | AC | 16 ms
7,820 KB |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | MLE | - |
testcase_16 | MLE | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
testcase_19 | -- | - |
ソースコード
S = input() N = len(S) L = [i for i in range(2**N, (2**N)*2)] M = len(L)//2 for i in range(N): if S[i] == 'L': L = L[:M] else: L = L[M:] print(*L)