Skip to content

Commit 805a7cd

Browse files
committed
deploy: b677fa4
1 parent 1edfbe9 commit 805a7cd

20 files changed

+63
-70
lines changed

en/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: b06d0fa3b467c9d9caa44e9064f5dad9
3+
config: 7f282f218f76003310253100060aa416
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

en/_sources/index.md.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![GitHub: acl-cpp-python](https://img.shields.io/badge/GitHub-acl--cpp--python-darkmagenta?logo=GitHub&logoColor=white)](https://github.com/tatyam-prime/acl-cpp-python)
44
[![PyPI: acl-cpp-python](https://img.shields.io/badge/PyPI-acl--cpp--python-006dad?logo=PyPI&logoColor=white)](https://pypi.org/project/acl-cpp-python/)
5-
[![AC Library: v1.5.1](https://img.shields.io/badge/AC%20Library-v1.5.1-seagreen)](https://github.com/atcoder/ac-library) [![License: CC0 1.0](https://img.shields.io/badge/License-CC0%201.0-darkgoldenrod)](https://creativecommons.org/publicdomain/zero/1.0/)
5+
[![AC Library: v1.6](https://img.shields.io/badge/AC%20Library-v1.6-seagreen)](https://github.com/atcoder/ac-library) [![License: CC0 1.0](https://img.shields.io/badge/License-CC0%201.0-darkgoldenrod)](https://creativecommons.org/publicdomain/zero/1.0/)
66

77
日本語 | <a href="../en/">English</a>
88

en/_sources/string.md.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,6 @@ n = len(s)
116116
sa = suffix_array(s)
117117
lcp = lcp_array(s, sa)
118118

119-
print(n * (n + 1) // 2 - sum(lcp))
119+
print(n * (n - 1) // 2 - sum(lcp))
120120
```
121121

en/_static/basic.css

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -741,14 +741,6 @@ abbr, acronym {
741741
cursor: help;
742742
}
743743

744-
.translated {
745-
background-color: rgba(207, 255, 207, 0.2)
746-
}
747-
748-
.untranslated {
749-
background-color: rgba(255, 207, 207, 0.2)
750-
}
751-
752744
/* -- code displays --------------------------------------------------------- */
753745

754746
pre {

en/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: 'v0.6.1',
2+
VERSION: 'v0.6.2',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

en/_static/searchtools.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -513,9 +513,11 @@ const Search = {
513513
// perform the search on the required terms
514514
searchTerms.forEach((word) => {
515515
const files = [];
516+
// find documents, if any, containing the query word in their text/title term indices
517+
// use Object.hasOwnProperty to avoid mismatching against prototype properties
516518
const arr = [
517-
{ files: terms[word], score: Scorer.term },
518-
{ files: titleTerms[word], score: Scorer.title },
519+
{ files: terms.hasOwnProperty(word) ? terms[word] : undefined, score: Scorer.term },
520+
{ files: titleTerms.hasOwnProperty(word) ? titleTerms[word] : undefined, score: Scorer.title },
519521
];
520522
// add support for partial matches
521523
if (word.length > 2) {
@@ -547,8 +549,9 @@ const Search = {
547549

548550
// set score for the word in each file
549551
recordFiles.forEach((file) => {
550-
if (!scoreMap.has(file)) scoreMap.set(file, {});
551-
scoreMap.get(file)[word] = record.score;
552+
if (!scoreMap.has(file)) scoreMap.set(file, new Map());
553+
const fileScores = scoreMap.get(file);
554+
fileScores.set(word, record.score);
552555
});
553556
});
554557

@@ -587,7 +590,7 @@ const Search = {
587590
break;
588591

589592
// select one (max) score for the file.
590-
const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w]));
593+
const score = Math.max(...wordList.map((w) => scoreMap.get(file).get(w)));
591594
// add result to the result list
592595
results.push([
593596
docNames[file],

en/convolution.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>acl_cpp.convolution &mdash; acl-cpp-python v0.6.1 Documentation v0.6.1 documentation</title>
9+
<title>acl_cpp.convolution &mdash; acl-cpp-python v0.6.2 Documentation v0.6.2 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
1313

1414

1515
<script src="_static/jquery.js?v=5d32c60e"></script>
1616
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="_static/documentation_options.js?v=d064d8df"></script>
17+
<script src="_static/documentation_options.js?v=e79c52b5"></script>
1818
<script src="_static/doctools.js?v=9bcbadda"></script>
1919
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2020
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -37,7 +37,7 @@
3737

3838

3939
<a href="index.html" class="icon icon-home">
40-
acl-cpp-python v0.6.1 Documentation
40+
acl-cpp-python v0.6.2 Documentation
4141
</a>
4242
<div role="search">
4343
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
@@ -78,7 +78,7 @@
7878

7979
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
8080
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
81-
<a href="index.html">acl-cpp-python v0.6.1 Documentation</a>
81+
<a href="index.html">acl-cpp-python v0.6.2 Documentation</a>
8282
</nav>
8383

8484
<div class="wy-nav-content">

en/dsu.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>acl_cpp.dsu &mdash; acl-cpp-python v0.6.1 Documentation v0.6.1 documentation</title>
9+
<title>acl_cpp.dsu &mdash; acl-cpp-python v0.6.2 Documentation v0.6.2 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
1313

1414

1515
<script src="_static/jquery.js?v=5d32c60e"></script>
1616
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="_static/documentation_options.js?v=d064d8df"></script>
17+
<script src="_static/documentation_options.js?v=e79c52b5"></script>
1818
<script src="_static/doctools.js?v=9bcbadda"></script>
1919
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2020
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -37,7 +37,7 @@
3737

3838

3939
<a href="index.html" class="icon icon-home">
40-
acl-cpp-python v0.6.1 Documentation
40+
acl-cpp-python v0.6.2 Documentation
4141
</a>
4242
<div role="search">
4343
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
@@ -77,7 +77,7 @@
7777

7878
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
7979
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
80-
<a href="index.html">acl-cpp-python v0.6.1 Documentation</a>
80+
<a href="index.html">acl-cpp-python v0.6.2 Documentation</a>
8181
</nav>
8282

8383
<div class="wy-nav-content">

en/fenwicktree.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>acl_cpp.fenwicktree &mdash; acl-cpp-python v0.6.1 Documentation v0.6.1 documentation</title>
9+
<title>acl_cpp.fenwicktree &mdash; acl-cpp-python v0.6.2 Documentation v0.6.2 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
1313

1414

1515
<script src="_static/jquery.js?v=5d32c60e"></script>
1616
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
17-
<script src="_static/documentation_options.js?v=d064d8df"></script>
17+
<script src="_static/documentation_options.js?v=e79c52b5"></script>
1818
<script src="_static/doctools.js?v=9bcbadda"></script>
1919
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2020
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -37,7 +37,7 @@
3737

3838

3939
<a href="index.html" class="icon icon-home">
40-
acl-cpp-python v0.6.1 Documentation
40+
acl-cpp-python v0.6.2 Documentation
4141
</a>
4242
<div role="search">
4343
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
@@ -74,7 +74,7 @@
7474

7575
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
7676
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
77-
<a href="index.html">acl-cpp-python v0.6.1 Documentation</a>
77+
<a href="index.html">acl-cpp-python v0.6.2 Documentation</a>
7878
</nav>
7979

8080
<div class="wy-nav-content">

en/genindex.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>Index &mdash; acl-cpp-python v0.6.1 Documentation v0.6.1 documentation</title>
8+
<title>Index &mdash; acl-cpp-python v0.6.2 Documentation v0.6.2 documentation</title>
99
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1010
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1111
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
1212

1313

1414
<script src="_static/jquery.js?v=5d32c60e"></script>
1515
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
16-
<script src="_static/documentation_options.js?v=d064d8df"></script>
16+
<script src="_static/documentation_options.js?v=e79c52b5"></script>
1717
<script src="_static/doctools.js?v=9bcbadda"></script>
1818
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
1919
<script src="_static/clipboard.min.js?v=a7894cd8"></script>
@@ -32,7 +32,7 @@
3232

3333

3434
<a href="index.html" class="icon icon-home">
35-
acl-cpp-python v0.6.1 Documentation
35+
acl-cpp-python v0.6.2 Documentation
3636
</a>
3737
<div role="search">
3838
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
@@ -60,7 +60,7 @@
6060

6161
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
6262
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
63-
<a href="index.html">acl-cpp-python v0.6.1 Documentation</a>
63+
<a href="index.html">acl-cpp-python v0.6.2 Documentation</a>
6464
</nav>
6565

6666
<div class="wy-nav-content">

0 commit comments

Comments
 (0)