Of all the trivial mistakes I could make , this one took the cake.I hadn't initialised one of my arrays properly!!!AC finallly (phew)
Anyways I hope the sample ip-op is correct:
16
2 76 0
2147483647 2147483647 -2147483648
-2147483647 -2147483648
2 76 1
2147483647 2147483647 -2147483648 ...
Search found 31 matches
- Fri Jan 07, 2005 9:56 am
- Forum: Volume 107 (10700-10799)
- Topic: 10754 - Fantastic Sequence
- Replies: 16
- Views: 14695
- Thu Jan 06, 2005 9:55 pm
- Forum: Other words
- Topic: more input-output
- Replies: 4
- Views: 2261
The problem in giving too many sample input outputs in some problems is that these can in fact give an unnecessary clue as to how to solve the problem.Clearly the purpose of the test cases is not to tell you how to proceed but just to a small verification as to the veracity of your algo and maybe to ...
- Fri Dec 10, 2004 1:02 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10785 - The Mad Numerologist
- Replies: 8
- Views: 4283
- Fri Oct 15, 2004 2:20 pm
- Forum: Volume 104 (10400-10499)
- Topic: 10454 - Trexpression
- Replies: 15
- Views: 5469
Finally
Found my mistake
Found my mistake
Found my mistake!!!
Some small mistake which I chanced upon when i was giving some random inputs.Thanks for your time (dot)(dot)

Found my mistake
Found my mistake!!!
Some small mistake which I chanced upon when i was giving some random inputs.Thanks for your time (dot)(dot)

- Thu Oct 14, 2004 10:20 am
- Forum: Volume 104 (10400-10499)
- Topic: 10454 - Trexpression
- Replies: 15
- Views: 5469
- Thu Oct 14, 2004 10:06 am
- Forum: Volume 104 (10400-10499)
- Topic: 10454 - Trexpression
- Replies: 15
- Views: 5469
- Thu Oct 14, 2004 8:34 am
- Forum: Volume 104 (10400-10499)
- Topic: 10454 - Trexpression
- Replies: 15
- Views: 5469
10454 WA
I am getting WA for this problem and I think I am making a mistake in the base case/tricky cases.
I would appreciate some test cases plz.
Also could someone verify the input-output for these
Input:
1+1+1+1+2*2+1*2*2*2+1+1+1+1*2+1
((((((1+2))))))
1*1*1*1*1*1*1*1*1
(1*1*1*1)*(1*1*1*1*1)
1+1+1*1+1 ...
I would appreciate some test cases plz.
Also could someone verify the input-output for these
Input:
1+1+1+1+2*2+1*2*2*2+1+1+1+1*2+1
((((((1+2))))))
1*1*1*1*1*1*1*1*1
(1*1*1*1)*(1*1*1*1*1)
1+1+1*1+1 ...
- Tue Aug 10, 2004 7:30 am
- Forum: Volume 6 (600-699)
- Topic: 624 - CD
- Replies: 77
- Views: 46095
624 CD
Hi I keep on getting WA...any tricks here?
Plz help
Plz help
- Mon Aug 09, 2004 11:05 am
- Forum: Volume 106 (10600-10699)
- Topic: 10692 - Huge Mods
- Replies: 15
- Views: 13093
Some random sample
Some random IO ...
Input:
9384 7 778 916 794 336 387 493 650
1422 3 28 691 60
7764 7 541 427 173 737 212 369 568
6430 3 531 863 124
4068 6 930 803 23 59 70 168
1394 7 12 43 230 374 422 920 785
8538 9 325 316 371 414 527 92 981 957 874
6863 1 997
7282 6 926 85 328 337 506 847
1730 4 858 125 896 ...
Input:
9384 7 778 916 794 336 387 493 650
1422 3 28 691 60
7764 7 541 427 173 737 212 369 568
6430 3 531 863 124
4068 6 930 803 23 59 70 168
1394 7 12 43 230 374 422 920 785
8538 9 325 316 371 414 527 92 981 957 874
6863 1 997
7282 6 926 85 328 337 506 847
1730 4 858 125 896 ...
- Mon Aug 09, 2004 11:01 am
- Forum: Volume 106 (10600-10699)
- Topic: 10686 - SQF Problems
- Replies: 21
- Views: 15782
Thanks
I dont know what happened...But I think it was Per's suggestion that I remove empty spaces before I see end of line(ergo flawed input)
My prg got AC but I think there can be some change in judge for this.Atleast an enquiry?
My prg got AC but I think there can be some change in judge for this.Atleast an enquiry?
- Sat Aug 07, 2004 12:58 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10692 - Huge Mods
- Replies: 15
- Views: 13093
- Sat Aug 07, 2004 6:55 am
- Forum: Volume 106 (10600-10699)
- Topic: 10692 - Huge Mods
- Replies: 15
- Views: 13093
- Fri Aug 06, 2004 3:42 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10686 - SQF Problems
- Replies: 21
- Views: 15782
10686 - SQF Problems
Pained by TLE
now WA
Someone help
~Thanks~
now WA
Someone help
~Thanks~
- Thu Aug 05, 2004 6:55 am
- Forum: Volume 106 (10600-10699)
- Topic: 10692 - Huge Mods
- Replies: 15
- Views: 13093
Found the error
While I was sitting in class today I realised my error.
If anyone needs sample IO plz ask.
If anyone needs sample IO plz ask.
- Wed Aug 04, 2004 2:04 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10692 - Huge Mods
- Replies: 15
- Views: 13093
10692 - Huge Mods
It seems only 1 AC out of 13 submissions.Am I missing something here?
Can the person who got AC tell if there is some tricks in the input?Maybe some sample I/o?
Are any people who got it during the contest getting WA?
Can the person who got AC tell if there is some tricks in the input?Maybe some sample I/o?
Are any people who got it during the contest getting WA?