結果

問題 No.2600 Avator Height
ユーザー 👑 p-adicp-adic
提出日時 2024-01-12 21:26:02
言語 cLay
(20240104-1)
結果
RE  
実行時間 -
コード長 165 bytes
コンパイル時間 3,745 ms
コンパイル使用メモリ 176,988 KB
実行使用メモリ 8,448 KB
最終ジャッジ日時 2024-01-12 21:26:09
合計ジャッジ時間 6,365 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 5 ms
6,676 KB
testcase_25 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
In constructor ‘Mint::Mint()’,
    inlined from ‘int main()’ at main.cpp:481:17:
main.cpp:14:8: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’ specified bound 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   14 |     val=0;
      |     ~~~^~
In constructor ‘Mint::Mint()’,
    inlined from ‘int main()’ at main.cpp:482:17:
main.cpp:14:8: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’ specified bound 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   14 |     val=0;
      |     ~~~^~

ソースコード

diff #

#define MD 998244353
ll@Q,@N[Q],x=max[i,0,Q](N[i]);Mint R[x]={1,1},E[x]={1,3};rep(i,2,x)R[i]=R[i-1]+R[i-2],E[i]=E[i-1]+E[i-2];rep(q,Q)wt(5R[N[i]-1]**2-E[N[i]-1]**2);
0