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

题目描述得太模糊拉!

Posted by basara at 2006-11-18 18:52:51 on Problem 3089
象这个数据:
2 24 [JL3][SC3]WIDE [/sC]TEXT[NL]MESSAGE

标准输出是 :
 W   I   D   E    TEXT  
        MESSAGE         

这说明 要把“[SC3]WIDE [/sC]TEXT”当作一个整体串,对它居中处理,
这样的话,SC命令的优先级要高于JL?(题目好象没有表明阿 !)
而我们一般都是把[JL3][SC3]WIDE 作为整体先处理,再处理后面的
[/sC]TEXT,所以得到的结果是:
   W   I   D   E    TEXT
        MESSAGE       
 

还有另一个数据:
2 24 [jl5][sc2]FU[JL5]LL[NL][JL3]MESSAGE
要输出成:
 F      U      L      L 
  M  E  S  S  A  G  E   

也太强人所难了吧!!! FU和LL竟然是作为一个串处理的........


总之是晕晕晕。。。

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