Search found 4 matches

by sarowar_csecu
Fri Sep 12, 2014 8:57 am
Forum: Volume 2 (200-299)
Topic: 272 - TEX Quotes
Replies: 136
Views: 36647

Re: 272 - TEX Quotes

Accepted. Thanks :)
by sarowar_csecu
Thu Sep 11, 2014 2:41 pm
Forum: Volume 2 (200-299)
Topic: 272 - TEX Quotes
Replies: 136
Views: 36647

Re: 272 - TEX Quotes

What's wrong! Getting WA. Please help.

Code: Select all

Removed after AC
 
by sarowar_csecu
Tue Sep 20, 2011 9:39 pm
Forum: Volume 117 (11700-11799)
Topic: 11743 - Credit Check
Replies: 6
Views: 3520

Re: 11743 - Credit Check Why WA please help me!!!!!

getting WA! :( why?? #include<stdio.h> int gd(int n){ n=n*2; if(n>9) return n/10+n%10; else return n; } int main(int argc, char** argv) { int n,i,j,k,f=0,d,ud,s; int c[20]; scanf("%d",&n); while(n--){ d=0; ud=0; for(i=0;i<16;i++){ scanf("%1d",&c[i]); if(i%2==0){ d+=gd(c[i]); }else ud+=c[i]; } s=d+ud...
by sarowar_csecu
Tue Oct 12, 2010 3:40 am
Forum: Volume 100 (10000-10099)
Topic: 10034 - Freckles
Replies: 101
Views: 33034

10034 WA

i'm getting WA. i can't find out the cause. help please. thanks in advance. #include <cstdlib> #include<stdio.h> #include<math.h> using namespace std; int main() { int tc, n,i,j,k,count; float **co,**gm,*nr,*d,res=0; scanf("%d",&tc); while(tc--){ scanf("%d",&n); count=1; co = new float*[(n + 1)*(3)]...

Go to advanced search