Sponsors

Tag: problem: (B) Polycarp and Letters Solve In C/C++

Codeforces Round #436 (Div....

#include <stdio.h> int c; void reset(){ for(int i=0;i<26;i++){ c=0; } } int main(){ int n,i,cur=0,max=0; scanf("%d",&n); char a; scanf("%s",a); reset(); for(i=0;i<n;i++){ if(a>='A' &&...

Advertisement

spot_img