96北市資訊學科能力競賽 序列長度問題(Sequence)
/************************************************************/#include<stdio.h>#include<stdlib.h>#define N 2600 main(){ int n; while(scanf("%d",&n)==1) { if(n==1) {printf("1\n");continue;} int ans[2603]={0},temp[2603]={0}; ...