#hdu1034

hdu1034

#include<stdio.h>constintMAXN=1000;inta[MAXN];intmain(){intn;inti;while(scanf("%d",&n),n){for(i=0;i<n;i++)scanf("%d",&a[i]);intres=0;while(1){f...
代码星球 ·2020-06-14