QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#740950#2523. Commemorative DiceNMK#AC ✓1ms3812kbC++17311b2024-11-13 12:37:052024-11-13 12:37:10

Judging History

你现在查看的是最新测评结果

  • [2024-11-13 12:37:10]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3812kb
  • [2024-11-13 12:37:05]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
int main() {
    cin.tie(0)->sync_with_stdio(0);
    int win = 0;
    vector<int> a(6), b(6);
    for(int &i : a) cin >> i;
    for(int &i : b) cin >> i;
    for(int i : a) for(int j : b) win += i>j;
    cout << win/gcd(win,36) << "/" << 36/gcd(win,36);
}

詳細信息

Test #1:

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

input:

1 1 16 1 1 1
1 1 1 1 1 16

output:

5/36

result:

ok single line: '5/36'

Test #2:

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

input:

6 3 3 3 3 3
3 3 3 3 3 6

output:

5/36

result:

ok single line: '5/36'

Test #3:

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

input:

2 2 2 2 11 2
3 7 2 5 2 2

output:

1/6

result:

ok single line: '1/6'

Test #4:

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

input:

1 1 2 1 15 1
5 3 2 5 2 4

output:

1/6

result:

ok single line: '1/6'

Test #5:

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

input:

1 1 1 15 2 1
6 2 2 6 1 4

output:

7/36

result:

ok single line: '7/36'

Test #6:

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

input:

1 1 15 1 2 1
4 3 8 2 3 1

output:

7/36

result:

ok single line: '7/36'

Test #7:

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

input:

1 14 2 1 2 1
3 4 7 3 3 1

output:

2/9

result:

ok single line: '2/9'

Test #8:

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

input:

3 2 2 3 2 9
2 3 4 3 6 3

output:

2/9

result:

ok single line: '2/9'

Test #9:

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

input:

2 1 2 1 2 13
2 1 9 3 3 3

output:

1/4

result:

ok single line: '1/4'

Test #10:

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

input:

3 4 3 4 3 4
1 1 1 1 8 9

output:

2/3

result:

ok single line: '2/3'

Test #11:

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

input:

2 4 1 2 11 1
4 3 2 3 4 5

output:

1/4

result:

ok single line: '1/4'

Test #12:

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

input:

3 4 2 2 9 1
4 3 2 4 3 5

output:

5/18

result:

ok single line: '5/18'

Test #13:

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

input:

1 1 10 1 1 7
1 3 1 10 2 4

output:

5/18

result:

ok single line: '5/18'

Test #14:

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

input:

4 3 9 1 1 3
4 3 5 3 5 1

output:

11/36

result:

ok single line: '11/36'

Test #15:

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

input:

2 6 3 3 3 4
2 4 3 4 4 4

output:

11/36

result:

ok single line: '11/36'

Test #16:

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

input:

1 1 5 1 11 2
1 8 1 3 2 6

output:

1/3

result:

ok single line: '1/3'

Test #17:

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

input:

1 1 3 4 1 11
8 2 5 4 1 1

output:

1/3

result:

ok single line: '1/3'

Test #18:

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

input:

1 2 11 3 1 3
1 2 4 2 5 7

output:

13/36

result:

ok single line: '13/36'

Test #19:

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

input:

4 1 4 1 9 2
4 6 6 2 1 2

output:

13/36

result:

ok single line: '13/36'

Test #20:

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

input:

1 1 1 7 4 7
3 8 2 1 2 5

output:

7/18

result:

ok single line: '7/18'

Test #21:

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

input:

1 2 3 4 5 6
3 4 3 4 3 4

output:

5/12

result:

ok single line: '5/12'

Test #22:

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

input:

1 5 1 1 7 6
1 8 1 4 5 2

output:

7/18

result:

ok single line: '7/18'

Test #23:

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

input:

3 5 2 1 3 7
7 4 2 1 3 4

output:

5/12

result:

ok single line: '5/12'

Test #24:

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

input:

4 1 2 7 6 1
6 3 1 3 4 4

output:

5/12

result:

ok single line: '5/12'

Test #25:

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

input:

5 3 1 1 5 6
2 5 5 3 2 4

output:

4/9

result:

ok single line: '4/9'

Test #26:

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

input:

4 4 5 1 5 2
7 3 2 2 2 5

output:

4/9

result:

ok single line: '4/9'

Test #27:

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

input:

2 5 7 3 1 3
4 2 1 2 8 4

output:

17/36

result:

ok single line: '17/36'

Test #28:

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

input:

3 4 1 7 3 3
2 4 1 4 9 1

output:

17/36

result:

ok single line: '17/36'

Test #29:

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

input:

3 4 3 3 2 6
2 5 2 5 5 2

output:

1/2

result:

ok single line: '1/2'

Test #30:

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

input:

1 1 5 6 6 2
2 1 1 3 1 13

output:

1/2

result:

ok single line: '1/2'

Test #31:

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

input:

3 2 3 5 4 4
3 3 9 1 4 1

output:

19/36

result:

ok single line: '19/36'

Test #32:

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

input:

1 2 3 4 5 6
8 7 2 2 1 1

output:

1/2

result:

ok single line: '1/2'

Test #33:

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

input:

6 3 2 5 1 4
3 3 1 10 2 2

output:

19/36

result:

ok single line: '19/36'

Test #34:

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

input:

2 1 3 8 5 2
1 2 1 3 1 13

output:

5/9

result:

ok single line: '5/9'

Test #35:

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

input:

4 2 2 7 3 3
1 4 1 1 9 5

output:

5/9

result:

ok single line: '5/9'

Test #36:

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

input:

4 2 2 1 7 5
1 3 3 1 12 1

output:

7/12

result:

ok single line: '7/12'

Test #37:

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

input:

1 4 4 4 6 2
1 1 13 1 4 1

output:

7/12

result:

ok single line: '7/12'

Test #38:

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

input:

2 2 3 5 8 1
1 1 1 4 13 1

output:

11/18

result:

ok single line: '11/18'

Test #39:

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

input:

5 7 3 3 1 2
1 13 1 2 2 2

output:

11/18

result:

ok single line: '11/18'

Test #40:

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

input:

4 1 4 2 3 7
1 2 14 1 1 2

output:

23/36

result:

ok single line: '23/36'

Test #41:

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

input:

1 3 3 4 5 5
1 2 2 3 2 11

output:

23/36

result:

ok single line: '23/36'

Test #42:

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

input:

3 3 6 3 4 2
3 2 1 12 2 1

output:

2/3

result:

ok single line: '2/3'

Test #43:

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

input:

3 4 3 3 6 2
1 2 1 2 3 12

output:

2/3

result:

ok single line: '2/3'

Test #44:

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

input:

1 3 6 5 3 3
2 13 2 1 1 2

output:

25/36

result:

ok single line: '25/36'

Test #45:

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

input:

5 3 3 1 5 4
1 14 2 1 2 1

output:

25/36

result:

ok single line: '25/36'

Test #46:

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

input:

2 4 4 3 4 4
1 2 2 1 12 3

output:

13/18

result:

ok single line: '13/18'

Test #47:

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

input:

4 5 4 2 4 2
13 3 2 1 1 1

output:

13/18

result:

ok single line: '13/18'

Test #48:

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

input:

6 5 2 2 2 4
1 1 3 14 1 1

output:

3/4

result:

ok single line: '3/4'

Test #49:

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

input:

4 2 3 6 3 3
1 2 2 13 1 2

output:

3/4

result:

ok single line: '3/4'

Test #50:

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

input:

3 4 4 4 2 4
1 1 2 14 2 1

output:

7/9

result:

ok single line: '7/9'

Test #51:

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

input:

6 2 2 3 5 3
15 2 1 1 1 1

output:

7/9

result:

ok single line: '7/9'

Test #52:

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

input:

3 6 3 4 2 3
1 15 1 2 1 1

output:

29/36

result:

ok single line: '29/36'

Test #53:

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

input:

3 3 3 6 4 2
15 1 1 2 1 1

output:

29/36

result:

ok single line: '29/36'

Test #54:

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

input:

6 2 2 4 2 5
1 1 1 1 1 16

output:

5/6

result:

ok single line: '5/6'

Test #55:

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

input:

5 4 2 5 3 2
1 1 16 1 1 1

output:

5/6

result:

ok single line: '5/6'