题解 | #汽水瓶#
汽水瓶
https://www.nowcoder.com/practice/fe298c55694f4ed39e256170ff2c205f
#include <stdio.h> //11.52-11.56 5分钟 //2个空瓶 = 1份汽水 int main() { int num = 0; while(scanf("%d", &num)) { if (num == 0) { break; } int count = num/2; printf("%d\n", count); } return 0; }
送分