ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#458 | #82. 「NOIP2017」小凯的疑惑 | Pigsyy | 100 | 17ms | 1916kb | C++23 | 134b | 2025-04-24 13:56:19 | 2025-04-24 13:56:20 |
answer
#include <cstdio>
int main() {
int a, b;
scanf("%d%d", &a, &b);
printf("%lld", 1ll * a * b - a - b);
return 0;
}
详细
小提示:点击横条可展开更详细的信息
Test #1:
score: 5
Accepted
time: 1ms
memory: 1764kb
input:
3 5
output:
7
result:
ok "7"
Test #2:
score: 5
Accepted
time: 0ms
memory: 1780kb
input:
16 31
output:
449
result:
ok "449"
Test #3:
score: 5
Accepted
time: 2ms
memory: 1860kb
input:
21 23
output:
439
result:
ok "439"
Test #4:
score: 5
Accepted
time: 1ms
memory: 1860kb
input:
9 28
output:
215
result:
ok "215"
Test #5:
score: 5
Accepted
time: 2ms
memory: 1784kb
input:
31 7
output:
179
result:
ok "179"
Test #6:
score: 5
Accepted
time: 1ms
memory: 1908kb
input:
44 7
output:
257
result:
ok "257"
Test #7:
score: 5
Accepted
time: 0ms
memory: 1808kb
input:
7753 2957
output:
22914911
result:
ok "22914911"
Test #8:
score: 5
Accepted
time: 0ms
memory: 1756kb
input:
7879 1231
output:
9689939
result:
ok "9689939"
Test #9:
score: 5
Accepted
time: 1ms
memory: 1856kb
input:
6571 7451
output:
48946499
result:
ok "48946499"
Test #10:
score: 5
Accepted
time: 0ms
memory: 1860kb
input:
6619 8117
output:
53711687
result:
ok "53711687"
Test #11:
score: 5
Accepted
time: 1ms
memory: 1916kb
input:
4621 8017
output:
37033919
result:
ok "37033919"
Test #12:
score: 5
Accepted
time: 1ms
memory: 1848kb
input:
1657 8623
output:
14278031
result:
ok "14278031"
Test #13:
score: 5
Accepted
time: 1ms
memory: 1856kb
input:
66650775 6074462
output:
404867527282813
result:
ok "404867527282813"
Test #14:
score: 5
Accepted
time: 1ms
memory: 1816kb
input:
949024467 686132372
output:
651156406993588885
result:
ok "651156406993588885"
Test #15:
score: 5
Accepted
time: 0ms
memory: 1828kb
input:
632554585 284050446
output:
179677411071989879
result:
ok "179677411071989879"
Test #16:
score: 5
Accepted
time: 0ms
memory: 1816kb
input:
448612035 138063277
output:
61936847067063383
result:
ok "61936847067063383"
Test #17:
score: 5
Accepted
time: 1ms
memory: 1824kb
input:
602405674 377443961
output:
227374382743585079
result:
ok "227374382743585079"
Test #18:
score: 5
Accepted
time: 1ms
memory: 1804kb
input:
432509491 85545791
output:
36999366004547099
result:
ok "36999366004547099"
Test #19:
score: 5
Accepted
time: 2ms
memory: 1860kb
input:
556797389 490659945
output:
273198175215426271
result:
ok "273198175215426271"
Test #20:
score: 5
Accepted
time: 1ms
memory: 1860kb
input:
578426123 80054941
output:
46305868491142679
result:
ok "46305868491142679"