#include <bits/stdc++.h>
using namespace std;
const long long maxn=2e5+10;
queue<char>q;
inline void print(int x)
{
if (x < 0) putchar('-'), x = -x;
if (x > 9) print(x / 10);
putchar(x % 10 + '0');
}
int main()
{
char ch;
while(scanf("%c",&ch)!=EOF)
{
q.push(ch);
}
putchar('1');
int pr=2;
while(!q.empty())
{
putchar(q.front());
if(q.front()=='\n')print(pr++);
q.pop();
}
}
样例都没问题,交上去爆零了,求助orz