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 sths at 2012-04-26 23:35:47 on Problem 2503
In Reply To:Re:求测试数据 Posted by:ailing at 2012-04-26 17:29:50
不好意思。。白天打游戏去了。。
刚看了一下,你的程序在英语只有1个字符的情况下会出问题。
因为你先读了一个字符,然后再scanf("%s%s",s1+1,s2);
但是如果s1原本只有一个字符的话,就会有问题。。。
我只是粗略的看了一下,不知道题目里面有没有保证长度大于1.
马上熄灯了,明天再给你完全的答复吧。。。

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