fork download
  1. #include <iostream>
  2. #include <vector>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. vector<bool> v(3, false);
  8. cout << v.capacity() << ' ' << sizeof(v) << endl;
  9. return 0;
  10. }
Success #stdin #stdout 0s 4380KB
stdin
Standard input is empty
stdout
64 40