Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
159467 左锶焜 二进制数问题 C++ Runtime Error 3 MS 328 KB 188 2026-08-31 22:03:48

Tests(0/1):


Code:

#include<iostream> #include<cstring> using namespace std; int main(){ string s="12345"; s.erase(9,3);//删除下标为9的3个元素 cout<<s<<endl; return 0; }


Run Info:

terminate called after throwing an instance of '