結果
| 問題 |
No.2081 Make a Test Case of GCD Subset
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2023-06-11 20:06:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 169 bytes |
| コンパイル時間 | 387 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 140,800 KB |
| 最終ジャッジ日時 | 2025-01-03 04:10:26 |
| 合計ジャッジ時間 | 57,205 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | AC * 2 WA * 9 TLE * 16 |
ソースコード
R,Q=range,print P=998244353 N=10**5 M=int(input()) p=[pow(2,i,P)-1for i in R(N)] for n in R(1,N): for m in R(N-n): if (p[n]+p[m])%P==M:Q(n+m),Q(*[2]*n,*[3]*m),exit(0)