fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6.  
  7. int a =4;
  8.  
  9. int b=4;
  10. vector<int>v;
  11. while(a>0)
  12. {
  13. v.push_back(b);
  14. a--;
  15. }
  16. cout<<v.size();
  17. return 0;
  18. }
Success #stdin #stdout 0s 4368KB
stdin
Standard input is empty
stdout
4