题解 | #汽水瓶#
汽水瓶
http://www.nowcoder.com/practice/fe298c55694f4ed39e256170ff2c205f
#include <stdio.h>
int main()
{
int n;
while (scanf("%d", &n) != EOF)
{
if (n != 0)
printf("%d\n", n/2);
}
return 0;
}
汽水瓶
http://www.nowcoder.com/practice/fe298c55694f4ed39e256170ff2c205f
#include <stdio.h>
int main()
{
int n;
while (scanf("%d", &n) != EOF)
{
if (n != 0)
printf("%d\n", n/2);
}
return 0;
}
相关推荐