提交记录 9874


用户 题目 状态 得分 用时 内存 语言 代码长度
p_b_p_b noip17a. 【NOIP2017】小凯的疑惑 Accepted 100 37.48 us 36 KB C++11 894 B
提交时间 评测时间
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;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #133.79 us36 KBAcceptedScore: 5

Testcase #237.09 us36 KBAcceptedScore: 5

Testcase #337.48 us36 KBAcceptedScore: 5

Testcase #434.13 us36 KBAcceptedScore: 5

Testcase #535.12 us36 KBAcceptedScore: 5

Testcase #632.99 us36 KBAcceptedScore: 5

Testcase #734.52 us36 KBAcceptedScore: 5

Testcase #833.9 us36 KBAcceptedScore: 5

Testcase #933.65 us36 KBAcceptedScore: 5

Testcase #1033.62 us36 KBAcceptedScore: 5

Testcase #1133.52 us36 KBAcceptedScore: 5

Testcase #1233.38 us36 KBAcceptedScore: 5

Testcase #1333.22 us36 KBAcceptedScore: 5

Testcase #1433.57 us36 KBAcceptedScore: 5

Testcase #1533.03 us36 KBAcceptedScore: 5

Testcase #1633.13 us36 KBAcceptedScore: 5

Testcase #1733.51 us36 KBAcceptedScore: 5

Testcase #1833.16 us36 KBAcceptedScore: 5

Testcase #1932.95 us36 KBAcceptedScore: 5

Testcase #2033.96 us36 KBAcceptedScore: 5


Judge Duck Online | 评测鸭在线
Server Time: 2024-12-05 09:43:47 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠