Test2
Posted ac-evil
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Test2相关的知识,希望对你有一定的参考价值。
#include <bits/stdc++.h>
using namespace std;
const int maxl = 1e7 + 5;
char buf[maxl];
int main()
freopen("try.in", "r", stdin);
freopen("try.out", "w", stdout);
while (scanf("%s", &buf) != EOF)
int len = strlen(buf);
printf("%s", buf);
for (register int i = 0; i < len; i++)
printf("%c", buf[i]);
if (buf[i] == ';') printf("\n");
return 0;
以上是关于Test2的主要内容,如果未能解决你的问题,请参考以下文章