0_0_34384273_19568.cpp: In function 'double Max(double, double, double)':
0_0_34384273_19568.cpp:17:23: error: 'max' was not declared in this scope
return max(max(a,b),c);
^
0_0_34384273_19568.cpp:17:26: error: 'max' was not declared in this scope
return max(max(a,b),c);
^
0_0_34384273_19568.cpp:17:26: error: redeclaration of '<typeprefixerror>max'
0_0_34384273_19568.cpp:17:23: note: previous declaration '<typeprefixerror>max'
return max(max(a,b),c);
^
0_0_34384273_19568.cpp: In function 'double Min(double, double, double)':
0_0_34384273_19568.cpp:21:23: error: 'min' was not declared in this scope
return min(min(a,b),c);
^
0_0_34384273_19568.cpp:21:26: error: 'min' was not declared in this scope
return min(min(a,b),c);
^
0_0_34384273_19568.cpp:21:26: error: redeclaration of '<typeprefixerror>min'
0_0_34384273_19568.cpp:21:23: note: previous declaration '<typeprefixerror>min'
return min(min(a,b),c);
^
0_0_34384273_19568.cpp: In function 'int main()':
0_0_34384273_19568.cpp:27:25: error: 'scanf' was not declared in this scope
while(scanf("%lf",&n)!=EOF)
^
0_0_34384273_19568.cpp:27:28: error: 'EOF' was not declared in this scope
while(scanf("%lf",&n)!=EOF)
^
0_0_34384273_19568.cpp:57:40: error: 'printf' was not declared in this scope
printf("%.3lf\n",100.0*ans/maxn);
^
|