0_0_39020919_6862.cpp: In function 'void solve(int)': 0_0_39020919_6862.cpp:4:23: error: 'n' was not declared in this scope 4 | std::cout << (1 + n) * n / 2 << std::endl << std::endl; | ^