Search found 15 matches

by Saswat2603
Tue Jul 06, 2010 4:03 pm
Forum: Volume 115 (11500-11599)
Topic: 11505 - Logo
Replies: 8
Views: 15079

Re: 11505 - LOGO

The above output is WRONG.

Correct output :

Code: Select all

68
37
50
Even the input is WRONG.
lf should be replaced by lt.
by Saswat2603
Sat May 08, 2010 6:22 pm
Forum: C
Topic: Fast I/O Using fread() & fwrite
Replies: 5
Views: 7384

Fast I/O Using fread() & fwrite

Hi dear programmers !

I just found in some thread that, faster run-times can be achieved by using fread() and fwrite() and the run-times differed from printf() and scanf() by significant amount.

I searched this forum for a bit of explanation in this regard, but didn't find anything really helpful ...
by Saswat2603
Wed Mar 04, 2009 3:18 pm
Forum: Bugs and suggestions
Topic: Retrieval of AC Codes
Replies: 4
Views: 2599

Re: Retrieval of AC Codes

OK. :( :( :(


Thanx for the reply anyway.
by Saswat2603
Tue Jan 13, 2009 2:25 pm
Forum: Volume 7 (700-799)
Topic: 724 - Reverse
Replies: 14
Views: 7255

Re: 724 - Reverse

NO REPLY !?!?!?!?!?

Many have solved this quine thing.

Please some body help me find my mistake(s).
by Saswat2603
Thu Jan 08, 2009 8:24 am
Forum: Volume 7 (700-799)
Topic: 724 - Reverse
Replies: 14
Views: 7255

Re: 724 - Reverse

Here is the modified code ::

/**/main(){char*a=/*/};0 nruter;)01(rahctup;)q,q,a,q,q,232+a(ftnirp;)01(rahctup;)q,q,a,q,q,232+a(ftnirp;'"'=q,/**/"/**/main(){char*a=/*/};0 nruter;)01(rahctup;)q,q,a,q,q,232+a(ftnirp;)01(rahctup;)q,q,a,q,q,232+a(ftnirp;'c%'=q,/**/c%s%c%/**/,q='c%';printf(a+232,q,q,a,q ...
by Saswat2603
Wed Jan 07, 2009 1:55 pm
Forum: Volume 7 (700-799)
Topic: 724 - Reverse
Replies: 14
Views: 7255

Re: 724 - Reverse

@newton:

Because, I wanted the code 2 b shorter. :lol:

When I make a new line in the source code,
I would have to reflect it in the output too.
And for that, I would have to add another 'putchar(10)' or puts("") or printf("\n") .
As my code is a palindrome, I would have 2 add the reverse too.
I ...
by Saswat2603
Tue Jan 06, 2009 3:23 pm
Forum: Volume 102 (10200-10299)
Topic: 10209 - Is This Integration ?
Replies: 37
Views: 16006

Re: 10209 - Is This Integration ?

I finally reduced my time to 0.070 sec :D :D :D , with much pain.
by Saswat2603
Tue Jan 06, 2009 3:21 pm
Forum: Volume 7 (700-799)
Topic: 724 - Reverse
Replies: 14
Views: 7255

Re: 724 - Reverse

Hi newton.

Here is my source code ---

/**/main(){char*a=/*/};0 nruter;)q,q,a,q,q,802+a(ftnirp;)01(rahctup;)q,q,a,q,q,802+a(ftnirp;'"'=q,/**/"/**/main(){char*a=/*/};0 nruter;)q,q,a,q,q,802+a(ftnirp;)01(rahctup;)q,q,a,q,q,802+a(ftnirp;'c%'=q,/**/c%s%c%/**/,q='c%';printf(a+208,q,q,a,q,q);putchar(10 ...
by Saswat2603
Sun Jan 04, 2009 3:55 pm
Forum: Volume 7 (700-799)
Topic: 724 - Reverse
Replies: 14
Views: 7255

724 - Reverse

I tried making a palindromic ANSI C quine that prints itself twice and submitted it to the judge...But received a WA :( .
Can anyone tell me why?

A palindromic quine fulfills all conditions stated --
--> The program prints itself first
--> Then, it prints itself again (for backward print)

Where ...
by Saswat2603
Sun Jan 04, 2009 4:42 am
Forum: Bugs and suggestions
Topic: Retrieval of AC Codes
Replies: 4
Views: 2599

Retrieval of AC Codes

Hi all,

I just had a hard disk crash, a serious hard disk crash! Now the hard disk is dead. I sent it for replacement. I had stored all my AC programs on the disk :( (o'course with many more valuable data).

My question is, does anyone know, how to retrieve the best accepted programs from the ...
by Saswat2603
Fri Jan 02, 2009 1:26 pm
Forum: General
Topic: Something wrong with links to problems
Replies: 3
Views: 5089

Re: Something wrong with links to problems

Same with me. This is REALLLLYYYYYYY frustrating :x :x :x :x :x ....
I get the same error from ALL links to problems, except the links that are via the Browse Problems section. Precisely --
--> Last 50 submissions
--> My Submissions
--> My Statistics
NONE OF the links in the above pages let me in ...
by Saswat2603
Sat Dec 13, 2008 3:31 pm
Forum: Volume 102 (10200-10299)
Topic: 10209 - Is This Integration ?
Replies: 37
Views: 16006

Faster Floating Point Calculations ??

Hi all.

I solved this problem all by myself in 0.110 sec( it was an easy one ). :)
I checked the problem stats and was surprised 2 find many :o ppl with 0.000 sec :o :o :o timing !!

R there faster methods 4 solving this problem ??
2 b more specific, this problem would require a total of 3 ...
by Saswat2603
Wed Sep 17, 2008 7:22 am
Forum: Volume 103 (10300-10399)
Topic: 10378 - Complex Numbers
Replies: 25
Views: 16079

uvatoolkit.com [wrong] output

Guys just check this--
Input:

88+1i 100


Output

Case 1:
1.046+0.000i
1.044-0.066i
1.044+0.066i
1.038-0.131i
1.038+0.131i
1.027-0.196i
1.027+0.196i
1.013-0.260i
1.013+0.260i
0.995-0.323i
0.995+0.323i
0.972-0.385i
0.972+0.385i
0.946-0.445i
0.946+0.445i
0.916-0.504i
0.916+0.504i
0.883-0.560i
0 ...
by Saswat2603
Sat Mar 08, 2008 3:05 pm
Forum: Volume 112 (11200-11299)
Topic: 11281 - Triangular Pegs in Round Holes
Replies: 26
Views: 13633

Need Some Critical Test Cases

I need some critical test cases. My program passed all the test cases mentioned in this thread, yet gets a WA. :x
by Saswat2603
Fri Feb 29, 2008 4:54 pm
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 65876

Re: my AC code that doesn't consider the above points

Hi fabiofabris !!

I think you are mistaken :oops: in the first three points :

- X 0001 should print 1
- X 0000 should print 0
- 0 N should finish execution only if N is 0 (important)

My AC code does NOT fulfill any of these 3 criteria BUT it's AC :lol: !!!

If, you want my AC code, contact ...

Go to advanced search