1 solutions

  • -1
    @ 2024-9-11 20:02:06
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	string n;
    	int pos,k;
    	cin>>n;
    	cin>>pos>>k;
    	n.erase(pos,k);
    	cout<<n;
    	return 0;
    }
    
    
    
    • 1

    Information

    ID
    103
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    28
    Accepted
    22
    Uploaded By