| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5868 | 张亦杨 | 简单计算器 | C++ | Compile Error | 0 | 0 MS | 0 KB | 232 | 2020-08-15 09:25:19 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; char c; cin>>a>>b>>op; if(op==+){ ans=a+b; } if(op==-){ ans=a-b; } if(op==*){ ans=a*b; } if(op==/){ ans=a/b; } return 0; }