結果
問題 | No.2318 Phys Bone Maker |
ユーザー | tails |
提出日時 | 2023-05-26 22:25:28 |
言語 | cLay (20240104-1) |
結果 |
CE
|
実行時間 | - |
コード長 | 244 bytes |
コンパイル時間 | 5,504 ms |
コンパイル使用メモリ | 172,880 KB |
最終ジャッジ日時 | 2023-08-26 12:26:39 |
合計ジャッジ時間 | 5,893 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge13 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:955:5: error: ‘typeof’ was not declared in this scope typeof(s)t; ^~~~~~ main.cpp:955:5: note: suggested alternative: ‘feof’ typeof(s)t; ^~~~~~ feof main.cpp:961:11: error: ‘t’ was not declared in this scope t[LCM_L(i.first, j)]+=i.second; ^ main.cpp:965:7: error: ‘t’ was not declared in this scope 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);