Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
vf
#include <iostream> #include <string.h> int main() { //freopen("output.txt", "w", stdout); //freopen("input.txt","r",stdin); std::string s; long a,b,l; l=0; std::getline ( std::cin, s ); std::cin>> a>>b; l=b-a+1; s.erase(a-1,l); std::cout<<s; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
7
Narrowing error
Recursive Enumeration Example
ArrayList
tuple, order of members
Alloc
Pointer array
problem_name_2
Array-Based Heap Example Starter Code
SubsequenceArray
Please log in to post a comment.