foo.c:13:1: error: unknown type name 'arr'
foo.c: In function 'calcu':
foo.c:19:11: error: request for member 'fen' in something not a structure or union
foo.c:19:26: error: request for member 'lunwen' in something not a structure or union
foo.c:20:11: error: request for member 'fen' in something not a structure or union
foo.c:20:26: error: request for member 'ban' in something not a structure or union
foo.c:21:11: error: request for member 'fen' in something not a structure or union
foo.c:22:11: error: request for member 'fen' in something not a structure or union
foo.c:22:25: error: request for member 'xibu' in something not a structure or union
foo.c:23:11: error: request for member 'ban' in something not a structure or union
foo.c:23:25: error: request for member 'ganbu' in something not a structure or union
foo.c:24:6: error: request for member 'total' in something not a structure or union
foo.c: In function 'main':
foo.c:41:33: error: request for member 'name' in something not a structure or union
foo.c:41:44: error: request for member 'fen' in something not a structure or union
foo.c:41:54: error: request for member 'ban' in something not a structure or union
foo.c:41:64: error: request for member 'ganbu' in something not a structure or union
foo.c:41:76: error: request for member 'xibu' in something not a structure or union
foo.c:41:87: error: request for member 'lunwen' in something not a structure or union
foo.c:46:11: error: request for member 'total' in something not a structure or union
foo.c:46:22: error: request for member 'total' in something not a structure or union
foo.c:47:12: error: request for member 'total' in something not a structure or union
foo.c:49:20: error: request for member 'name' in something not a structure or union
foo.c:50:23: error: request for member 'total' in something not a structure or union
foo.c:54:1: warning: control reaches end of non-void function [-Wreturn-type]