fork download
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. int main()
  5. {
  6. const std::vector<unsigned int> v{ 1, 10, 13 };
  7. for (const unsigned int e : v)
  8. {
  9. std::cout << "Id: " << e << std::endl;
  10. }
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
Id: 1
Id: 10
Id: 13