0_0_20787628_10721.cpp: In function 'int main()': 0_0_20787628_10721.cpp:17:26: error: expected primary-expression before '==' token if(((n*(n-1))/2)*w-all)==0) ^