HDUOJ most problems are from: http://acm.hdu.edu.cn/ other sources: luogu.org (e.g. lg1234.cpp) codeforces (e.g. cf120H.cpp)