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

Re:哪里错了呀????

Posted by xtu723 at 2008-04-17 10:55:50 on Problem 2635
In Reply To:哪里错了呀???? Posted by:superman2006 at 2007-08-23 00:34:01
while(len>=3)
  {
   k++;
   c[k]=a[len-1]+a[len-2]*10+a[len-3]*100;
   len-=3;
  }
  if(len>0)
  {
   if(len==2){k++;c[k]=a[0]*10+a[1];}
   else{k++;c[k]=a[0];}
  }
。。。。。。。

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