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

狠奇怪你读入为什么用getchar来读,这个太依赖于输入格式了

Posted by hawk at 2004-08-01 00:40:26 on Problem 1504
In Reply To:你确信没用那么多空间的话,肯定是runtimeerror,自己好好找找吧 Posted by:hawk at 2004-08-01 00:33:04
你狠可能这里出错了
题目告诉你几行,每行2个整数
随便scanf,cin都可以读
甚至可以不用管他每行是几个整数,只要有那么多个整数让我读就行了
你这种读入风格比赛时候狠容易吃亏的

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