fork download
  1. #include <iostream>
  2. auto const QUINE = R"***(
  3.  
  4. auto const BEFORE_QUINE =
  5. "#include <iostream>\n\n"
  6. "auto const QUINE = R\"***(";
  7. auto const AFTER_QUINE = ")***\";";
  8.  
  9. int main()
  10. {
  11. std::cout << BEFORE_QUINE << QUINE << AFTER_QUINE << QUINE;
  12. }
  13. )***";
  14.  
  15. auto const BEFORE_QUINE =
  16. "#include <iostream>\n\n"
  17. "auto const QUINE = R\"***(";
  18. auto const AFTER_QUINE = ")***\";";
  19.  
  20. int main()
  21. {
  22. std::cout << BEFORE_QUINE << QUINE << AFTER_QUINE << QUINE;
  23. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
#include <iostream>

auto const QUINE = R"***(

auto const BEFORE_QUINE =
"#include <iostream>\n\n"
"auto const QUINE = R\"***(";
auto const AFTER_QUINE = ")***\";";

int main()
{
std::cout << BEFORE_QUINE << QUINE << AFTER_QUINE << QUINE;
}
)***";

auto const BEFORE_QUINE =
"#include <iostream>\n\n"
"auto const QUINE = R\"***(";
auto const AFTER_QUINE = ")***\";";

int main()
{
std::cout << BEFORE_QUINE << QUINE << AFTER_QUINE << QUINE;
}