This file contains hidden or 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
| # lol | |
| import numpy as np | |
| arr = np.array([ ]) | |
| x = np.lcm.reduce(arr) | |
| print(x) |
This file contains hidden or 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
| // It is 4AM and I cannot sleep, so here is this multithreaded collatz conjecture calculator | |
| // You can specifiy the number of numbers to calculate via the command line, or it defaults to 100 | |
| // This code is awfull, and there are a lot of ways to optimize it that I can think of | |
| #include <iostream> | |
| #include <vector> | |
| #include <thread> | |
| #include <mutex> | |
| #include <chrono> | |
| #include <fstream> |
This file contains hidden or 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
| // I started writing this on WSL, but I'm finishing it | |
| // on Visual Studio, cuz I want to see the native performance | |
| // Should work with gcc, but might not. | |
| // btw Opening the file in Visual Studio broke the whole formating | |
| #include <string> | |
| #include <chrono> | |
| #include <vector> | |
| #include <random> | |
| #include <utility> |
This file contains hidden or 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
| binkiklou@Windows-10-Max:~/Chirp-Dev/Munchii-Fork/Chirp/Tools/Build$ make | |
| Starting build processs | |
| In file included from ../../Source/Console/Commands.cpp:3:0: | |
| ../../Source/Console/../Parser/Parser.h:74:8: error: declaration of ‘Scope Function::Scope’ [-fpermissive] | |
| Scope Scope; | |
| ^~~~~ | |
| ../../Source/Console/../Parser/Parser.h:47:7: error: changes meaning of ‘Scope’ from ‘class Scope’ [-fpermissive] | |
| class Scope | |
| ^~~~~ | |
| ../../Source/Logger/Error.cpp: In function ‘void Log::Error::At(int, std::__cxx11::string)’: |