fixed overflow for gcc in project1 (long long)