Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
27780 徐歆芮 求两个数较小的数 C++ Accepted 2 MS 724 KB 228 2022-06-11 11:50:20

Tests(2/2):


Code:

#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? j2:j1); }