Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102573 晏莞煜 09计算算数表达式 C++ Wrong Answer 0 MS 272 KB 274 2024-12-22 10:21:56

Tests(0/5):


Code:

#include<iostream> using namespace std; int main(){ char a,op,b; 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; }


Run Info:

------Input------
100 / 10
------Answer-----
10
------Your output-----
1