竞赛
考级
def is_run(n): if (n %40and n%100!=0) or n %4000: return True return False year = int(input()) if is_run(year): print("yes") else: print("no")
神
zsy
判断有点难,搞清楚就行。 #include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n%1000){ if(n%4000)cout<<"yes"; else cout<<"no"; } else { if(n%40)cout<<"yes"; else cout<<"no"; } if(n0)cout<<"no"; return 0; }
橙子同学
LS_YZY
毛奕程
李伙子ia
提交答案之后,这里将显示提交结果~