blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M โ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
969d7d98c462d0be3b24e8ebda29e956e9aae3a3 | c90a56e7d7752b041fc5eb38257c5573cef346c6 | /src-macOS/Transfer.cpp | bc53f930361f0a6c6248c72502797b972bc81eb5 | [] | no_license | random-builder/design_cadquery_ocp | a4c572a72699bad52ca5f43f30bb7c15d89072ff | 2af799a9f1b2d81fd39e519b2f73e12b34a14c0a | refs/heads/master | 2021-05-21T23:10:23.833461 | 2020-03-29T15:34:46 | 2020-03-29T15:34:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 56,779 | cpp |
// std lib related includes
#include <tuple>
// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
namespace py = pybind11;
// Standard Handle
#include <Standard_Handle.hxx>
// includes to resolve forward declarations
#include <Transfer_TransferFailure.hxx>
#include <Transfer_Bin... | [
"adam.jan.urbanczyk@gmail.com"
] | adam.jan.urbanczyk@gmail.com |
c402ffd68723be663a8743d43a981ce61569c0cb | 64386b38d0f3502677ce3f94e253fbbe62c2d18b | /ProtoLegacy/VertexReadingOrder.cpp | 97fd92d1fbb0b3439f848aa953b523258de70597 | [] | no_license | bigans01/Organic | d5b6d8bf43b56a4dd60f77d347ad8b769e9aa0ad | 9420b36f793092c2257e7eb6613d4e443a0d54fc | refs/heads/master | 2021-01-01T16:59:00.892774 | 2018-07-27T15:09:31 | 2018-07-27T15:09:31 | 97,968,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 274 | cpp | #pragma once
#include "stdafx.h"
#include <stdio.h>
#include <iostream>
#include <map>
#include <array>
#include "VertexReadingOrder.h"
void VertexReadingOrder::SetOrder()
{
std::array<char, 6> rowone = { 0,0,0,0,0,0 };
ReadOrder.insert(std::make_pair(3, rowone));
}
| [
"bigans01@gmail.com"
] | bigans01@gmail.com |
e6486a01d0bca0f0ee18c18aa421f3e5b7804339 | 68fcc15f2033d09da1550ccafeacd9d0aa48a9f0 | /lab-01-sort-in-place/includes/sort.cpp | 3273deb1414c13a708d3e4c05648818264e3ff01 | [] | no_license | NikolayValev/DataStructures | bd4029d054d957b10e4b66baadbcd4aed3956ec7 | ee5f298ba3b9e53d50961af7d820c64a8b9ba50b | refs/heads/master | 2020-08-02T01:22:42.298459 | 2019-12-06T00:29:51 | 2019-12-06T00:29:51 | 211,190,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | cpp | void sort_in_place(int &x, int &y, int &z)
{
if (x > y){
int temp =y;
y=x;
x=temp;
}
if (y > z) {
int temp =z;
z=y;
y=temp;
}
if (x > y){
int temp =y;
y=x;
x=temp;
}
} | [
"noreply@github.com"
] | noreply@github.com |
041965b5462a6fb3bd77052378642255ed7fa2eb | 04127e6a2625f692795b524683fad077d26d2f05 | /tuple/tuple.cpp | e920d78fc90e22fc657857ce7bbe8f2a37060653 | [] | no_license | Rohitimb/mycodepractice | cc5084e337436e3c859e679e3a0be7e76e6d405d | bc3de2ff0032a3bc8e6140481c945e559de3eafe | refs/heads/master | 2020-04-07T19:36:55.776151 | 2019-02-15T07:27:26 | 2019-02-15T07:27:26 | 158,655,308 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | #include<iostream>
#include<tuple>
using namespace std;
int main()
{
tuple <char,int,float> t;
t = make_tuple('a',10,4.5f);
cout << get<0>(t) << " " << get<1>(t) << " " << get<2>(t) << endl;
get<0>(t) = 'b';
get<1>(t) = 40+20;
get<2>(t) = 56.7;
cout << get<0>(t) << " " << get<1>(t) << " " << get<2>(t) << ... | [
"rohit.eceng@gmail.com"
] | rohit.eceng@gmail.com |
9d88b586e579f82719795df8d619e186bc708ae8 | 2bcbb89decab77b4567016eb66c08397cefebeff | /src/GTimer.cpp | a42511a544af2647d41dd079eb36357f035bb5bd | [
"MIT"
] | permissive | ZUP3R/GordonVita002 | 6726dc23d9e965d9915609352144d98278808512 | 197e0894e3ab9df69fa079953b553f4b84bc6f35 | refs/heads/master | 2022-04-01T01:33:59.830929 | 2020-01-23T12:09:29 | 2020-01-23T12:09:29 | 233,018,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | cpp | #include "GTimer.h"
#include <psp2/rtc.h>
GTimer::Measure::Measure(bool startnow)
{
_start = 0;
_stop = 0;
if(startnow)
start();
}
void GTimer::Measure::start()
{
_start = GTimer::GetTickCount();
}
void GTimer::Measure::reset()
{
Measure();
start();
}
void GTimer::Measure::stop()
{
... | [
"57206783+ZUP3R@users.noreply.github.com"
] | 57206783+ZUP3R@users.noreply.github.com |
7d6a11f338e7b6d67220b2d5c871be0c6068040c | aa4d25bbf4130b01050c4f87d7262cf7eb0293b1 | /C++/librpc/include/xmlrpc/serializer.h | 92bec3f111881891f9ebca5053f018df5fcf3920 | [] | no_license | viperman1271/Hue | 4c8281eeee4234b04b557758421861a7e650c911 | 94e0590eaa5159f41d6aaef72740cc120fa123b1 | refs/heads/master | 2021-01-17T12:48:52.451030 | 2016-06-29T02:47:55 | 2016-06-29T02:47:55 | 57,857,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | h | #pragma once
namespace xmlrpc
{
class serializer
{
public:
template<class T>
void serialize(const T& value);
template<class T, class... Args>
void serialize(const T& value, Args... args);
const std::vector<std::string>& get_serialized() const { return serialized; }
private:
std::vector<std::string> serialized... | [
"mfilion@mikefilion.com"
] | mfilion@mikefilion.com |
c20c8abc5fde12f4b4f7ea2a6f53da15f0e41a2c | bb59c9cb3097ddba923c45158d7d6ab44e5b9330 | /SDiIS/Lab2/Lab_2/Professor.cpp | 05437f94e226b450f5865c07dcd900db41b86ee7 | [] | no_license | pilipeikoko/Course2 | ef4025d15397e376d23ddff27b8f4e45f21b9a20 | c69976c5f3ee8a007ed592625bf4bd4826f134a1 | refs/heads/master | 2023-02-15T15:55:53.268774 | 2021-01-10T21:48:27 | 2021-01-10T21:48:27 | 327,057,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | cpp | #include "Professor.h"
using namespace scientist;
Professor::Professor(string name, int age, int salary, string degree, string subject, int year_of_service, string publication)
{
this->name = name;
this->age = age;
this->salary = salary;
this->degree = degree;
this->subject = subject;
this->year_of_service = ye... | [
"pilipeikoko@gmail.com"
] | pilipeikoko@gmail.com |
836e170d5eece6c862c3a39a9ca94244498dce6e | 57ac85ca91d0f218be2a97e41ad7f8967728e7b9 | /blazetest/src/mathtest/dmatdmatschur/DHbDHb.cpp | e15addcc1f10cc55b2c526378f65a280258b5694 | [
"BSD-3-Clause"
] | permissive | AuroraDysis/blaze | b297baa6c96b77c3d32de789e0e3af27782ced77 | d5cacf64e8059ca924eef4b4e2a74fc9446d71cb | refs/heads/master | 2021-01-01T16:49:28.921446 | 2017-07-22T23:24:26 | 2017-07-22T23:24:26 | 97,930,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,868 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatschur/DHbDHb.cpp
// \brief Source file for the DHbDHb dense matrix/dense matrix Schur product math test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
2c56270f80c8ceac5fcd89b78220f83f0684cce9 | cb3817cdbe227b1fa040012d5c78df28d19dda7c | /spray_control_2017/test_2camera/test_2camera.ino | adb66c890ebc4e19afd25e1881aff15cf3faa20a | [] | no_license | mdkhan48/AgBot_2017 | 7ebd9825a9138bf4cf3897d045964230ac1f628a | fd7bf83f1d5750977042fff1ff5dd6ce30cb0ccd | refs/heads/master | 2021-05-04T05:25:33.052096 | 2018-02-05T17:39:29 | 2018-02-05T17:39:29 | 120,338,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,347 | ino | #include <Servo.h>
int servoPin1 = 3;
Servo Servo1;
int incomingBit = 0;
void setup() {
Servo1.attach(servoPin1);
pinMode(servoPin1, OUTPUT);
Serial.begin(19200);
}
void loop() {
if (Serial.available() > 0) {
incomingBit = Serial.read();
switch (incomingBit) {
// for RHS camera (dirte... | [
"noreply@github.com"
] | noreply@github.com |
3a2408420985ba2b3b2f323c4f7e555de71dfa93 | 70668b85b4946bb23e918db1b4a68a54910d9b36 | /codeForces/663/B.cpp | 5555e507d1e0d65992b5bcc80015aff5f750a1d9 | [] | no_license | Ishaan29/fuzzy-chainsaw-algo | 397e9feddca2a25902081a9d9316923c151779f1 | b4fa1f69721f5fe53745303879f9c8ff2c1a8e79 | refs/heads/master | 2021-06-25T00:26:34.720087 | 2021-02-28T08:24:52 | 2021-02-28T08:24:52 | 201,107,127 | 3 | 0 | null | 2021-02-28T08:24:52 | 2019-08-07T18:34:25 | C++ | UTF-8 | C++ | false | false | 2,100 | cpp | /**
* Author: Ishaan Bajpai
**/
#include<bits/stdc++.h>
using namespace std;
#define gc getchar_unlocked
#define fo(i,n) for(i=0;i<n;i++)
#define Fo(i,k,n) for(i=k;k<n?i<n:i>n;k<n?i+=1:i-=1)
#define ll long long
#define si(x) scanf("%d",&x)
#define sl(x) scanf("%lld",&x)
#define ss(s) scanf("%s",s)
#define pi(x) print... | [
"bajpaiishan@yahoo.in"
] | bajpaiishan@yahoo.in |
3bcf546bd49aaba9ca2317627f1d176120e31267 | f05c3ad59ab3272c8809f6c50a3028230d794340 | /src/gen_pattern.cpp | c9b4d81c200194056bfa6b81d45763929c191b18 | [
"MIT"
] | permissive | Yaozhuwa/DVS-Calibration | 9b462cfb9220fa32a35be09e7f11ed91c891d048 | 20f05fa0c0f322ff4789c3b87f4c40f83d075f00 | refs/heads/master | 2022-12-23T03:23:02.724850 | 2020-09-29T20:24:55 | 2020-09-29T20:24:55 | 299,605,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include "PatternMaker.h"
#include <iostream>
using namespace std;
using namespace cv;
int main(){
Monitor monitor(15.6, 1920, 1080);
monitor.printInfo();
PatternMaker pmaker(monitor);
// Mat pattern = pmaker.make_acircles_pattern(7, 5, 20, 2);
Mat pattern = pmaker.make_acircles_pattern(7, 5, 20,... | [
"yaozuye@zju.edu.cn"
] | yaozuye@zju.edu.cn |
d26d0ef428a236f3e9080068e0019846329acbd2 | c2294dc7e7bc7edb1db29e2e4f70e58a0461a6b9 | /Problemset/create-sorted-array-through-instructions/create-sorted-array-through-instructions.cpp | 4330ec7c380fa869e7f18332df1ee8931cbc3646 | [
"MIT"
] | permissive | Singularity0909/LeetCode | 64fedd0794f3addcb734caae65c3d4a7fb35ed0c | d46fb1c8ed9b16339d46d5c37f69d44e5c178954 | refs/heads/master | 2021-04-04T10:11:40.365341 | 2020-11-22T17:11:36 | 2020-11-22T17:11:36 | 248,447,594 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | cpp |
// @Title: ้่ฟๆไปคๅๅปบๆๅบๆฐ็ป (Create Sorted Array through Instructions)
// @Author: Singularity0909
// @Date: 2020-11-08 11:15:15
// @Runtime: 1140 ms
// @Memory: 117.1 MB
class SegmentTree {
private:
struct node {
int l, r, v;
} tree[410000];
public:
inline int ls(int cur)
{
return cur << 1... | [
"904854724@qq.com"
] | 904854724@qq.com |
1387b8be411b44f5191890a86ca3f41e22631714 | 887b19aaff44a6578918fce2a20c40d5aff20619 | /Plugins/Wwise/Source/AudiokineticTools/Private/AkEventAssetBroker.h | cf63d2e12cb4300717db443c5e2bd39764eaa113 | [] | no_license | TheAmazingZigZag/Camp | 1931aea7bb9145784a8fb6b269f7d1c7fd878e37 | d26761c7df04c67d6e60eb250fdee1f505b1deb4 | refs/heads/master | 2023-04-15T14:22:40.466740 | 2021-04-23T20:15:45 | 2021-04-23T20:15:45 | 360,970,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | h | /********************************************************************************
The content of the files in this repository include portions of the AUDIOKINETIC
Wwise Technology released in source code form as part of the SDK package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIO... | [
"maxmen30@icloud.com"
] | maxmen30@icloud.com |
9482329dd989d5cb809cbddfab090100545b2a83 | 641b000da21d8bc523155865bba65d5af59f4869 | /TemplateMatrix.cpp | 86fb536ae30a4ff108962679d93e6336f3e8b902 | [] | no_license | Lightwing-Ng/Online-Codings | f3ada5890390e5d434d6e2815d0a24dcdb331ba3 | 56b79143eeeb0a1012cedf645a3358d12b5e16f6 | refs/heads/master | 2021-04-03T01:31:39.795860 | 2018-03-11T20:03:35 | 2018-03-11T20:03:35 | 124,793,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,016 | cpp | /*็จc่ฏญ่จไธญ็ๅฝๆฐ้ๅฝ่ฐ็จ็ฎๆณๅฎ็ฐn้ถ็ฉ้ต็nๆฌกๅน*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
//ๅๅปบ็ฉ้ต๏ผ็ฉ้ต็จไธ็ปดๆฐ็ปๅญๅจ
double *matCreate(unsigned int m, unsigned int n) {
double *p = (double *)malloc(sizeof(double) * m * n);
if (p == NULL)
printf("ๅๅปบ็ฉ้ตๅคฑ่ดฅ๏ผ\n");
return p;
}
//่พๅ
ฅ็ฉ้ตๅ
็ด
void matInput(... | [
"rodney_ng@icloud.com"
] | rodney_ng@icloud.com |
c7f660dfb1a0718d64b5fd9c193fc9c242818c0f | 6366eca7b91c795a0c3a559d34239028a4f40bd3 | /Grid/Block/Block.hpp | 74cb05c577b831fce1cd8a52e68c04a09cc056be | [
"MIT"
] | permissive | CostasPitharoulios/Arcade-RPG | 7cfb640d52f438cfead517360f0c4bfd00544830 | dc32fda844a8bd676cb50e1dd87f7c3133ac8978 | refs/heads/master | 2020-06-20T18:39:49.267527 | 2019-07-16T14:30:58 | 2019-07-16T14:30:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | hpp | #pragma once
#include "../../Living/Hero/Hero.hpp"
enum block_type { NON_ACCESSIBLE, MARKET, COMMON};
class Block{
protected:
block_type type; //mporw na to valw const?
public:
block_type get_type();
virtual void show_Market();
virtual void buy(Hero& HERO);
virtual void sell(Hero& HERO);
... | [
"noreply@github.com"
] | noreply@github.com |
e2d7384e61fd02a8a9386dcf332f5b50eb62d264 | 037d518773420f21d74079ee492827212ba6e434 | /blazetest/src/mathtest/dmatsmatschur/LDbMIa.cpp | aea9f0ba52c5803c490a3708f76c854540fc802a | [
"BSD-3-Clause"
] | permissive | chkob/forked-blaze | 8d228f3e8d1f305a9cf43ceaba9d5fcd603ecca8 | b0ce91c821608e498b3c861e956951afc55c31eb | refs/heads/master | 2021-09-05T11:52:03.715469 | 2018-01-27T02:31:51 | 2018-01-27T02:31:51 | 112,014,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,050 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatsmatschur/LDbMIa.cpp
// \brief Source file for the LDbMIa dense matrix/sparse matrix Schur product math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// Thi... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
90f57d9bada7258225e26990a5b925364562db9e | 44b99cd0efb0ecda00967f127afc8d851fa2ec78 | /src/PinholeModel.cpp | dbb2c311a6ded2cd43a852b6b6641c54422c46b6 | [] | no_license | jongsik-moon/DVL-SLAM_reimplementation | 05b2cb76d908ff742a2749e912fb5b2c1cdbc508 | 90054aa3a18b8257007a1e79a5e0276aac289dae | refs/heads/main | 2023-02-28T11:41:49.281697 | 2021-01-18T02:18:51 | 2021-01-18T02:18:51 | 307,628,285 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | cpp | //
// Created by jongsik on 20. 12. 4..
//
#include "PinholeModel.h"
PinholeModel::PinholeModel(Config& config)
:config_(config)
{
}
PinholeModel::~PinholeModel()
{
}
Eigen::Vector2f PinholeModel::PointCloudXyz2Uv(Eigen::Vector3f point){
float U = config_.cameraConfig.fx * (point(0) / point(2)) + config_.camera... | [
"jongsik.moon@nearthlab.com"
] | jongsik.moon@nearthlab.com |
bea0b85e22689c9a7dff088a96098d331eafd5ae | d4788b2db9ea43e8893bda4bfd7babb75f9e9ea1 | /RockMan2/Rock.h | d9ac61ede48fa7b6479f0b3e88dd23a18eb002f5 | [] | no_license | Bindagooner/rockman2 | 96fefe14b1a0608ee272584598183b2d127d20c7 | 16743b1b7838488e9aac1a748ebdd025f6d2425e | refs/heads/master | 2016-09-01T05:56:11.177507 | 2015-12-15T02:46:36 | 2015-12-15T02:46:36 | 45,175,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | h | ๏ปฟ#pragma once
#include "GameObject.h"
class CRock : public CStaticObject
{
public:
//-----------------------------------------------------------------------------
// Khแปi tแบกo tแบฅt cแบฃ cรกc thร nh phแบงn cแปงa 1 ฤแปi tฦฐแปฃng vแปi cรกc giรก trรญ ฤรฃ cรณ
//
// Trแบฃ vแป 0 nแบฟu lแปi hoแบทc 1 nแบฟu thร nh cรดng
//------------------------------... | [
"roobingas@gmail.com"
] | roobingas@gmail.com |
810b786bc75dc7ecb1761c2c743bedc398bc2dbf | d960fad4c2a93e9dc692ed361b5818e71f3dd2c3 | /FirstVCLApp.cpp | 2a1356649f164ae01dc5bb9685d8895c49bbf6af | [] | no_license | qiyubrother/FirstVCLApp | 658a5fa0fe3c414255df5834c43c16a83fbe7e6b | 0aefb304f2cf1e353205f96e88b1541e5019379c | refs/heads/master | 2020-07-31T22:18:46.446565 | 2019-09-25T06:57:57 | 2019-09-25T06:57:57 | 210,771,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include <tchar.h>
//---------------------------------------------------------------------------
USEFORM("UnitMain.cpp", frmMain);
//---------------------------------------------------------------------------... | [
"qiyubrother"
] | qiyubrother |
742b588a91212c3addec17110e7e7db72e5cd20d | f3e0509cbc6811b1fab82d9c585d3dcd40f9f8fd | /hw_6/manager.h | bcd1066f219997fe8f1fb180c81d0c67df0382ae | [] | no_license | AnushaKamat/ECE590 | 06a5c2684189c5a599c3d8a82996bada715fe691 | 935ca3a8d524c95bbc0b2b022b8dd0a1334dea98 | refs/heads/master | 2020-04-16T22:03:15.870763 | 2019-03-19T17:08:51 | 2019-03-19T17:08:51 | 165,951,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | h | #ifndef MANAGER_H
#define MANAGER_H
#include <vector>
#include <map>
#include <chrono>
#include <functional>
#include <tuple>
#include "elma.h"
namespace elma {
using std::string;
using std::vector;
using std::map;
using std::tuple;
using namespace std::chrono;
class Channel;
class Proc... | [
"38510945+AnushaKamat@users.noreply.github.com"
] | 38510945+AnushaKamat@users.noreply.github.com |
7d9213ac76b705c3f6db14edeade5344531bcf07 | 4ce0126375b3e686558f72ad754afe12c9d98507 | /week5/main.cpp | 88b5db8d1e5027886e97c01d4c5510652cfd84f6 | [] | no_license | SplitSky/Object-Oriented-C | 110bebe2d5a881bc050f43f716c86485dff53ed9 | 7cc2100d86a3ebeb4088e73b412fc319a3827c67 | refs/heads/main | 2023-05-03T22:26:25.897589 | 2021-05-24T23:02:02 | 2021-05-24T23:02:02 | 336,069,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,870 | cpp | // PHYS 30762 Programming in C++
// Assignment 5
// Tomasz Neska - ID: 10294857
// Matrix Determinants and inverses
#include <fstream>
#include<iostream>
#include<cmath>
#include<vector>
#include<string>
#include<array>
#include<iterator>
#include<cstring>
// Things to do
// The class:
// 1. Contain no. of rows, no. o... | [
"opop.neska60@gmail.com"
] | opop.neska60@gmail.com |
7d87fb7b02cf97dec605fbab1a14066239168700 | 52d2e0109e02f45c43a6f73a10cd967b77e3f2bf | /Code/Projects/Eldritch/src/Components/wbcompeldrope.h | 4c31409209682891654136f99f697d04b6db3988 | [
"Zlib"
] | permissive | Johnicholas/EldritchCopy | 542ac5ffee97fdcad9b1bacd12213b29174272b8 | 96b49cee8b5d4f0a72784ff19bdbec6ee0c96a30 | refs/heads/master | 2021-01-21T07:41:58.543794 | 2014-06-06T20:31:10 | 2014-06-06T20:31:10 | 20,576,842 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | h | #ifndef WBCOMPELDROPE_H
#define WBCOMPELDROPE_H
#include "wbeldritchcomponent.h"
#include "vector.h"
#include "simplestring.h"
class WBCompEldRope : public WBEldritchComponent
{
public:
WBCompEldRope();
virtual ~WBCompEldRope();
DEFINE_WBCOMP( EldRope, WBEldritchComponent );
virtual int GetTickOrder() { return... | [
"johnicholas.hines@gmail.com"
] | johnicholas.hines@gmail.com |
bceec2f4564f5caea854514df38481162b8fd575 | f9260f63f06e5a39032e408ab431fdfd64dacaa1 | /serialcom.h | 862f8d090f361a5250e390ed2ee751bd21d0952d | [] | no_license | MrAndMrswang/serialRadar | 4d6f15c19c3a77d910de8d5dc5c0ed62780a470d | 237310164be4e3cebfd4101f4cc827bd240368c4 | refs/heads/main | 2023-06-26T11:33:03.195365 | 2021-07-14T13:02:02 | 2021-07-14T13:02:02 | 384,408,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,367 | h | #ifndef SERIALCOM_H
#define SERIALCOM_H
#include <lidarpoint.h>
#include <QThread>
#include <QWidget>
#include <QtSerialPort/QSerialPort>
#include <QtSerialPort/QSerialPortInfo>
namespace Ui {
class SerialCom;
}
class SerialCom : public QWidget {
Q_OBJECT
//
class InvokeThread : public QThread {
public:
... | [
"chaowang93@163.com"
] | chaowang93@163.com |
83f4d97b6697e93d74b8dbeae6a923fb584f3b2e | ffad405edc4319ca17c73b46f69a1beaf19a7b5a | /CodeRedPracticeBot2015/src/Commands/PrintBytes.h | f90941c1031e7f7c2f3c32cf943898b774b9242d | [] | no_license | CRRobotics/Robots | 9f3177749018e0059aa084559caae74f366f77bf | 2f518d484ee5b44749ab3ae3d547ff37050bf8f2 | refs/heads/master | 2020-12-25T13:44:45.239573 | 2016-01-23T21:42:42 | 2016-01-23T21:42:42 | 3,215,092 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | h | // RobotBuilder Version: 1.5
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the b... | [
"CRRProgrammer@gmail.com"
] | CRRProgrammer@gmail.com |
5585a852ff745fcbf2371fc84ed5fd98f5ac3956 | aabf134f80d3db2f2609e562fe18d37d0469f6cc | /HZOJ440.cpp | 8c21386cf7a2eab5fb082f84898b573fa9ea9b4b | [] | no_license | panxiuxu/HaiZei_Online_Judge | 5c892500d691f11fc84372e9996807fb6e688e85 | 65faec326f44f94cd34b44b8be039af1b07a37f8 | refs/heads/master | 2020-07-06T15:06:32.909672 | 2019-09-07T12:54:24 | 2019-09-07T12:54:24 | 202,162,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include <iostream>
using namespace std;
int main() {
int n, x, cnt = 0;;
cin >> n >> x;
for (int i = 1; i <= n; i++) {
int j = i;
while (j) {
if (j % 10 == x) {
cnt++;
}
j /= 10;
}
}
cout << cnt << endl;
return 0;
}
| [
"panxiuxu@gmail.com"
] | panxiuxu@gmail.com |
0cfa2892fb0c43e1748d5a8916dd8e9b8d041a7e | 220ab14e8734e24793aef43b772f6599aad35dff | /NG/load-ng-image-details.cxx | 8765168cd176b3ad9d23acb24b2b91e639582225 | [] | no_license | suryakiran/CodeSamples | 1ab93ae76d6d473fdf72b2ba663b4a43d382fbec | f2e18e8fa7611bca25f92fbd167a6a5a97b66a55 | refs/heads/master | 2016-09-15T13:57:35.113621 | 2016-02-07T15:54:55 | 2016-02-07T15:54:55 | 828,790 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,571 | cxx | #include <iostream>
#include <fstream>
#include <vector>
#include <fstream>
#include <sstream>
#include <boost/program_options.hpp>
#include <boost/algorithm/string_regex.hpp>
#include <boost/foreach.hpp>
#include "ng-details.hpp"
using namespace boost::algorithm ;
using namespace std ;
namespace po = boost::progr... | [
"suryagullapalli@a1ae422f-012c-4595-b219-9b566b4fa53f"
] | suryagullapalli@a1ae422f-012c-4595-b219-9b566b4fa53f |
f581151849a31ebb8d4fa067696aaf1e56dc8d44 | 17f85d33f388ea0830715e703269b5b81923d864 | /object/object.h | fbb563cabac7c395694d67c56e09643795b45612 | [] | no_license | zzy7896321/SchemeInterpreter | 7e91c3b772bbeaff9258ea3043a6c6192e18cd43 | b0d1aa1929ce1294029adaf3d49b0f735a2c3bef | refs/heads/master | 2020-04-21T06:20:07.289062 | 2013-08-16T14:09:58 | 2013-08-16T14:09:58 | 11,720,545 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,199 | h | /** @file
* object.h defines the public base class of all objects.
*/
#ifndef OBJECT_H_INCLUDED
#define OBJECT_H_INCLUDED
#include <iostream>
#include <string>
#include <memory>
namespace ObjectDef{
enum class ObjectType{
OBJECT, // object of any type
BOOLEAN, // boolean
INT, BIGINT, RATIONAL, REAL, COMPLEX, ... | [
"zzy7896321@163.com"
] | zzy7896321@163.com |
ff62a5d37fc1e840843d2e1274db07eb2b460563 | 490de48e4d0ddc319cf051548ebca6b5ba7ea6c1 | /include/mco/est/basic/kruskal_st_solver.h | 0066a76f70ef609f5fca2bb83e9ecbcd9fdaf611 | [] | no_license | FritzBo/mco | 3227be6b813f3363df0a5dbfff119b3fb57f876d | 5bacfa02269a385315307cdc2b79f12f8cc89321 | refs/heads/master | 2021-04-29T13:56:53.377683 | 2014-07-23T16:02:06 | 2014-07-23T16:02:06 | 121,762,565 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | h | #pragma once
/*
* prim_st_solver.h
*
* Created on: 27.09.2013
* Author: fritz
*/
#ifndef PRIM_ST_SOLVER_H_
#define PRIM_ST_SOLVER_H_
#include <map>
#include <vector>
#include <ogdf/basic/Graph.h>
namespace mco {
class KruskalSTSolver {
public:
KruskalSTSolver(const ogdf::Graph & g, const ogdf::EdgeArra... | [
"fritz.boekler@tu-dortmund.de"
] | fritz.boekler@tu-dortmund.de |
eb497ffb5e5bbc8c44741d6c8763e9a0dcea5664 | bd7d4c148df27f8be6649d313efb24f536b7cf34 | /src/armnn/LayersFwd.hpp | e79149f28f3379bfb32d79ccf75a9b5f7dfd8181 | [
"MIT"
] | permissive | codeaudit/armnn | 701e126a11720760ee8209cc866aa095554696c2 | c577f2c6a3b4ddb6ba87a882723c53a248afbeba | refs/heads/master | 2020-03-29T00:48:17.399665 | 2018-08-31T08:22:23 | 2018-08-31T08:22:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,815 | hpp | ๏ปฟ//
// Copyright ยฉ 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once
#include "InternalTypes.hpp"
#include "layers/ActivationLayer.hpp"
#include "layers/AdditionLayer.hpp"
#include "layers/BatchNormalizationLayer.hpp"
#include "layers/ConstantLaye... | [
"telmo.soares@arm.com"
] | telmo.soares@arm.com |
a857597d2e17951f0c862977cd9532da8d1b9890 | 011224433894878974bfe00736de22139672411d | /about.h | 4b1e815955942134466d02df2e71eee4cf4f3b90 | [] | no_license | jiaoxiumomo/WeLab | 75fa9b428539eeb62a6a094cef46b8a7c1aa0d4d | d01d40595b27bc2243efc34cc3662db8966f3fbd | refs/heads/master | 2020-05-18T00:53:49.895717 | 2019-04-29T13:21:52 | 2019-04-29T13:21:52 | 184,074,820 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | h | #ifndef ABOUTSYXT_H
#define ABOUTSYXT_H
#include <QDialog>
#include <QLabel>
class about:public QDialog
{
Q_OBJECT
public:
explicit about(QWidget *parent=0);
~about();
QLabel *label1,*label2,*label3;
};
#endif // ABOUTSYXT_H
| [
"noreply@github.com"
] | noreply@github.com |
345dee2c9d81c14b504c9765c3b021aed4994a99 | 79746327bcbe27daf7bfc7b7a9e3f8f560f2311d | /Pods/FirebaseFirestore/Firestore/core/src/firebase/firestore/remote/watch_change.cc | 8c38440347ff6cfcb998b696364bdce31e46aef5 | [
"MIT"
] | permissive | MrsTrier/RememberArt | 7b4ed46adfb551e2e2b76fab1f9480b4d755ae98 | 90314d1f05a1d63b9885ebb17d37bab5134a24f3 | refs/heads/master | 2020-09-26T14:15:03.364618 | 2019-12-11T17:59:13 | 2019-12-11T17:59:13 | 226,270,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | cc | version https://git-lfs.github.com/spec/v1
oid sha256:0730dee02b7415a2d4af08ed7345f6c0cec2f39c0163f4c684d1efce98a99a0f
size 2288
| [
"romancheremin@MacBook-Pro-Roman.local"
] | romancheremin@MacBook-Pro-Roman.local |
7e3c788d9affee51f96ae0af6a9bcadaba66991f | 0459547ccd36f02371d67e885946e93147fc5567 | /libbiosim/tools/compare.h | 26f3d560ac13ad51c441c93316f0fbffec2488e8 | [
"MIT"
] | permissive | shze/biosim | 4e44eb5bf29d6a2ccd4294a0e444f7e09e465538 | e9e6d97de0ccf8067e1db15980eb600389fff6ca | refs/heads/master | 2021-01-10T18:38:13.467565 | 2016-03-10T16:23:00 | 2016-03-10T16:23:00 | 23,708,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | h | #ifndef tools_compare_h
#define tools_compare_h
namespace biosim {
namespace tools {
// class to use any comparison function as functor; for the function template parameter see:
// http://bytes.com/topic/c/answers/138989-class-template-parameter-function
template <class T, bool F(T const &, T const &)>
... | [
"shze@gmx.de"
] | shze@gmx.de |
0d0c39fa85295832782fa4f16736c431aac2cd5f | a41940688b2761f3cdd1b9ca9b13cbec72790503 | /HKOI_D/CPP/D103.cpp | 2e3f2f75c5a0d469b774d4802ac9d540dbf1e2d3 | [] | no_license | sjcmst/HKOI-New-Solutions | 01a9907cdd1997e319ba77d8d6ab58bd56e3d680 | 86d7a693d0e46746eba78c243198a8b513c2f0a7 | refs/heads/master | 2021-07-14T04:04:59.071481 | 2020-07-15T15:49:28 | 2020-07-15T15:49:28 | 186,787,346 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 233 | cpp | #include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;
int main(){
int a;
int b;
int c;
cin >> a;
cin >> b;
cin >> c;
printf("%.3f",1/2.0*a*b*sin(c/180.0*3.1415926));
return 0;
} | [
"oscarmui1127@gmail.com"
] | oscarmui1127@gmail.com |
521117d9c02a630408cff5418192aa31269fac2c | 69289711ad8d4252ea3cd636a93b33d884ed23e2 | /A_Bachgold_Problem.cpp | 70543637d844bb9c97f20b38e0fd8e023cd26650 | [] | no_license | shinigamirex888/A2oj-ladders | 75672819835eab7cb9043c65c1d967ff7ed1196c | 65e76f1a1378e5bc0d4a11a089b80f1525bddab4 | refs/heads/main | 2023-07-25T03:05:09.569120 | 2021-09-03T08:52:07 | 2021-09-03T08:52:07 | 356,104,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | # include <iostream>
#include <bits/stdc++.h>
#define ll long long
#define INF 2000000000
using namespace std;
int main(){
int n;
cin >> n;
int count = n / 2;
cout << count << endl;
for (int i = 0; i < count - 1; i++)
{
cout << 2 << ' ';
}
if (n & 1)
{
cout << 3 << endl;
... | [
"noreply@github.com"
] | noreply@github.com |
271307ae16c7de8395eeb3f7aa373e7549566d22 | fb4c97fd8bd4b4f7ff0a5804dd11a8018b8e0496 | /c++/gfgCpp/redirect_cout_to_file.cpp | 28a361cdecaa0ec45dab54605033611308428d55 | [] | no_license | mohitarya/geeksforgeeks | 9c78ae57fcd609dda46e20b95479b1368061331e | 19eecf795419675df22d9cf35e39000a2115a25d | refs/heads/master | 2021-04-22T13:05:19.625360 | 2021-03-04T06:05:32 | 2021-03-04T06:05:32 | 53,909,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | #include <fstream>
#include <iostream>
#include <string>
using namespace std;
int main()
{
// AIM === Redirect Cout to a file
// open a file in out mode (Data can be written to the file)
// Save the default cout buffer
// Get the stream buffer of the file
// redirct stream buffer of cout to the fi... | [
"mohitarya8@gmail.com"
] | mohitarya8@gmail.com |
2e7e33018def5b49d4664cd230d68c66d1b3b59e | 793c8848753f530aab28076a4077deac815af5ac | /src/dskphone/uilogic/diruilogic/src/ldapcontactcontroler.cpp | bcb735f67ad2ad456422667508d79646fbf22c7c | [] | no_license | Parantido/sipphone | 4c1b9b18a7a6e478514fe0aadb79335e734bc016 | f402efb088bb42900867608cc9ccf15d9b946d7d | refs/heads/master | 2021-09-10T20:12:36.553640 | 2018-03-30T12:44:13 | 2018-03-30T12:44:13 | 263,628,242 | 1 | 0 | null | 2020-05-13T12:49:19 | 2020-05-13T12:49:18 | null | UTF-8 | C++ | false | false | 10,887 | cpp | #include "directorycommon.h"
#include "ldapcontactcontroler.h"
#include "translateiddefine.h"
#include "uilogiccommon/include/uilogiclanghelper.h"
#include "diruiadapter.h"
#if DIR_UI_SUPPORT_LOAD_DATA_LIST
#include "ildapuihelper.h"
#endif
#include "commonapi/stringhelperapi.h"
#include "configiddefine/configiddefine.... | [
"rongxx@yealink.com"
] | rongxx@yealink.com |
2c0f1046d1eee3b44984960d811904160c1be1a0 | d6da79793a93d6684f0b813976c6a479c43a431b | /hw_6/test.cpp | 5c602f2463eb2d6a9b52a19b90452ab610de9cdd | [] | no_license | saladcat/DSC_hw | 03995b71c66788cbc2e68520ae2aed291773933b | 9b13fe898fb252311e917b1da3d9756ebb57eb55 | refs/heads/master | 2021-04-03T06:48:07.724698 | 2018-05-30T17:50:57 | 2018-05-30T17:50:57 | 124,854,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | cpp | //
// Created by zhu on 2018/5/30.
//
#include <sstream>
#include <string>
#include <iostream>
using namespace std;
int main() {
string A("ss11");
stringstream ss;
ss << A;
string tem;
int tem2;
ss >> tem;
cout << tem << endl;
ss >> tem2;
cout << tem2 << endl;
return 0;
} | [
"djytyang@gmail.com"
] | djytyang@gmail.com |
9d84104230314536c4847057abaa20ea6119b5ba | ecf8df5e6f3435551133a17f700485f9d4b05053 | /validator/cpp/htmlparser/tokenizer_test.cc | 8c5c9a119fea2ab01f45cdf90652c95564a82334 | [
"Apache-2.0"
] | permissive | ampproject/amphtml | 6565e0c6327ba462166b7ff79bdc69aba736417b | 49ee0db2df07f23511a4525ec116ec60c321d3ea | refs/heads/main | 2023-09-01T19:17:02.576769 | 2023-09-01T18:27:36 | 2023-09-01T18:27:36 | 41,766,002 | 17,232 | 5,216 | Apache-2.0 | 2023-09-14T13:24:04 | 2015-09-01T22:10:53 | JavaScript | UTF-8 | C++ | false | false | 13,206 | cc | #include "cpp/htmlparser/tokenizer.h"
#include "gtest/gtest.h"
#include "cpp/htmlparser/token.h"
// TODO: Add more complex html not-well-formed documents to cover
// complex tokenization scenarios. Eg. <html>><head><<body;>> etc..
TEST(TokenizerTest, BasicTokenizationOfADocument) {
std::string html =
"<html>... | [
"noreply@github.com"
] | noreply@github.com |
f81a06f1ac8c847bc2dad794cad4c043c31ac0d9 | 0f3d5fc915dda8062659451181733998cd190840 | /Ch 3/even_n_odd_numbers/even_n_odd_numbers/main.cpp | 741cd120104830ab92d36b4bae6cf45f0d7bad6f | [] | no_license | art-lux/Stroustrup | c65dd513385af214a6da703683b1890e918155c7 | a17e25b280bef5594659f28d3cadccc47f3a4eb6 | refs/heads/master | 2020-04-14T19:51:03.049633 | 2018-06-21T13:21:12 | 2018-06-21T13:21:12 | 68,118,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | #include <iostream>
#include <conio.h>
#include <string>
using namespace std;
void main()
{
string res;
cout << "Input 0 for exit." << endl;
while (cin >> res)
{
if (int number = atoi(res.c_str()))
{
cout << "Number " << number << " is ";
if (number % 2 == 0)
{
cout << "even." << endl;
}
el... | [
"180116art.gmail.com"
] | 180116art.gmail.com |
96e5bea1eb856c1dac508b67cf60bc042d795b82 | 78683361a94e2fae93f4ec0f4384c395e6be4b45 | /line_following/Motors.h | ba7935695b180aeb9b04de58a72075ac67451a1c | [] | no_license | msahmed1/romi | 9dfe33d4d36fb47bc18a09839ce79e846d15a467 | d349ce12bb6d0ab9e662a5998f5e1a317d81580f | refs/heads/master | 2022-12-30T08:39:04.844043 | 2020-10-16T11:07:24 | 2020-10-16T11:07:24 | 302,466,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | h | #ifndef MY_MOTORS_H
#define MY_MOTORS_H
#include "arduino.h"
class motors_c {
public:
motors_c( byte set_L_PWM_PIN, byte set_L_DIR_PIN, byte set_R_PWM_PIN , byte set_R_DIR_PIN );
~motors_c();
steering(float dir);
breaks() {
analogWrite( L_PWM_PIN, 0 );
analogWrite( R_PWM_PIN, 0 );
}... | [
"shabaj_ahmed@outlook.com"
] | shabaj_ahmed@outlook.com |
d498e86ea17d0605043d229319aea9b11908e8c1 | dba4b0d853efbdf7752d30054394d0b7f6f66051 | /fifteen.cpp | aae058b3fc463bba0ceba7e3ec393972866cd277 | [] | no_license | dbondin/am15-ds | b3a404c3bf60b2ec20f805b5077f8ce05bd8ba0d | bc5d665820a8c56aa460e309902cbe0948191510 | refs/heads/master | 2021-01-22T03:58:12.115281 | 2018-02-19T09:05:16 | 2018-02-19T09:05:16 | 81,488,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,703 | cpp | #include <iostream>
#include <cstring>
#include <cstdarg>
#include <cmath>
#include <list>
#define FIELD_WIDTH 3
#define FIELD_HEIGHT 3
enum MOVE_DIRECTION {
_START = 0, LEFT = 0, RIGHT, UP, DOWN, _END
};
class Field {
private:
unsigned char elem[FIELD_HEIGHT * FIELD_WIDTH];
unsigned char zero_pos;
public:
Fiel... | [
"dbondin@ya.ru"
] | dbondin@ya.ru |
cab988fd3e88ec6458e65a1d18d9a7cc64a646d4 | d1ca9f9fbb1817a80e9051a5ab2b2a31efb1bb07 | /tests/unit/core/OrgIterator.cpp | f0dd3d0c2909091c335a2f763b7758179abee3e6 | [
"MIT"
] | permissive | mercere99/MABE2 | dbdf3fdd208b752149cf2bf1f083155b001de79c | 7eba5d316604815a35d1c3bd0e69dde594e77634 | refs/heads/master | 2023-09-03T22:23:56.594269 | 2023-08-29T22:22:24 | 2023-08-29T22:22:24 | 189,902,530 | 5 | 18 | MIT | 2022-07-19T19:26:17 | 2019-06-02T22:44:11 | C++ | UTF-8 | C++ | false | false | 504 | cpp | /**
* @note This file is part of MABE, https://github.com/mercere99/MABE2
* @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
* @date 2019-2021.
*
* @file OrgIterator.cpp
* @brief TODO. Currently this is a placeholder so codecov will see the untested source code
*... | [
"ferguson.austin.j@gmail.com"
] | ferguson.austin.j@gmail.com |
2dc4be12d7533bc71f6a873195c82a8a61657001 | 98fc4e8d1c8ee8c9b58028fda6bae3f707c1e453 | /CP/Leetcode/DP/Linear_DP/26_1025_divisor_game.cpp | b7a6a561a056ae9942d7fe554a76b5b2c376b959 | [] | no_license | ak566g/Data-Structures-and-Algorithms | 709d8d94a2dd691946ed4d75a9d77ece8d9362c9 | 3ae969da99bdf6211c2f9bc69b6ddf0c1c7ee642 | refs/heads/master | 2023-08-20T05:48:40.975444 | 2021-10-14T09:51:02 | 2021-10-14T09:51:02 | 287,715,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,087 | cpp | // class Solution {
// public:
// bool divisorGame(int n) {
// return n%2==0;
// }
// };
class Solution {
public:
bool divisorGame(int n) {
if(n==1)return false; //base case if n==1 alice can't select any number such that n%i==0 so false
// create a dp table of size n+1 and we... | [
"anki01.g@gmail.com"
] | anki01.g@gmail.com |
474bf7328a3e225b01c563414dbb18162d98e9bd | c1501a18f6d3fe138b1a1c5ebebefc8fcd24392a | /Codeforces/1299B.cpp | 35e23cfb42b46cfad5dcda142d71bcfe66cf4fa6 | [] | no_license | Simon-0801/CodeHome | 5b2125b5926df4d6f9c63b2e7da993d717ddcda2 | 88ab5c776e5a7b711419928d645212088f3b1858 | refs/heads/master | 2020-12-14T11:06:21.286016 | 2020-10-14T13:19:01 | 2020-10-14T13:19:01 | 234,722,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <cmath>
using namespace std;
typedef long long ll;
const int maxn = 100000 + 5;
struct node
{
ll x,y;
}p[maxn];
int main() {
int n;
scanf("%d",&n);
for(int i=1;i<=n;i++){
scanf("%I64d%I64... | [
"noreply@github.com"
] | noreply@github.com |
a58ab15f65d6b4137aa1f1f81793da985556a562 | e31fb48774c222359a93850ecfd5cb6b188091d2 | /458 - The Decoder.cpp | 9a39c350ce039bddad5a48b49da1fe30cd7e6f8c | [] | no_license | protickcse22/Uva_problem | e9c2eda7378975f85f64662f9c3ff83816b13239 | 1b8e09240648f1f7c2130ed47bf77bbbd34ca7aa | refs/heads/master | 2020-03-27T12:45:45.634215 | 2018-08-29T08:16:54 | 2018-08-29T08:16:54 | 146,567,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
char s;
while((s=getchar())!=EOF)
{
if(s == '\n')
putchar(s);
else
{
int i = s;
int x = i - 7;
char c = x;
putchar(c);
}
}
return 0;
}
| [
"protickju22@gmail.com"
] | protickju22@gmail.com |
67dfab1eddcf9ec99f2a325b3fab13c408d8a553 | 2d572a776b12c8fdaac684d2219eae575473f589 | /Packet.cpp | bd028e540766d2f8edb184577c9a3b9217de20c7 | [] | no_license | MalenaMaffei/TallerTP2 | 73e862e12d1dae0e5a816d9aa36dace65084174f | 44656c4ae5d81c69059f5541b02cf8e2d578d60a | refs/heads/master | 2021-03-16T05:11:41.795128 | 2017-04-18T05:52:27 | 2017-04-18T05:52:27 | 87,730,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,201 | cpp | #include <string>
#include <iostream>
#include "Packet.h"
// TODO implementar tema de flags y offsets
Packet::Packet(string id, string src, string dst, unsigned char flag,
short offset, short len) {
this->id = id;
this->src = src;
this->dst = dst;
this->data = "";
this->flag = flag;
... | [
"malenamaffei@hotmail.com"
] | malenamaffei@hotmail.com |
4c271a3edef90bd160f0e30f9b8c8fd0f94ee4d7 | ca8601539e997c57ffffb42e255cd1757834c6d7 | /Source/CarBehaviorTree/ChangeStopSignLocation.h | 25a14ce4c69eae52884aa515f49fe106e9f524ef | [] | no_license | ElonGame/CarBehaviorTree | eadb01d10501454d0f8bf3c9ec314b7c4bd3bbe6 | 50a00109669c28b10869a5909f0fd702a247cf06 | refs/heads/master | 2021-01-04T18:41:23.808400 | 2019-11-26T21:36:41 | 2019-11-26T21:36:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 485 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "BehaviorTree/Tasks/BTTask_BlackboardBase.h"
#include "ChangeStopSignLocation.generated.h"
/**
*
*/
UCLASS()
class CARBEHAVIORTREE_API UChangeStopSignLocation : public UBTTask_BlackboardBa... | [
"jawadefaj006@gmail.com"
] | jawadefaj006@gmail.com |
82f154d7f1ca4af551bb384b4e7b900ccd94ba43 | d2285bab09d40be62c4357f90a5d46b673d1f12b | /src/Menge/MengeVis/Runtime/GoalRenderer/GoalRenderer.cpp | c0b7afda3a6c0a5f356977a5963ef5bdd39b12d2 | [
"Apache-2.0"
] | permissive | mfprado/Menge | 5a6ae2bd53e539adcbdb9f9cbf9af5723078d1a4 | 75b1ebe91989c2a58073444fb2d5908644856372 | refs/heads/master | 2020-04-19T13:10:25.101581 | 2019-02-21T02:11:00 | 2019-02-21T02:11:00 | 168,211,094 | 0 | 0 | Apache-2.0 | 2019-02-21T02:11:01 | 2019-01-29T19:03:59 | C++ | UTF-8 | C++ | false | false | 1,334 | cpp | #include "MengeVis/Runtime/GoalRenderer/GoalRenderer.h"
#include "MengeCore/BFSM/Goals/Goal.h"
#include "MengeVis/SceneGraph/graphCommon.h"
namespace MengeVis {
namespace Runtime {
namespace GoalVis {
using Menge::Math::Vector2;
/////////////////////////////////////////////////////////////////////
// ... | [
"menge@cs.unc.edu"
] | menge@cs.unc.edu |
6a1d57f76bf43b311a4d372f9484d0108ff9ff96 | 11a246743073e9d2cb550f9144f59b95afebf195 | /acmsgu/499.cpp | 066e0ed649ec43be3dbbf729452939c07cd19e95 | [] | no_license | ankitpriyarup/online-judge | b5b779c26439369cedc05c045af5511cbc3c980f | 8a00ec141142c129bfa13a68dbf704091eae9588 | refs/heads/master | 2020-09-05T02:46:56.377213 | 2019-10-27T20:12:25 | 2019-10-27T20:12:25 | 219,959,932 | 0 | 1 | null | 2019-11-06T09:30:58 | 2019-11-06T09:30:57 | null | UTF-8 | C++ | false | false | 1,045 | cpp | #include <iostream>
#include <iomanip>
#include <string>
#include <sstream>
#include <fstream>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <numeric>
#include <utility>
#include <vector>
#include <queue>
#include <map>
#include <set>
#include ... | [
"arnavsastry@gmail.com"
] | arnavsastry@gmail.com |
140dca798e163981c318f33539638d499185d1ac | e1459066a61cf5ecfe0a1e8ecc4d9799b1ebb90d | /bc25793-TestLife.c++ | 2bdd5dda02ae3e0d2742d88aa87fac55d30e3316 | [] | no_license | baod-rate/life-tests | 5d43d6ff1fcb13d51c842af850a75b3faac08820 | f447c5f94950a4e86f6382de8f7b205477e02560 | refs/heads/master | 2023-07-09T16:51:10.830274 | 2016-11-22T23:36:00 | 2016-11-22T23:36:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,231 | // --------------------------
// projects/life/TestLife.c++
// Copyright (C) 2016
// Glenn P. Downing
// --------------------------
// https://code.google.com/p/googletest/wiki/V1_7_Primer#Basic_Assertions
// --------
// includes
// --------
#include "gtest/gtest.h"
#include "Life.h"
#include <iostream>
#include <... | [
"briancui@utexas.edu"
] | briancui@utexas.edu | |
5ee7f99bc042440975124f1f415af0b97b18e560 | 49d83590149ce409c1eb88e2158ba32e0fa45879 | /game_object.h | 92058899ed64f7ce7012960cabb4106789a8b92d | [] | no_license | thebishalthapachhetri/Final-Game | f0ed4e3d83ce25c94b10e0cb6fe06e03349d5fc4 | 554a78bdb5d1d29946fefb58081adf0c5855049d | refs/heads/master | 2022-10-30T11:36:08.573069 | 2020-06-17T07:45:10 | 2020-06-17T07:45:10 | 272,910,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 985 | h | #pragma once
#define SDL_MAIN_HANDLED
#include <SDL.h>
#include <string>
#include "assets.h"
#include "input.h"
#include "vector_2D.h"
#include "configuration.h"
#include "circle_2D.h"
#include "scene.h"
class Game_Object
{
public:
Game_Object(std::string id, std::string texture_id);
~Game_Object();
std::string... | [
"Bishal_thapa32@hotmail.com"
] | Bishal_thapa32@hotmail.com |
ed7481d7a9fdb97841a884d0a1db5319eb8305c9 | 5841293ec44d928a9a15d7acdd5f48d927597adf | /src/framework/shared/inc/private/common/fxiotargetremote.hpp | 82d8e17855aaf48219fad1fff5a50ac85bfe68db | [
"MIT"
] | permissive | travisgoodspeed/Windows-Driver-Frameworks | 0c58bd12e5bbb8571de80b1f34856445060d6f37 | ba410f6b35e858cf94ac504269ba5582aa6f9516 | refs/heads/master | 2021-01-25T02:37:56.155405 | 2015-03-20T14:48:03 | 2015-03-20T14:48:03 | 32,589,166 | 1 | 1 | null | 2015-03-20T14:43:19 | 2015-03-20T14:43:18 | null | UTF-8 | C++ | false | false | 8,888 | hpp | /*++
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
FxIoTargetRemote.hpp
Abstract:
Derivation of FxIoTarget specializing in targets remote to this device
stack.
Author:
Environment:
Both kernel and user mode
Revision History:
--*/
#ifndef _FXIOTARGETREMOTE_H_
#defin... | [
"amargar@microsoft.com"
] | amargar@microsoft.com |
8eed8f866e8de244fa2304ef2ef5e6b622f5bf7c | f926639250ab2f47d1b35b012c143f1127cc4965 | /legacy/platform/mt6755/core/camshot/BurstShot/BurstShot.cpp | dfde6ee220a8b73c58e688a5f46e3570586540af | [] | no_license | cllanjim/stereoCam | 4c5b8f18808c96581ccd14be2593d41de9e0cf35 | e2df856ed1a2c45f6ab8dd52b67d7eae824174cf | refs/heads/master | 2020-03-17T11:26:49.570352 | 2017-03-14T08:48:08 | 2017-03-14T08:48:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,239 | cpp | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... | [
"Bret_liu@tw.shuttle.com"
] | Bret_liu@tw.shuttle.com |
34ae6044ed429e49d4054e2fdafd88ec70efe976 | be0fd22f6a6f2287efed859769bb45b2c1d3364e | /src/projects/Framework/Timing/Timing.h | 66e0b6d2c94a6266b6dd3e08e59ce1e36da58259 | [] | no_license | veldrinlab/thesis-cuda-sparse-voxel-octree | c5a2d1e2b1636621d0201194776d31ce4d5b49a5 | 58357932252927c3bee5670d910614c67771f813 | refs/heads/master | 2021-01-15T12:15:51.510583 | 2013-08-27T09:49:53 | 2013-08-27T09:49:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | h | #ifndef _RESTLESS_TIMING_TIMING_H
#define _RESTLESS_TIMING_TIMING_H
#include "DeltaSampler.h"
namespace restless
{
class Timing
{
public:
Timing();
~Timing();
void initialize();
void reset();
void update();
const float getTimeDelta() const;
const float getTime() const;
cons... | [
"jakob@udsholt.dk"
] | jakob@udsholt.dk |
bd8dfdf2f8e103105d48fe9195a9aa4444b2ffb7 | 36b9decf14d266d6babaf1c44085c2ba869c03ce | /Remnant-main/Remnant/SDK/Sebum_Emote_Talk_R_04_classes.h | 4d186a8f13a47607dd16eb3aa6e69d278b2972b8 | [] | no_license | RoryGlenn/RemnantLootSwitcher | 6e309a7b2b7bac88a166b552b640c830b863eb2d | 85c4cb6839b7c0f60cf8143c571d64ca12439a63 | refs/heads/master | 2022-12-29T08:47:15.713546 | 2020-10-23T22:01:45 | 2020-10-23T22:01:45 | 305,910,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | h | #pragma once
// Name: Remnant, Version: 6
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// Bl... | [
"romglenn@ucsc.edu"
] | romglenn@ucsc.edu |
5e7bf09480b98e823ef68a8359cbb8724d9a74e8 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/MP+dmb.sy+addr-ctrl-rfi-ctrlisb-[fr-rf].c.cbmc_out.cpp | 78ef4bf939de0dd665c96cb301ee5e56cc9b467d | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 61,302 | cpp | // 0:vars:4
// 4:atom_1_X0_1:1
// 9:thr1:1
// 10:thr2:1
// 5:atom_1_X7_1:1
// 6:atom_1_X8_0:1
// 7:atom_1_X10_1:1
// 8:thr0:1
#define ADDRSIZE 11
#define NPROC 4
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_r... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
a76e79505b6a5b409a3e881ae0880be91bf1a41e | 1ae555d3088dc123836060371fc520bf0ff13e52 | /atcoder/atc001/b.cpp | feb74974c7aeeec85dbf3cf67b45dda353be3d28 | [] | no_license | knagakura/procon | a87b9a1717674aeb5ee3da0301d465e95c758fde | c6ac49dbaaa908ff13cb0d9af439efe5439ec691 | refs/heads/master | 2022-01-31T19:46:33.535685 | 2022-01-23T11:59:02 | 2022-01-23T11:59:02 | 161,764,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,264 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(i,N) for(int i=0;i<int(N);++i)
#define rep1(i,N) for(int i=1;i<int(N);++i)
#define all(a) (a).begin(),(a).end() //sort(all(vi S)) sort(all(string S))
typedef long long ll;
typedef vector<int> vi;
typedef set<int> seti;
typedef vector<string> vs;
const int MOD... | [
"ngkrkzy03@gmail.com"
] | ngkrkzy03@gmail.com |
36b78b5ea168fe14c20ec16a9f6b9c057dcf380d | 46b3a0aab4f2b166ecaa5b1f884fd59cb673d810 | /old/APinTest/APinTest.ino | 8e4acbb2dad3fd82c3f6d4924abaed1f47348748 | [] | no_license | denizsomer/arduino | fb69856c94aba421be2cf706b5c59b192d9b74f7 | cfc9cc54de34d81dbbd299fe3aa6387439d9e37b | refs/heads/master | 2021-01-25T08:54:26.684049 | 2015-08-13T10:14:41 | 2015-08-13T10:14:41 | 40,651,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | ino | /*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led, l0=A0, li=A15;
// the setup routine runs once when you press reset:
void setup() { ... | [
"denizsomer@gmail.com"
] | denizsomer@gmail.com |
9022f55515167cfb743432f3fe26a2d40e99a585 | 01878f3b1d7f044558a7759b8f92a8cf744ad567 | /include/Camera.h | 6d121280e0a0ee27cb31df244c6695afa7a1b724 | [] | no_license | KiraLd/Raytracing-cpp | 0f5ec33e7e34a158f705f4c90066279c2887bb32 | 096f32cd6c5963c266785b7a8e97b638ac3bf282 | refs/heads/master | 2021-01-25T05:21:47.842400 | 2015-01-13T16:35:02 | 2015-01-13T16:35:02 | 29,199,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | h | #ifndef CAMERA_H
#define CAMERA_H
#include "Point.h"
class Camera
{
private:
Point o;
int f;
int res_x;
int res_y;
double pitch_x;
double pitch_y;
public:
Camera();
void setOrigine(int x, int y, int z);
void setFocale(int g);
vo... | [
"lucas.mohimont@hotmail.fr"
] | lucas.mohimont@hotmail.fr |
92d249d4b77c715e44dd2c7825f543a89276b1aa | 9f345095d2b65378d2d3a9ee0bf96e1f57d1e4c5 | /CODEFORCES-D/1151.cpp | b9705c397ad2d1c36aa868b1c0ad50dbc35b8b00 | [] | no_license | ritwizsinha/PROGRAMMING-SOLUTIONS | d28d840d190d144c432435ae3d2ea627b9ee4007 | ee087d2a61ad3f30a042b7667eace226a3e262be | refs/heads/master | 2020-06-18T13:59:41.255894 | 2019-12-07T12:29:49 | 2019-12-07T12:29:49 | 196,325,862 | 0 | 3 | null | 2019-10-04T20:09:47 | 2019-07-11T05:32:01 | C++ | UTF-8 | C++ | false | false | 974 | cpp | #include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<chrono>
#define MIN3(a,b,c) (a)<(b)?((a)<(c)?(a):(c)):((b)<(c)?(b):(c))
#define endl "\n"
#define int long long
#define forn(i,n) for(long long i = 0; i < long long (n); ++i)
#define IOS ios_base::sync_with_stdio(false); cin.tie(0); cout.... | [
"ritwizsinha0@gmail.com"
] | ritwizsinha0@gmail.com |
b5dd03cbcf9ebd30a36d3be6f515b32c7be678ed | 6c0a11f53eff7b31ee0c493524e69b003b5938d7 | /src.gfx/Threading/OgreBarrierPThreads.cpp | f8c3680fc26ad73a6b857982622258372eba0338 | [] | no_license | yangfengzzz/Sisy | d2a8a6c34cd24f2eb9ab11bf99c76c68032ccc25 | 1f9637bcdc31905a4fb28fe2b9446c1ed279a923 | refs/heads/master | 2023-02-02T20:16:19.307627 | 2020-03-26T02:03:15 | 2020-03-26T02:03:15 | 322,533,099 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,736 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any per... | [
"yangfengzzz@hotmail.com"
] | yangfengzzz@hotmail.com |
f4f4bb12c3135b02fc434e06e9c8ce015044eedf | 51e9012435503b693a7811301c6af4332033a1a3 | /COLLISION/COLLISION.cpp | 5eb40f805b8d3bdd14f87d6bbd09abb1bba0de10 | [] | no_license | phutruonnttn/CPP_Code_Giai_Thuat | e7e3312ae70cee9ade33994de0cc3a1f17fbf0f1 | 8081d346aa0348d1a6bef546036e5a498e7b2ee5 | refs/heads/master | 2020-07-02T04:29:51.910768 | 2019-08-09T07:16:37 | 2019-08-09T07:16:37 | 201,412,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,640 | cpp | #include <bits/stdc++.h>
#define nmax 100007
using namespace std;
struct data
{
long long x,y,t,h;
};
long long ans,n;
data q[nmax];
bool cmp1(data k, data l)
{
return k.x < l.x;
}
bool cmp2(data k, data l)
{
return k.y < l.y;
}
bool cmp3(data k, data l)
{
return k.t < l.t... | [
"truongnguyen@MacBook-Pro-cua-TruongNP.local"
] | truongnguyen@MacBook-Pro-cua-TruongNP.local |
0da9fdefa5277760ebad40b1e4c267574a80035e | 59e1888edf73a084e536d8198a8fff77c7badf60 | /Merics/visqol-master/bazel-visqol-master/src/include/support_vector_regression_model.h | d6685541c4be1f06224cc148d9c5cf3d01d158ae | [
"Apache-2.0"
] | permissive | RigDas/RigDas | 03a41f6b9fd3bbd09085b18c844225f38bd26dc3 | 02d16f1e210e7d48caf96c8bb677e2c38650472d | refs/heads/main | 2023-08-23T10:51:27.599418 | 2021-10-19T12:23:01 | 2021-10-19T12:23:01 | 392,676,908 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,900 | h | /*
* Copyright 2019 Google LLC, Andrew Hines
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | [
"rdas@jabra.com"
] | rdas@jabra.com |
2a3001dde4cd3be50243f8ac12c832af072eb3b7 | 17fc74d16abf6efd6c02ad3299b55c85cf4940a7 | /quick_sort.cpp | 56b23aa8476a331234d5b12eacc412816b0d4e4a | [] | no_license | Funck-Felipe97/quicksort_omp | 3a66405e71d1535e8c63dbaaf38fbe378906ff43 | 9d047a83511c43933890a57cf0035c28e6f33507 | refs/heads/master | 2020-06-04T02:21:55.527966 | 2019-06-14T12:01:53 | 2019-06-14T12:01:53 | 191,832,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,047 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <omp.h>
#define TAMANHO_VETOR 200000
#define NUMERO_THREADS 8
#define LIMITE_PARALELO 1000
void imprimir_vetor(int *vetor, int tamanho) {
for (int i = 0; i < tamanho; ++i) {
printf("%d ", vetor[i]);
}
}
void iniciar_vetor(int *vetor_sequ... | [
"funck.felipe@hotmail.com"
] | funck.felipe@hotmail.com |
137d5d119bd68e93c47cf80c8adaf186cbd0d773 | 581444df24c3040de6a339887476267bc30772df | /follower/src/Ball3DPointRetriver.h | 298fea45c141ff38e91acec5de586dfedad77796 | [] | no_license | valegagge/my_appls | 8439a59c6edcb5e6b8cddd3fa8597e84958dbc53 | f5196516f0fcd1d689ab7ff0aa9d89633ac7c9e6 | refs/heads/master | 2022-07-02T18:50:49.531316 | 2022-06-07T08:41:57 | 2022-06-07T08:41:57 | 134,380,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | h |
/******************************************************************************
* *
* Copyright (C) 2019 Fondazione Istituto Italiano di Tecnologia (IIT) *
* All Rights Reserved. *... | [
"valentina.gaggero@iit.it"
] | valentina.gaggero@iit.it |
c29d14c1a9a964af19f37e3a5d88a618891abbd1 | 279395ac5d76346c0948e44921e9c29e3a6ba46a | /PersonalBudget/UsersFile.h | 02a9ea3d9203fd828df73874b82a8219ed9c2759 | [] | no_license | dariuszkrygier/PersonalBudget | 84b500a5b8386950d18da3e19e484b315f9b169d | 02b2923434c0b30dd4f9c57e6859e64f31abc070 | refs/heads/main | 2023-01-10T01:45:33.034551 | 2020-11-08T19:25:34 | 2020-11-08T19:25:34 | 308,001,365 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | h | #ifndef USERSFILE_H
#define USERSFILE_H
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include "User.h"
#include "AuxiliaryMethods.h"
#include <stdio.h>
#include "Markup.h"
using namespace std;
class UsersFile {
const string usersFileName;
public:
UsersFile(string USERSFILENAME)... | [
"dariusz.krygier.programista@gmail.com"
] | dariusz.krygier.programista@gmail.com |
4a271559826bbc9023e817452bb05faf084030f0 | 1e1af8b5df62f5d535f4922d22b122af2c784141 | /src/comet/core/logger.h | 389191f24c6726f28c95abe8a31b1e7bb5260d12 | [
"MIT"
] | permissive | m4jr0/gameengine | 37e449c43f79ce2bc1ca9966c91f2980b6cd5787 | 5154b9728709e357c915cdc5ef4c64a842128f0f | refs/heads/master | 2023-07-12T22:04:59.694554 | 2023-05-16T09:35:28 | 2023-05-16T10:51:49 | 69,503,616 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,342 | h | // Copyright 2023 m4jr0. All Rights Reserved.
// Use of this source code is governed by the MIT
// license that can be found in the LICENSE file.
#ifndef COMET_COMET_CORE_LOGGER_H_
#define COMET_COMET_CORE_LOGGER_H_
#include "comet_precompile.h"
// If issues arise with current terminal, comment this line.
... | [
"lowgravityisfun@gmail.com"
] | lowgravityisfun@gmail.com |
57fb26ba6527ef4df58c51dcecb15f9e0845fb6d | ab97a8915347c76d05d6690dbdbcaf23d7f0d1fd | /chrome/browser/ui/views/global_media_controls/media_notification_container_impl_view.h | cd3b7156e7d65b150f398e2c5ff90dbf7233d682 | [
"BSD-3-Clause"
] | permissive | laien529/chromium | c9eb243957faabf1b477939e3b681df77f083a9a | 3f767cdd5c82e9c78b910b022ffacddcb04d775a | refs/heads/master | 2022-11-28T00:28:58.669067 | 2020-08-20T08:37:31 | 2020-08-20T08:37:31 | 288,961,699 | 1 | 0 | BSD-3-Clause | 2020-08-20T09:21:57 | 2020-08-20T09:21:56 | null | UTF-8 | C++ | false | false | 7,713 | h | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_GLOBAL_MEDIA_CONTROLS_MEDIA_NOTIFICATION_CONTAINER_IMPL_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_GLOBAL_MEDIA_CONTROLS_MEDI... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
274944f8eb5b40761a9532f55e8c310cd8f676af | c475cd8531a94ffae69cc92371d41531dbbddb6c | /Projects/angelscript_2_32_0_sdk/angelscript/source/as_memory.cpp | db3b06f94eda05cadfdf305cdefd0d6dbfd13191 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | WolfireGames/overgrowth | 72d3dd29cbd7254337265c29f8de3e5c32400114 | 594a2a4f9da0855304ee8cd5335d042f8e954ce1 | refs/heads/main | 2023-08-15T19:36:56.156578 | 2023-05-17T08:17:53 | 2023-05-17T08:20:36 | 467,448,492 | 2,264 | 245 | Apache-2.0 | 2023-05-09T07:29:58 | 2022-03-08T09:38:54 | C++ | UTF-8 | C++ | false | false | 8,516 | cpp | /*
AngelCode Scripting Library
Copyright (c) 2003-2016 Andreas Jonsson
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software f... | [
"max@autious.net"
] | max@autious.net |
79b738e31a8ca7c9c03a0f1509a76fde92d0f73e | c9b8fc0894409d76d019dfa5d3033387dd684685 | /C09/PC9_03/PC9_03.cpp | 22da57139876647786434308c6d2437d73b0a087 | [] | no_license | nyccowgirl/Starting-Out | 3775f4d61801faec6ad726242e2d8fc761b612e6 | 78c8701628496172079562d2f6ad1914c1a697ab | refs/heads/main | 2023-01-01T03:58:55.277499 | 2020-10-26T03:27:40 | 2020-10-26T03:27:40 | 303,046,963 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,665 | cpp | /*
DROP LOWEST SCORE
Program illustrates modifies Test Scores #1 and drops the lowest test score, which is not
included in the average.
PC9_03.cpp
Starting Out/C09
Created by nyccowgirl on 10/4/20.
Copyright ยฉ 2020 nyccowgirl. All rights reserved.
*/
#include <iostream>
#include <iomanip>
using namespace... | [
"nyc_cowgirl@hotmail.com"
] | nyc_cowgirl@hotmail.com |
95a1dbd82192aa653f0de8c8089e75693606491b | ee50a370cde41389871e56f3f382ffda63bb037d | /macros/2HDM/thdm_BRs_f_sinB_A_tanB.cpp | 551279027fd480ddf7faf0a46b9a94a4565d4ccc | [] | no_license | pasmuss/SusHi-macros | f8b7f3b98311a45667209a84f0269ee17a3c1fdd | 36b9653ab7451cb7ed621bf732bc1af7309cf295 | refs/heads/master | 2020-06-14T00:13:00.126154 | 2019-07-02T09:33:37 | 2019-07-02T09:33:37 | 194,832,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,164 | cpp | #include <TH3F.h>
#include <TH3.h>
#include <TGraph.h>
#include <TFile.h>
#include "TSystem.h"
#include <TCanvas.h>
#include <TLegend.h>
#include <string>
#include <vector>
// xsection estimation for MSSM
#include "Analysis/MssmHbb/macros/signal/mssm_xs_tools.h"
#include "Analysis/MssmHbb/macros/signal/mssm_xs_tools... | [
"paul.asmuss@cern.ch"
] | paul.asmuss@cern.ch |
cfbfab911e201b585fccf4d7fddfb2a7af27206c | d92fc55174ac8424bfae07d00fa27224c7862aa6 | /interface/FJWrapper.h | a8d4bb427987edd7de5bd71dac730e5271ab94c4 | [
"CC0-1.0"
] | permissive | mverwe/diall | cfc5bf83adce405e84a20afc55641ea31c33e9cc | 22c110acc2dd71684dd1db3e6c384559f81cf513 | refs/heads/master | 2020-05-21T13:36:21.742391 | 2017-04-27T12:03:50 | 2017-04-27T12:03:50 | 47,253,784 | 0 | 2 | null | 2016-01-29T14:21:32 | 2015-12-02T10:24:18 | C++ | UTF-8 | C++ | false | false | 41,163 | h | #ifndef FJWrapper_H
#define FJWrapper_H
#include <vector>
#include <TString.h>
#include "FJ_includes.h"
#include "FJJetShape.h"
class FJWrapper
{
public:
FJWrapper(const char *name, const char *title);
virtual ~FJWrapper();
virtual void AddInputVector (Double_t px, Double_t py, Double_t pz, Double_t E, Int_t... | [
"marta.verweij@cern.ch"
] | marta.verweij@cern.ch |
ecc0a6f99901954a4f2b4508c7723b1961e7b0ef | 425c08536358e484bb38c23e4c4ae52d488dde71 | /src/LZespolona.cpp | b48940d0f005e079f7ce9c1f5015dabe29f923e9 | [] | no_license | marsok98/PWr_Liczby_Zespolone | ac2798c690a48e2b9c65d90ed4cfb32516c314ec | d2c9cfdf69a99efac6b601870c068c0166c140b5 | refs/heads/master | 2022-08-21T17:55:41.469458 | 2020-03-07T21:58:02 | 2020-03-07T21:58:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,585 | cpp | #include "LZespolona.hh"
#include <iostream>
#include <iomanip>
using namespace std;
//Przeciazenie operatora przesuniecia bitowego pelniacego funkcje
//wyswietlenia liczby zespolonej
ostream & operator << (ostream & wyj, LZespolona Skl1)
{
wyj<<"("<<Skl1.re<<showpos<<Skl1.im<<"i)"<<no... | [
"mariusz6m@onet.pl"
] | mariusz6m@onet.pl |
feaa29c09a1867fc6f1521b53e393bd8497cc5e3 | 19907e496cfaf4d59030ff06a90dc7b14db939fc | /POC/oracle_dapp/node_modules/wrtc/third_party/webrtc/include/chromium/src/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.h | 59eca58cb73549c4660195f4139e4921a245cdda | [
"BSD-2-Clause"
] | permissive | ATMatrix/demo | c10734441f21e24b89054842871a31fec19158e4 | e71a3421c75ccdeac14eafba38f31cf92d0b2354 | refs/heads/master | 2020-12-02T20:53:29.214857 | 2017-08-28T05:49:35 | 2017-08-28T05:49:35 | 96,223,899 | 8 | 4 | null | 2017-08-28T05:49:36 | 2017-07-04T13:59:26 | JavaScript | UTF-8 | C++ | false | false | 11,845 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_COMPRESSION_STATS_H_
#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_R... | [
"steven.jun.liu@qq.com"
] | steven.jun.liu@qq.com |
86e92884671d90ba1facffee8990a9fd5bc15434 | e92a8e7ba8dbad9339ba14db9a32a772e9415ac3 | /programmers/68935.cpp | a86f56a0a2299f335984a35a0939637ae3d44278 | [] | no_license | Lee-Jungyu/algorithm | ec3155a4424d97d12ab96d98f7a7f14589f8ec70 | 6a18758ba3d4ee55a6cfae33ed86258ddda9bc96 | refs/heads/master | 2021-08-06T15:28:06.919063 | 2021-07-14T12:49:37 | 2021-07-14T12:49:37 | 232,481,372 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | cpp | #include <string>
#include <vector>
using namespace std;
string reverse_ternary(int num) {
string str = "";
while(num) {
str += (char)(num % 3 + '0');
num /= 3;
}
return str;
}
int ternary_to_decimal(string str) {
int n = 0;
for(int i = 0; i < str.length(); i++)... | [
"noreply@github.com"
] | noreply@github.com |
6ad8f85f239d2f8cfea72b07093eca1967fd08a6 | fa80d959c083575085f6a8ef3d44a9dd250c7fca | /sample_source/jaea_uoa_ros/src/SpiderROSArmController.cpp | e5b5dff2fd81525b28bcbda38e5aad7bf3e36130 | [
"BSD-2-Clause"
] | permissive | REL-UoA-JAEA-WRS-SIM/Workshop | 5ca65450ce3a24fb97a3f6b029d1ba1889db4fea | 0a244fae4018c135bf1ebe50a81737796ed4eb9c | refs/heads/master | 2021-08-08T10:18:46.856006 | 2021-03-19T00:51:25 | 2021-03-19T00:51:25 | 246,250,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,688 | cpp | /*
\author Fumiaki Abe
*/
#include <cnoid/SimpleController>
#include <cnoid/SharedJoystick>
#include <mutex>
#include <iostream>
#include <vector>
#include <cnoid/Body>
#include <cnoid/JointPath>
#include <cnoid/EigenUtil>
#include <unistd.h>
#include <ros/ros.h>
#include <ros/node_handle.h>
#include <std_msgs/String... | [
"naruse@u-aizu.ac.jp"
] | naruse@u-aizu.ac.jp |
83b90274890a6e3a0b3650e42213f2c44927e74d | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/fusion/view/filter_view/detail/size_impl.hpp | 03650646bc618da1e8b291740bcd50ee268f7b4f | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:ec290bbb6a9c78c6986f66cf4a4b83ab01ce2760dd7eff006aca8f47b82bb529
size 1141
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
2847695cd7cb52d7efcb04b29afe049659caf942 | b4e6090a804c29b0fefcce025d683c9c2f02a42e | /PENGIRIM_LCD_BESAR_FIX.ino | eda27863929dc61b781c2a722ff1d6720fc31ab2 | [] | no_license | namitron/DIGITAL-PANEL-METER | 8d8926efdaf417b572bbfdf6c983b098801106de | f6c3a4c16584d9f24e6ff8ef9257af9bf7ce2033 | refs/heads/main | 2023-04-03T13:29:45.928259 | 2021-04-06T04:26:00 | 2021-04-06T04:26:00 | 355,054,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,514 | ino | #include <SoftwareSerial.h>
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 32 // OLED display height, in pixels
#define OLED_RESET 4 // Reset pin # (or -1 if sharing Arduino reset pin... | [
"noreply@github.com"
] | noreply@github.com |
5f58d662134d4cbf65a50354f21a0904f8732055 | 36e117a24ee3003be11d0e65fec1fcff7bfe61e0 | /findclincchargedlg.cpp | 7ab642f036a5d1b724b96945ad127097a34e3cc5 | [] | no_license | xuebeibei/HIS1.12 | 5bd01ac03f98f5d9a62ab5416b256933dcc57af8 | d6d68bbafe366a312eb97966364c46b332315137 | refs/heads/master | 2021-01-01T05:24:25.565484 | 2016-05-23T11:37:32 | 2016-05-23T11:37:32 | 58,366,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,603 | cpp | #include "findclincchargedlg.h"
FindClincChargeDlg::FindClincChargeDlg(QWidget *parent) :
QDialog(parent)
{
m_strId = g_strNull;
create();
init();
setMyLayout();
}
FindClincChargeDlg::~FindClincChargeDlg()
{
}
QString FindClincChargeDlg::getId()
{
return m_strId;
}
void FindClincChargeDlg::... | [
"xuebei@seimun.com"
] | xuebei@seimun.com |
21873a3f001ced8a7e6ef74f4ab736fa3259dafc | abbcbc47870c0d49f9aedbe50e7a1e10ba3165d5 | /src/Lcd/LcdInterface.h | 27f25abf61c1f97675e0590926623d1083759585 | [] | no_license | ghost7/gameboyC | 4c999891809f9ea9b799e5909487b2f69c08eb85 | fba672bb4ace0cdf9f5d48fcf94cbf632b1d962b | refs/heads/master | 2020-06-09T05:16:02.625035 | 2012-07-17T17:31:55 | 2012-07-17T17:31:55 | 3,037,999 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,021 | h | #ifndef _LCD_INTERFACE_
#define _LCD_INTERFACE_
#include <stdint.h>
/**
* This defines the LCD screen of the game boy.
*/
class LcdInterface
{
public:
/**
* Initialize the LCD with an array of pixels. The LCD will "draw" on these
* pixels
*
* @param pixels 160x144 array of pixels.
*/
... | [
"ghost7dev@gmail.com"
] | ghost7dev@gmail.com |
afebbe7f3fc49081676f1a7880c315e0faca2e22 | f5e46fc1f26506245dfc3f6bf170bc03067e4e80 | /swea_4014.cpp | 5bf13f5d358e97a324e7a1d2cc31fc5e14072cb1 | [] | no_license | 0ul/Alg | 110cc926224c564afc1c2b2e48b6185ede3b8cb8 | 3510e060c7c88cfc3a4c76627ee9fb06ad79ce18 | refs/heads/master | 2020-03-28T18:34:09.444001 | 2018-11-02T07:09:00 | 2018-11-02T07:09:00 | 148,892,168 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,797 | cpp | // 4014 ํ์ฃผ๋ก ๊ฑด์ค
#include <cstdio>
#include <vector>
using namespace std;
int T, N, X, ans;
vector<vector<int>> map; //์
๋ ฅ ์ ์ฅ
vector<vector<int>> v, v1; //๊ฒฝ์ฌ๋ก ๊ฑด์คํ๋์ง ์๋์ง
bool visit(int i, int j, int type, int dir) { // type ๊ฐ๋ก์ธ๋ก dir ์ค๋ฅด๋ง ๋ด๋ฆฌ๋ง
int idx = 0;
if (type == 0 && dir == 0) { //๊ฐ๋ก ๊ฒ์ฌํ๋๋ฐ ์ค๋ฅด๋ง
while (idx < X) {
... | [
"benrtt@naver.com"
] | benrtt@naver.com |
ea22dc456fda6487daf62fee428d704b8d0cde47 | 6ed471f36e5188f77dc61cca24daa41496a6d4a0 | /SDK/ProjFireBall_functions.cpp | e6ef1f9871f2fb1692808bcc45219691cfafc2fe | [] | no_license | zH4x-SDK/zARKSotF-SDK | 77bfaf9b4b9b6a41951ee18db88f826dd720c367 | 714730f4bb79c07d065181caf360d168761223f6 | refs/heads/main | 2023-07-16T22:33:15.140456 | 2021-08-27T13:40:06 | 2021-08-27T13:40:06 | 400,521,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | cpp |
#include "../SDK.h"
// Name: ARKSotF, Version: 178.8.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function ProjFireBall.Pr... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
e0b508ab34929bbd62dd2aac5d89528a42fac830 | f23e6027b98ce89ccdf946bbc0aaa8d90ac54ce5 | /src/erhe/graphics/erhe_graphics/gl_context_provider.cpp | 2c03ba337c0b9de248bfadc49651ca809096416f | [
"MIT",
"Zlib",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | tksuoran/erhe | 8476cba96d73d4636aad2a40daaa707fd00b112f | d8a3393113aac273fe2446894f287d9a7889e0a7 | refs/heads/main | 2023-09-04T11:06:39.665543 | 2023-09-02T16:15:32 | 2023-09-02T16:15:32 | 363,416,834 | 412 | 45 | NOASSERTION | 2023-07-15T11:06:09 | 2021-05-01T13:29:16 | C++ | UTF-8 | C++ | false | false | 4,372 | cpp | #include "erhe_graphics/graphics_log.hpp"
#include "erhe_graphics/gl_context_provider.hpp"
#include "erhe_graphics/opengl_state_tracker.hpp"
#include "erhe_profile/profile.hpp"
#include "erhe_verify/verify.hpp"
#include "erhe_window/window.hpp"
#include <functional>
namespace erhe::graphics {
Gl_context_provider::Gl... | [
"tksuoran@gmail.com"
] | tksuoran@gmail.com |
d3ffb6f90cf51137fc7c33b8af13cffd87f32f08 | c9c1d8784a0905e21247076a8b70fc4ebb475184 | /Trees_Graphs/dijkstra.cpp | 92489799e2a1dbbd6121627e7a22a6a1ced13a64 | [] | no_license | kirito-udit/competitive-programming-library | f1aab402161bfd5d20968eaa202fda7a42fbff96 | 794f59553ff4bb703b06e03427c8b3e092350131 | refs/heads/master | 2023-08-14T01:38:54.865618 | 2021-09-29T17:39:50 | 2021-09-29T17:39:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp | void solve(vector<vector<pair<int,ll>>>& g, vector<ll>& d, vector<int>& p, int s) {
int n = g.size();
priority_queue<pair<ll,int> , vector<pair<ll,int>>, greater<pair<ll,int>>> dijkstra;
d[s] = 0; dijkstra.push({d[s],s});
while(!dijkstra.empty()) {
auto [l, node] = dijkstra.top(); dijkstra.pop(... | [
"diptarag1@gmail.com"
] | diptarag1@gmail.com |
ee3e2fd883206078485bc7a55abc93c45f722157 | 70599f0ea828564278b33ba46966c4b32ac78d56 | /src/qt/kts/prunnable.h | e3318d6167f76b03801cb678f92d6e371c132fa4 | [
"MIT"
] | permissive | klimatas/klimatas-core | 9b4c95a93ca4f6e42d98df7f4ff4ea2864f9ba7f | 7421ecd2ba1a88dcc15a1dc95f66e82e398cfe90 | refs/heads/master | 2022-05-21T01:05:07.481022 | 2022-03-29T15:40:42 | 2022-03-29T15:40:42 | 167,570,221 | 8 | 25 | MIT | 2022-03-29T15:40:43 | 2019-01-25T15:38:30 | C++ | UTF-8 | C++ | false | false | 461 | h | // Copyright (c) 2019 The PIVX developers
// Copyright (c) 2020 The Klimatas developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef KTS_CORE_NEW_GUI_PRUNNABLE_H
#define KTS_CORE_NEW_GUI_PRUNNABLE_H
class Runnable {
... | [
"m.vanamstel@dutchcrypto.works"
] | m.vanamstel@dutchcrypto.works |
118ce0d6103e7b4da8100fc9954ad447e0b5a585 | 7a7addc0e81bbd75fcb4912195adaf3032b2c24d | /Other/Algorithms/Graph Algorithms/Bellman Ford.cpp | 335252d55de2a0f139c669ae5d9a08207b8ee8d7 | [] | no_license | saribekyan/competitive-programming | 6e492ee0c1550fc4bab538a965e4825609cfbda2 | eeae87c2c40d85680b97a5d5f27e4dfbc02437e7 | refs/heads/master | 2021-05-04T03:07:22.576203 | 2019-04-06T14:55:55 | 2019-04-06T14:55:55 | 120,372,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | cpp | #include <stdio.h>
int d[1000];
int edge[10000][3];
int main()
{
int n, m, s, p, q, i, j;
scanf("%d%d%d", &n, &m, &s);
for (i = 0; i < m; i++)
scanf("%d%d%d", edge[i], edge[i]+1, edge[i]+2);
for (i = 0; i < n; i++)
d[i] = 123456789;
d[s] = 0;
for (i = 0; i < n-1; i++)
for (j = 0; j < m; j++)
... | [
"shaykshe@gmail.com"
] | shaykshe@gmail.com |
42feb5d48e3ebe427f896209a6a8bcacac3ed5b8 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/third_party/webrtc/modules/audio_coding/neteq/nack_tracker_unittest.cc | e5c0c3bc4d0463e0a8907c58fc8b0b24556a6de9 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"MS-LPL",
"LicenseRef-scancode-takuy... | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 18,294 | cc | /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
64b85dcea4bf41f420084a66a0b7a4a46965e81d | 58c4e7756a9ebdf8fcd36cee6206f78e0ac49784 | /nar3ncesorting.cpp | ed2853fc3146bf9270dea154bd8aa7ae05a5362b | [] | no_license | nar3nce/Projects-cpp | 3f4cdf70dfc5f2fda35eb231372b8a2ca28398b9 | 9d99ce76c9c8fd11e5ee495d139db9d0fd00cdfa | refs/heads/master | 2023-02-25T15:08:08.253076 | 2021-02-05T02:25:41 | 2021-02-05T02:25:41 | 336,140,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,804 | cpp | #include<iostream.h>
#include<conio.h>
//qsort components
void quick_sort(int[],int,int);
int partition(int[],int,int);
void quick_sort(int a[],int l,int u)
{
int j;
if(l<u)
{
j=partition(a,l,u);
quick_sort(a,l,j-1);
quick_sort(a,j+1,u);
}
}
int partition(int a[],int ... | [
"nar3nce@gmail.com"
] | nar3nce@gmail.com |
a996e96ca6b87f73310e73ef665a954a442290aa | 0fc6eadc8811a6990e0bd41e9a23bf698e738c88 | /cf/502/d.cpp | cafc8fc4b964c36485a4b675cdac14945e1edeaf | [] | no_license | bossxu/acm | f88ee672736709f75739522d7e0f000ac86a31de | 871f8096086e53aadaf48cd098267dfbe6b51e19 | refs/heads/master | 2018-12-27T22:20:27.307185 | 2018-12-20T04:41:51 | 2018-12-20T04:41:51 | 108,379,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,586 | cpp | #include<bits/stdc++.h>
using namespace std;
#define clr(shu,x) memset(shu,x,sizeof(shu))
#define INF 0x3f3f3f3f
#define pi acos(-1)
#define loge exp(1)
#define ll long long
#define pb push_back
const int mod = 1e9+7;
const double eps = 1e-6;
int cha[4200][120];
int shu[4200][4200];
int num[4200];
int val[20];
int mai... | [
"[756753676@qq.com]"
] | [756753676@qq.com] |
e0de9109b79e006dfd3233cd6b5f1eca995a4b5a | d6c7ef2ca0ada0e742545571d817ca48694e304f | /fix64.h | ac6d26e46b783e45ba907cf853457fb40d158083 | [] | no_license | kingking888/android_elf_fix | e0325ac6d1550b25c3088bea48b423184773898a | daef5e7e7a0698df0c9397b0b22940b6819faf30 | refs/heads/master | 2023-06-02T19:37:13.423673 | 2021-06-16T09:02:15 | 2021-06-16T09:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | h | #pragma once
#include <fstream>
#include <string>
#include "elf.h"
#include <fstream>
using namespace std;
#define SHN_UNDEF 0
#define NOTE_GNU_BUILD_ID 1
#define HASH 2
#define GNU_HASH 3
#define DYNSYM 4
#define DYNSTR 5
#define GNU_VERSION 6
#define GNU_VERSION_R 7
#define RELA_DYN 8
#define RELA_PLT 9
#define PLT ... | [
"alex@DESKTOP-PSP4RV0"
] | alex@DESKTOP-PSP4RV0 |
faa89559a50d84dfe5230a0e6c2fe0d389ad7a24 | 62eff5e046a5ad087e28165d8a9b74188c1fa0e0 | /gauss.cpp | 9aa265451c80802bed2c48cb09011f347f6a744b | [] | no_license | Maj333/test | c27c703b8a39ee6e10f369386f0a08d80a432c13 | 6122c445bf2159d32955cf1ba96d283bc05a6604 | refs/heads/master | 2020-06-22T07:20:21.595125 | 2017-04-08T19:03:36 | 2017-04-08T19:03:36 | 74,598,257 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 7,461 | cpp | //Rozwiazywanie ukladu rownan liniowych metoda Gaussa
//www.algorytm.org
#include <iostream>
#include <fstream>
#include <algorithm> // swap
#include <cstddef> // size_t
using std::swap;
// a[r][c]
// r - liczba wierszy
// c - liczba kolumnhjkhjkh
template<typename Number> void printMatrix(const Number** a, const s... | [
"juleczek1"
] | juleczek1 |
87a227279179d41e29e074508a8b11a1a3916dd6 | 0b5f5a38bb3f43ded62b9c1e4f710f882b1155c5 | /owCore/UtilsConvert.cpp | 2419c2a095fd506bc5d516113d32f863ec58b67a | [
"Apache-2.0"
] | permissive | xuebai5/OpenWow | a3c41d984cebe4dc34e9e3d0530363da4106bb61 | 97b2738862ce0244fd5b708f4dc3f05db7491f8b | refs/heads/master | 2020-04-26T23:16:26.733576 | 2019-03-03T12:41:04 | 2019-03-03T12:41:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,937 | cpp | #include "stdafx.h"
#include "Utils.h"
std::string Utils::ToString(const type_info& type, void* value)
{
std::stringstream stream;
if (type == typeid(bool))
stream << *((bool*)value);
else if (type == typeid(int))
stream << *((int*)value);
else if (type == typeid(unsigned int))
stream << *((unsigned int*)... | [
"alexstenfard@gmail.com"
] | alexstenfard@gmail.com |
99088d34f51a472e38009df09a5bb7bd00bfb04d | dcd772f567ef8a8a1173a9f437cd68f211fb9362 | /crow/contrib/include/boost/math/tools/detail/rational_horner3_16.hpp | b1c89774f8e0048a6d22b1d8b9515cca66c3aa02 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause",
"BSD-3-Clause",
"BSL-1.0"
] | permissive | idaholab/raven | 39cdce98ad916c638399232cdc01a9be00e200a2 | 2b16e7aa3325fe84cab2477947a951414c635381 | refs/heads/devel | 2023-08-31T08:40:16.653099 | 2023-08-29T16:21:51 | 2023-08-29T16:21:51 | 85,989,537 | 201 | 126 | Apache-2.0 | 2023-09-13T21:55:43 | 2017-03-23T19:29:27 | C++ | UTF-8 | C++ | false | false | 26,543 | hpp | // (C) Copyright John Maddock 2007.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// This file is machine generated, do not edit by hand
// Polynomial evaluation using s... | [
"codypermann@gmail.com"
] | codypermann@gmail.com |
333cbe59e535e581ba581212a462218a0c762b3c | 5a5326e1a51a03c795e44182919ad3176a3f35f5 | /OpenGL_Two/OpenGL_Two/Source/Transform.h | 57864d1cc16fee4591a49105f550f83ba99125d7 | [] | no_license | LeeviPaa/OpenGL_Graphical-Engine | 40785a5654301ecf1afab29eb0e32f281d19ac0b | 3362b08d61d9c788a2f5dbcd766bc167e8d6d05f | refs/heads/master | 2020-04-11T15:58:59.941030 | 2019-01-08T16:28:17 | 2019-01-08T16:28:17 | 161,909,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137 | h | #pragma once
#include <glm/glm.hpp>
#include <glm/ext.hpp>
enum SPACE
{
LOCAL,
GLOBAL
};
class Transform
{
public:
Transform();
};
| [
"lpkknn@gmail.com"
] | lpkknn@gmail.com |
816f088d466925c556196a84d382ecaed136f2d9 | 9706185cdc3de124dd5893d0064af977aa62aac1 | /LabHelper.cpp | 63362127c43352b8cc875cd96f026f1c4464f9b7 | [] | no_license | Slavjan/winAPI_noteBook | 689b65e02d299b695c2416a20a833873fe9c1e67 | 7f38e85ad14b3af8735e19096d35d75cabeef0aa | refs/heads/master | 2021-01-19T07:29:22.496786 | 2017-04-07T13:38:39 | 2017-04-07T13:38:39 | 87,544,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | #include "labhelper.h"
// ะธะฝะธัะธะฐะปะธะทะธัะพะฒะฐัั ััะฐัะธัะตัะบะธะต ะฟะตัะตะผะตะฝะฝัะต ะฝัะถะฝะพ ะฒ .cpp ัะฐะนะปะฐั
// ะฝะฐัะธะฝะฐะตะผ ั id = 10000
int PairIdComponent::count = 10000;
std::string LabHelper::IntToString( int value )
{
std::stringstream ss;
ss << value;
return ss.str();
}
int LabHelper::StrToInt( std::strin... | [
"Yaroslav Khaidayev"
] | Yaroslav Khaidayev |
5a80f328c6447917d5d740cc88c6822c2f8f791d | a57b410453b962d7f128753a33ca8a880d4d0a35 | /Graphs/Heap.hpp | 1766c12f2f775b1be2d5cc85ae7aca90e1e25745 | [] | no_license | DaniloVlad/Data-Structures-and-Algorithms | bac09783352cffb1ca3655b6275173e8a6371bed | 948115e23f349e32f5dea5e12e84bdb7ca9bbd68 | refs/heads/master | 2021-05-22T21:33:05.942172 | 2020-04-04T21:52:59 | 2020-04-04T21:52:59 | 253,105,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | hpp | #ifndef _Heap
#define _Heap
#include <iostream>
#include <math.h>
using namespace std;
class Heap {
public:
Heap(float keys[], int n);
bool in_heap(int id);
float min_key();
int min_id();
float key(int id);
void delete_min();
void decrease_key(int id, float... | [
"danilo.vladicic@gmail.com"
] | danilo.vladicic@gmail.com |
ae3d0a131afefafce024850303c95b2bb1508280 | 7b49c6aced0e672cc7636a4fb5eeee7694f28cdc | /project/source/system/object/3d/SkeltalMesh.h | 2099c927b6b39a72865ea259469b6a322de1f595 | [] | no_license | TomohiroYuki/YukitterFramework | f57b3231deaeba86ac2e97d2cadb27a187cc6b49 | 50efa6d32005c89d1164894e4a239300573d7e7b | refs/heads/master | 2020-03-30T07:47:56.342747 | 2018-09-30T13:16:43 | 2018-09-30T13:16:43 | 150,967,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,321 | h | #pragma once
#include "source\system\object\primitive\Primitive.h"
#define MAX_BONE_INFLUENCES 4
struct SkeltalMeshVertexData
{
DirectX::XMFLOAT3 pos;
DirectX::XMFLOAT3 normal;
DirectX::XMFLOAT2 texcoord;
FLOAT bone_weights[MAX_BONE_INFLUENCES] = { 1, 0, 0, 0 };
INT bone_indices[MAX_BONE_INFLUENCES] = {};
};
... | [
"rohimotokiyu@gmail.com"
] | rohimotokiyu@gmail.com |
548ac951dc319e451747c1c28fdbd31ab04a7c8d | 69828fb743c4b7a5eadb0052696920bf39576235 | /comtut/exeserver/addressobject.h | ad776711978b402936a001146fcd857ee92f237f | [] | no_license | praseedpai/COMTutorial1999 | 913caf9deca8611ab1c10cf21914f60d32371849 | 1dbe34a864a9aa0d4b975da8d55fc4ace9608845 | refs/heads/master | 2022-06-30T00:22:46.412251 | 2020-05-06T05:09:39 | 2020-05-06T05:09:39 | 261,657,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,195 | h | /* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Wed Apr 21 19:02:41 1999
*/
/* Compiler settings for addressobject.idl:
Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: allocation ref bounds_check enum stub... | [
"praseedp@gmail.com"
] | praseedp@gmail.com |
5b0e92cc3f092ed9d790d53bd46b95aa5b60b4d9 | 30cd1a7af92fb1243c33f9b8dde445c29118bd1a | /third_party/allwpilib_2016/wpilibc/Athena/src/ADXL362.cpp | 3c70b9b20f1a05aeb6969977448ab26cef394d13 | [
"BSD-2-Clause"
] | permissive | FRC1296/CheezyDriver2016 | 3907a34fd5f8ccd2c90ab1042782106c0947c0cb | 4aa95b16bb63137250d2ad2529b03b2bd56c78c0 | refs/heads/master | 2016-08-12T23:22:00.077919 | 2016-03-19T05:56:18 | 2016-03-19T05:56:18 | 51,854,487 | 2 | 0 | null | 2016-02-29T10:10:27 | 2016-02-16T17:27:07 | C++ | UTF-8 | C++ | false | false | 4,867 | cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved.
*/
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
/*---------------------... | [
"tkb@cheezy.usfluidtech.com"
] | tkb@cheezy.usfluidtech.com |
61bb95d3a4e2fdc8a240bf49dc8197c26e2da7b3 | d9b4514134ee811c705009d05fd21a291a311c54 | /day9/exam9/stdafx.cpp | 3bf00e8f01fda19502b81a99279c535e34323391 | [] | no_license | akemflem1/example | eb2967b2abf85adaf988b227f1a87a0e7468005f | 4904b5e61618154cd7f169a5a6c5a15e5cac8a9c | refs/heads/master | 2020-04-05T13:04:52.555992 | 2017-07-18T07:11:02 | 2017-07-18T07:11:02 | 95,063,396 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 323 | cpp | // stdafx.cpp : ํ์ค ํฌํจ ํ์ผ๋ง ๋ค์ด ์๋ ์์ค ํ์ผ์
๋๋ค.
// exam9.pch๋ ๋ฏธ๋ฆฌ ์ปดํ์ผ๋ ํค๋๊ฐ ๋ฉ๋๋ค.
// stdafx.obj์๋ ๋ฏธ๋ฆฌ ์ปดํ์ผ๋ ํ์ ์ ๋ณด๊ฐ ํฌํจ๋ฉ๋๋ค.
#include "stdafx.h"
// TODO: ํ์ํ ์ถ๊ฐ ํค๋๋
// ์ด ํ์ผ์ด ์๋ STDAFX.H์์ ์ฐธ์กฐํฉ๋๋ค.
| [
"qhsghks6465@hanmail.net"
] | qhsghks6465@hanmail.net |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.