Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
319781 马圣洁 【C1-T】简单的整数算术表达式求值 C++ 解答错误 0 1 MS 244 KB 248 2025-05-01 15:52:57

Tests(0/4):


#include<iostream> using namespace std; int main(){ int n,p; cin>>n>>p; if(n+p){ cout<<n+p; } if(n-p){ cout<<n-p; } if(n*p){ cout<<n*p; } if(n/p){ cout<<n/p; } if(n%p){ cout<<n%p; } return 0; }


测评信息: