8月19号CCPC——CaoHaha's staff(未解答)
来源:互联网 发布:c语言指向函数的指针 编辑:程序博客网 时间:2024/06/05 23:32
Problem Description"You shall not pass!"After shouted out that,the Force Staff appered in CaoHaha's hand.As we all know,the Force Staff is a staff with infinity power.If you can use it skillful,it may help you to do whatever you want.But now,his new owner,CaoHaha,is a sorcerers apprentice.He can only use that staff to send things to other place.Today,Dreamwyy come to CaoHaha.Requesting him send a toy to his new girl friend.It was so far that Dreamwyy can only resort to CaoHaha.The first step to send something is draw a Magic array on a Magic place.The magic place looks like a coordinate system,and each time you can draw a segments either on cell sides or on cell diagonals.In additional,you need 1 minutes to draw a segments.If you want to send something ,you need to draw a Magic array which is not smaller than the that.You can make it any deformation,so what really matters is the size of the object.CaoHaha want to help dreamwyy but his time is valuable(to learn to be just like you),so he want to draw least segments.However,because of his bad math,he needs your help. InputThe first line contains one integer T(T<=300).The number of toys.Then T lines each contains one intetger S.The size of the toy(N<=1e9). OutputOut put T integer in each line ,the least time CaoHaha can send the toy. Sample Input512345 Sample Output44667
这道题的题意是读懂了,但是在5对应7分钟的步骤中出现了卡壳,所以这道题直接放弃了。
这个题的大意就是:让能力者给你传送礼物,传送礼物的方法是在一个二维坐标系中,只能走轴和对角线,每走一步需要一分钟,每次只能走一个X/Y轴形成的格子,同时你的礼物的形状是无所谓的,只在乎礼物的体积,我们需要做的就是在知道礼物体积的情况下,我们在二维坐标系中用最短时间画出一个任意封闭的多边形来装这个礼物。输入这个最短时间(画法)。
测试用例,装1体积的需要4分钟,装2体积需要4分钟,装3体积需要6分钟,装4体积需要6分钟,装5体积需要7分钟。
我们团队对这题的猜测是,这道题是一个可以有规律的递归体。最后在5-7卡壳,也就结束了推测,也不知道猜测是否正确。欢迎指点!欢迎更新答案!
后序有结果会再更新出来答案。
阅读全文
0 0
- 8月19号CCPC——CaoHaha's staff(未解答)
- 2017ccpc网络赛——CaoHaha's staff
- HDU 6154-CaoHaha's staff(ccpc)
- 8月19号CCPC——The Designer(未解答)
- 8月19号CCPC——Graph Of Zhuper(未解答)
- HDU CCPC 1005 CaoHaha's staff
- 2017 ccpc网络预选赛 CaoHaha's staff
- 2017ccpc网络赛CaoHaha's staff
- 2017ccpc网赛-1005-CaoHaha's staff
- ccpc预选赛-1005CaoHaha's staff
- 1005 ——CaoHaha's staff
- CaoHaha's staff(hdoj6154)
- CCPC网赛 CaoHaha's staff(找规律+模拟扩展正方形)
- 2017CCPC网络选拔赛1005CaoHaha's staff(规律贪心)
- 2017CCPC 网络选拔赛 1005 CaoHaha's staff
- hdu6154 CaoHaha's staff CCPC网赛1005 找规律+构造
- hdu6154-CCPC网络赛&规律-CaoHaha's staff
- 2017ccpc网络选拔赛 1005 CaoHaha's staff
- C++调用python脚本
- 以Alexnet为例说明solver文件的超参数
- 如鹏网学习笔记(十二)HTML5
- Mongodb ReplicaSet + Sharding集群实现
- 在redux-observable中替换fetch请求网络数据
- 8月19号CCPC——CaoHaha's staff(未解答)
- 浅谈js中==、!=、===、!==
- 关系型数据库与非关系型数据库的区别?
- 使用 vue 1.0.3 $set 函数遇到的坑
- Spring Boot开发问题(一.feignclient远程其他restful风格的项目时POST中)
- Qt程序只运行一个实例
- platform总线所有函数解析
- 姬风奇迹Season XI娱乐休闲一键版 (百度网盘/1.12G/服务端+客户端/更新赠品)
- 在Dynamic CRM中遇到服务器HTTP 503错误的解决办法