QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#804425#9864. Coinucup-team5509#ML 0ms0kbC++14938b2024-12-07 22:31:562024-12-07 22:31:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Memory Limit Exceeded

input:

4
6 2
8 3
10000 2
1919810 114514

output:

YES
1 2 
3 4 
5 6 
7 8 
9 10 
11 12 
YES
1 2 4 
3 5 7 
6 8 10 
9 11 13 
12 14 16 
15 17 19 
18 20 22 
21 23 24 
YES
1 2 
3 4 
5 6 
7 8 
9 10 
11 12 
13 14 
15 16 
17 18 
19 20 
21 22 
23 24 
25 26 
27 28 
29 30 
31 32 
33 34 
35 36 
37 38 
39 40 
41 42 
43 44 
45 46 
47 48 
49 50 
51 52 
53 54 
55 5...

result: