# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1235535 | kaoklaxd | MathWorlds (YDX13_mathworlds) | C++20 | 0 ms | 324 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 time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |