ACM从零开始---电子科大POJ "进阶之路"

进阶之路

Time Limit: 3000/1000MS (Java/Others)     Memory Limit: 65535/65535KB (Java/Others)




C-source:
#include
int main()
{
    int num;
    printf("Please input the num:\n");
    scanf("%d",&num);

    int *array=(int*)malloc(num*sizeof(int));
    int *answer=(int*)malloc(num*sizeof(int));

    int i,j,k;
    for(i=0;i


转载请注明作者:小刘

你可能感兴趣的:(算法,ACM)