結果
| 問題 | No.2379 Burnside's Theorem |
| コンテスト | |
| ユーザー |
k82b
|
| 提出日時 | 2023-10-26 20:31:49 |
| 言語 | D (dmd 2.112.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 173 bytes |
| 記録 | |
| コンパイル時間 | 2,924 ms |
| コンパイル使用メモリ | 186,424 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-12 17:19:46 |
| 合計ジャッジ時間 | 4,152 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 20 |
コンパイルメッセージ
/home/linuxbrew/.linuxbrew/opt/dmd/include/dlang/dmd/core/checkedint.d(814): Warning: cannot inline function `core.checkedint.mulu!().mulu`
ulong mulu()(ulong x, uint y, ref bool overflow)
^
ソースコード
import std;
void main()
{
long N;
readf("%s\n",&N);
int cnt;
for(long i=2;i*i<=N;++i)
{
cnt+=N%i==0;
while(N%i==0)N/=i;
}
cnt+=N>1;
writeln(cnt<3?"Yes":"No");
}
k82b