已解决 孔巳辰 新手光能 题目链接: 酷町堂:上课了 #include <iostream> using namespace std; int main(){ int a; cin>>a; if(a=1){ cout<<"swim"; } if(a=3){ cout<<"program"; } if(a=5){ cout<<"read"; } if(a=6){ cout<<"math"; }else{ cout<<"rest"; } }