提交记录 9826
提交时间 |
评测时间 |
2019-07-16 17:19:03 |
2020-08-01 01:54:53 |
#pragma GCC optimize(2)
#include<bits/stdc++.h>
long long a, b;
#define getchar getchar_unlocked
#define putchar putchar_unlocked
template <class T>
inline void _read(T &x)
{
x = 0;
char t = getchar();
while(!isdigit(t)) t = getchar();
while(isdigit(t))
{
x = x * 10 + t - '0';
t = getchar();
}
}
template <class T>
inline void print(T x)
{
if(x < 0)
{
putchar('-');
x = -x;
}
if(x > 9)
print(x / 10);
putchar(x % 10 + '0');
}
int main()
{
_read(a), _read(b);
print((a - 1)*b - a);
return 0;
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 32.05 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #2 | 39.96 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #3 | 40.23 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #4 | 33.14 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #5 | 32.57 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #6 | 31.72 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #7 | 31.4 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #8 | 30.84 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #9 | 31.48 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #10 | 31.65 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #11 | 31.33 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #12 | 31.28 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #13 | 32.09 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #14 | 31.3 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #15 | 31 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #16 | 31.39 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #17 | 31.2 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #18 | 31.14 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #19 | 31.8 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #20 | 32.06 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-12-05 09:51:35 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠