QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#642154 | #4761. Card Hand Sorting | Inaba00 | WA | 1ms | 3860kb | C++14 | 1.5kb | 2024-10-15 11:11:43 | 2024-10-15 11:11:45 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3780kb
input:
4 2h Th 8c Qh
output:
1
result:
ok single line: '1'
Test #2:
score: 0
Accepted
time: 1ms
memory: 3856kb
input:
7 9d As 2s Qd 2c Jd 8h
output:
2
result:
ok single line: '2'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3500kb
input:
4 2h 3h 9c 8c
output:
0
result:
ok single line: '0'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
9 2h 4h 3h 4c 7c 6c Ts Ks Qs
output:
3
result:
ok single line: '3'
Test #5:
score: 0
Accepted
time: 1ms
memory: 3860kb
input:
20 2h 2d 2c 2s 6h 6d 6c 6s 4h 4d 4c 4s 5h 5d 5c 5s 3h 3d 3c 3s
output:
12
result:
ok single line: '12'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
10 5s 9s 8s Ts 4s 5h 9h 8h Th 4h
output:
4
result:
ok single line: '4'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3812kb
input:
9 Ac As Ah Kc Ks Kh Qc Qs Qh
output:
4
result:
ok single line: '4'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
8 2c 9c As Qs Jh Qh Kd 9d
output:
0
result:
ok single line: '0'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
12 Td 9d 8d 2h 3h 4h 4s Ts As Jc Qc Kc
output:
0
result:
ok single line: '0'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
12 5c 6c 7c Ts 9s 8s Jd Td 9d Qh Kh Ah
output:
0
result:
ok single line: '0'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
1 As
output:
0
result:
ok single line: '0'
Test #12:
score: 0
Accepted
time: 1ms
memory: 3560kb
input:
52 2s 3s 4s 5s 6s 7s 8s 9s Ts Js Qs Ks As 2h 3h 4h 5h 6h 7h 8h 9h Th Jh Qh Kh Ah 2d 3d 4d 5d 6d 7d 8d 9d Td Jd Qd Kd Ad 2c 3c 4c 5c 6c 7c 8c 9c Tc Jc Qc Kc Ac
output:
0
result:
ok single line: '0'
Test #13:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
52 7s 7h 7d 7c Qs Qh Qd Qc 3s 3h 3d 3c As Ah Ad Ac 2s 2h 2d 2c 5s 5h 5d 5c Ks Kh Kd Kc 4s 4h 4d 4c Js Jh Jd Jc 9s 9h 9d 9c Ts Th Td Tc 6h 6d 6c 6s 8h 8d 8c 8s
output:
40
result:
ok single line: '40'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
5 As Qh 6h 8s Ks
output:
1
result:
ok single line: '1'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
10 Kc Js 9d 6s 6d 3h 5d 7h 7s 9c
output:
4
result:
ok single line: '4'
Test #16:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
15 4s 4c Td 6c 2c Js 5h Jc Ac 7d Ks Ts 5d 6s 7s
output:
7
result:
ok single line: '7'
Test #17:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
20 Kh 2d Jd 3d Ah 5s 3c 2c Jh Jc Js 6c 5d Kd 9c 4s 9h 2h As Qs
output:
11
result:
ok single line: '11'
Test #18:
score: 0
Accepted
time: 1ms
memory: 3780kb
input:
25 2s As Kc 8h Jh 5s 6s Kd 7d 8d 3c 9d 3s 4d Ah Jc Tc Qd 9c 2c 6c 9s Ks 6d 5d
output:
14
result:
ok single line: '14'
Test #19:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
30 Ac Jd Js Ah 8h 8c Qh 6d 3c 4s Kc Jh Jc 3h 3d 4c 6c 2h Qc 4d As Ts Th 7s 7h 2d 2c Qs Ad 6s
output:
18
result:
ok single line: '18'
Test #20:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
35 4h 6d 8d 3d 9d 5s 5h Qs 9c Ks Td 9s 6h 3s Qh 6c Jd 7h Jh Qd 2s Tc 7d Ad 3c Jc 7c Kh 6s 4c 2c 7s 9h 2h 8c
output:
21
result:
ok single line: '21'
Test #21:
score: 0
Accepted
time: 1ms
memory: 3808kb
input:
40 7h 5d 3h Kd Ks 7d 2s As 6d Qh Jh 3c 5h 4s 6c 8c 2c 6s Qc 3d 4h 6h 8h 8s Ad 9c Jd 9h Kc Qd Tc 9d 7s 9s Js 2h Kh Th Jc Td
output:
26
result:
ok single line: '26'
Test #22:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
45 Ts Kd 5d 7h Th Kc Qs 9c 8h 2c 3c Jc As 5c 2d Ah Qd Ac Td 9h Tc 5s Jd 8s 6d Qh 9d 4s 7d Ks 4h 6c Kh 3d 8c 2s 8d 3s 3h 4d Qc 4c 5h Ad 2h
output:
33
result:
ok single line: '33'
Test #23:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
50 8d 2d 2h 9h 7h 9d 3h 3c 7c Jd 2c 8s Tc Ad 3s Td 8c 5d 4c 4d 2s Ks 4h Ac Ah 6s 5c Kh 6h 5s Jc As 7s 6c Qd Ts Qc Th Qs Jh 6d 9c Kc Js 4s Qh 7d 5h 8h 3d
output:
35
result:
ok single line: '35'
Test #24:
score: 0
Accepted
time: 1ms
memory: 3552kb
input:
52 Ad Ks 2d Kd 4h Qc 7s Ac 8s Kc 5s 3c 5h 8c 2h 3s Jd 2s 7c 5d Tc 8d 3h Qs 3d 9s 9h Ah 6d 8h 7h 9d 5c Jh Th Kh 6c Qh 4s Qd Ts 6h 6s 2c Td 4d 7d As 4c Jc Js 9c
output:
38
result:
ok single line: '38'
Test #25:
score: 0
Accepted
time: 1ms
memory: 3556kb
input:
52 Kd 6s 3h Qc 7s 4s 8h 3d 5d Jc 9s Ts 5c 2c 2d Th Js 6c Jd Ks 5h 6h Qh Ad Tc 4c 9c 3c 5s Qs Kh Qd 7h 8s Kc 4d 8d 9d 2h Td 9h 6d 8c 3s Ah 7d 4h As 7c Ac Jh 2s
output:
36
result:
ok single line: '36'
Test #26:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
52 5h 9c As Jd Ts Jc 5s 5d Qh 9s Qd Kc 2h 4d 8h Tc 6s Td Jh 3h 3c 6h 7c 6c 7h 4h 2c 7s 4s Ad 2d Ah 8c 8s Th 5c 2s 6d Qs 3d 7d 8d Ac Js 9d Kd 3s Qc Kh Ks 9h 4c
output:
36
result:
ok single line: '36'
Test #27:
score: -100
Wrong Answer
time: 1ms
memory: 3656kb
input:
52 6c 3c 2d 4s Qh As Js Kh Tc 5d Qs Qc 6d Ac 4c Ad 8h 8c 3h 9h 7s 2s 5h Kc Kd Qd 8d 5s Th 2c 7d 4d 7c 9d Jh Jc 4h Ks Td 6s 6h 5c 3s 7h 9c 2h Ts 3d 9s 8s Ah Jd
output:
37
result:
wrong answer 1st lines differ - expected: '36', found: '37'