結果
| 問題 |
No.2318 Phys Bone Maker
|
| コンテスト | |
| ユーザー |
tails
|
| 提出日時 | 2023-05-26 22:25:28 |
| 言語 | cLay (20241019-1) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 244 bytes |
| コンパイル時間 | 7,260 ms |
| コンパイル使用メモリ | 176,988 KB |
| 最終ジャッジ日時 | 2024-12-25 08:13:23 |
| 合計ジャッジ時間 | 8,073 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:955:5: error: ‘typeof’ was not declared in this scope
955 | typeof(s)t;
| ^~~~~~
main.cpp:961:11: error: ‘t’ was not declared in this scope
961 | t[LCM_L(i.first, j)]+=i.second;
| ^
main.cpp:965:7: error: ‘t’ was not declared in this scope
965 | s=t;
| ^
ソースコード
#define MD 998244353
ll@n,d[1d4],o=Divisor(n,d);
Mint z;
map<ll,Mint>s;
s[1]=1;
while(!s.empty()){
typeof(s)t;
for(auto i:s){
rep[d](j,o){
if(i.first%j){
t[lcm(i.first,j)]+=i.second;
}
}
}
s=t;
z+=s[n];
s.erase(n);
}
wt(z);
tails