A + B Problem Too
2024-08-30 23:03:40
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 1
8600 8600
Sample Output
no
yes
#include <stdio.h> int main(){
int a;
int b; while(scanf("%d%d",&a,&b)!=EOF){
if((a+b)%==)
printf("yes\n"); else
printf("no\n");
}
return ;
}
最新文章
- Git异常:fatal: could not create work tree dir &#39;XXX&#39;: No such file or directory
- [CLR via C#]14. 字符、字符串和文本处理
- JSP入门&;会话技术
- UNIX基础知识之时间值
- 使用dispatch_group实现并封装分组并发网络请求
- 利用JQuery的$.ajax()可以很方便的调用asp.net的后台方法
- Linux下Java环境安装
- 2、Zookeeper端口和ip修改
- cisco查看机框 板卡 电源 SN 风扇环境运行状态和一些常用命令 巡检命令
- Django2.0路由层-URLconf
- df -h执行卡住不动问题解决【转】
- 利用yum安装时,报错 [Errno 256] No more mirrors to try.
- python入门-变量和简单数据类型
- react部署之页面空白
- C-I/O操作函数详解
- JMeter java.net.URISyntaxException: Illegal character in query at index
- 谈一下思考,关于mybatis中<;foreach collection=";list";>;中list得来的原因 没看到官方说明
- 循环神经网络RNN模型和长短时记忆系统LSTM
- cmd与bat脚本的使用
- servlet的重定向和作用域