TOJ 2779.Fishing
来源:互联网 发布:老人打字软件 编辑:程序博客网 时间:2024/06/16 06:08
题目链接
水题,判断圆在矩形内。
#include <stdio.h>int main(){ int num; scanf("%d",&num); while(num--) { int x1,y1,x2,y2,x,y,r; scanf("%d %d %d %d %d %d %d",&x1,&y1,&x2,&y2,&x,&y,&r); if(x-r>=x1&&x+r<=x2&&y-r>=y1&&y+r<=y2) printf("Just do it\n"); else printf("Don't get close to it\n"); }}
0 0
- TOJ 2779.Fishing
- 【TOJ 1163】Gone Fishing【贪心+枚举】
- TOJ 1163.Gone Fishing(经典题目)
- Fishing
- Commerical fishing
- Gone Fishing
- poj_1042_Gone Fishing
- uva757Gone Fishing
- nyoj30Gone Fishing
- gone fishing
- allocated fishing
- Gone fishing
- POJ 1042 Gone Fishing
- POJ1042 Gone Fishing(贪心)
- PKU1042 gone fishing
- pku 1042 Gone Fishing
- pku 1042 Gone Fishing
- pku 1042 Gone Fishing
- android知识点汇总
- sql数据同步语句
- ReentrantLock
- DB2 查看历史备份信息
- 基于TestNG 与Selenium 的自动化测试设计与实施(三)
- TOJ 2779.Fishing
- DB2开启归档模式
- 中国移动业务支撑系统简介(BOSS、BASS、BOMC、4A及VGOP)
- JTable的排序和过滤
- 简单的用CAShapeLayer画个圈
- struts2
- eclipse下使用NDK开发so库
- 基于TestNG 与Selenium 的自动化测试设计与实施(四)
- Android FragmentPagerAdapter数据刷新notifyDataSetChanged没效果研究