結果
問題 | No.689 E869120 and Constructing Array 3 |
ユーザー |
![]() |
提出日時 | 2018-05-18 23:36:51 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 466 bytes |
コンパイル時間 | 119 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-28 14:02:15 |
合計ジャッジ時間 | 4,231 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 9 RE * 4 |
ソースコード
#!python # -*- coding: utf-8 -*- def main(): K = int(input()) T = [] ONE = [] for n in range(11, 1000000): for i in T: if n % i == 0: break else: T.append(n) if n % 10 == 1: ONE.append(n - 1) if len(ONE) == 100: print(*ONE, end='') break if K > 9730: 1/0 if __name__ == '__main__': main()