#include<ios> int a,n,w=10,c[10];main(){for(scanf("%d\n",&n);a<n;++a)w-=getchar()<'T'?!c[a*10/n]++:0;printf("%d",w);}
1 2 | #include<ios> int a,n,w=10,c[10];main(){for(scanf("%d\n",&n);a<n;++a)w-=getchar()<'T'?!c[a*10/n]++:0;printf("%d",w);} |
#include<ios> int a,n,w=10,c[10];main(){for(scanf("%d\n",&n);a<n;++a)w-=getchar()<'T'?!c[a*10/n]++:0;printf("%d",w);}
1 2 | #include<ios> int a,n,w=10,c[10];main(){for(scanf("%d\n",&n);a<n;++a)w-=getchar()<'T'?!c[a*10/n]++:0;printf("%d",w);} |