fork download
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5. for(auto i : {2, 3, 5, 7, 11, 13, 17})
  6. {
  7. std::cout << i << " ";
  8. }
  9. }
  10.  
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
2 3 5 7 11 13 17