- 月名排序
123
- 2025-3-29 11:01:44 @
#include<bits/stdc++.h>
using namespace std;
string s[15]={"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"};
string ss[15]={"April", "August", "December", "February", "January", "July", "June", "March", "May", "November", "October", "September"};
int main(){
string a;
cin>>a;
for(int i=0;i<12;i++){
if(ss[i]==a){
cout<<s[i];
}
}
}
0 comments
No comments so far...
Information
- ID
- 2710
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 10
- Tags
- # Submissions
- 2
- Accepted
- 1
- Uploaded By