結果
| 問題 | No.739 大事なことなので2度言います | 
| コンテスト | |
| ユーザー |  HassellBlad80 | 
| 提出日時 | 2018-10-07 02:27:31 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 300 bytes | 
| コンパイル時間 | 269 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-10-12 14:08:18 | 
| 合計ジャッジ時間 | 913 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 WA * 3 | 
| other | AC * 3 WA * 4 | 
ソースコード
text = list(map(str, input()))
index = 0
flag = False
for i in text:
    if index >= len(text) - 1:
        break
    if i == text[index + 1]:
        print(i)
        print(text[index + 1])
        flag = True
        print("YES")
        break
    index += 1
    
if flag == False:
    print("NO")
            
            
            
        