結果
| 問題 |
No.292 芸名
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-08-22 21:31:56 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 32 ms / 2,000 ms |
| コード長 | 299 bytes |
| コンパイル時間 | 145 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-10-15 04:26:40 |
| 合計ジャッジ時間 | 1,144 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
import sys
S, t, u = input().split()
t, u = int(t), int(u)
listS = [str(i) for i in S]
if t == u:
listS.pop(t)
else:
if t > u:
listS.pop(t)
listS.pop(u)
else:
listS.pop(u)
listS.pop(t)
for i in listS:
sys.stdout.write(i)
sys.stdout.write("\n")