Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99348 冯瀚翔 08比较三个数大小II C++ Accepted 1 MS 268 KB 271 2024-11-25 21:41:45

Tests(10/10):


Code:

#include <iostream> using namespace std; int main() { int a, b, c, max; cin >> a >> b >> c; max = a; if (b < max && b < c) { max = b; } else if (c < max && c < b) { max = c; } cout << max << endl; return 0; }