https://algospot.com/judge/problem/read/ZEROONE

이문제


#include<iostream>

using namespace std;char a[0xFFFFF];int main(){int n,l,r;for(cin>>a>>n;cin>>l>>r,n--;cout<<(l>r?"Yes":"No")<<endl)while(a[l++]==a[r]);}


이렇게 풀면되는거 아니냐? 왜 안되지 ㅡ,.ㅡ

내 컴에선 제대로 나오는뎅.