Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
34154 | 江俊昊 | 求两个数较大的数 | C++ | Accepted | 4 MS | 720 KB | 228 | 2022-08-02 09:32:56 |
#include<iostream> #include<cstdio> using namespace std; int main() { int n1,n2; cin>>n1>>n2; int than(int j1,int j2); cout<<than(n1,n2); return 0; } int than(int j1,int j2) { return (j1>j2? j1:j2); }