結果
問題 | No.8023 素数判定するだけ |
ユーザー |
![]() |
提出日時 | 2017-03-31 22:44:25 |
言語 | Java (openjdk 23) |
結果 |
WA
|
実行時間 | - |
コード長 | 263 bytes |
コンパイル時間 | 3,086 ms |
コンパイル使用メモリ | 74,592 KB |
実行使用メモリ | 56,424 KB |
最終ジャッジ日時 | 2024-07-07 05:01:00 |
合計ジャッジ時間 | 9,697 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 25 |
ソースコード
import java.math.BigInteger; import java.util.Scanner; public class yuki { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println(sc.nextBigInteger().isProbablePrime(BigInteger.TEN.intValue()) ? "YES" : "NO"); } }