11207 - The easiest way
Moderator: Board moderators
11207 - The easiest way
can anyone give me some testcase please ?i got WA..
thanks for ur help...
thanks for ur help...
-
- Learning poster
- Posts: 56
- Joined: Tue Jun 13, 2006 5:18 pm
- Location: (CSE, SUST) Sylhet, Bangladesh
- Contact:
Try with this cases
Input:
Output:
Input:
Code: Select all
3
1 4
2 6
2 7
3
6 6
6 12
4 12
3
13 39
26 52
52 26
2
10 20
12 12
3
100 170
140 122
122 140
3
120 170
40 8
71 500
3
20 10
8 40
12 12
3
122 140
199 900
1 900
5
11111111 22222222
10000000 30000000
1 2
99999999 12345678
1048576 1048576
3
1 4
2 6
2 7
1
4 4
2
4 4
1 2
10
10 20
111 589
654 879
100000 400000
888888 1000000
400000 100000
1 1
88 88
400000 1600000
1600000 400000
0
Code: Select all
3
1
2
2
2
3
2
2
4
3
1
1
5
aa
i still dont understand the answer..sjn wrote:think this what's the size for 32*8 and 32*9
hope this help
32*8 can make 8*8,and 32*9 can make 8*8 too..so is it right?
hi all...
why WA ???
It seems a very easy problem.
But, I got WA![:(](./images/smilies/icon_frown.gif)
In my thought, the case of arrangement is only 2 as below..
case 1.
□□□□
case 2.
□□
□□
The first case is that one side's length is bigger than 4 times of the other's length.
If not, the condition is the second case.
My code is following.. Could you help me ??
why WA ???
It seems a very easy problem.
But, I got WA
![:(](./images/smilies/icon_frown.gif)
In my thought, the case of arrangement is only 2 as below..
case 1.
□□□□
case 2.
□□
□□
The first case is that one side's length is bigger than 4 times of the other's length.
If not, the condition is the second case.
My code is following.. Could you help me ??
Code: Select all
after AC, this is cut
Last edited by pipo on Sun May 27, 2007 5:03 pm, edited 1 time in total.
-
- Guru
- Posts: 1080
- Joined: Thu Dec 19, 2002 7:37 pm
-
- Guru
- Posts: 1080
- Joined: Thu Dec 19, 2002 7:37 pm
wa, wa and wa
Hi people,
I'm trying to solve this problem but this is with WA.
What's the output to this:?
4
10 10
23 230
230 23
12 12
thanks in advance,,,
I'm trying to solve this problem but this is with WA.
What's the output to this:?
4
10 10
23 230
230 23
12 12
thanks in advance,,,
-
- Experienced poster
- Posts: 136
- Joined: Fri Apr 15, 2005 3:47 pm
- Location: Singapore
- Contact:
spoiler deleted
Hi people,
sorry, I not wise this of spoiler
deleted...
thanks in advance...
sorry, I not wise this of spoiler
![:oops:](./images/smilies/icon_redface.gif)
deleted...
thanks in advance...
Last edited by adelar on Fri Jun 08, 2007 5:26 pm, edited 4 times in total.