52 分请大佬帮忙,谢谢。
查看原帖
52 分请大佬帮忙,谢谢。
726902
bcbgszyzh楼主2023/9/23 20:42

code:(c++14)

#include<bits/stdc++.h>

using namespace std;

int main(){

	int a,b,c;
    
	if(a+b==c)cout<<"plus";
    
	else if(a-b==c)cout<<"minus";
    
	else cout<<"illegal";
    
	return 0;
    
}
2023/9/23 20:42
加载中...