fork(3) download
  1. #include <iostream>
  2. #include <vector>
  3. #include <deque>
  4. using namespace std;
  5.  
  6. int main() {
  7. cout << "The sizeof(vector<int>) is: " << sizeof(vector<int>) << "\n";
  8. cout << "The sizeof(deque<int>) is: " << sizeof(deque<int>);
  9. // your code goes here
  10. return 0;
  11. }
Success #stdin #stdout 0s 3096KB
stdin
Standard input is empty
stdout
The sizeof(vector<int>) is: 12
The sizeof(deque<int>) is: 40