Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
118463 毛泓博(做题专用,大号Fess) 行编辑程序 C++ 通过 100 0 MS 256 KB 229 2023-12-30 14:09:05

Tests(14/14):


#include<bits/stdc++.h> using namespace std; int t; char c,s[10000]; int main() { while((c=getchar())!='\n') { if(c=='#') t-=bool(t); else if(c=='@') t=0; else s[t++]=c; } for(int i=0;i<t;i++) cout<<s[i]; }


测评信息: