Add alanv2 and fix bug in judge.c