halfgcd.cpp 10 KB