Run ID:145426
提交时间:2026-01-25 15:12:50
#include<bits/stdc++.h> using namespace std; int main() { int a, b; string c; cin >> a >> c >> b; if (c == "+") { cout << a + b << endl; } else if (c == "-") { cout << a - b << endl; } else if (c == "*") { cout << a * b << endl; } else if (c == "/") { cout << a / b << endl; } return 0; }