WA可以看看
查看原帖
WA可以看看
1088073
Axolotlwww楼主2024/10/1 17:08

输出格式 一个整数,表示答案。保证输入和答案都在 int 范围内的非负整数

所以定义int的时候用unsigned修饰符


#include<bits/stdc++.h>
using namespace std;
int main(){
	unsigned int a,b;
	cin>>a>>b; 
	cout<<a*b;
	return 0;
}
2024/10/1 17:08
加载中...