QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#410692#6662. 기지 간소화HuangHanSheng0 755ms49840kbC++206.1kb2024-05-14 11:32:302024-05-14 11:32:30

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 5
Accepted
time: 0ms
memory: 9964kb

input:

2
1 0 1

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 2ms
memory: 10008kb

input:

299
72 263 662908099
170 230 583287081
181 87 461245480
117 116 41098264
282 218 300936390
238 128 561969086
175 105 305200697
152 28 927649982
211 58 290232523
233 188 304617152
246 74 61325892
283 120 724838352
207 94 123021801
138 241 893659708
171 283 82846115
104 250 142703714
111 63 547249068
...

output:

93964028

result:

ok single line: '93964028'

Test #3:

score: 0
Accepted
time: 2ms
memory: 10040kb

input:

300
116 249 999999948
23 182 999999956
174 147 999999978
21 178 999999981
138 238 999999941
215 6 999999955
190 256 999999990
107 203 999999992
142 221 999999943
129 236 999999957
55 154 999999992
183 35 999999979
200 284 999999958
36 222 999999988
88 62 999999960
219 222 999999950
95 38 999999960
2...

output:

534442086

result:

ok single line: '534442086'

Test #4:

score: 0
Accepted
time: 1ms
memory: 10232kb

input:

5
0 2 2
2 1 3
2 4 6
0 3 5

output:

98

result:

ok single line: '98'

Test #5:

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

input:

10
1 5 1
6 2 10
8 1 3
3 9 1
8 0 10
2 3 6
7 0 5
2 4 7
4 7 3

output:

1625

result:

ok single line: '1625'

Test #6:

score: 0
Accepted
time: 1ms
memory: 10008kb

input:

10
2 5 242840396
4 7 425058513
7 9 975802175
7 1 647540462
3 7 239781206
2 0 873867121
4 0 132645393
6 4 862552539
0 8 542726039

output:

711424766

result:

ok single line: '711424766'

Test #7:

score: 0
Accepted
time: 1ms
memory: 10260kb

input:

299
107 270 74
187 221 79
142 129 40
77 272 27
94 152 1
117 171 74
64 79 87
263 36 91
257 176 1
183 191 82
109 67 23
91 90 30
116 228 76
276 152 15
59 165 40
160 235 71
235 116 82
102 44 88
130 289 72
241 150 14
62 176 23
277 50 83
206 38 11
66 250 72
84 120 66
137 259 54
46 287 82
209 263 57
151 24...

output:

399821685

result:

ok single line: '399821685'

Test #8:

score: -5
Wrong Answer
time: 2ms
memory: 9960kb

input:

300
111 245 844422933
103 173 980761620
210 18 509066965
36 51 134507716
264 28 523343821
249 88 748193505
30 46 832843261
286 33 489900279
125 288 575144383
106 87 191375234
259 126 882094013
10 57 842095866
73 65 254207339
175 280 353530327
21 145 883665290
130 110 818300025
137 48 259121083
0 102...

output:

386751635

result:

wrong answer 1st lines differ - expected: '156555229', found: '386751635'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #36:

score: 0
Wrong Answer
time: 755ms
memory: 33040kb

input:

249494
137621 137622 1
198127 198128 1
117358 117359 1
155777 155778 1
112742 112743 1
235668 235669 1
20632 20622 1
41333 41334 1
170699 170692 1
130269 130268 1
137208 137207 1
37791 37767 1
130187 130178 1
89795 89817 1
91408 91359 1
243301 243574 1
22017 22018 1
116466 116467 1
160094 160095 1
4...

output:

391281895

result:

wrong answer 1st lines differ - expected: '714152529', found: '391281895'

Subtask #4:

score: 0
Wrong Answer

Test #48:

score: 0
Wrong Answer
time: 381ms
memory: 49840kb

input:

249876
133760 107716 545485826
57898 35556 542825636
159559 78814 588304799
9037 105623 735470824
242676 240955 258616989
58653 143501 194781066
36591 97835 699376285
95049 123298 35300031
91751 203920 865003045
53908 18382 376452723
211462 200538 638209824
48693 89388 132147210
238496 151742 322726...

output:

153689393

result:

wrong answer 1st lines differ - expected: '497361697', found: '153689393'

Subtask #5:

score: 0
Skipped

Dependency #1:

0%