結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
6,548 KB
testcase_01 AC 18 ms
8,448 KB
testcase_02 AC 18 ms
8,448 KB
testcase_03 AC 18 ms
8,448 KB
testcase_04 AC 18 ms
8,448 KB
testcase_05 AC 18 ms
8,448 KB
testcase_06 AC 18 ms
8,448 KB
testcase_07 AC 18 ms
8,448 KB
testcase_08 AC 18 ms
8,448 KB
testcase_09 AC 18 ms
8,448 KB
testcase_10 AC 18 ms
8,448 KB
testcase_11 AC 18 ms
8,448 KB
testcase_12 AC 18 ms
8,448 KB
testcase_13 AC 19 ms
8,448 KB
testcase_14 AC 18 ms
8,448 KB
testcase_15 AC 18 ms
8,448 KB
testcase_16 AC 18 ms
8,448 KB
testcase_17 AC 18 ms
8,448 KB
testcase_18 AC 18 ms
8,448 KB
testcase_19 AC 18 ms
8,448 KB
testcase_20 AC 18 ms
8,448 KB
testcase_21 AC 18 ms
8,448 KB
testcase_22 AC 17 ms
8,448 KB
testcase_23 AC 18 ms
8,448 KB
testcase_24 AC 7 ms
6,676 KB
testcase_25 AC 17 ms
8,448 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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[q]-1]**2-E[N[q]-1]**2);
0