0_0_22131636_23234.cpp: In function 'int cal(int, int)':
0_0_22131636_23234.cpp:14:42: error: 'max' was not declared in this scope
for (int j = y - 1; j >= max(1, L); j--) {
^
0_0_22131636_23234.cpp:18:21: error: 'max' was not declared in this scope
L = max(L, l);
^
0_0_22131636_23234.cpp:23:42: error: 'min' was not declared in this scope
for (int j = y + 1; j <= min(m, R); j++) {
^
0_0_22131636_23234.cpp:27:21: error: 'min' was not declared in this scope
R = min(R, r);
^
0_0_22131636_23234.cpp: In function 'int main()':
0_0_22131636_23234.cpp:37:19: error: 'scanf' was not declared in this scope
scanf("%d", &T);
^
0_0_22131636_23234.cpp:51:39: error: 'printf' was not declared in this scope
printf("%.9f\n", gg * 1.0 / ss);
^
|