0_0_30860254_14025.cpp: In function 'int main()': 0_0_30860254_14025.cpp:51:41: error: 'maxn' was not declared in this scope printf("%.3lf\n", res * 100.0 / maxn); ^