This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import List, Sequence, TypeVar, overload | |
T = TypeVar("T") | |
@overload | |
def de_bruijn(alphabet: str, n: int) -> str: | |
... | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
struct Basest { | |
virtual void foo() { | |
return this->bar(); | |
} | |
virtual void bar() = 0; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://xr1s.me/2023/08/13/cxx-user-defined-range-adaptor/ | |
#include <fmt/core.h> | |
#include <algorithm> | |
#include <concepts> | |
#include <deque> | |
#include <forward_list> | |
#include <iterator> | |
#include <ranges> |