fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. std::cout << "hello world!\n"s;
  6.  
  7. return 0;
  8. }
Compilation error #stdin compilation error #stdout 0s 3272KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'int main()':
prog.cpp:5:15: error: unable to find string literal operator 'operator""s'
  std::cout << "hello world!\n"s;
               ^
stdout
Standard output is empty