- 博客(3)
- 收藏
- 关注
原创 2021-06-01
这里写自定义目录标题 链接:原题链接 来源:牛客网 题目描述 小周最近在玩一款二战游戏,他因而对曲射炮的轨迹产生了很大的兴趣,但是在尝试计算后,小周发现这个问题并不是那么简单,他因而来请教你这位计算机高手,请你来帮帮他吧。问题大致可描述为,在二维平面的原点(0,0)处有一曲射炮,炮口可沿任意方向发出初速度为v的炮弹,小周想要把炮弹投射到点(x,y)处,现在你需要帮助小周得出炮口与地面夹角的弧度。为使问题简化,我们忽略空气阻力,x轴沿水平方向分布。设重力加速度g=9.8。 输入描述: 第一行为一个整数T,表示
2021-06-01 20:19:15
58
原创 B - Shashlik Cooking
Long story short, shashlik is Miroslav’s favorite food. Shashlik is prepared on several skewers simultaneously. There are two states for each skewer: initial and turned over. This time Miroslav laid out n skewers parallel to each other, and enumerated them
2021-03-30 21:24:32
73
原创 切割 被3整除
标题 D - Polycarp and Div 3 Polycarp likes numbers that are divisible by 3. He has a huge number s. Polycarp wants to cut from it the maximum number of numbers that are divisible by 3. To do this, he makes an arbitrary number of vertical cuts between pairs o
2021-01-24 21:06:08
134
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人