quhluh

recharge

Mar 26th, 2023
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <iostream>
  2. #include <vector>
  3. using namespace std;
  4.  
  5. int main() {
  6. vector<int> v = {1, 2, 3, 4, 5};
  7. for (int i = 0; i < v.size(); i++) {
  8. cout << v[i] * 2 << endl;
  9. }
  10. return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment