結果

問題 No.2460 #強調#
ユーザー hiro1729hiro1729
提出日時 2023-09-08 21:20:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 98 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 86,652 KB
実行使用メモリ 71,176 KB
最終ジャッジ日時 2023-09-08 21:21:11
合計ジャッジ時間 2,158 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
70,988 KB
testcase_01 AC 73 ms
71,084 KB
testcase_02 AC 75 ms
71,048 KB
testcase_03 AC 71 ms
70,988 KB
testcase_04 AC 71 ms
70,988 KB
testcase_05 AC 72 ms
71,140 KB
testcase_06 AC 70 ms
71,176 KB
testcase_07 AC 73 ms
71,068 KB
testcase_08 AC 71 ms
70,972 KB
testcase_09 AC 71 ms
70,976 KB
testcase_10 AC 70 ms
70,916 KB
testcase_11 AC 98 ms
70,976 KB
testcase_12 AC 71 ms
71,140 KB
testcase_13 AC 71 ms
71,032 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
s1 = -1
s2 = -1
for i in range(len(s)):
	if s[i] == '#':
		if s1 == -1:
			s1 = i
		else:
			s2 = i
print(s[s1 + 1:s2])
0