hdu 1171

A test case starting with a negative integer terminates input and this test case is not to be processed.ios 負整數終止輸入 while(scanf("%d",&n),n>=0)this 題意:n行數據,每行一個v,m;表示m個v,求分紅兩個差值最小的兩組spa 思路:先輸入一組數據,初始化v
相關文章
相關標籤/搜索