diff --git a/jin ye/robot.cpp b/jin ye/robot.cpp new file mode 100644 index 0000000..335838e --- /dev/null +++ b/jin ye/robot.cpp @@ -0,0 +1,49 @@ +#include +using namespace std; + +int main() + +{ + double t=500; + for(int x=1;x<=9;x++) + for(int y=1;y<=9;y++) + for(int z=1;z<=9;z++) + { + + double v1=3*z-0.5*(2+x+z+0.5*y); + + double v2=3*z-0.5*(2+x+z+0.5*y+2*x); + + if(v2<=0) + cout<<"Testing robot:"<3*y) + cout<<"Testing robot:"<