Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
106105 | 冯俊淞 | 二进制数问题 | C++ | Runtime Error | 1 MS | 332 KB | 188 | 2025-01-15 13:37:14 |
#include<iostream> #include<cstring> using namespace std; int main(){ string s="12345"; s.erase(9,3);//删除下标为9的3个元素 cout<<s<<endl; return 0; }
terminate called after throwing an instance of '