結果
問題 |
No.8030 ミラー・ラビン素数判定法のテスト
|
ユーザー |
![]() |
提出日時 | 2018-12-20 22:14:29 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 305 bytes |
コンパイル時間 | 158 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 21,376 KB |
最終ジャッジ日時 | 2024-11-18 16:35:08 |
合計ジャッジ時間 | 67,177 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 TLE * 6 |
ソースコード
n = int(input()) for i in range(n): x = int(input()) if x == 1 : print(x,0) continue if x == 2 : print(x,1) continue for j in range(2,x//2 + 1): if x % j == 0 : print(x,0) break if j == x // 2: print(x,1)