結果

問題 No.1396 Giri
ユーザー Subaru314
提出日時 2021-02-14 22:17:44
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 263 bytes
コンパイル時間 113 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 16,128 KB
最終ジャッジ日時 2024-07-22 10:02:17
合計ジャッジ時間 3,661 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 TLE * 1
other -- * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

for i in range(1,n+1):
    l = []
    for j in range(1,i+1):
        if i % j == 0:
            l.append(j)
        else:
            pass
    if len(l) == n-1:
        ans = i % 998244353
        print(ans)
        exit()
    else:
        pass
0