結果

問題 No.8030 ミラー・ラビン素数判定法のテスト
ユーザー harurun
提出日時 2022-03-29 16:45:34
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 226 bytes
コンパイル時間 778 ms
コンパイル使用メモリ 68,832 KB
最終ジャッジ日時 2025-01-28 13:14:02
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <atcoder/internal_math>
#include <iostream>
using namespace std;
using namespace atcoder::internal;

int main(){
	int n;
	cin>>n;
	while(n--){
		long long x;
		cin>>x;
		cout<<x<<" "<<is_prime_constexpr(x)<<endl;
	}
}
0