| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 76739 | sh25_zhuwy | 小明三年身高 | C++ | 通过 | 0 MS | 252 KB | 238 | 2025-12-19 16:59:07 |
#include<bits/stdc++.h> using namespace std; int main() { int a,b,c,y; cin>>a>>b>>c>>y; if(y==2001) { cout<<b<<endl<<b-a; } else if(y==2002) { cout<<c<<endl<<c-b; } return 0; }