提出 #40828679
ソースコード 拡げる
N = int(input())
S = input()
if '*' in S[S.index('|')+1:] and '*' in S[:S.rindex('|')]:
print('in')
else:
print('out')
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Treasure Chest |
| ユーザ | shigematsu_ |
| 言語 | PyPy3 (7.3.0) |
| 得点 | 100 |
| コード長 | 135 Byte |
| 結果 | AC |
| 実行時間 | 105 ms |
| メモリ | 61572 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt |
| All | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_small03.txt, 01_small04.txt, 02_random_05.txt, 02_random_06.txt, 03_max_07.txt, 03_max_08.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 00_sample_00.txt | AC | 105 ms | 61364 KiB |
| 00_sample_01.txt | AC | 50 ms | 61488 KiB |
| 00_sample_02.txt | AC | 51 ms | 61572 KiB |
| 01_small03.txt | AC | 48 ms | 61232 KiB |
| 01_small04.txt | AC | 46 ms | 61340 KiB |
| 02_random_05.txt | AC | 49 ms | 61332 KiB |
| 02_random_06.txt | AC | 49 ms | 61476 KiB |
| 03_max_07.txt | AC | 51 ms | 61492 KiB |
| 03_max_08.txt | AC | 51 ms | 61556 KiB |