题解 | #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;
}

全部评论

相关推荐

在看牛客的社畜很积极:身高体重那一行信息去掉,学校那一行的信息放上面,找半天都没找到你是哪个学校什么专业的
点赞 评论 收藏
分享
09-18 20:41
阿里巴巴_后端
要个offer怎么这...:哈哈哈哈哈哈,我也拿了0x10000000个offer,秋招温啦啦啦,好开心
我的秋招日记
点赞 评论 收藏
分享
评论
8
1
分享

创作者周榜

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