我自己下载数据是对的啊 只有90分 跪了

P1200 [USACO1.1] 你的飞碟在这儿 Your Ride Is Here

第一个点 输入 ```cpp PAOHBJ WSNF ``` 输出 ```cpp GO ```
by Yonhen @ 2018-09-08 21:14:19


用字符串读入
by 捻红尘似水 @ 2018-09-08 21:28:55


下的数据不对
by 捻红尘似水 @ 2018-09-08 21:29:47


```cpp #include<iostream> #include<cstdio> using namespace std; string b,c; int a[7],d[7]; int main() { long long i,m=1,n=1; cin>>b; for(i=0;i<b.size();i++) { a[i]=b[i]; //cout<<"a[i]="<<a[i]<<endl; m*=a[i]-64; //cout<<"m="<<m<<endl; } cin>>c; for(i=0;i<c.size();i++) { d[i]=c[i]; //cout<<"d[i]="<<d[i]<<endl; n*=d[i]-64; //cout<<"n="<<n<<endl; } if(m%47==n%47)cout<<"GO"<<endl; else cout<<"STAY"<<endl; return 0; } ``` 附上蒟蒻的代码QwQ
by 捻红尘似水 @ 2018-09-08 21:35:16


@[Yonhen](/space/show?uid=123875) 兄弟 不能用gets() c++11取消了 因为gets出故障了
by KZ11z @ 2018-10-09 21:36:51


|