#2149: 請幫看錯在哪..


z110x (順仔)


#include<iostream>
using namespace std;
int main(){
  int x;
  while(cin>>x){
  if(x%4!=0)
            cout<<"平年";
  else{
      if(x%400==0)
                  cout<<"閏年";
      else if(x%100!=0)
                       cout<<"閏年";
      else
          cout<<"平年";
 }
 
}
}
#2150: Re:請幫看錯在哪..


z110x (順仔)


....沒有換行的錯誤....