Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

哈哈哈哈~~

Posted by hz02ruc at 2004-05-09 14:49:19 on Problem 1653
In Reply To:过了,我靠,是四个空格~~ Posted by:amalee at 2004-05-09 14:44:50
> #include "stdio.h"
> main()
> {
>   int n,i,j,k;
>   int a[10];
>   
>   for(k=0;k<10;k++)
>   {
>     if(k==0)a[k]=1;
>     else a[k]=a[k-1]*k;
>   }
>   scanf("%d",&n);
>   for(i=0;i<n;i++)
>   {  
>     for(j=0;j<=i;j++)
>     {
> 	printf("%d",a[i]/(a[j]*a[i-j]));
> 	if(j!=i)printf("    ");
>     }
>     printf("\n");
>   }
> }

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator