0_0_38510424_14562.cpp: In function 'int main()': 0_0_38510424_14562.cpp:82:13: error: redeclaration of 'int t' int t = 3 * sqrt(n), cnt = n / t; ^ 0_0_38510424_14562.cpp:80:13: note: 'int t' previously declared here int t = sqrt(n) * 3; ^