結果

問題 No.8029 素因数
ユーザー ei1333333
提出日時 2017-04-01 00:10:43
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 277 bytes
コンパイル時間 177 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-07-07 13:42:47
合計ジャッジ時間 2,441 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

def largest_prime_factor(N):
    for i in range(2,1000):
        #print(i)
        if N%i == 0:
            return N/i
    return N
  

M = int(input())
T = 13090205643631553649901988478632101527080421043419719290



if T % M % 2 == 0:
  print("even")
else:
  print("odd")
  
0