add G problem
add C problem
problem G fast fix
problem G incorrect type fix (int -> long)