//#include <iostream>
//#include <iomanip>
#include <cstdio>
#include <cmath>
using namespace std;
int main() {
//ios::sync_with_stdio(false);
//FILE *f = fopen("in.txt", "r");
char c;
int begin = 0;
while((c = getchar()) != EOF) {
if(c == '"') {
if(!begin) {
printf("``");
begin = 1;
} else {
printf("''");
begin = 0;
}
} else {
printf("%c", c);
}
}
//fclose(f);
return 0;
}
UVa 272 Tex Quotes
最新推荐文章于 2022-09-05 21:47:05 发布