0_0_30379477_6796.cpp: In function 'long long int sigma(long long int)': 0_0_30379477_6796.cpp:20:21: error: 'sum' was not declared in this scope long long ans=a[sum]; ^