88分求助
查看原帖
88分求助
1380501
Im_a_big_SB楼主2024/12/8 19:56
#include<bits/stdc++.h>
using namespace std;
int main() {
	int a,b,c;
	cin>>a>>b>>c;
	if(a+b==c)cout<<"plus";
	else if(a-b==c)cout<<"minus";
	else cout<<"illegal";
	return 0;
}
2024/12/8 19:56
加载中...