Search found 1 match

by zerin xahan
Sat Sep 10, 2016 5:55 pm
Forum: Volume 117 (11700-11799)
Topic: 11787 - Numeral Hieroglyphs
Replies: 6
Views: 2990

Re: 11787 - Numeral Hieroglyphs

#include<bits/stdc++.h> using namespace std; int main() { long long int sum,i,j,k,l,flag,t,p,flag1,count; scanf("%lld",&t); for(j=0;j<t;j++) { char a[1000],b[1000]; scanf("%s",a); flag=1; sum=0; flag1=1; count=0; int flag2=1; l=strlen(a); for(i=0;i<l;i++) { if(a[i]=='B'&&(a[i+1]=='U'||a[i+1]=='S'||...

Go to advanced search