Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
110364 冯瀚翔 08比较三个数的大小 C++ Accepted 1 MS 272 KB 271 2025-02-17 19:31:27

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; }