正在加载图片...
风格风格O 两个程序片段 Int qg, 1,1, tot, pre -g9tot是什么? anf(%od", &qg while (-qq >=0) memset(stock, 0, sizeof(stock) anf(%/od%od",&side, &n); -max,min哪里来的? min scanf(o/od",&i) ++stock stock又是哪里的 f G> max)max =j if i< min) min=1风格.风格() 两个程序片段: „ int main() „ { „ int qq, i, j, tot, pre; , i, j, tot, pre; ------------------ ------------------qq,tot是什么? „ scanf("%d scanf("%d", &qq); „ while ( while (--qq >= 0) „ { { „ memset(stock memset(stock, 0, sizeof(stock sizeof(stock)); „ scanf("%d%d scanf("%d%d", &side, &n); ", &side, &n); „ max = 0; max = 0; --------------------- ---------------------max,min哪里来的? „ min = 10; min = 10; „ tot = 0; tot = 0; „ for (i = 0; i < n; ++i) for (i = 0; i < n; ++i) „ { „ scanf("%d scanf("%d", &j); ", &j); „ ++stock[j stock[j]; ]; ------------------------ ------------------------stock又是哪里的? „ if (j > max) max = j; if (j > max) max = j; „ if (j < min) min = j; if (j < min) min = j; „ tot += j * j; tot += j * j;
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有