Back to Submissions List View New Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

44732
390620
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~9 $n\leq 500$ 16 / 16
2 10~19 對於所有的 $i=1,2\dots,n-1$,皆有 $p_i=1$。 31 / 31
3 20~29 對於所有的 $i=1,2,\dots,n-1$,皆有 $u_i=i, v_i=i+1$。 37 / 37
4 0~44 無額外限制。 16 / 16

Testdata Results

Testdata no. Subtasks Time (ms) Memory (RSS, KiB) Verdict Score
0 1 4 0000.0 4544 Accepted 100
1 1 4 0156.0 5752 Accepted 100
2 1 4 0504.0 5556 Accepted 100
3 1 4 0964.0 5796 Accepted 100
4 1 4 0560.0 5488 Accepted 100
5 1 4 0736.0 7656 Accepted 100
6 1 4 0512.0 4792 Accepted 100
7 1 4 0604.0 6936 Accepted 100
8 1 4 0832.0 7800 Accepted 100
9 1 4 0020.0 4624 Accepted 100
10 2 4 1528.0 290284 Accepted 100
11 2 4 1100.0 373292 Accepted 100
12 2 4 1244.0 368188 Accepted 100
13 2 4 1440.0 208008 Accepted 100
14 2 4 0616.0 173500 Accepted 100
15 2 4 1372.0 230884 Accepted 100
16 2 4 1812.0 326156 Accepted 100
17 2 4 0836.0 228420 Accepted 100
18 2 4 0748.0 274808 Accepted 100
19 2 4 1236.0 305360 Accepted 100
20 3 4 1060.0 265760 Accepted 100
21 3 4 1344.0 193144 Accepted 100
22 3 4 1340.0 390620 Accepted 100
23 3 4 1080.0 349352 Accepted 100
24 3 4 1796.0 338416 Accepted 100
25 3 4 1020.0 162860 Accepted 100
26 3 4 1216.0 288452 Accepted 100
27 3 4 1000.0 287180 Accepted 100
28 3 4 1120.0 388160 Accepted 100
29 3 4 1252.0 292388 Accepted 100
30 4 0812.0 214356 Accepted 100
31 4 0860.0 376740 Accepted 100
32 4 1592.0 351032 Accepted 100
33 4 1128.0 205900 Accepted 100
34 4 0840.0 306844 Accepted 100
35 4 1136.0 239460 Accepted 100
36 4 1436.0 358044 Accepted 100
37 4 0868.0 373176 Accepted 100
38 4 1220.0 318292 Accepted 100
39 4 1544.0 246228 Accepted 100
40 4 0972.0 275052 Accepted 100
41 4 0828.0 302772 Accepted 100
42 4 0804.0 215296 Accepted 100
43 4 1064.0 243240 Accepted 100
44 4 0580.0 246848 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
3.9 KB
Back to Top