Run ID:131193
提交时间:2025-09-21 13:13:18
#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; default:cout<<a/b;break; } return 0; }