| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 118463 | 毛泓博(做题专用,大号Fess) | 行编辑程序 | C++ | Accepted | 100 | 0 MS | 256 KB | 229 | 2023-12-30 14:09:05 |
#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]; }