0_0_16264676_13966.cpp: In function 'int main()': 0_0_16264676_13966.cpp:26:3: error: 'ans' was not declared in this scope ans = (long long)n * (n - 1) * (n - 2) * (n - 3) / 24 + n; ^