Search found 4 matches

by xplosive
Mon Jul 14, 2014 4:14 pm
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 28228

Re: 10101 - Bangla Numbers

Why I am getting PE. Please help. //uva set - adhoc //10101 - Bangla Numbers //Xplosive //na #include<cstdio> #include<iostream> #include<string> #include<cstring> #include<sstream> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm> #include<vector> #include<set> #include<queue> ...
by xplosive
Tue Sep 03, 2013 7:09 pm
Forum: Volume 125 (12500-12599)
Topic: 12502 - Three Families
Replies: 23
Views: 9998

12502 - Three Families

Why i am getting runtime error...? I tried for four time but same result rte... #include <iostream> #include <cstdio> using namespace std; int main() { //freopen("uvainput.txt", "r", stdin); //freopen("uvaoutput.txt", "w", stdout); int t,tt; scanf("%d",&tt); int x,y,z,ave,over,r; for(t=0; t<tt; t++)...
by xplosive
Thu Aug 15, 2013 1:25 pm
Forum: Volume 115 (11500-11599)
Topic: 11577 - Letter Frequency
Replies: 19
Views: 7264

Re: 11577 - Letter Frequency

what's wrong... i get many wa. #include <iostream> #include <cstdio> #include <cstring> using namespace std; int main() { freopen("uvainput.txt", "r", stdin); //freopen("uvaoutput.txt", "w", stdout); char s[10000],rs[30],tch; int t,tt,i,j,l,max,min,c; const int r=123; scanf("%d",&tt); char gr=getcha...
by xplosive
Thu Aug 15, 2013 1:23 pm
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 22986

Re: 406 - Prime Cuts WA

what's wrong ... i get many wa.. //406 - Prime Cuts #include <iostream> #include <cstdio> using namespace std; int is_prime(int n); int main() { //freopen("uvainput.txt", "r", stdin); //freopen("uvaoutput.txt", "w", stdout); int i,j,n,c,l,show,start,k=0; int a[10000]; while(scanf("%d %d",&n,&c)==2) ...

Go to advanced search