Ok!
It was just an stupid mistake with the computation of one of the cases.
Now I got AC!
Thanks a lot.
Search found 2 matches
- Sat Oct 16, 2004 4:15 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10732 - The Strange Research
- Replies: 5
- Views: 3308
- Thu Oct 14, 2004 9:08 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10732 - The Strange Research
- Replies: 5
- Views: 3308
10732 - The Strange Research
Although I think I have solved this problem, I am always having WA.
I have generated random inputs and checked the number of solutions with the slow n^2 algorithm. I have tried with large inputs and get the same answer with both methods.
Is there any trick with repeated numbers or comparing to 10 ...
I have generated random inputs and checked the number of solutions with the slow n^2 algorithm. I have tried with large inputs and get the same answer with both methods.
Is there any trick with repeated numbers or comparing to 10 ...