fork download
  1. #include <iostream>
  2. #include <vector>
  3.  
  4. #define foreach(NEKOTOROE_DERMO) for(NEKOTOROE_DERMO)
  5. #define in :
  6.  
  7. int main() {
  8. std::vector<int> collection = {1, 2, 3};
  9. foreach(auto el in collection)
  10. std::cout << el;
  11. return 0;
  12. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
123