#include<bits/stdc++.h>
using namespace std;
int main(){
int year;
while(cin>>year)
if(year%4==0&&year%100!=0||year%400==0) cout<<"閏年"<<endl;
else cout<<"平年"<<endl;
return 0;
}
更改一下
include<iostream>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b;
c=a+b
cout<<c<<endl;
}
更改一下
include
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b;
c=a+b
cout<
}
再更改一下
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b;
c=a+b;
cout<<c<<endl;
}
#include
using namespace std;
int main(){
int year;
while(cin>>year)
if(year%4==0&&year%100!=0||year%400==0) cout<<"閏年"< else cout<<"平年"< return 0;
}
再更改一下
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b;
c=a+b;
cout<<c<<endl;
}