UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#168190#1221. 阴影面积(1)luojianwei22161000ms1200kbC++152b2023-01-29 16:09:152023-01-29 16:09:16

answer

#include <bits/stdc++.h>
using namespace std;

int main() {
	int a, b, area;
	cin >> a >> b;
	area = a * a - b * b;
	cout << area;
	return 0;
}

详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 50
Accepted
time: 0ms
memory: 1200kb

input:

5 3

output:

16

result:

ok single line: '16'

Test #2:

score: 50
Accepted
time: 0ms
memory: 1196kb

input:

15 13

output:

56

result:

ok single line: '56'