結果
| 問題 | No.3485 Find 495-like Number |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2026-03-27 22:35:10 |
| 言語 | cLay (20250308-1 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 218 bytes |
| 記録 | |
| コンパイル時間 | 11,907 ms |
| コンパイル使用メモリ | 244,380 KB |
| 実行使用メモリ | 8,704 KB |
| 最終ジャッジ日時 | 2026-03-27 22:35:29 |
| 合計ジャッジ時間 | 17,697 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 WA * 5 |
ソースコード
int q[635];
Prime(4716,q);
ll@l,@r;
rep[q](p,1,635){
ll x;
REP(x,l/+(p*p),(r+1)/(p*p)){///wt(l,x,p,p*p);exit(0);
ll f[64];
if(Factor(x,f)==2&&p<f[0]<f[1]&&f[0]*f[1]==x){
wt(p*p*x);
exit(0);
}
}
}
wt(-1);
tails