#include<stdio.h>
int main()
{
int c,q=1;
while((c=getchar())!=EOF)
{
if(c=='"')
{
printf("%s",q?"``":"''");
q=!q;
}
else
{
printf("%c",c);
}
}
return 0;
}
//边读边处理,不需完整保存字符串
TeX中的引号(Tex Quotes)
猜你喜欢
转载自blog.csdn.net/huangziguang/article/details/107747385
今日推荐
周排行