QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#347596#7607. The Doubling Game 2bobcheeseburgerRE 0ms3668kbC++235.5kb2024-03-09 14:26:422024-03-09 14:26:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3668kb

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:

118 12
110 48
121 72
14 115
24 16
106 50
124 84
6 77
38 125
72 65
119 27
7 27
59 99
17 58
120 44
103 107
124 107
34 56
106 109
121 81
63 45
76 64
116 32
107 13
40 63
69 102
52 114
94 41
66 93
28 11
15 11
47 26
1 105
119 68
18 127
39 127
42 98
34 108
72 80
30 8
70 92
60 7
102 41
7 23
48 30
116 39
35 ...

result: