J
J
Java Script2020-11-05 13:28:35
C++ / C#
Java Script, 2020-11-05 13:28:35

Can this code be optimized?

int main() {
    std::cout << "\tw\n\t\bwww\n\t\b\bwwwww\n\t\b\b\bwwwwwww\n\t\b\bHH\t\b\b\bHH\n\t\b\bZZZZZ" << std::endl;
    return 0;
}


This is the result
5fa3d5417248a742669276.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Adamos, 2020-11-05
@E_Melqonyan

The correct answer to the question is no.
Because for this code, any optimization will be premature.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question