Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
51604 | 张思存 | 最大数输出 | C++ | Accepted | 0 MS | 244 KB | 242 | 2024-09-22 21:46:18 |
#include<bits/stdc++.h> using namespace std; int main() { int a, b, c; cin >> a >> b >> c; int max = a; if (b > max) { max = b; } if (c > max) { max = c; } cout<< max; return 0; }