0_0_37017058_20653.cpp: In function 'int main()': 0_0_37017058_20653.cpp:7:9: error: 'm' was not declared in this scope n = m*(n+1)/2; ^