Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
。。。。。。I just used this software. English is not very good. I didn't understand the meaning of speaking options before. I'm sorry.
Chinese
中文
给定一个整数数组。
返回一个数组,其中第一个元素是正数的数量,第二个元素是负数的总和。
如果输入数组为空或null,则返回空数组。
例
输入时[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, -11, -12, -13, -14, -15],您应该返回[10, -65]。
Chinese
中文
内森喜欢骑自行车。
因为Nathan知道保持水分很重要,他每小时骑自行车喝0.5升水。
你会得到几个小时的时间,你需要返回内森将喝的升数,四舍五入到最小值。
例如:
time = 3 ---->升= 1
时间= 6.7 --->升= 3
时间= 11.8 - >升= 5