結果

問題 No.2017 Mod7 Parade
ユーザー tailstails
提出日時 2022-07-22 22:38:39
言語 cLay
(20231016-1)
結果
AC  
実行時間 8 ms / 2,000 ms
コード長 148 bytes
コンパイル時間 3,232 ms
コンパイル使用メモリ 172,332 KB
実行使用メモリ 4,404 KB
最終ジャッジ日時 2023-09-17 11:08:50
合計ジャッジ時間 4,562 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 AC 2 ms
4,376 KB
testcase_02 AC 2 ms
4,380 KB
testcase_03 AC 6 ms
4,380 KB
testcase_04 AC 5 ms
4,376 KB
testcase_05 AC 4 ms
4,380 KB
testcase_06 AC 7 ms
4,376 KB
testcase_07 AC 2 ms
4,376 KB
testcase_08 AC 4 ms
4,380 KB
testcase_09 AC 2 ms
4,376 KB
testcase_10 AC 4 ms
4,376 KB
testcase_11 AC 5 ms
4,376 KB
testcase_12 AC 6 ms
4,376 KB
testcase_13 AC 7 ms
4,380 KB
testcase_14 AC 8 ms
4,380 KB
testcase_15 AC 8 ms
4,376 KB
testcase_16 AC 7 ms
4,376 KB
testcase_17 AC 8 ms
4,404 KB
testcase_18 AC 7 ms
4,380 KB
testcase_19 AC 5 ms
4,376 KB
testcase_20 AC 2 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

Mint a[7]{1},e[];ll@k,b[]{0,1,4,6,5,2},c[]{1,3,2,6,4,5};rep(k){ll@d,@l;e[0..6]=a[0..];a[((0..6)*c[l%6]+d*b[l%6])%7]+=e[0..];}wt(sum[i,1,7](a[i]*i));
0