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

我不是直接用9进制的,提供几组测试数据

Posted by wrong123 at 2005-12-29 01:21:01 on Problem 2719
In Reply To:大虾的提醒使我茅塞顿开 但我用九进制写的程序还是RE,真不该怎么班!!!!还请大虾指点。。。(附程序) Posted by:toughcat at 2005-12-28 22:25:22
12345    ->  8293
23456    ->  15593
456789   ->  207593
12345678 ->  54414575

另外,你程序里面num[10000]可能开小了噢,说不定测试数据的组数大到
你想不到,可以直接读入一个,就输出一个结果嘛


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