Parsing HTML knock-off for answering queries for values
It is good to see that you've avoided the use of using namespace std;.

Coding

Declare variables as close to their initial use as possible, and prefer construction of that initial value to default constructing an object then assigning the initial value.  lines and querrys can be declared when they are assigned:

auto lines = atoi(cin_buffer.c_str());
// ...
auto querrys = atoi(cin_buffer.c_str());


name can be declared where it is used.  strg_it can also be declared (in both places) as auto.  This can help the compiler improve the code by letting it know the value isn't needed after the erase call.

auto strg_it = remove_if( begin(cin_buffer), end(cin_buffer), 
                    [](unsigned char c){return c=='&lt;' || c=='&gt;';});
cin_buffer.erase(strg_it, end(cin_buffer));


Alternatively, when using the erase-remove idiom, you can put the erase and remove in one statement

    cin_buffer.erase(remove_if( begin(cin_buffer), end(cin_buffer), [](unsigned char c){return c=='&lt;' || c=='&gt;';}), end(cin_buffer));


and not need the variable at all.

You have no error checking on your inputs.  You should check for failed input, non-integer conversions from atoi, etc.  One alternative (since you have a std::string) is to use std::stoi, which will throw an exception if there is an error during conversion.

cin_buffer.at(0) will throw with an empty string, and cin_buffer.at(1) will throw an exception if the string only has one character in it.

variables[name]=cin_buffer; will replace any existing value for name if one already exists.  This may be the expected behavior.

In your final search loop, store the result of find in a variable to avoid having to look it up again.

auto it = variables.find(cin_buffer);
if (it != end(variables)) {
    std::cout &lt;&lt; it-&gt;second &lt;&lt; `\n`;
} else


You should avoid using std::endl unless absolutely necessary.  Since it flushes the output, there can be a considerable performance hit when using it.

Readability

You should put more spaces in your code, rather than jamming all those characters together.  Put spaces around binary operators

for (int lines_processed = 0; lines_processed &lt; lines; ++lines_processed) {


which also makes it clearer that lines_processed &lt; lines is an expression and not part of a possible template lines_processed&lt;lines&gt;.

The parentheses around (scope.length()) are unnecessary.

Spelling is important.  Variable names should be spelled correctly to make it easier to read and easier to search for.  querrys should be spelled queries.