結果

問題 No.1068 #いろいろな色 / Red and Blue and more various colors (Hard)
ユーザー FF256grhyFF256grhy
提出日時 2022-01-29 13:39:13
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 160 bytes
コンパイル時間 7,031 ms
コンパイル使用メモリ 266,996 KB
実行使用メモリ 32,120 KB
最終ジャッジ日時 2023-08-30 11:27:13
合計ジャッジ時間 28,211 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 404 ms
24,996 KB
testcase_01 AC 404 ms
24,908 KB
testcase_02 AC 404 ms
24,924 KB
testcase_03 AC 409 ms
25,368 KB
testcase_04 AC 407 ms
25,208 KB
testcase_05 AC 407 ms
25,260 KB
testcase_06 AC 406 ms
25,192 KB
testcase_07 AC 406 ms
25,204 KB
testcase_08 AC 409 ms
25,536 KB
testcase_09 AC 407 ms
25,276 KB
testcase_10 AC 405 ms
25,040 KB
testcase_11 AC 407 ms
25,052 KB
testcase_12 AC 407 ms
25,104 KB
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 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 AC 672 ms
31,856 KB
testcase_30 AC 674 ms
31,908 KB
testcase_31 AC 404 ms
25,088 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:108:12: warning: narrowing conversion of ‘(a - 1)’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
     v[i]={a-1,1};
           ~^~
main.cpp:108:12: warning: narrowing conversion of ‘(a - 1)’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]

ソースコード

diff #

#include<atcoder/all>
{ll@n,@q,a;VVI v(4d5,{1});rep(i,n)rd(a),v[i]={a-1,1};rep(18)rep(i,2d5)v[i]=atcoder::convolution<>(v[2i],v[2i+1]);rep(q)rd(a),wt(v[0][a]);}
0