delete pics to save space
This commit is contained in:
17
history_source/ccf 入门篇/U3/3.2.1.cpp
Normal file
17
history_source/ccf 入门篇/U3/3.2.1.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
#include<iostream>
|
||||
#include<cmath>
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
int b,g;
|
||||
while(true)
|
||||
{
|
||||
cin>>b>>g;
|
||||
if((b+g)<10) cout<<"water"<<endl;
|
||||
else{
|
||||
if(b>g) cout<<"tree"<<endl;
|
||||
else cout<<"tea"<<endl;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user