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