| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144972 | c13 | 09计算算数表达式 | C++ | Wrong Answer | 0 MS | 276 KB | 257 | 2026-01-24 19:53:28 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,c; char b; cin>>a>>b>>c; if(b=='+')cout<<a+b<<endl; else if(b=='-')cout<<a-b<<endl; else if(b=='*')cout<<a*b<<endl; else if(b=='/')cout<<a/b<<endl; return 0; }
------Input------
100 / 10
------Answer-----
10
------Your output-----
2