- Dota freezes debugging with logs - ValveSoftware/Dota-2#515
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 <iostream> | |
#include <gmpxx.h> | |
#include <chrono> | |
using namespace std; | |
int main() | |
{ | |
int n; cin>>n; | |
auto start=chrono::high_resolution_clock::now(); | |
mpz_class a=1; | |
for(int i=2; i<=n; i++) |
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
Architecture: x86_64 | |
CPU op-mode(s): 32-bit, 64-bit | |
Byte Order: Little Endian | |
CPU(s): 8 | |
On-line CPU(s) list: 0-7 | |
Thread(s) per core: 2 | |
Core(s) per socket: 4 | |
Socket(s): 1 | |
NUMA node(s): 1 | |
Vendor ID: GenuineIntel |
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 <iostream> | |
#include <vector> | |
#include <memory> | |
#include <algorithm> | |
void* operator new(std::size_t size) | |
{ | |
std::cout << "Allocating " << size << " bytes\n"; | |
return malloc(size); | |
} |
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 <fmt/core.h> | |
#include <fmt/color.h> | |
#include <chrono> | |
#include <thread> | |
void update_bar(int percent) | |
{ | |
int total = 100; | |
int done = (percent / 100.0) * total; | |
fmt::print("\r["); |
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 <iostream> | |
#include <type_traits> | |
struct tag1{}; | |
struct tag2{}; | |
enum class Tags { | |
type1, | |
type2, | |
}; |
- Visual Studio 2022
- Select Desktop development with C++
- Ninja
- Install chocolatey
- From an admin shell run
choco install ninja
git clone https://github.com/sayansil/Ecosystem -b realtime-plot