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

1001 where is my fault? help~~ thanks~~

Posted by ppcharm at 2009-11-18 22:01:23
#include<stdio.h>
void main()
{ 
  long double r,s=1.0;
  int b,n;
  scanf("%llf%d",&r,&n);
  for(b=1;b<(n+1);b++)
	  s=s*r;
  printf("%llf\n",s);
  
 }

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