It takes too many seconds to generate all lucky numbers which are less than 2,000,000.
Does it need to include all lucky numbers generated already in a source code ??
But they are also too many to do that.
I really have no idea to solve this problem.
Please help me.
Search found 2 matches
- Fri Sep 23, 2005 6:48 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10909 - Lucky Number
- Replies: 18
- Views: 8348
- Sat Oct 18, 2003 11:47 am
- Forum: Volume 104 (10400-10499)
- Topic: 10445 - Make Polygon
- Replies: 35
- Views: 19237
10445, clockwise, counter-clockwise
For solving this problem(10445),
As you know, First!! we have to find that input polygon is clockwise, or counter-clockwise;
please consider this test case.
13
0 7
7 0
14 8
3 15
2 9
3 11
4 12
6 11
8 9
9 8
7 6
5 5
3 5
Is this polygon clockwise??
Please draw it in your paper with your pen.
I think ...
As you know, First!! we have to find that input polygon is clockwise, or counter-clockwise;
please consider this test case.
13
0 7
7 0
14 8
3 15
2 9
3 11
4 12
6 11
8 9
9 8
7 6
5 5
3 5
Is this polygon clockwise??
Please draw it in your paper with your pen.
I think ...