ACM 11342 11342 - Three-square
請先建表!
/***********************************************************/
#include<stdio.h>#include<stdlib.h>#include<math.h>int number[500001][3]={0},flag[500001]={0}; main(){ int a,b,c; for(a=0;a<=250;a++) for(b=a;b<=250;b++) ...