poj 1299 Polar Explorer 水题
来源:互联网 发布:店面广告牌设计软件 编辑:程序博客网 时间:2024/04/27 18:05
//poj 1299//sep9#include <iostream>using namespace std;const double pi=3.14159;char s[32];int main(){while(scanf("%s",s)==1&&strcmp(s,"ENDOFINPUT")!=0){double x,y,z;scanf("%lf%lf%lf",&x,&y,&z);scanf("%*s");z=min(z,360-z);double d=z/90*pi*x;if(d/5<=y)printf("YES %d\n",int(y-d/5));elseprintf("NO %d\n",int(y*5));}return 0;}
0 0
- poj 1299 Polar Explorer 水题
- POJ 1299 Polar Explorer 笔记
- 1299 Polar Explorer
- ZOJ 1394 Polar Explorer
- zoj 1394 Polar Explorer
- ZOJ 1394 Polar Explorer
- zoj 1394 Polar Explorer
- ZOJ 1394 Polar Explorer
- hnu acm Problem 10016 Polar Explorer
- acm pku 1299 Polar Exploer的简单实现
- polar-clock
- polar-clock
- Explorer
- Explorer
- Polar坐标投影(C++)
- ZOJ 1394 Polar Expoler
- Polar码介绍
- matplotlib polar 雷达图
- C#中的重载
- SqlHelper
- zoj3908Number Game
- V8.NET使用详解
- 新手学习,web编程入门(三)——编程之路起步环境搭建
- poj 1299 Polar Explorer 水题
- MySQL truncate有外键约束的表
- js关闭动画异常
- AJAX +SpringMVC 实现bootstrap模态框的分页查询
- centos 6.5ssh无密钥登陆失败问题解决
- java:23种设计模式全解析之一
- MySQL中concat函数(连接字符串)
- cocos2d-JS中场景(scene)之前如何传参。
- 自定义输入框随键盘上升下降