标签:mit 游戏 输入 source img 包含 input ace amp
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 4680 Accepted Submission(s): 3549
1 #include<bits/stdc++.h> 2 using namespace std; 3 int main(){ 4 int t,n,m,i,j,k; 5 while(cin>>n&&n){ 6 int a,ans=0; 7 for(i=1;i<=n;++i){ 8 cin>>a; 9 ans^=a; 10 } 11 ans==0?puts("Grass Win!"):puts("Rabbit Win!"); 12 } 13 }
标签:mit 游戏 输入 source img 包含 input ace amp
原文地址:https://www.cnblogs.com/zzqc/p/9350273.html