結果
問題 |
No.8030 ミラー・ラビン素数判定法のテスト
|
ユーザー |
![]() |
提出日時 | 2020-09-26 09:10:28 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 287 bytes |
コンパイル時間 | 3,589 ms |
コンパイル使用メモリ | 381,024 KB |
最終ジャッジ日時 | 2025-01-14 22:01:33 |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 WA * 5 |
ソースコード
#include <bits/stdc++.h> #include <boost/multiprecision/miller_rabin.hpp> using namespace std; int main() { cin.tie(nullptr); ios_base::sync_with_stdio(false); long N, X; cin >> N; while (cin >> X) cout << X << " " << boost::multiprecision::miller_rabin_test(X, 1) << "\n"; }