結果

問題 No.3821 Powers of 17
コンテスト
ユーザー 👑 p-adic
提出日時 2026-11-24 11:13:08
言語 cLay
(20250308-1 + boost 1.92.0 + ACL)
コンパイル:
clayc _filename_
実行:
./a.out
結果
CE  
実行時間 -
コード長 40 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,980 ms
コンパイル使用メモリ 186,824 KB
最終ジャッジ日時 2026-11-24 11:13:12
合計ジャッジ時間 3,871 ms
ジャッジサーバーID
(参考情報)
judge6_0 / judge4_0
このコードへのチャレンジ
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。

コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:240:42: error: 'k' was not declared in this scope
  240 |   remove_reference<decltype(N==(pow_L(17,k)))>::type bkxOPzPX;
      |                                          ^
main.cpp:240:46: error: template argument 1 is invalid
  240 |   remove_reference<decltype(N==(pow_L(17,k)))>::type bkxOPzPX;
      |                                              ^
main.cpp:240:54: error: expected initializer before 'bkxOPzPX'
  240 |   remove_reference<decltype(N==(pow_L(17,k)))>::type bkxOPzPX;
      |                                                      ^~~~~~~~
main.cpp:243:5: error: 'bkxOPzPX' was not declared in this scope
  243 |     bkxOPzPX = 0;
      |     ^~~~~~~~
main.cpp:248:9: error: 'bkxOPzPX' was not declared in this scope
  248 |         bkxOPzPX = N==(pow_L(17,k));
      |         ^~~~~~~~
main.cpp:252:7: error: 'bkxOPzPX' was not declared in this scope
  252 |       bkxOPzPX |= N==(pow_L(17,k));
      |       ^~~~~~~~
main.cpp:255:7: error: 'bkxOPzPX' was not declared in this scope
  255 |       bkxOPzPX = 0;
      |       ^~~~~~~~
main.cpp:258:9: error: 'bkxOPzPX' was not declared in this scope
  258 |   wt_L((bkxOPzPX)?"Yes":"No");
      |         ^~~~~~~~

ソースコード

diff #
raw source code

ll@N;wt(OR[i,0,7](N==17**k)?"Yes":"No");
0