QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#407189#8632. 算式密码锁dXqwq100 ✓12ms3900kbC++231.3kb2024-05-08 10:03:472024-05-08 10:03:48

详细

Test #1:

score: 5
Accepted
time: 1ms
memory: 3692kb

input:

1
7
+
9
=
1
6

output:

1

result:

ok single line: '1'

Test #2:

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

input:

1
3
+
8
=
4
5

output:

0

result:

ok single line: '0'

Test #3:

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

input:

1
8
+
8
<
1
5

output:

0

result:

ok single line: '0'

Test #4:

score: 5
Accepted
time: 0ms
memory: 3900kb

input:

1
5
+
6
>
1
0

output:

1

result:

ok single line: '1'

Test #5:

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

input:

1
2
*
8
=
1
6

output:

1

result:

ok single line: '1'

Test #6:

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

input:

1
8
/
3
=
0
2

output:

0

result:

ok single line: '0'

Test #7:

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

input:

1
9
/
6
>
0
1

output:

1

result:

ok single line: '1'

Test #8:

score: 5
Accepted
time: 0ms
memory: 3692kb

input:

1
7
-
7
>
7
4

output:

0

result:

ok single line: '0'

Test #9:

score: 5
Accepted
time: 0ms
memory: 3900kb

input:

1
5
+
2
<
0
9

output:

1

result:

ok single line: '1'

Test #10:

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

input:

2
32
++
47
==
10
06

output:

2

result:

ok single line: '2'

Test #11:

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

input:

2
15
++
41
==
70
61

output:

1

result:

ok single line: '1'

Test #12:

score: 5
Accepted
time: 12ms
memory: 3736kb

input:

10
5063152515
++++++++++
3643427729
==========
1729333612
7714289416

output:

1

result:

ok single line: '1'

Test #13:

score: 5
Accepted
time: 9ms
memory: 3740kb

input:

10
5699749655
++++++++++
4486705309
==========
0690847717
9735641858

output:

3

result:

ok single line: '3'

Test #14:

score: 5
Accepted
time: 12ms
memory: 3832kb

input:

10
1672370904
++++++++++
8835825976
><><=><<<<
7640932128
5621497720

output:

8

result:

ok single line: '8'

Test #15:

score: 5
Accepted
time: 12ms
memory: 3724kb

input:

10
1458060574
++++++++++
6380400163
=>>><>>=>=
7765073124
7628127469

output:

3

result:

ok single line: '3'

Test #16:

score: 5
Accepted
time: 12ms
memory: 3744kb

input:

10
2709586364
/---*/+/++
9992425165
==========
4129100709
2377293095

output:

4

result:

ok single line: '4'

Test #17:

score: 5
Accepted
time: 12ms
memory: 3796kb

input:

10
7209588823
*/*+*-++-*
6913916311
==========
5186517243
4256032489

output:

3

result:

ok single line: '3'

Test #18:

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

input:

8
74122886
-*/**+/*
44018012
>==<>>=<
04336845
12552226

output:

5

result:

ok single line: '5'

Test #19:

score: 5
Accepted
time: 7ms
memory: 3832kb

input:

9
362285771
---++*+//
894616931
<==<><<=<
770556473
084205441

output:

7

result:

ok single line: '7'

Test #20:

score: 5
Accepted
time: 12ms
memory: 3828kb

input:

10
4263385446
+-*-++++*/
8152614990
>>==<>===<
4536040292
8354005890

output:

6

result:

ok single line: '6'