6 条题解
-
-3
#include<bits/stdc++.h> using namespace std; int main(){ char E,e,S,s,W,w,N,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; }
信息
- ID
- 606
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 3
- 标签
- 递交数
- 42
- 已通过
- 24
- 上传者