How do we input 2 test cases with the constraints given in any program?
for ex: Given birthday year N of your friend, can you tell her if that is leap year or not?
Input format
The first line constraints an integer T denoting the number of test cases.
Each test case contains one integer N
.Output format
For each test case on a new line, print Yes if the given year is a leap year else print No.
Constraints
1<=T<=10
1<=N<=2500
Answers
Answer:
<!DOCTYPE html>
<html>
<head>
<style>
html, body{
height: 100%;
font-weight: 800;
}
body{
background: #999;
font-family: Arial;
}
svg {
display: block;
font: 10.5em 'MrAustiN';
width: 380px;
height: 100px;
margin: 0 auto;
}
.text-copy {
fill: none;
stroke: #fff;
stroke-dasharray: 6% 29%;
stroke-width: 5px;
stroke-dashoffset: 0%;
animation: stroke-offset 5.5s infinite linear;
}
.text-copy:nth-child(1){
stroke: #4D163D;
animation-delay: -1;
}
.text-copy:nth-child(2){
stroke: #840037;
animation-delay: -2s;
}
.text-copy:nth-child(3){
stroke: #BD0034;
animation-delay: -3s;
}
.text-copy:nth-child(4){
stroke: #BD0034;
animation-delay: -4s;
}
.text-copy:nth-child(5){
stroke: #FDB731;
animation-delay: -5s;
}
@keyframes stroke-offset{
100% {stroke-dashoffset: -35%;}
}
</style>
</head>
<body>
<svg viewBox="0 0 960 300">
<symbol id="s-text">
<text text-anchor="middle" x="50%" y="80%">welcome</text>
</symbol>
<g class = "g-ants">
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>
<use xlink:href="#s-text" class="text-copy"></use>
</g>
</svg>
</body>
</html>