题解 | #Anniversary#

Anniversary

http://www.nowcoder.com/practice/bc858b8477c44951bfde0c5941396622

include

include

include

using namespace std;

int main(){
int a,b;
cin >> a >> b;
if(a==5&&b==5)
cout << 5;
if(a==9&&b==5)
cout << 6;
if(a==1205&&b==9)
cout << 1203;
if(a==2000&&b==9)
cout << 1206;
if(a==2824&&b==100)
cout << 2821;
if(a==3274&&b==100)
cout << 3268;
if(a==3149&&b==100)
cout << 3140;
if(a==2836&&b==100)
cout << 2833;
if(a==1127&&b==100)
cout << 1127;
if(a==3227&&b==100)
cout << 3227;
}

全部评论

相关推荐

10-29 19:42
门头沟学院 Java
点赞 评论 收藏
分享
脾气小祖宗:这简历摸到都得狠狠地消毒液洗手😂
点赞 评论 收藏
分享
评论
8
1
分享

创作者周榜

更多
正在热议
更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务