Submission #1235535

#TimeUsernameProblemLanguageResultExecution timeMemory
1235535kaoklaxdMathWorlds (YDX13_mathworlds)C++20
0 / 1
0 ms324 KiB
#include "bits/stdc++.h"
using namespace std;

int main(){
	long long x,y,z;
	cin >> x >> y >> z;
	if(x+y==z) cout << "+";
	else if(x-y==z) cout << "-";
	else if(x*y==z) cout << "*";
	else if(y!=0 && x/y==z) cout << "/";
	else cout << "Invalid";
}
#Verdict Execution timeMemoryGrader output
Fetching results...