QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#601048#8674. Riddle of the SphinxhuiAC ✓1ms3876kbC++205.8kb2024-09-29 20:42:292024-09-29 20:42:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6
23
19
18
14

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1 2 3

result:

ok correct!

Test #2:

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

input:

10000
20004
30001
49995
10003

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
9998 1 1

result:

ok correct!

Test #3:

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

input:

9999
33330
33330
33330
19998

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
3333 3333 3333

result:

ok correct!

Test #4:

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

input:

2107
6855
6618
7607
4035

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
893 503 712

result:

ok correct!

Test #5:

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

input:

2182
7570
6333
7915
4443

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
868 367 947

result:

ok correct!

Test #6:

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

input:

2304
7814
7774
7453
4717

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
684 827 793

result:

ok correct!

Test #7:

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

input:

771
2885
1919
2904
1674

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
308 23 440

result:

ok correct!

Test #8:

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

input:

1956
5845
7347
6368
3549

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
705 910 341

result:

ok correct!

Test #9:

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

input:

3066
8312
11466
10872
4948

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1481 1285 299

result:

ok correct!

Test #10:

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

input:

5930
17953
24101
17247
11183

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1516 3575 839

result:

ok correct!

Test #11:

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

input:

3513
10539
9675
14915
5899

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
2254 132 1127

result:

ok correct!

Test #12:

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

input:

895
1996
2705
4248
1045

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
801 38 56

result:

ok correct!

Test #13:

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

input:

6128
25132
17004
19144
15127

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1004 1248 3876

result:

ok correct!

Test #14:

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

input:

7513
23768
28695
22687
14635

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
2013 3884 1618

result:

ok correct!

Test #15:

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

input:

8103
23480
37361
20188
15164

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1256 6633 214

result:

ok correct!

Test #16:

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

input:

5640
17501
24512
14388
11168

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
805 4142 693

result:

ok correct!

Test #17:

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

input:

6225
20052
26501
15695
12773

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
731 4440 1054

result:

ok correct!

Test #18:

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

input:

7922
31391
26615
21214
19435

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
445 3442 4035

result:

ok correct!

Test #19:

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

input:

5486
23
19
18
14

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1 2 3

result:

ok correct!

Test #20:

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

input:

6
28
19
18
14

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1 2 3

result:

ok correct!

Test #21:

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

input:

6
23
24
18
14

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1 2 3

result:

ok correct!

Test #22:

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

input:

6
23
19
29395
14

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1 2 3

result:

ok correct!

Test #23:

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

input:

6
23
19
18
11

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1 2 3

result:

ok correct!

Test #24:

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

input:

4161
20004
30001
49995
10003

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
9998 1 1

result:

ok correct!

Test #25:

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

input:

10000
20002
30001
49995
10003

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
9998 1 1

result:

ok correct!

Test #26:

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

input:

10000
20004
20226
49995
10003

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
9998 1 1

result:

ok correct!

Test #27:

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

input:

10000
20004
30001
49990
10003

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
9998 1 1

result:

ok correct!

Test #28:

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

input:

10000
20004
30001
49995
14730

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
9998 1 1

result:

ok correct!

Test #29:

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

input:

9998
33330
33330
33330
19998

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
3333 3333 3333

result:

ok correct!

Test #30:

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

input:

9999
33327
33330
33330
19998

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
3333 3333 3333

result:

ok correct!

Test #31:

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

input:

9999
33330
33335
33330
19998

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
3333 3333 3333

result:

ok correct!

Test #32:

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

input:

9999
33330
33330
33332
19998

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
3333 3333 3333

result:

ok correct!

Test #33:

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

input:

9999
33330
33330
33330
20001

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
3333 3333 3333

result:

ok correct!

Test #34:

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

input:

3068
6470
6017
6063
3891

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
543 588 724

result:

ok correct!

Test #35:

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

input:

2524
20452
8711
8171
5051

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
780 961 783

result:

ok correct!

Test #36:

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

input:

1191
3507
3641
4764
2004

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
690 189 312

result:

ok correct!

Test #37:

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

input:

1357
5916
3678
3979
3588

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
97 289 971

result:

ok correct!

Test #38:

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

input:

593
1835
1838
2257
8675

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
298 118 177

result:

ok correct!

Test #39:

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

input:

6884
22787
20818
25245
13349

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
2974 1358 2553

result:

ok correct!

Test #40:

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

input:

9367
13790
29417
34361
17525

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
4209 2158 3000

result:

ok correct!

Test #41:

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

input:

5706
24735
12903
19417
14621

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1199 99 4408

result:

ok correct!

Test #42:

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

input:

4772
12723
13646
21356
6947

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
3601 167 1004

result:

ok correct!

Test #43:

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

input:

7321
24220
23696
25294
14407

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
2721 2111 2489

result:

ok correct!

Test #44:

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

input:

1049
34103
22546
34551
19763

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
3697 203 5220

result:

ok correct!

Test #45:

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

input:

4970
19261
18096
15647
9723

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1481 2225 1264

result:

ok correct!

Test #46:

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

input:

6712
16149
12836
28122
9046

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
4769 1552 391

result:

ok correct!

Test #47:

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

input:

6851
22217
26089
20207
13724

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1620 3589 1642

result:

ok correct!

Test #48:

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

input:

8588
26228
38268
21384
16841

output:

1 1 1
2 3 5
3 5 2
5 2 3
1 2 3
1136 6652 800

result:

ok correct!

Extra Test:

score: 0
Extra Test Passed