摘要:
#include#include#define inf 999999999#define N 151000int a[N],c[N];int main() {int n,k,i,j,min,p,t;while(scanf("%d%d",&n,&k)!=EOF) {min=inf;memset(c,0... 阅读全文
摘要:
#include#include//刚做codeforces上的比赛题我都没看懂啊啊啊啊啊啊int main() {int n,m,i,k,visit[110],total;while(scanf("%d%d",&n,&m)!=EOF) {total=0;while(n--) {scanf("%d"... 阅读全文
摘要:
#includeint main() {int a,b,c,n,sum,max,i;while(scanf("%d",&n)!=EOF) {if(nmax)max=sum;sum=2;}}if(sum>max)max=sum;printf("%d\n",max);}return 0;} 阅读全文