提交记录 9874
提交时间 |
评测时间 |
2019-07-18 20:10:06 |
2020-08-01 01:58:10 |
#include<bits/stdc++.h>
using namespace std;
clock_t __t=clock();
#define rep(i,x,y) for (int i=(x);i<=(y);++i)
#define drep(i,y,x) for (int i=(y);i>=(x);--i)
#define temp template<typename T>
temp bool chkmin(T &x,T y){return x>y?x=y,1:0;}
temp bool chkmax(T &x,T y){return x<y?x=y,1:0;}
#define ll long long
#define db double
void file()
{
#ifdef NTFAKIOI
freopen("a.in","r",stdin);
#endif
}
void chktime()
{
#ifdef NTFAKIOI
cout<<1.0*(clock()-__t)/1000;
#endif
}
temp void read(T &x)
{
x=0;char ch=getchar(),t=0;
while (ch>'9'||ch<'0') t|=(ch=='-'),ch=getchar();
while (ch<='9'&&ch>='0') x=x*10+ch-48,ch=getchar();
x=(t?-x:x);
}
#define go(x) for (int i=head[x];i;i=edge[i].nxt)
#define pii pair<int,int>
#define fir first
#define sec second
#define MP make_pair
int main()
{
file();
ll a,b;read(a),read(b);cout<<a*b-a-b<<'\n';
ll cc=0;
rep(i,1,4e8) cc+=i&32767;
return 0;
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 33.79 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #2 | 37.09 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #3 | 37.48 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #4 | 34.13 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #5 | 35.12 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #6 | 32.99 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #7 | 34.52 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #8 | 33.9 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #9 | 33.65 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #10 | 33.62 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #11 | 33.52 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #12 | 33.38 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #13 | 33.22 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #14 | 33.57 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #15 | 33.03 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #16 | 33.13 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #17 | 33.51 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #18 | 33.16 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #19 | 32.95 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Testcase #20 | 33.96 us | 36 KB | Accepted | Score: 5 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2024-12-05 09:43:47 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠