Tên đăng nhập Điểm ▾ Bài tập Giới thiệu
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0

include<bits/stdc++.h>

using namespace std;
int tmp=0;
bool dequy(string s,int i)
{
if(s[i]==s[i+1]){
return dequy(s,i+2);
tmp++;
}
if(tmp%2==1)
return false;
else
return true;
}

int main()
{
string s;
cin>>s;
if(dequy(s,0))
cout<<"Yes";
else
cout<<"No";
}

35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0

Đẹp trai vl

35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0

Hồ Minh Nguyên
19/10/2011

35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0

🗣️ BÁ VÔ MÀ NÚP 🤫

35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101
qvbn021124_200 621
Đào Thị Thanh Thảo
0 0
35101 0 0
35101 0 0
35101 0 0

???

35101
anhkemlong
Vũ Huy Hoàng
0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0

uses crt;
var n,i,s:longint;
begin
readln(n);
if n mod 2 =0 then writeln(n,' la so chan') else writeln(n,' la so le');
begin
for i:= 1 to trunc(sqrt(n)) do
if n mod i=0 then
writeln(n,' la hop so')
else
writeln(n,' la so nguyen to');
begin
s:=0;
for i:=1 to n div 2 do
if n mod i=0 then
s:=s+i;
if s=n then
writeln(n,' la so hoan hao') else writeln(n,' ko la so hoan hao');
end;
end;
readln;
end.

35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0
35101 0 0

qưqdqd

35101 0 0
35101 0 0
35101 0 0