Fix bugs

1. in judge.c ,in every turn I didn't parse the tokens =   =
2. change count of sent bytes in write()