fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. #define container_of(ptr, type, field_name) ( \
  5. (type *) ((char *) (ptr) - offsetof(type, field_name)))
  6.  
  7. int main() {
  8. // your code goes here
  9. return 0;
  10. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty