Run ID:131187

提交时间:2025-09-21 12:51:23

#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; }