6 条题解

  • -2
    @ 2023-6-10 9:21:37

    #include<bits/stdc++.h> using namespace std; int main(){ char E,e,N,n,S,s,W,w; cin>>n; if(n=='E' or n=='e') { cout<<"East"; } else if(n=='W' or n=='w') { cout<<"West"; } else if(n=='S' or n=='s') { cout<<"South"; } else if(n=='N' or n=='n') { cout<<"North"; } else { cout<<"Wrong"; } return 0; }~~~~

    信息

    ID
    606
    时间
    1000ms
    内存
    256MiB
    难度
    3
    标签
    递交数
    42
    已通过
    24
    上传者