Skip to content

Instantly share code, notes, and snippets.

View CrispyCrack689's full-sized avatar

Rikuto Nishiyama CrispyCrack689

View GitHub Profile
#include <iostream>
#include <vector>
#include <chrono>
#include <thread>
void CalcRand(std::vector<double>& data, size_t start, size_t end) {
for (size_t i = start; i < end; i++) {
data[i] = (rand() % 200 + 200.) / 2;
}
}
#include <iostream>
#include <vector>
#include <string>
class Customer {
private:
static int m_LeftCustomers;
int m_TotalSum;
public:
#include <iostream>
#include <vector>
#include <string>
#include <sstream>
class Supercar {
protected:
int fuel;
int length;
int total;