## Search found 17 matches

Fri Dec 28, 2007 11:45 pm
Forum: Volume 101 (10100-10199)
Topic: 10183 - How Many Fibs?
Replies: 66
Views: 23725

### help me find the bug

here are the test cases which my code passes:- 10 100 1234567890 9876543210 3 5 5 8 0 1 1 2 0 2 0 7 298611126818977066918552 483162952612010163284885 1 36726740705505779255899443 8 12 8 13 1 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 21 1 1...
Fri Dec 28, 2007 11:41 pm
Forum: Volume 101 (10100-10199)
Topic: 10183 - How Many Fibs?
Replies: 66
Views: 23725
Hi, I have run through all the available test cases posted here related to problem number <10183> still i get WA. 6140898 How Many Fibs? Wrong answer C++ 0.010 2007-12-28 20:37:44 6140883 How Many Fibs? Wrong answer C++ 0.010 2007-12-28 20:25:29 6140876 How Many Fibs? Wrong answer C++ 0.020 2007-12-...
Tue Dec 11, 2007 8:34 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649

### solved!

thanks guys i got it AC now.

The problem was with the output that i was printing. There was an extra '\n' at the end of the output

<i really had fun solving this! >
Tue Dec 11, 2007 7:47 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649
guys i modified my code to get the input like this:- *Hided* Now, the code supports input file redirection. but I am getting WA. There may be some stupid problem which i am not able to notice. my code gives the following output from all the sample inputs i collected over the forum: input: 10 move 9 ...
Tue Dec 11, 2007 6:02 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649
I read through the problem once again, saw that I was on teh boundary condition of the input length. I changed the length of the cmd[15] to cmd[20] and now it is getting TLE :-( one thing for sure is. if the judge does something like this to my code to test it is gonna get TLE. 101 < input.dat (i me...
Tue Dec 11, 2007 5:49 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649
alright, i post my code here. can someone help me out with the RTE problem reported by online judge? *Hided* i am able to get correct outputs for the sample inputs posted here and also in the problem statement. I have commented out the fflush(stdin); line without which the code wont work i guess (mm...
Tue Dec 11, 2007 5:43 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649

### RE:

I can't post the entire code here cuz it does not belong to this category. I have posted it in problem category 101

Only one other questions: is it a problem if i use "fflush(stdin);" in my code?
Mon Dec 10, 2007 10:13 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649
after trying the choice which you had provided I am now getting runtime error! with no explainations! is there something which I am missing about the new judge? I have read through most of the FAQs, HOW TOs and beginner materials. If so many people are getting ACs the judge definitely cannot be stup...
Mon Dec 10, 2007 10:06 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649

### RE: C compiler used by UVA judge+++

Thanks jan_holmes, But my code is getting CE. I have tested the code on mingw compiler(bllodshed devc++) and vc++ 6.0. I cannot understand why t is getting compiler? I do not get any emails describing the problem also... help pls. here goes my code:- /* @JUDGE_ID: 59960OQ 101 C "Brute Force" */ /* S...
Mon Dec 10, 2007 9:02 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649

### Getting Compilation Error on 101

I am getting CE and i cant figure out why? when the same code is working fine on the devc++ compiler as well as vc++ 6.0 compiler

pls help!
Mon Dec 10, 2007 8:43 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649

### C compiler used by UVA judge+++

The judge asks me to choose, now I am using bloodshed developer c++ to compile my code. which of these should i choose?

>> ANSI C 4.1.2 - GNU C Compiler with options: -lm -lcrypt -O2 -pipe -ansi -DONLINE_JUDGE

>>C++ 4.1.2 - GNU C++ Compiler with options: -lm -lcrypt -O2 -pipe -DONLINE_JUDGE
Mon Dec 10, 2007 8:32 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 39649

### C compiler used by UVA judge

Hello, I would like to know which c compiler the judge uses so that I can compile my code in the same compiler and avoid submitting many times to online judge and any unnecessary error codes returned. Also please comment on the following way of coding practice to be used for submissions in C. /* @JU...
Fri Apr 13, 2007 5:01 pm
Forum: Volume 3 (300-399)
Topic: 389 - Basically Speaking
Replies: 94
Views: 22717

### My code is getting WA

_.B._ my code passed all your test cases which you have given in other 389 posts but i am still getting WA:- Help! /* Hided */ i need more test inputs to fail my code. i have tried all the test inputs available on all the 389 posts here and get the correct result but get WA by online judge! thanks t...
Fri Apr 13, 2007 4:01 pm
Forum: Volume 3 (300-399)
Topic: 355 - The Bases Are Loaded
Replies: 74
Views: 22900

### Thanks mf

Thanks to your test case mf.

Please provide some insights into testing my code with such test cases. how do you arrive at those test cases? so that going ahead i can test my codes rigorously before submitting...
Fri Apr 13, 2007 3:06 pm
Forum: Volume 3 (300-399)
Topic: 355 - The Bases Are Loaded
Replies: 74
Views: 22900

### getting WA in 355

Dear Gurus,

Need your help in finding out the reason for WA.

Code: Select all

``ERASED``
i didnt take care about the power function for unsigned long long case.

It got AC after change.
Thanks a bunch!