Run ID:156518
提交时间:2026-06-28 15:15:07
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; char op; cin>>a>>op>>b; switch(op) { case '+':cout<<a+b;break; case '-':cout<<a-b;break; case '*':cout<<a*b;break; case '/':cout<<a/b;break; } return 0; }