#1395: a025


2158319-6@g.puiching.edu.mo (P6A37葉穎臻)

School : No School
ID : 2935
IP address : [192.168.120.33]
Last Login :
2024-10-31 10:03:39
a025. 文文的求婚--續集 (n 行版) | From: [192.168.120.33] | Post Date : 2024-02-05 15:44

#include<iostream>
using namespace std;
int main(void)
{
  int n;
  while(cin>>n){
    int y[n];
    for(int i=0; i<n; ++i){
      cin>>y[i];
    }
    for(int i=0; i<n; ++i){
      if(y[i]%4==0 && y[i]%100!=0 || y[i]%400==0){
        cout<<"a leap year"<<endl;
      }
      else cout<<"a normal year"<<endl;
    }
  }
  return 0;
}
 
 
#1409: Re:a025


1652371-7@g.puiching.edu.mo (P6A20張子睿)

School : No School
ID : 2932
IP address : [192.168.120.33]
Last Login :
2024-11-01 15:44:54
a025. 文文的求婚--續集 (n 行版) | From: [192.168.120.33] | Post Date : 2024-03-01 18:24

#include
using namespace std;
int main(void)
{
  int n;
  while(cin>>n){
    int y[n];
    for(int i=0; i<n; ++i){
      cin>>y[i];
    }
    for(int i=0; i<n; ++i){
      if(y[i]%4==0 && y[i]%100!=0 || y[i]%400==0){
        cout<<"a leap year"<<endl;
      }
      else cout<<"a normal year"<<endl;
    }
  }
  return 0;
}
 


don't sand the ans.!!!

it is very dangerous!

 
#1410: Re:a025


2158319-6@g.puiching.edu.mo (P6A37葉穎臻)

School : No School
ID : 2935
IP address : [192.168.120.33]
Last Login :
2024-10-31 10:03:39
a025. 文文的求婚--續集 (n 行版) | From: [192.168.120.33] | Post Date : 2024-03-02 10:42

 
rex is so bad, he use my account to use my replit account and copy the ai ans to zero 1 and paste it

 



 
ZeroJudge Forum