1
0
forked from newde/homework
Files
homework/666/01.cpp
2026-04-25 04:27:16 -04:00

23 lines
270 B
C++

#include<iostream>
using namespace std;
int main(){
int t=0;
int h=0;
while(h<=17){
t++;
h+=3;
if(h>=17)
break;
t++;
h--;
}
cout<<"需要"<<t<<"分钟"<<endl;
return 0;
}