• 如果您想对本站表示支持,请随手点击一下广告即可~
  • 本站致力于提供原创、优秀的技术文章~
  • 有任何疑问或建议 均可以在站点右侧栏处 通过各种方式联系站长哦~
  • POJ2525 – Text Formalization – 测试数据

    测试数据 EXP 77阅读 0评论

     
    全解题报告索引目录 -> 【北大ACM – POJ试题分类
    POJ2525 -> 【Text Formalization


    测试数据来源

    Alberta Collegiate Programming Contest 2003.10.18 – 问题D

    测试数据下载


    Sample Input-1

    3 2

    “doesn’t” -> “does not”

    “isn’t” -> “is not”

    “can’t” -> “cannot”

    “ACM” -> “Association for Computing Machinery”

    “CS” -> “Computing Science”

    #

    ACM ACM ACM

    #

    The ACM can’t solve Can’t CAN’T solve CaN’t solve

    all the problems in CS. Though large and having

    many resources at its disposal, the ACM doesn’t use magic. Magic isn’t

    part of science, and hence not part of CS. Thank you for your

    suggestions.

    Signed, ACM

    #

    doesn’tisn’tcan’tACMCS

    #

    The ACM doesn’t like magic.

    #

    It’s not that the ACM won’t use it, it’s

    #

    just that the ACM doesn’t understand magic.

    #

    Sample Output-1

    #

    Association for Computing Machinery (ACM) ACM ACM

    #

    The Association for Computing Machinery (ACM) cannot solve Cannot CANNOT solve CaN’t solve

    all the problems in Computing Science (CS). Though large and having

    many resources at its disposal, the ACM does not use magic. Magic is not

    part of science, and hence not part of CS. Thank you for your

    suggestions.

    Signed, ACM

    #

    does notis notcannotAssociation for Computing Machinery (ACM)Computing Science (CS)

    #

    The Association for Computing Machinery (ACM) does not like magic.

    #

    It’s not that the Association for Computing Machinery (ACM) won’t use it, it’s

    #

    just that the Association for Computing Machinery (ACM) does not understand magic.

    #

    Sample Input-2

    4 0

    “doesn’t” -> “does not”

    “Doesn’t” -> “&&&&&&&&”

    “DOESN’T” -> “%%%%%%%%”

    “doEsn’t” -> “########”

    doesn’t -> does not

    Doesn’t -> &&&&&&&&

    DOESN’T -> %%%%%%%%

    doEsn’t -> ########

    #

    Sample Output-2

    does not -> does not

    Does not -> &&&&&&&&

    DOES NOT -> %%%%%%%%

    ######## -> ########

    #


    转载请注明:EXP 技术分享博客 » POJ2525 – Text Formalization – 测试数据

    喜欢 (0) 分享 (0)
    发表我的评论
    取消评论

    表情

    Hi,您需要填写昵称和邮箱!

    • 昵称 (必填)
    • 邮箱 (必填)
    • 网址