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 ...
Search found 17 matches
- Fri Dec 28, 2007 11:45 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10183 - How Many Fibs?
- Replies: 66
- Views: 35839
- Fri Dec 28, 2007 11:41 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10183 - How Many Fibs?
- Replies: 66
- Views: 35839
- Tue Dec 11, 2007 8:34 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108746
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! >
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: 108746
- Tue Dec 11, 2007 6:02 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108746
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 ...
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 ...
- Tue Dec 11, 2007 5:49 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108746
- Tue Dec 11, 2007 5:43 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108746
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?
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: 108746
- Mon Dec 10, 2007 10:06 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108746
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 ...
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 ...
- Mon Dec 10, 2007 9:02 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108746
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!
pls help!
- Mon Dec 10, 2007 8:43 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108746
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
>> 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: 108746
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 ...
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 ...
- Fri Apr 13, 2007 5:01 pm
- Forum: Volume 3 (300-399)
- Topic: 389 - Basically Speaking
- Replies: 94
- Views: 36479
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 ...
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 ...
- Fri Apr 13, 2007 4:01 pm
- Forum: Volume 3 (300-399)
- Topic: 355 - The Bases Are Loaded
- Replies: 74
- Views: 30624
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...
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: 30624
getting WA in 355
Dear Gurus,
Need your help in finding out the reason for WA.
i didnt take care about the power function for unsigned long long case.
It got AC after change.
Thanks a bunch!
Need your help in finding out the reason for WA.
Code: Select all
ERASED
It got AC after change.
Thanks a bunch!