#70031. 【例题 3-1】TeX中的引号 TEX Quotes

内存限制:256 MiB 时间限制:1000 ms 标准输入输出
题目类型:传统 评测方式:文本比较
上传者: admin

题目描述

UVA272

题面翻译


在 TeX 格式中,左双引号是两个 `(1键左边),为 ``;

右双引号是两个 ' (回车键左边),为 ''。输入一篇包含双引号的文章,你的任务是把它转换成 TeX 的格式。

输入格式

输出格式

样例

样例 #1

样例输入 #1

"To be or not to be," quoth the Bard, "that
is the question".
The programming contestant replied: "I must disagree.
To `C' or not to `C', that is The Question!"

样例输出 #1

``To be or not to be,'' quoth the Bard, ``that
is the question''.
The programming contestant replied: ``I must disagree.
To `C' or not to `C', that is The Question!''
编辑器加载中 …