This documentation is automatically generated by online-judge-tools/verification-helper
#include "string/substr.hpp"#pragma once
#include "./base.hpp"
#include <string>
namespace matumoto {
string substr(const string &s, int l, int r) {
string res = "";
for (int i = l; i < r; i++) {
res += s[i];
}
return res;
}
} // namespace matumoto#line 2 "string/substr.hpp"
#line 2 "string/base.hpp"
namespace matumoto {
using namespace std;
}
#line 4 "string/substr.hpp"
#include <string>
namespace matumoto {
string substr(const string &s, int l, int r) {
string res = "";
for (int i = l; i < r; i++) {
res += s[i];
}
return res;
}
} // namespace matumoto