秋祭 | 静岡高校工学部



卬高杯


提出詳細

提出id提出時刻ユーザー名問題言語判定状況判定実行時間
1147132023-10-24 07:09:02n_o_n_o_nCpython18/18AC50

s = input()
ans = 'No'
for i in range(len(s)-1):
    if s[i] == s[i+1]:
        ans = 'Yes'
print(ans)

sample1.txt AC 16
sample2.txt AC 16
sample3.txt AC 23
case1.txt AC 50
case2.txt AC 30
case3.txt AC 29
case4.txt AC 30
case5.txt AC 29
case6.txt AC 22
case7.txt AC 27
case8.txt AC 22
case9.txt AC 19
case10.txt AC 22
case11.txt AC 48
case12.txt AC 30
case13.txt AC 31
case14.txt AC 33
case15.txt AC 29
50 AC