竞赛
考级
#include<iostream> using namespace std; int main(){ int n; cin>>n; n+=2; if(n%3) cout<<"Come again next time."; else cout<<"I'm lucky."; return 0; }
刁文杰
众所周知现在公交车没有自动驾驶的 所以应该把n+2,因为我也算,驾驶员也算。 code:
一只姜(AAAAAA级遗址)
#include<iostream> using namespace std; int main(){ int n; cin >> n; if (n%3==1) cout << "I'm lucky." << endl; else cout << "Come again next time." << endl; return 0; }
沈思邈
#include<iostream> using namespace std; int main(){ int a; cin>>a; a+=2; if(a%3!=0){ cout<<"Come again next time."; }else{ cout<<"I'm lucky."; } return 0; }
许肄霄