蒟蒻记忆化全WA求助、

P1464 Function

@[achjuncool](/user/604622) 那这个是在你的那基础上改的 ```cpp while(x != -1 && y != -1 && z != -1){ cout << "w(" << x << ", " << y << ", " << z << ") = "; if(x > 20) x = 21; if(y > 20) y = 21; if(z > 20) z = 21; if(x < 0) x = 0; if(y < 0) y = 0; if(z < 0) z = 0; cout << func(x, y, z) << endl; cin >> x >> y >> z; } ```
by _maojun_ @ 2022-06-19 07:31:54


上一页 |