結果
問題 | No.2460 #強調# |
ユーザー |
|
提出日時 | 2023-09-08 21:20:47 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 131 bytes |
コンパイル時間 | 269 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 53,544 KB |
最終ジャッジ日時 | 2024-06-26 14:06:43 |
合計ジャッジ時間 | 1,286 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
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])