fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. typedef struct {
  5. int a, b;
  6. string str;
  7. } myType;
  8.  
  9. int main() {
  10. cout << sizeof(myType);
  11. // your code goes here
  12. return 0;
  13. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
12