| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 123301 | 周泽洋 | 09计算算数表达式 | C++ | Wrong Answer | 1 MS | 264 KB | 440 | 2025-06-28 18:10:43 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int a,op,b; cin>>a>>op>>b; switch(op){ case '+': cout<<a+b<<endl; break; case '-': cout<<a-b<<endl; break; case '*': cout<<a*b<<endl; break; case '/': cout<<a/b<<endl; } }
------Input------
100 / 10
------Answer-----
10
------Your output-----