阅读背景:

Tex中的引号(Uva 272)

来源:互联网 
#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;
}
#include<stdio.h>
int main()
{
	int c, q = 



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: