Logo Wy Online Judge

WyOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#443#79. 「NOIP2017」奶酪Pigsyy020ms3540kbC++23151b2025-04-24 13:37:342025-04-24 13:37:35

answer

// 小凯的疑惑
#include <bits/stdc++.h>
typedef long long ll;
ll a, b;
int main() {
    std::cin >> a >> b;
    std::cout << a *b - a - b;
}

详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 3540kb

input:

5
1 100 60
70 27 88
1 100 75
80 39 34
1 100 50
605 563 50
1 200 160
120 176 40
1 200 10
50 47 84

output:

-1

result:

wrong answer 1st words differ - expected: 'No', found: '-1'

Test #2:

score: 0
Wrong Answer
time: 2ms
memory: 3192kb

input:

20
1 1000 563
79 29 664
1 1000 642
934 972 673
1 1000 500
356 256 76
1 1000 498
252 32 672
1 1000 99...

output:

-1

result:

wrong answer 1st words differ - expected: 'No', found: '-1'

Test #3:

score: 0
Wrong Answer
time: 1ms
memory: 3484kb

input:

6
2 1000 250
0 0 250
0 0 751
2 1000 400
400 750 5
840 716 718
3 2000 600
328 1454 1005
114 736 1503
...

output:

4

result:

wrong answer 1st words differ - expected: 'No', found: '4'

Test #4:

score: 0
Wrong Answer
time: 3ms
memory: 3308kb

input:

20
8 8535 7995
-2894 -344 102
-368 -8400 3331
6732 4330 3462
9929 9940 430
205 -2958 1596
-4440 432 ...

output:

132

result:

wrong answer 1st words differ - expected: 'Yes', found: '132'

Test #5:

score: 0
Wrong Answer
time: 1ms
memory: 3140kb

input:

5
1000 4928 258
-7744 9886 3739
2325 7894 4178
5520 6510 3780
-1886 -5269 142
1301 8784 2122
-6921 4...

output:

3995

result:

wrong answer 1st words differ - expected: 'No', found: '3995'

Test #6:

score: 0
Wrong Answer
time: 3ms
memory: 3480kb

input:

10
1000 5108 828
-976 -7844 5051
7232 -8508 1564
-6275 6927 3465
-6018 7088 1644
2672 9265 1936
7818...

output:

8990

result:

wrong answer 1st words differ - expected: 'Yes', found: '8990'

Test #7:

score: 0
Wrong Answer
time: 1ms
memory: 3480kb

input:

20
1000 5131 531
-8405 125 4237
9480 3440 2981
-8310 8496 4984
-9910 -5463 2701
-258 -5683 3899
2792...

output:

18980

result:

wrong answer 1st words differ - expected: 'Yes', found: '18980'

Test #8:

score: 0
Wrong Answer
time: 1ms
memory: 3536kb

input:

20
2 5202 1301
0 0 1301
102 0 3901
2 5202 1301
0 0 1301
102 1 3901
1000 7236 649
-7117 -6085 4914
74...

output:

18

result:

wrong answer 1st words differ - expected: 'Yes', found: '18'

Test #9:

score: 0
Wrong Answer
time: 3ms
memory: 3344kb

input:

20
2 5100500 1275250
0 0 1275250
0 50500 3825250
1000 95100603 1624126
-83359625 75545594 84471552
-...

output:

18

result:

wrong answer 1st words differ - expected: 'Yes', found: '18'

Test #10:

score: 0
Wrong Answer
time: 3ms
memory: 3128kb

input:

20
2 5100500 1275250
0 0 1275250
1 50500 3825250
1000 94972653 9368205
-99057506 56850186 89511048
8...

output:

18

result:

wrong answer 1st words differ - expected: 'No', found: '18'