poj1067代码
来源:互联网 发布:人工智能 人类终结 编辑:程序博客网 时间:2024/06/08 15:16
原题目:http://poj.org/problem?id=1067
由于推导公式过于复杂,在此不标明 为了美观不压行
var a,b,n,i:longint;begin while not eof do begin readln(a,b); n:=abs(a-b); if a>b then a:=b; if a=trunc((n*(sqrt(5)+1)/2))then writeln('0') else writeln('1'); end;end.
0 0
- poj1067代码
- POJ1067
- poj1067
- poj1067
- POJ1067
- poj1067
- poj1067
- poj1067
- POJ1067
- 【博弈】POJ1067
- POJ1067取石子游戏
- poj1067(取石子游戏)
- poj1067(经典博弈问题)
- 取石子游戏POJ1067
- poj1067取石子游戏
- POJ1067----取石子游戏
- poj1067(威佐夫博弈)
- poj1067 取石子游戏
- Hibernate中配置文件出现class cn.fpxty.LinkMan not found while looking for property:linkid错误
- react native 0.39升级0.43
- 瀑布流JQ特效代码
- web存储用户名和密码
- linux软件管理和安装(rpm命令)
- poj1067代码
- SWAP交换分区的建立及删除
- NFC----nci规范中常见的英文缩写和含义
- 我的第一个博客是希望我以后的这个博客会越来越好
- 结业项目-个人博客页面(2)
- 跑马灯实验-寄存器版
- GPU 图形绘制管线
- 插入排序需要比较的次数
- 音视频播放对应文字同步高亮且滚动到指定位置(scrollTop)