HDU 2104
来源:互联网 发布:手机淘宝5.6.9版本 编辑:程序博客网 时间:2024/06/07 20:31
#include<iostream>#include<cstring>using namespace std;int main(){int n,m;int c;while(cin>>n>>m,m!=-1&&n!=-1){ while(m!=0){c=n%m;n=m;m=c;}if(n==1) cout<<"YES"<<endl;else cout<<"POOR Haha"<<endl; }return 0;}
阅读全文
0 0
- hdu 2104
- hdu-2104
- hdu 2104
- Hdu 2104
- HDU 2104
- HDU 2104 hide handkerchief
- hdu 2104 hide handkerchief
- HDU 2104 hide handkerchief
- HDU 2104数论 欧几里得
- hdu 2104(藏手帕)
- hdu 2104 hide handkerchief
- HDU 2104 hide handkerchief
- hdu 2104 hide handkerchief
- HDU 2104 GCD
- Hdu 2104 hide handkerchief
- HDU 2104 hide handkerchief
- hdu 2104 hide handkerchief
- hide handkerchief HDU - 2104
- eclipse/myeclipse 断点调试(breakpoint) debug
- XMLHttpRequest——这是什么、怎样完整地执行一次GET请求、怎样检测错误。
- mybatis 配置中遇到的坑之二
- java ee 三层架构
- LeetCode 18. 4Sum
- HDU 2104
- POJ2393 -- Yogurt factory -- 贪心
- UML 的九种模型图
- 8.6 E
- 高性能Server---Reactor模型
- dom4j解析xml
- Java内部类加载问题探究
- hdu 3826
- Spring定时任务