QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#523380#8674. Riddle of the Sphinxucup-team1005#AC ✓1ms3868kbC++201.7kb2024-08-18 09:50:572024-08-18 09:50:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
2
3
14
11

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1 2 3 

result:

ok correct!

Test #2:

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

input:

9998
1
1
10003
39995

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
9998 1 1 

result:

ok correct!

Test #3:

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

input:

3333
3333
3333
19998
23331

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
3333 3333 3333 

result:

ok correct!

Test #4:

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

input:

892
503
712
4035
5290

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
893 503 712 

result:

ok correct!

Test #5:

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

input:

868
365
947
4443
5153

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
868 367 947 

result:

ok correct!

Test #6:

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

input:

684
827
794
4717
5183

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
684 827 793 

result:

ok correct!

Test #7:

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

input:

308
23
440
1672
1718

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
308 23 440 

result:

ok correct!

Test #8:

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

input:

705
910
341
3548
4982

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
705 910 341 

result:

ok correct!

Test #9:

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

input:

1482
1285
299
4948
8793

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1481 1285 299 

result:

ok correct!

Test #10:

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

input:

1516
3576
839
11183
14053

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1516 3575 839 

result:

ok correct!

Test #11:

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

input:

2254
132
1126
5899
10407

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
2254 132 1127 

result:

ok correct!

Test #12:

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

input:

801
38
56
1044
3336

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
801 38 56 

result:

ok correct!

Test #13:

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

input:

1004
1248
3876
15128
10387

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1004 1248 3876 

result:

ok correct!

Test #14:

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

input:

2011
3884
1618
14635
17438

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
2013 3884 1618 

result:

ok correct!

Test #15:

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

input:

1256
6632
214
15164
18504

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1256 6633 214 

result:

ok correct!

Test #16:

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

input:

805
4142
694
11168
12197

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
805 4142 693 

result:

ok correct!

Test #17:

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

input:

731
4440
1054
12771
12858

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
731 4440 1054 

result:

ok correct!

Test #18:

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

input:

445
3442
4035
19434
12700

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
445 3442 4035 

result:

ok correct!

Test #19:

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

input:

1750
2
3
14
11

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1 2 3 

result:

ok correct!

Test #20:

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

input:

1
2
3
14
11

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1 2 3 

result:

ok correct!

Test #21:

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

input:

1
2
3
14
11

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1 2 3 

result:

ok correct!

Test #22:

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

input:

1
2
3
16775
11

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1 2 3 

result:

ok correct!

Test #23:

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

input:

1
2
3
14
10

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1 2 3 

result:

ok correct!

Test #24:

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

input:

1633
1
1
10003
39995

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
9998 1 1 

result:

ok correct!

Test #25:

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

input:

9998
1
1
10003
39995

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
9998 1 1 

result:

ok correct!

Test #26:

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

input:

9998
1
671
10003
39995

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
9998 1 1 

result:

ok correct!

Test #27:

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

input:

9998
1
1
10002
39995

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
9998 1 1 

result:

ok correct!

Test #28:

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

input:

9998
1
1
10003
13005

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
9998 1 1 

result:

ok correct!

Test #29:

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

input:

3332
3333
3333
19998
23331

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
3333 3333 3333 

result:

ok correct!

Test #30:

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

input:

3333
3332
3333
19998
23331

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
3333 3333 3333 

result:

ok correct!

Test #31:

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

input:

3333
3333
3333
19998
23331

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
3333 3333 3333 

result:

ok correct!

Test #32:

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

input:

3333
3333
3333
20000
23331

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
3333 3333 3333 

result:

ok correct!

Test #33:

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

input:

3333
3333
3333
19998
23332

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
3333 3333 3333 

result:

ok correct!

Test #34:

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

input:

548
588
724
3891
4072

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
543 588 724 

result:

ok correct!

Test #35:

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

input:

780
1559
783
5051
5825

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
780 961 783 

result:

ok correct!

Test #36:

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

input:

690
189
313
2004
3450

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
690 189 312 

result:

ok correct!

Test #37:

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

input:

97
289
971
3591
1937

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
97 289 971 

result:

ok correct!

Test #38:

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

input:

298
118
177
1065
11824

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
298 118 177 

result:

ok correct!

Test #39:

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

input:

2974
1358
2553
13349
17165

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
2974 1358 2553 

result:

ok correct!

Test #40:

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

input:

4209
360
3000
17525
24152

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
4209 2158 3000 

result:

ok correct!

Test #41:

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

input:

1199
99
4408
14621
9402

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1199 99 4408 

result:

ok correct!

Test #42:

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

input:

3601
167
1004
6948
15742

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
3601 167 1004 

result:

ok correct!

Test #43:

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

input:

2721
2111
2489
14410
17594

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
2721 2111 2489 

result:

ok correct!

Test #44:

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

input:

551
203
5220
19763
20414

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
3697 203 5220 

result:

ok correct!

Test #45:

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

input:

1481
1259
1264
9723
11638

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1481 2225 1264 

result:

ok correct!

Test #46:

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

input:

4769
1552
235
9046
22571

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
4769 1552 391 

result:

ok correct!

Test #47:

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

input:

1620
3589
1642
13727
15300

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1620 3589 1642 

result:

ok correct!

Test #48:

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

input:

1136
6652
800
16840
18652

output:

1 0 0
0 1 0
0 0 1
1 2 3
4 2 1
1136 6652 800 

result:

ok correct!

Extra Test:

score: 0
Extra Test Passed