当前位置: 代码迷 >> 综合 >> 743A. Vladik and flights codeforces
  详细解决方案

743A. Vladik and flights codeforces

热度:42   发布时间:2024-01-10 18:46:17.0
#include<bits/stdc++.h>
using namespace std;
char str[100005];
int main()
{int n,a,b;cin>>n>>a>>b;for(int i=1;i<=n;i++){cin>>str[i];}if(str[a]!=str[b]){cout<<1<<endl;}else{cout<<0<<endl;}return 0;
}