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

全部评论

相关推荐

码农索隆:我头回见校招简历把个人优势写在最前面的,是我老了吗
点赞 评论 收藏
分享
03-24 21:23
已编辑
郑州大学 Java
点赞 评论 收藏
分享
评论
6
1
分享

创作者周榜

更多
牛客网
牛客企业服务