Run ID:147366
提交时间:2026-02-04 16:26:24
#include<bits/stdc++.h> using namespace std; int a,b; char op; int main(){ cin>>a>>op>>b; if(op=='+')cout<<a+b; else if(op=='-')cout<<a-b; else if(op=='*')cout<<a*b; else if(op=='/')cout<<a/b; return 0; }