QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#347599#7607. The Doubling Game 2bobcheeseburgerRE 0ms3728kbC++235.5kb2024-03-09 14:27:342024-03-09 14:27:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3728kb

input:

5
1 2
1 3
1 4
4 5

output:

21

result:

ok single line: '21'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3728kb

input:

1

output:

1

result:

ok single line: '1'

Test #3:

score: -100
Runtime Error

input:

128
11 32
116 81
65 4
117 47
5 81
104 30
61 8
82 59
95 20
92 29
29 127
97 39
123 33
59 128
115 33
83 67
74 16
77 33
64 73
124 123
8 127
61 51
101 122
35 90
119 116
112 27
81 93
109 123
54 1
119 100
116 16
65 47
67 27
22 105
76 87
36 39
27 96
72 31
91 123
21 105
118 12
110 48
121 72
14 115
24 16
106 ...

output:

70 92
60 7
102 41
7 23
48 30
116 39
35 25
119 41
46 119
22 43
85 27
9 45
19 17
41 57
67 49
104 37
105 2
20 107
127 126
62 59
121 118
76 36
10 38
34 82
121 114
122 27
9 86
38 116
19 89
55 72
5 59
118 1
44 72
92 71
42 93
88 127
3 39
78 8
111 3
113 99
101 45
75 33
79 55
116 124
19 7
53 89

result: