Help me in solving ODDPAIRS problem (Hidden test case failed)

My issue

Why am i unable to pass the test cases there and it is showing hiddentes cases are failed

My code

'''t = int(input())
for i in range(t):
    n = int(input())
    s = 0
    d = 0
    for i in range(1,n+1):
        for j in range(1,n+1):
            if (i+j)%2==1:
                s+=1
    print(s)
    
    Time LImit Exceeded Condition
'''
import math as m
t = int(input())
for i in range(t):
    n = int(input())
    print(m.floor(n*(n/2)))

Learning course: Roadmap to 3*
Problem Link: https://www.codechef.com/learn/course/klu-roadmap-3star/KLURMP300A/problems/ODDPAIRS