Sponsors

Tag: problem: (A) Gotta Catch Em' All! Solution in C/C++

Codecraft-17 and Codeforces Round...

#include<stdio.h> #include<string.h> int main(){ int i,j; char ch; char a; int b={0}; while((ch=getchar())!=EOF){ b++; } char *d="ulbasr"; int min=b; b=b/2; b=b/2; for(i=0;i<strlen(d);i++){ if(min>b]){ min=b]; } } printf("%d",min); }

Advertisement

spot_img