| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 78021 | sh25_wangtaojie | 求三位数各数位中最大值 | C++ | Compile Error | 0 MS | 0 KB | 311 | 2025-12-26 15:17:02 |
#include <iostream> using namespace std; int main() { int n; cin>>n; int hundreds=n / 100; int tens=(n / 10) % 10; int units=n % 10; cout<<hundreds<<" "<<tens<<" "<<units<< endl; int max_digit = max({hundreds, tens, units}); cout << max_digit << endl; return 0; }