diff --git a/d6/d02/file__linter_8py_source.html b/d6/d02/file__linter_8py_source.html
index 97abb25a8..c61bb24c1 100644
--- a/d6/d02/file__linter_8py_source.html
+++ b/d6/d02/file__linter_8py_source.html
@@ -128,48 +128,61 @@ document.addEventListener('DOMContentLoaded',() => { initNavTree('d6/d02/file__l
5print(
"Python {}.{}.{}".format(*sys.version_info))
6with open(
"git_diff.txt")
as in_file:
7 modified_files = sorted(in_file.read().splitlines())
- 8 print(
"{} files were modified.".format(len(modified_files)))
+ 8 print(f
"{len(modified_files)} files were modified.")
- 10 cpp_exts = tuple(
".c .c++ .cc .cpp .cu .cuh .cxx .h .h++ .hh .hpp .hxx".split())
- 11 cpp_files = [file
for file
in modified_files
if file.lower().endswith(cpp_exts)]
- 12 print(f
"{len(cpp_files)} C++ files were modified.")
-
-
-
-
-
-
-
-
- 21 "--extra-arg=-std=c++11",
-
-
-
-
-
- 27 stderr=subprocess.STDOUT,
-
-
- 30 [
"clang-format",
"-i",
"-style=file", *cpp_files],
-
-
- 33 stderr=subprocess.STDOUT,
-
- 35 upper_files = [file
for file
in cpp_files
if file != file.lower()]
-
- 37 print(f
"{len(upper_files)} files contain uppercase characters:")
- 38 print(
"\n".join(upper_files) +
"\n")
- 39 space_files = [file
for file
in cpp_files
if " " in file
or "-" in file]
-
- 41 print(f
"{len(space_files)} files contain space or dash characters:")
- 42 print(
"\n".join(space_files) +
"\n")
- 43 nodir_files = [file
for file
in cpp_files
if file.count(os.sep) != 1]
-
- 45 print(f
"{len(nodir_files)} files are not in one and only one directory:")
- 46 print(
"\n".join(nodir_files) +
"\n")
- 47 bad_files = len(upper_files + space_files + nodir_files)
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 24 cpp_files = [file
for file
in modified_files
if file.lower().endswith(cpp_exts)]
+ 25 print(f
"{len(cpp_files)} C++ files were modified.")
+
+
+
+
+
+
+
+
+ 34 "--extra-arg=-std=c++11",
+
+
+
+
+
+ 40 stderr=subprocess.STDOUT,
+
+
+ 43 [
"clang-format",
"-i",
"-style=file", *cpp_files],
+
+
+ 46 stderr=subprocess.STDOUT,
+
+ 48 upper_files = [file
for file
in cpp_files
if file != file.lower()]
+
+ 50 print(f
"{len(upper_files)} files contain uppercase characters:")
+ 51 print(
"\n".join(upper_files) +
"\n")
+ 52 space_files = [file
for file
in cpp_files
if " " in file
or "-" in file]
+
+ 54 print(f
"{len(space_files)} files contain space or dash characters:")
+ 55 print(
"\n".join(space_files) +
"\n")
+ 56 nodir_files = [file
for file
in cpp_files
if file.count(os.sep) != 1]
+
+ 58 print(f
"{len(nodir_files)} files are not in one and only one directory:")
+ 59 print(
"\n".join(nodir_files) +
"\n")
+ 60 bad_files = len(upper_files + space_files + nodir_files)
+
+
diff --git a/de/d00/classgraph_1_1is__graph__bipartite_1_1_graph.html b/de/d00/classgraph_1_1is__graph__bipartite_1_1_graph.html
index e4686c2ba..0469c181d 100644
--- a/de/d00/classgraph_1_1is__graph__bipartite_1_1_graph.html
+++ b/de/d00/classgraph_1_1is__graph__bipartite_1_1_graph.html
@@ -273,7 +273,7 @@ Private Attributes
Definition at line 106 of file is_graph_bipartite.cpp.
106 {
-
107 bool check = true;
+
108 std::queue<int> q;
109 for (
int current_edge = 0; current_edge <
n; ++current_edge) {
110 if (
side[current_edge] == -1) {
@@ -287,14 +287,15 @@ Private Attributes
118 side[neighbour] = (1 ^
side[current]);
119 q.push(neighbour);
120 } else {
-
121 check &= (
side[neighbour] !=
side[current]);
+
122 }
123 }
124 }
125 }
126 }
-
127 return check;
+
128}
+
bool check(const std::string &s, const std::unordered_set< std::string > &strSet, int pos, std::vector< int > *dp)
Function that checks if the string passed in param can be segmented from position 'pos',...