提交记录 9826


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

CompilationN/AN/ACompile OKScore: N/A

Testcase #132.05 us36 KBAcceptedScore: 5

Testcase #239.96 us36 KBAcceptedScore: 5

Testcase #340.23 us36 KBAcceptedScore: 5

Testcase #433.14 us36 KBAcceptedScore: 5

Testcase #532.57 us36 KBAcceptedScore: 5

Testcase #631.72 us36 KBAcceptedScore: 5

Testcase #731.4 us36 KBAcceptedScore: 5

Testcase #830.84 us36 KBAcceptedScore: 5

Testcase #931.48 us36 KBAcceptedScore: 5

Testcase #1031.65 us36 KBAcceptedScore: 5

Testcase #1131.33 us36 KBAcceptedScore: 5

Testcase #1231.28 us36 KBAcceptedScore: 5

Testcase #1332.09 us36 KBAcceptedScore: 5

Testcase #1431.3 us36 KBAcceptedScore: 5

Testcase #1531 us36 KBAcceptedScore: 5

Testcase #1631.39 us36 KBAcceptedScore: 5

Testcase #1731.2 us36 KBAcceptedScore: 5

Testcase #1831.14 us36 KBAcceptedScore: 5

Testcase #1931.8 us36 KBAcceptedScore: 5

Testcase #2032.06 us36 KBAcceptedScore: 5


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