题解列表

筛选

汽水瓶-题解(C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){     int a;     while(1)     {         scanf("%d",&a);  ……

蓝桥杯算法提高VIP-打水问题-题解(Java代码)

摘要:解题思路:先把数组排序,先处理第一个水龙头的时间time,他的元素有 第j号元素、第j+m号…… ,用 cc 来记录 前面出现的数的和,直到j >= a.length-1(或者判断在中间某位 + m ……

汽水瓶-题解(C语言代码)

摘要:解题思路:注意事项:参考代码:#includeint main(){    int n;    while( scanf("%d",&n),n!=0){         printf( "%d\n",……