HDU2101 A + B Problem Too【水题】
来源:互联网 发布:卖家怎么防止淘宝客 编辑:程序博客网 时间:2024/06/16 15:15
A + B Problem Too
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 18051 Accepted Submission(s): 13409
Problem Description
This problem is also a A + B problem,but it has a little difference,you should determine does (a+b) could be divided with 86.For example ,if (A+B)=98,you should output no for result.
Input
Each line will contain two integers A and B. Process to end of file.
Output
For each case, if(A+B)%86=0,output yes in one line,else output no in one line.
Sample Input
1 18600 8600
Sample Output
noyes
Source
HDU 2007-6 Programming Contest
问题链接:HDU2101 A + B Problem Too
问题简述:参见上文。
问题分析:(略)
程序说明:这是一个大水题,要说能说一下的地方,也就是那个条件表达式了。
题记:(略)参考链接:(略)
AC的C++语言程序如下:
/* HDU2101 A + B Problem Too */#include <iostream>using namespace std;int main(){ int a, b; while(cin >> a >> b) { printf("%s\n", (a + b) % 86 == 0 ? "yes" : "no"); } return 0;}
阅读全文
0 0
- HDU2101 A + B Problem Too【水题】
- HDU2101 A + B Problem Too【水题】
- hdu2101 A + B Problem Too
- HDU2101 A + B Problem Too
- hdu2101 A + B Problem Too
- hdu2101 A + B Problem Too(C语言)
- HDOJ 2101 A + B Problem Too水题
- hdu-A+B Problem Too
- HDU_2101 A + B Problem Too
- A + B Problem Too 2101
- [2101]:A + B Problem Too
- 2101 A + B Problem Too
- HDOJ2101 A + B Problem Too
- hdu 2101 A + B Problem Too
- hdu 2101 A + B Problem Too(数论)
- Hdu 2101 A + B Problem Too
- A + B Problem Too hdoj 2101
- hdu-2101-A + B Problem Too
- oracle触发器
- HDU 5873 Football Games (公式题)
- Android 8.0 功能和 API
- Oracle的多版本控制小实验
- 八大排序算法
- HDU2101 A + B Problem Too【水题】
- 汇编语言跳转翻译为c语言if else语句
- react native 添加自定义字体
- oracle11g简单的物理全备份和恢复
- UVALive-7297-Hounded by Indecision
- FSL安装教程
- 数据挖掘的流程----自己认为是最规范的
- PAT 1068. Find More Coins (30) DFS,01背包
- toolbar详解