一道很水很水的题
[code][/cod#include<iostream>using namespace std;
int main(){
int y;
cin>>y;
if((y/400==0)||(y/4==0&&y/100!=0))
cout<<"1";
else
cout<<"0";
return 0;}e]
不知道为什么不管输入什么年份都输出0.。。。


求大佬解答


2021-01-30 12:40
2021-01-30 12:41
2021-01-31 09:52