Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
110716 | 常钰杰 | 求两个数较大的数 | C++ | Accepted | 1 MS | 272 KB | 291 | 2025-02-22 18:13:39 |
#include <iostream> using namespace std; long long max(long long a,long long b) { long long max; if(a>b) { max=a; } else { max=b; } return max; } int main() { int a,b; cin>>a>>b; cout<<max(a,b); return 0; }