結果

問題 No.8059 tan
ユーザー Rute
提出日時 2020-04-01 21:45:47
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 341 bytes
コンパイル時間 73 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-27 10:17:37
合計ジャッジ時間 542 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

def divide_2(n):
    for i in range(10**5):
        n = n/2
        if n > 1:
            continue
        elif n == 1:
            return 1
            break
        else:
            return 0
            break
T = int(input())
for i in range(T):
    x = int(input())
    if divide_2(x) == 1:
        print("Y")
    else:
        print("N")
0