Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

麻烦帮我看一下我这组输出对吗?

Posted by ImLazy at 2005-09-24 16:45:02 on Problem 1638
In Reply To:麻烦帮我看一下我这组输出对吗? Posted by:ImLazy at 2005-09-24 16:44:10
Input:
200
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
999999
999998
999997
999996
999995
999994
999993
999992
999991
999990
999989
999988
999987
999986
999985
999984
999983
999982
999981
999980
999979
999978
999977
999976
999975
999974
999973
999972
999971
999970
999969
999968
999967
999966
999965
999964
999963
999962
999961
999960
999959
999958
999957
999956
999955
999954
999953
999952
999951
999950
999949
999948
999947
999946
999945
999944
999943
999942
999941
999940
999939
999938
999937
999936
999935
999934
999933
999932
999931
999930
999929
999928
999927
999926
999925
999924
999923
999922
999921
999920
999919
999918
999917
999916
999915
999914
999913
999912
999911
999910
999909
999908
999907
999906
999905
999904
999903
999902
999901
999900

Output:
1 0
1 1
2 1
2 2
3 2
2 3
4 2
3 3
3 3
3 4
5 3
4 3
4 4
3 5
3 5
4 4
5 4
4 4
5 4
5 4
4 5
4 6
7 4
4 5
4 6
5 5
4 5
6 4
5 6
6 4
5 6
5 5
4 7
5 6
4 7
6 4
5 6
5 6
5 6
5 6
7 5
6 5
6 6
7 5
5 6
5 8
9 5
6 5
6 6
7 5
5 7
6 6
7 6
6 5
5 8
5 7
6 6
7 6
7 7
6 6
7 6
7 6
5 7
6 6
6 7
8 5
6 8
7 6
5 9
8 5
6 8
6 6
7 6
7 6
7 6
7 6
5 9
7 6
7 7
7 6
6 6
6 8
9 6
8 5
6 8
7 7
6 8
6 8
9 6
8 5
6 8
9 6
6 8
6 10
6 8
6 7
8 6
7 7
6 8
7 7
22 20
22 21
22 21
27 19
21 22
24 22
20 23
24 19
23 23
23 19
22 23
22 23
21 20
21 22
22 22
23 21
24 21
21 23
19 26
22 21
22 23
23 21
19 26
20 24
25 19
24 21
23 20
26 18
23 22
22 22
22 23
21 21
21 21
25 19
23 21
26 19
23 19
21 23
21 22
22 20
25 20
20 24
24 19
23 20
23 21
22 20
23 20
20 22
22 22
24 19
23 22
24 21
21 25
22 23
23 19
24 20
20 25
21 21
20 22
22 22
21 23
21 21
20 24
22 19
24 21
24 21
24 19
23 21
23 22
22 22
25 19
22 23
21 22
23 22
26 20
24 20
23 21
24 20
23 21
22 22
22 21
22 20
24 20
20 23
25 20
22 23
20 25
22 22
21 23
22 22
21 23
21 23
23 22
22 22
23 21
21 22
23 20
24 21
25 20
22 21

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator