What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-03-15 06:55:06
segment tree complexity
// C++ program to show segment tree operations like construction, query // and update #include <bits/stdc++.h> using namespace std; // A utility function to get the middle index from corner indexes. int getMid(int s, int e) { return s + (e -s)... Add solution -
Python 2022-01-31 05:15:37
python wikipedia
import wikipediaapi wiki = wikipediaapi.Wikipedia("en") page = wiki.page("Python (programming language)") print(page.summary) # Python is an interpreted, high-level and general-purpose programming language. Python's design philosophy... Add solution -
C# 2022-01-22 23:40:55
unittest servicector automapper
public TestsCtor() { _fixture = new Fixture().Customize(new AutoMoqCustomization()); var converterLogger = _fixture.Freeze<Mock<ILogger<MyTypeConverter>>>(); var automapperServiceCtor = _fixture.Freeze<Mock<Func<Type... Add solution -
Html 2021-11-09 11:49:31
parse html with regex
You can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consu... Add solution