Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

4846
5472
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~4 $n\leq 20$,且$a_i\in\{0,1\}$ 8 / 8
2 0~9 $n\leq 20$,且$a_i\in\{0,1\}$(需輸出$r_i,c_i$) 12 / 12
3 0~4, 10~14 $n\leq 70$,且$a_i\in\{0,1\}$ 16 / 16
4 0~19 $n\leq 70$,且$a_i\in\{0,1\}$(需輸出$r_i,c_i$) 24 / 24
5 0~4, 10~14, 20~29 $n\leq 70$ 14 / 14
6 0~39 $n\leq 70$(需輸出$r_i,c_i$) 21 / 21
7 0~4, 10~14, 20~29, 40~54 無額外限制 2 / 2
8 0~69 無額外限制(需輸出$r_i,c_i$) 3 / 3

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 5 6 7 8 0002.6 6240 3488 Accepted 100
1 1 2 3 4 5 6 7 8 0002.5 6240 3724 Accepted 100
2 1 2 3 4 5 6 7 8 0002.8 6240 3628 Accepted 100
3 1 2 3 4 5 6 7 8 0002.5 6240 3620 Accepted 100
4 1 2 3 4 5 6 7 8 0002.6 6240 3592 Accepted 100
5 2 4 6 8 0002.4 6240 3388 Accepted 100
6 2 4 6 8 0002.4 6240 3596 Accepted 100
7 2 4 6 8 0002.6 6240 3608 Accepted 100
8 2 4 6 8 0002.5 6240 3600 Accepted 100
9 2 4 6 8 0002.4 6240 3604 Accepted 100
10 3 4 5 6 7 8 0002.5 6240 3620 Accepted 100
11 3 4 5 6 7 8 0002.7 6240 3688 Accepted 100
12 3 4 5 6 7 8 0002.7 6240 3612 Accepted 100
13 3 4 5 6 7 8 0002.5 6240 3604 Accepted 100
14 3 4 5 6 7 8 0002.7 6240 3684 Accepted 100
15 4 6 8 0002.8 6240 3648 Accepted 100
16 4 6 8 0002.7 6240 3624 Accepted 100
17 4 6 8 0002.6 6240 3616 Accepted 100
18 4 6 8 0002.5 6240 3672 Accepted 100
19 4 6 8 0002.7 6240 3644 Accepted 100
20 5 6 7 8 0002.5 6240 3620 Accepted 100
21 5 6 7 8 0002.8 6240 3684 Accepted 100
22 5 6 7 8 0002.6 6240 3672 Accepted 100
23 5 6 7 8 0002.9 6240 3684 Accepted 100
24 5 6 7 8 0002.7 6240 3644 Accepted 100
25 5 6 7 8 0002.7 6240 3684 Accepted 100
26 5 6 7 8 0003.1 6240 3736 Accepted 100
27 5 6 7 8 0002.5 6240 3656 Accepted 100
28 5 6 7 8 0002.5 6240 3608 Accepted 100
29 5 6 7 8 0002.5 6240 3632 Accepted 100
30 6 8 0002.4 6240 3604 Accepted 100
31 6 8 0002.8 6240 3624 Accepted 100
32 6 8 0002.7 6240 3680 Accepted 100
33 6 8 0002.9 6240 3632 Accepted 100
34 6 8 0002.7 6240 3688 Accepted 100
35 6 8 0002.7 6240 3688 Accepted 100
36 6 8 0003.3 6240 3728 Accepted 100
37 6 8 0002.5 6240 3436 Accepted 100
38 6 8 0002.5 6240 3624 Accepted 100
39 6 8 0002.4 6240 3628 Accepted 100
40 7 8 0031.8 7692 4904 Accepted 100
41 7 8 0017.8 7296 4484 Accepted 100
42 7 8 0003.7 6240 3820 Accepted 100
43 7 8 0049.3 8220 5344 Accepted 100
44 7 8 0030.3 7824 4940 Accepted 100
45 7 8 0032.3 7824 5060 Accepted 100
46 7 8 0031.2 7824 4860 Accepted 100
47 7 8 0038.9 7956 5240 Accepted 100
48 7 8 0035.9 7956 5024 Accepted 100
49 7 8 0034.2 7824 5064 Accepted 100
50 7 8 0417.4 8220 5456 Accepted 100
51 7 8 0423.1 8220 5452 Accepted 100
52 7 8 0412.7 8220 5472 Accepted 100
53 7 8 0409.0 8220 5452 Accepted 100
54 7 8 0406.1 8220 5316 Accepted 100
55 8 0031.4 7692 4844 Accepted 100
56 8 0017.8 7296 4564 Accepted 100
57 8 0003.8 6240 3696 Accepted 100
58 8 0048.4 8220 5336 Accepted 100
59 8 0030.6 7824 4932 Accepted 100
60 8 0032.3 7824 5052 Accepted 100
61 8 0031.9 7824 4992 Accepted 100
62 8 0039.3 7956 5244 Accepted 100
63 8 0036.1 7956 5028 Accepted 100
64 8 0034.5 7824 5080 Accepted 100
65 8 0414.1 8220 5324 Accepted 100
66 8 0423.2 8220 5304 Accepted 100
67 8 0410.2 8220 5464 Accepted 100
68 8 0409.4 8220 5448 Accepted 100
69 8 0403.9 8220 5460 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.65 KB
Back to Top