提出 #68103009
ソースコード 拡げる
def main():
n,a,b = map(int,input().split())
s = input()
ans = s[a:n-b]
print(ans)
main()
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - A Substring |
| ユーザ | hxu10 |
| 言語 | Python (PyPy 3.10-v7.3.12) |
| 得点 | 100 |
| コード長 | 124 Byte |
| 結果 | AC |
| 実行時間 | 61 ms |
| メモリ | 76696 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_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 00_sample_00.txt | AC | 58 ms | 76344 KiB |
| 00_sample_01.txt | AC | 57 ms | 76200 KiB |
| 00_sample_02.txt | AC | 61 ms | 76696 KiB |
| 01_random_03.txt | AC | 58 ms | 76620 KiB |
| 01_random_04.txt | AC | 58 ms | 76156 KiB |
| 01_random_05.txt | AC | 58 ms | 76284 KiB |
| 01_random_06.txt | AC | 55 ms | 76444 KiB |
| 01_random_07.txt | AC | 55 ms | 76448 KiB |
| 01_random_08.txt | AC | 55 ms | 76452 KiB |
| 01_random_09.txt | AC | 61 ms | 76260 KiB |