QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#189168#3288. Rendezvous on a Tetrahedronnew_dawn_2#AC ✓1ms3936kbC++204.8kb2023-09-26 22:56:132023-09-26 22:56:15

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3780kb

input:

DB 2 9
CD 25 11

output:

YES

result:

ok single line: 'YES'

Test #2:

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

input:

CD 41 12
CD 38 14

output:

NO

result:

ok single line: 'NO'

Test #3:

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

input:

DB 54 14
DB 1 3

output:

YES

result:

ok single line: 'YES'

Test #4:

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

input:

BC 38 7
CD 16 10

output:

NO

result:

ok single line: 'NO'

Test #5:

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

input:

BC 46 2
BC 32 12

output:

NO

result:

ok single line: 'NO'

Test #6:

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

input:

DB 8 14
DB 46 17

output:

YES

result:

ok single line: 'YES'

Test #7:

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

input:

BC 11 1
BC 8 9

output:

NO

result:

ok single line: 'NO'

Test #8:

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

input:

DB 34 20
DB 40 13

output:

YES

result:

ok single line: 'YES'

Test #9:

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

input:

BC 19 20
BC 46 6

output:

NO

result:

ok single line: 'NO'

Test #10:

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

input:

BC 32 11
CD 59 11

output:

NO

result:

ok single line: 'NO'

Test #11:

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

input:

DB 55 10
CD 14 16

output:

NO

result:

ok single line: 'NO'

Test #12:

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

input:

BC 32 13
BC 52 3

output:

NO

result:

ok single line: 'NO'

Test #13:

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

input:

DB 9 17
BC 34 11

output:

YES

result:

ok single line: 'YES'

Test #14:

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

input:

BC 55 13
CD 30 1

output:

NO

result:

ok single line: 'NO'

Test #15:

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

input:

BC 9 10
CD 5 3

output:

NO

result:

ok single line: 'NO'

Test #16:

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

input:

CD 38 8
BC 47 2

output:

NO

result:

ok single line: 'NO'

Test #17:

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

input:

BC 32 19
CD 41 5

output:

YES

result:

ok single line: 'YES'

Test #18:

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

input:

BC 19 8
CD 25 14

output:

NO

result:

ok single line: 'NO'

Test #19:

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

input:

CD 22 9
CD 29 1

output:

NO

result:

ok single line: 'NO'

Test #20:

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

input:

DB 32 12
CD 8 8

output:

NO

result:

ok single line: 'NO'

Test #21:

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

input:

DB 41 10
BC 55 10

output:

NO

result:

ok single line: 'NO'

Test #22:

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

input:

DB 15 3
CD 15 6

output:

NO

result:

ok single line: 'NO'

Test #23:

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

input:

CD 41 4
BC 36 14

output:

NO

result:

ok single line: 'NO'

Test #24:

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

input:

CD 19 10
CD 22 15

output:

NO

result:

ok single line: 'NO'

Test #25:

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

input:

BC 36 18
BC 15 18

output:

NO

result:

ok single line: 'NO'

Test #26:

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

input:

BC 55 19
CD 11 13

output:

NO

result:

ok single line: 'NO'

Test #27:

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

input:

CD 48 8
CD 25 16

output:

NO

result:

ok single line: 'NO'

Test #28:

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

input:

DB 24 11
BC 12 14

output:

NO

result:

ok single line: 'NO'

Test #29:

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

input:

BC 51 16
CD 8 3

output:

YES

result:

ok single line: 'YES'

Test #30:

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

input:

DB 31 9
CD 25 16

output:

NO

result:

ok single line: 'NO'

Test #31:

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

input:

CD 10 2
DB 49 14

output:

NO

result:

ok single line: 'NO'

Test #32:

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

input:

CD 45 12
DB 26 6

output:

NO

result:

ok single line: 'NO'

Test #33:

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

input:

CD 10 4
CD 18 2

output:

YES

result:

ok single line: 'YES'

Test #34:

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

input:

CD 50 9
CD 6 8

output:

NO

result:

ok single line: 'NO'

Test #35:

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

input:

DB 4 10
BC 42 5

output:

YES

result:

ok single line: 'YES'

Test #36:

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

input:

DB 38 4
CD 36 11

output:

NO

result:

ok single line: 'NO'

Test #37:

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

input:

CD 37 13
CD 37 18

output:

NO

result:

ok single line: 'NO'

Test #38:

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

input:

BC 19 17
DB 1 9

output:

YES

result:

ok single line: 'YES'

Test #39:

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

input:

BC 37 1
BC 15 18

output:

NO

result:

ok single line: 'NO'

Test #40:

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

input:

CD 47 7
CD 6 16

output:

NO

result:

ok single line: 'NO'

Test #41:

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

input:

BC 4 16
DB 39 1

output:

YES

result:

ok single line: 'YES'

Test #42:

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

input:

DB 28 8
DB 37 7

output:

NO

result:

ok single line: 'NO'

Test #43:

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

input:

BC 38 7
BC 46 6

output:

YES

result:

ok single line: 'YES'

Test #44:

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

input:

DB 24 9
DB 32 19

output:

NO

result:

ok single line: 'NO'

Test #45:

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

input:

BC 2 18
CD 13 12

output:

NO

result:

ok single line: 'NO'

Test #46:

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

input:

CD 29 5
CD 25 13

output:

NO

result:

ok single line: 'NO'

Test #47:

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

input:

DB 42 8
DB 53 1

output:

YES

result:

ok single line: 'YES'

Test #48:

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

input:

BC 48 10
DB 52 18

output:

NO

result:

ok single line: 'NO'

Test #49:

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

input:

CD 34 2
BC 11 7

output:

NO

result:

ok single line: 'NO'

Test #50:

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

input:

BC 42 18
CD 2 12

output:

YES

result:

ok single line: 'YES'

Test #51:

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

input:

CD 48 5
CD 46 15

output:

NO

result:

ok single line: 'NO'

Test #52:

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

input:

DB 45 10
CD 20 16

output:

NO

result:

ok single line: 'NO'

Test #53:

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

input:

BC 10 8
BC 57 17

output:

NO

result:

ok single line: 'NO'

Test #54:

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

input:

CD 26 17
DB 44 17

output:

NO

result:

ok single line: 'NO'

Test #55:

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

input:

BC 7 17
DB 47 10

output:

NO

result:

ok single line: 'NO'

Test #56:

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

input:

CD 37 6
CD 50 18

output:

YES

result:

ok single line: 'YES'

Test #57:

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

input:

DB 35 9
CD 49 17

output:

NO

result:

ok single line: 'NO'

Test #58:

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

input:

DB 53 19
DB 3 14

output:

NO

result:

ok single line: 'NO'

Test #59:

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

input:

DB 37 14
CD 50 16

output:

NO

result:

ok single line: 'NO'

Test #60:

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

input:

BC 34 8
DB 26 20

output:

NO

result:

ok single line: 'NO'

Test #61:

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

input:

CD 25 3
DB 24 16

output:

YES

result:

ok single line: 'YES'

Test #62:

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

input:

BC 28 10
BC 13 7

output:

NO

result:

ok single line: 'NO'

Test #63:

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

input:

BC 22 19
BC 28 1

output:

NO

result:

ok single line: 'NO'

Test #64:

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

input:

BC 15 14
DB 56 8

output:

NO

result:

ok single line: 'NO'

Test #65:

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

input:

DB 22 6
CD 46 9

output:

YES

result:

ok single line: 'YES'

Test #66:

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

input:

CD 42 9
CD 52 20

output:

NO

result:

ok single line: 'NO'

Test #67:

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

input:

DB 13 7
CD 49 6

output:

NO

result:

ok single line: 'NO'

Test #68:

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

input:

BC 35 18
DB 28 14

output:

NO

result:

ok single line: 'NO'

Test #69:

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

input:

DB 10 18
CD 39 10

output:

YES

result:

ok single line: 'YES'

Test #70:

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

input:

CD 24 12
BC 51 20

output:

NO

result:

ok single line: 'NO'

Test #71:

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

input:

BC 44 15
DB 57 2

output:

NO

result:

ok single line: 'NO'

Test #72:

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

input:

CD 33 9
DB 32 17

output:

NO

result:

ok single line: 'NO'

Test #73:

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

input:

CD 15 13
CD 25 14

output:

NO

result:

ok single line: 'NO'

Test #74:

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

input:

CD 58 12
CD 39 16

output:

YES

result:

ok single line: 'YES'

Test #75:

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

input:

DB 8 7
CD 36 15

output:

YES

result:

ok single line: 'YES'

Test #76:

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

input:

CD 48 7
CD 56 9

output:

NO

result:

ok single line: 'NO'

Test #77:

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

input:

BC 14 7
CD 24 17

output:

NO

result:

ok single line: 'NO'

Test #78:

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

input:

DB 7 4
BC 15 18

output:

NO

result:

ok single line: 'NO'

Test #79:

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

input:

DB 21 16
BC 44 8

output:

YES

result:

ok single line: 'YES'

Test #80:

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

input:

CD 19 11
DB 32 19

output:

NO

result:

ok single line: 'NO'

Test #81:

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

input:

CD 30 1
DB 30 1

output:

YES

result:

ok single line: 'YES'

Test #82:

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

input:

BC 1 1
DB 59 1

output:

YES

result:

ok single line: 'YES'

Test #83:

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

input:

BC 29 20
BC 32 20

output:

NO

result:

ok single line: 'NO'