diff --git a/666/01.cpp b/666/01.cpp new file mode 100644 index 0000000..564cb1f --- /dev/null +++ b/666/01.cpp @@ -0,0 +1,22 @@ +#include +using namespace std; + +int main(){ + + int t=0; + int h=0; + + while(h<=17){ + t++; + h+=3; + + if(h>=17) + break; + + t++; + h--; + } + + cout<<"需要"<