6 条题解
-
-3
#include<bits/stdc++.h> using namespace std; int main(){ char n,e,E,S,s,W,w,N; cin>>n; if(n=='e' or n=='E'){ cout<<"East"; }else if(n=='S' or n=='s'){ cout<<"South"; }else if(n=='W' or n=='w'){ cout<<"West"; }else if(n=='N' or n=='n') cout<<"North"; else cout<<"Wrong"; return 0; }//***输入看成5了
信息
- ID
- 606
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 3
- 标签
- 递交数
- 42
- 已通过
- 24
- 上传者