Run ID:82966

提交时间:2024-07-13 16:52:45

#include <iostream> using namespace std; int main(){ int n; cin>>n; switch(n){ case 4: case 6: case 9: case 11: cout<<"30"; break; case 2: cout<<"29"; break; default: cout<<"31"; break; } return 0; }