题解 | #汽水瓶#
汽水瓶
https://www.nowcoder.com/practice/fe298c55694f4ed39e256170ff2c205f
#include<iostream>
using namespace std;
int main()
{
int n;
while ( cin >> n )
{
if(n == 0)
continue;
cout << n/2 << endl;
}
return 0;
}
#每日一题挑战#每日算法题 文章被收录于专栏
Leetcode算法题 小米 华为 算法题库讲解
