Run ID:134751

提交时间:2025-11-01 13:56:03

#include<bits/stdc++.h> using namespace std; int main(){ int a,b; char 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; }