Search found 14 matches

by techbd123
Sun Apr 20, 2014 7:56 pm
Forum: Volume 100 (10000-10099)
Topic: 10063 - Knuth's Permutation
Replies: 14
Views: 5907

Re: 10063 - Knuth's Permutation

Please help!
Why WA ?

Here's my code: https://ideone.com/9ZJysk
by techbd123
Wed Dec 04, 2013 5:30 am
Forum: Volume 113 (11300-11399)
Topic: 11385 - Da Vinci Code
Replies: 70
Views: 22649

Re: 11385 - Da Vinci Code

Guru! Thanks.

And I made unsigned char for str though it was unnecessary, it could be only char type too.
by techbd123
Mon Dec 02, 2013 1:28 pm
Forum: Volume 113 (11300-11399)
Topic: 11385 - Da Vinci Code
Replies: 70
Views: 22649

Re: 11385 - Da Vinci Code

Guru! Brianfry! Please help.
Why wa???

[Removed as it was AC then]
by techbd123
Sat Nov 09, 2013 3:52 am
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 37738

Re: 10013 - Super Long Sums

Please help Guru Brainfry! Why getting WA? #include <stdio.h> short int sum[1000001],crry[1000001]; unsigned char numstr[1000001]; int main() { int i,t,n,c,f=0; scanf("%d",&t); while(t--) { scanf("%d",&n); i=n; while(i--) { scanf("%d",&c);sum[i]=c;scanf("%d",&c);sum[i]+=c; if(sum[i]>9){sum[i]-=10;cr...
by techbd123
Fri Oct 04, 2013 11:19 am
Forum: Volume 6 (600-699)
Topic: 623 - 500!
Replies: 187
Views: 42226

Re: 623 - 500!

Guru! Brianfry!
I didn't find any wrong in my code. After all the code hasn't been accepted.
Please help me find the bug.

My code is here:
[Removed since AC]
Date: 04/OCT/2013 Time: 2:50 pm [GMT]
I found out my simple mistake.
by techbd123
Thu Oct 03, 2013 10:52 pm
Forum: Volume 113 (11300-11399)
Topic: 11344 - The Huge One
Replies: 16
Views: 6028

Re: 11344 - The Huge One

Please help. Why WA in this code???? #include <stdio.h> unsigned char str[10010]; struct sum_length_rsum { int sum,length,rsum; }; struct sum_length_rsum SumStr(unsigned char str[]) { int i,sum,rsum;struct sum_length_rsum x;for(i=rsum=sum=0;str[i];i++) {sum+=str[i]-'0';if(i&0x0001)rsum-=str[i]-'0';e...
by techbd123
Wed Sep 18, 2013 6:59 pm
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 20252

Re: 333 - Recognizing Good ISBNs - Need more In/Output sampl

Guru! Brianfry!
Please help me. I used most of the critical cases but found WA. Please help
My code is here: http://ideone.com/AD8rfT
by techbd123
Wed Aug 21, 2013 12:29 am
Forum: Volume 102 (10200-10299)
Topic: 10281 - Average Speed
Replies: 39
Views: 14430

Re: 10281 - Average Speed

Thanks to Guru! Brianfry
by techbd123
Sun Aug 18, 2013 1:31 am
Forum: Volume 102 (10200-10299)
Topic: 10281 - Average Speed
Replies: 39
Views: 14430

Re: 10281 - Average Speed

Code: Select all

Removed the code after getting AC
by techbd123
Sat Aug 17, 2013 2:57 pm
Forum: Volume 4 (400-499)
Topic: 498 - Polly the Polynomial
Replies: 73
Views: 13038

Re: 498 - polly the polynomial

Thanks to Guru! Brianfry.
by techbd123
Sat Aug 17, 2013 2:54 pm
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 23068

Re: Presentation error on 160

Thanks Guru! Brianfry
by techbd123
Sat Aug 17, 2013 1:59 pm
Forum: Volume 9 (900-999)
Topic: 983 - Localized Summing for Blurring
Replies: 5
Views: 5460

Re: 983 - Localized Summing for Blurring

Why TLE??? My code is http://ideone.com/oqVbBn

Please help....
by techbd123
Sun Aug 11, 2013 9:24 am
Forum: Volume 4 (400-499)
Topic: 498 - Polly the Polynomial
Replies: 73
Views: 13038

Re: 498 - polly the polynomial

Why PE in this code???
Please help me to find out.

Code: Select all

CODE REMOVED AFTER GETTING AC
by techbd123
Wed Aug 07, 2013 5:13 am
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 23068

Re: Presentation error on 160

Why getting WA and printing a newline it's PE???

My code is here. http://pastebin.com/mYH6gGcD

Please reply quickly.

Go to advanced search