编程介的小学生 2017-05-22 16:16 采纳率: 20.5%
浏览 965
已采纳

Samuel's Hope

Problem Description
Samuel only has the average data,Please use these figures to predicate ,if the total number reached or higher than the number is given,Samuel's hope will come true.

Input
The first line of the input is t,which represents the number of the test cases.
Each of the test cases only contains 2 parts:
The average data of a week p(the unit is million people), the expected year's number q(the unit is million people too).Notice a year has only 52 weeks.

Output
If the number is reached,output “Oh,Samuel's hope will come true,thanks to the DcSLs.”
else output“Unfortunately,Samuel's hope will not come true,more tourists are welcomed!”

Sample Input
3
3 151
2 105
4 208

Sample Output
Oh,Samuel's hope will come true,thanks to the DcSLs.
Unfortunately,Samuel's hope will not come true,more tourists are welcomed!
Oh,Samuel's hope will come true,thanks to the DcSLs.

  • 写回答

1条回答 默认 最新

  • threenewbee 2017-06-05 17:07
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 win11家庭中文版安装docker遇到Hyper-V启用失败解决办法整理
  • ¥15 gradio的web端页面格式不对的问题
  • ¥15 求大家看看Nonce如何配置
  • ¥15 Matlab怎么求解含参的二重积分?
  • ¥15 苹果手机突然连不上wifi了?
  • ¥15 cgictest.cgi文件无法访问
  • ¥20 删除和修改功能无法调用
  • ¥15 kafka topic 所有分副本数修改
  • ¥15 小程序中fit格式等运动数据文件怎样实现可视化?(包含心率信息))
  • ¥15 如何利用mmdetection3d中的get_flops.py文件计算fcos3d方法的flops?