blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
749127d1feaf24ebd5aeba401383553cb3687f28
9b9c176687cfa74feb338efc00bc16f13bec28da
/src/castiglione.h
133090d1abc455410187d6966a168efdfc55e0f2
[]
no_license
jcrangel/periodic_fix_points
1b2d0afec0c3c5b2ec55f4aca2743a013534f3e7
c0804485913cff945ec0c4f0a858a33fbde8d7d8
refs/heads/master
2020-05-09T04:15:19.092002
2019-07-09T02:15:05
2019-07-09T02:15:05
180,983,794
0
0
null
null
null
null
UTF-8
C++
false
false
2,616
h
castiglione.h
/**********************************************************************************************/ /** * Copyright 2018 Julio C. Rangel * @file castiglione.h * * @brief From paper. Optimal Control in a Model of Dendritic Cell Transfection Cancer Immunotherapy *********************************************************...
d8d9850168e60019f9bc9d559afdc0720db11133
7d49da1e15460064a87e8393361952dfa7586896
/Homework2_Two-way_Min-cut_Partitioning/src/Structure/Data.hpp
5fc90bc4925765f129f0b632905694b69b53c3fc
[]
no_license
zihaokuo/Physical_Design_Automation
a4f9307d2fc4f100e5d7a4a076c153715bb1bbf2
00efdd761018efb0a70e7ea2fadf8f1930ac99a6
refs/heads/main
2023-03-14T11:41:26.949943
2021-03-03T03:17:52
2021-03-03T03:17:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,296
hpp
Data.hpp
#pragma once #include <string> #include <unordered_map> #include <vector> struct Cell; struct Node { Cell *cell; Node *next, *before; Node(Cell *cell) : cell(cell), next(nullptr), before(nullptr) {} }; struct Net; struct Cell { std::string name; int size, set, gain; bool lock; std::vector...
ff92cc8c2168ae2b8053f2396cea88beff7784e2
e6652252222ce9e4ff0664e539bf450bc9799c50
/d0710/attachments/source/郑州外国语-Fancy/thefall3.cpp
750b77f592cf2ccd085c51af35f610c672e9c01c
[]
no_license
cjsoft/inasdfz
db0cea1cf19cf6b753353eda38d62f1b783b8f76
3690e76404b9189e4dd52de3770d59716c81a4df
refs/heads/master
2021-01-17T23:13:51.000569
2016-07-12T07:21:19
2016-07-12T07:21:19
62,596,117
0
0
null
null
null
null
UTF-8
C++
false
false
922
cpp
thefall3.cpp
#include<cstdio> #include<cstring> #include<cstdlib> #include<algorithm> #include<iostream> using namespace std; typedef int LL; const int N=10001; int m,fr,to; int tot,prime[N],not_p[N],mu[N]; inline void Pre() { not_p[1]=1;mu[1]=1; for(int i=2;i<N;i++) { if(!not_p[i]) prime[++tot]=i,mu[i]=-1; ...
bcd9974933739559d9ffe2d0103f5bf40db10954
0a7c429c78853d865ff19f2a75f26690b8e61b9c
/Experimental/AppFrameWork/Predicates/ConditionWrapper.cpp
2cdba8fb3f9475deb21d2715e795d426f8f7944d
[]
no_license
perryiv/cadkit
2a896c569b1b66ea995000773f3e392c0936c5c0
723db8ac4802dd8d83ca23f058b3e8ba9e603f1a
refs/heads/master
2020-04-06T07:43:30.169164
2018-11-13T03:58:57
2018-11-13T03:58:57
157,283,008
2
2
null
null
null
null
UTF-8
C++
false
false
2,701
cpp
ConditionWrapper.cpp
/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2002, Perry L Miller IV // All rights reserved. // BSD License: http://www.opensource.org/licenses/bsd-license.html // /////////////////////////////////////////////////////////////////////////////// ////////////////...
fd24de65c4540d126bd47042cf71cf2af7642918
b107483b1c9834cc7b1df560d645cd3008364ed1
/Sources/GXEngine/GXAnimSolverPlayer.cpp
a6766da0ad7a1a67ba9de71f1d026b6fc7a95c67
[]
no_license
Goshido/GXEngine-Windows-OS
1a420b109c047778c3eff1f97eb284254806df5e
6745e3e86a94f90124300821d920073d54069644
refs/heads/master
2016-08-12T22:14:41.976336
2016-03-05T17:37:06
2016-03-05T17:37:06
47,348,608
1
0
null
null
null
null
UTF-8
C++
false
false
3,477
cpp
GXAnimSolverPlayer.cpp
//version 1.3 #include <GXEngine/GXAnimSolverPlayer.h> #include <GXCommon/GXAVLTree.h> #include <new> class GXBoneFinderNode : public GXAVLTreeNode { public: const GXUTF8* boneName; GXUShort boneIndex; public: GXBoneFinderNode ( const GXUTF8* boneName, GXUShort boneIndex ); virtual const GXVoid* GetKey...
3dc185722591d558b90b8a2f8810ea90bf914def
ee8e175ea4fc19a3f050cc8c8c7ab239491c173b
/CellularBlockWorld/Game/Genome.hpp
e9bcfd8420ec85d04e4e5c9a8216a908c5be246d
[]
no_license
BrianRust/Smooth-Life
76635fcc3be79045b89ee4d335d78c0494dc57f2
c8a5200522202ef1acc8aa924a41c1006b682e28
refs/heads/master
2016-09-01T05:03:58.903009
2015-10-07T01:59:00
2015-10-07T01:59:00
43,098,092
0
0
null
null
null
null
UTF-8
C++
false
false
1,623
hpp
Genome.hpp
#ifndef included_Genome #define included_Genome #pragma once //------------------------------------------------------------- //------------------------------------------------------------- class Genome { public: Genome() { m_maxStarveLossPerStep = 0.f; m_maxCrowdLossPerStep = 0.f; m_maxBirthsPerStep = 0.f; ...
a1b8cb91f9186b41944eb8598e9b314f0291a154
5cbcc8d5822a6e15418c5edb33b95eaf195ec4f2
/w02/wk02_hwD_chesj445/src/Ball.hpp
a911675e8ff788284b7941bec874365fdd82c4da
[]
no_license
jeanachesnik/chesj445_AlgoSims2016
aa34f48acdff5373c43c8dafb72d93e2cf711e23
1c9abc44db4343d6721fa2826f6f5715c5c7b3fe
refs/heads/master
2021-01-11T18:21:03.691214
2016-12-16T02:07:58
2016-12-16T02:07:58
67,174,521
0
0
null
null
null
null
UTF-8
C++
false
false
631
hpp
Ball.hpp
// // Ball.hpp // wk02_hwD_chesj445 // // Created by Jeana Chesnik on 9/18/16. // // #ifndef _BALL // if this class hasn't been defined, the program can define it #define _BALL // by using this if statement you prevent the class to be called more than once which would confuse the compiler #include "ofMain.h" clas...
c595125052d5b3fa7557a3a8e884fea67c8bcbfb
9cb68d0570a8203e1e7b8c5dfe03db3d142a8f53
/src/Resources/Modelling/ModelBase.cpp
4a54ea0efc8de5d9761acedce63d60f2bf71055a
[]
no_license
Serflous/ICT397-Modern
a97fa2898f229f88d53fbc1caec40bc26f8b5c14
cab4aba962d87eddb8bff8aebcda6a19440ef124
refs/heads/master
2020-03-10T03:33:32.271533
2018-06-01T00:39:23
2018-06-01T00:39:23
129,168,162
0
0
null
null
null
null
UTF-8
C++
false
false
1,251
cpp
ModelBase.cpp
#include "ModelBase.h" ModelBase::ModelBase() { m_vaoId = 0; m_vertexCount = 0; m_texture = nullptr; } void ModelBase::SetVAOID(int vaoId) { m_vaoId = vaoId; } void ModelBase::SetVertexCount(int vertexCount) { m_vertexCount = vertexCount; } void ModelBase::SetTexture(Texture2D * texture) { m_texture = texture...
6b30df98435712b1eb64c29da33cc41daaff53fa
c831d5b1de47a062e1e25f3eb3087404b7680588
/webkit/Source/WebKit/win/DOMEventsClasses.cpp
ad8766b31b5683a69ce5475bf7704bca3dc836d4
[ "BSD-2-Clause" ]
permissive
naver/sling
705b09c6bba6a5322e6478c8dc58bfdb0bfb560e
5671cd445a2caae0b4dd0332299e4cfede05062c
refs/heads/master
2023-08-24T15:50:41.690027
2016-12-20T17:19:13
2016-12-20T17:27:47
75,152,972
126
6
null
2022-10-31T00:25:34
2016-11-30T04:59:07
C++
UTF-8
C++
false
false
20,278
cpp
DOMEventsClasses.cpp
/* * Copyright (C) 2006-2007, 2015 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of ...
7f653b35f560b98283630f4507c72ac16b0f044a
6dacb8f59751c9647685d4b931b2cbef00fcd302
/PepLectures/Lec02_28-Jan/reverseNumber.cpp
b7902b0ff6794cd7648339eaeb24753856a0eadf
[]
no_license
sudhanshu-t/DSA
88662429514509c3a063d7610db3d32a6854c5c0
042fad26085405f77f159eb08c53555de9fb7732
refs/heads/master
2021-07-19T15:26:34.310444
2020-07-09T11:59:41
2020-07-09T11:59:41
278,350,018
0
0
null
null
null
null
UTF-8
C++
false
false
196
cpp
reverseNumber.cpp
#include<iostream> using namespace std; int main(int argc, char** argv){ int n, d; cin>>n; while(n != 0){ d = n%10; n = n/10; cout<<d; } return 0; }
3479c535b322b69f419a99e4e6911711815a432b
fcf64d18154ed142371db8cb058a82049c23f78f
/WorkZix/LinuxBackUp/VelodyneSlamTest/Param.h
384def8c8035504ca90011f5390387dda230e90e
[]
no_license
peterdu88/WorkZix
fc1408b59dc21a1aa16ce3a8f5eb0ff0b1b72827
9223999b95a24fc1134f808853a97fce7f27812a
refs/heads/master
2022-03-13T04:32:11.654753
2018-09-24T16:42:54
2018-09-24T16:42:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
442
h
Param.h
#include "OpenCVInc.h" class VelodyneParam { public: VelodyneParam(); double dTreadSlope; //road edge slope threashold (degree) cv::Point3d CalibT; //calibrate translation cv::Point3d CalibR; //calibrate rotation double dVehicleWidthHalf; //mm double dVehicleLen; //mm do...
4e5619d72d59473d53ab98561a8442de294a5451
a27e8fbaf88288f161615345a6398852dac46efd
/src/read_mapper/mapper/read_query_file.cpp
2863399e62285dc26483c3415f0dcc11e2c18349
[ "CC-BY-4.0", "MIT", "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
seqan/learning-resources
e33a32c36ec88acb30581e51afa614f6654bbc2f
e6447edca3a349cb350b73b31dbed9e3215447fc
refs/heads/gh-pages
2021-12-24T15:02:58.551100
2021-09-14T12:16:45
2021-09-14T12:16:45
203,571,340
7
5
NOASSERTION
2021-09-14T09:14:01
2019-08-21T11:36:26
C++
UTF-8
C++
false
false
184
cpp
read_query_file.cpp
#include "read_query_file.hpp" namespace read_mapper::mapper { void read_query_file(cli_arguments const & arguments, read_query_file_callback callback) { } } // read_mapper::mapper
a2b1e6abfe3080a0f2454faf9c1c71b16c43b595
fca68c5fec6df6f999408571315c2b8e7c4b8ce9
/service/navtrack_home/src/Navigation/Navigation/NavMuonId.h
d83911035bb0200e54a6e2a59af3367918fad55c
[]
no_license
jpivarski-talks/1999-2006_gradschool-3
8b2ea0b6babef104b0281c069994fc9894a05b14
57e80d601c0519f9e01a07ecb53d367846e8306e
refs/heads/master
2022-11-19T12:01:42.959599
2020-07-25T01:19:59
2020-07-25T01:19:59
282,235,559
0
0
null
null
null
null
UTF-8
C++
false
false
5,463
h
NavMuonId.h
#if !defined(NAVIGATION_NAVMUONID_H) #define NAVIGATION_NAVMUONID_H // -*- C++ -*- // // Package: Navigation // Module: NavMuonId // /**\class NavMuonId NavMuonId.h Navigation/NavMuonId.h Description: Muon id info Usage: through member functions Note that there are two pre-packaged muon id crit...
51d9ed9395dae33cf17232c165fc5d1fd7bc7848
120fbb2b537fd6db34eadc07336192abc0f980ba
/src/TestDataCreation.h
7090575a3946285c0a917ebf8aa31b94d0c63ae6
[]
no_license
soonraah/dstclst
639679d5c93e6ede5777be73c764dc72b8ad98e2
8507507245ac1561e28526436097e94c4d801f70
refs/heads/master
2020-04-22T03:42:24.868886
2012-08-24T00:53:29
2012-08-24T00:53:29
5,278,144
2
0
null
null
null
null
SHIFT_JIS
C++
false
false
35,427
h
TestDataCreation.h
/**************************************************************************//** * @file TestDataCreation.h *****************************************************************************/ #include <vector> #include <cmath> //! 1000個のデータ間の距離テーブルを作る(doc/TestDataMaking.xls の Data_Large, Graph_Large) void setDataDistan...
70c779274347357e414112516faa4c2d1dca67be
7f676c9764673d8b446deb07b3f5823c113016c6
/components/utilities/i2cw.cpp
94477c7d5b20397aa48584fb70a4dc7d1bf9a020
[ "MIT" ]
permissive
richardgedwards/guava
435bc96302cc459784ae4e54327918b15914ed02
82817e940174838cf2aa9ee5f8940f8588c9dc72
refs/heads/main
2023-02-07T12:21:54.741084
2020-12-24T00:18:39
2020-12-24T00:18:39
322,672,550
1
1
MIT
2020-12-24T00:22:51
2020-12-18T18:19:06
C++
UTF-8
C++
false
false
3,331
cpp
i2cw.cpp
#include "i2cw.h" #include "esp_exception.h" // define THROW macro #include "esp_log.h" // I2CMaster I2CMaster::I2CMaster(i2c_port_t port, int sda_io_num, int scl_io_num, uint32_t clk_speed) : I2CBase(port, sda_io_num, scl_io_num) { _config.sda_pullup_en = GPIO_PULLUP_ENABLE; _config.scl_pullup_en = GPI...
c2ea18a38abf5a8912621e1ca119072d1bf3b0a9
6737c2c4e8a45b11fa1a6284af4f17b120305343
/MyCDR/FixedRecordIteraor.cpp
9ecf6ed3abd9a8f1db96619e2b3eccb25e1404ed
[]
no_license
anandrathi/MyCDR
6f072e47a2bb07eeffaa5ac0694bfcf686eb7fde
574e9bd81628819796b0b70372a3467fa5e27337
refs/heads/master
2021-01-13T01:37:07.879020
2012-03-13T01:52:16
2012-03-13T01:52:16
3,233,831
0
0
null
null
null
null
UTF-8
C++
false
false
4,824
cpp
FixedRecordIteraor.cpp
#include "FixedRecordIteraor.h" #include "ace/Log_Msg.h" #include "cpptcl.h" #include "FixedLocationRecord.h" #include <sqrat.h> FixedRecordIteraor::FixedRecordIteraor(RecordDetails* pRecordDetails):Recorditerator(pRecordDetails) { ACE_TRACE("FixedRecordIteraor::FixedRecordIteraor"); _data=0; _RecordNumber=0; _Tot...
dfecb17cd806ff7b203c4d38f014f6a408592f59
79864cee4de758c833447763947cc7dbb3aa1b40
/Source/WTF/wtf/unicode/wchar/UnicodeCaseTable.cpp
141b88acbd8c73a64af753f11b664989e6b9b435
[]
no_license
masali-hp/webkit
1a7722d5463e47e5750ba974c14f0099164c7066
e49996e0fa12de5ee666e58a968c6447b8c2dcf0
refs/heads/master
2023-03-02T00:23:00.643613
2014-11-17T23:12:07
2014-11-17T23:27:18
7,653,236
1
0
null
null
null
null
UTF-8
C++
false
false
4,820
cpp
UnicodeCaseTable.cpp
/* Table for lcase value of unicode chars * Incoming vlaues are offset by 0x100 * (so char 0 is actually 0x100). Ends at 0x17F */ const wchar_t lcase_tableA[] = { 0x101, 0x101, 0x103, 0x103, 0x105, 0x105, 0x107, 0x107, 0x109, 0x109, 0x10B, 0x10B, 0x10D, 0x10D, 0x10F, 0x10F, 0x111, 0x111, 0x113,...
5b3dc40d564e4affde639f597792f59bdbaa3410
fd3788a0b9c64bd4dbb325c414d3cb9eaa13e00c
/fit_histo.cc
51c88df4699764c1c5bb0f7015cc3a49b63abcfa
[]
no_license
project8/mindworm
615c6ecd46dbcbb5599a6e438c5b4b37555aab10
51bf6aba0d8fac38b0406a03ebb8f4b26d0bee4b
refs/heads/master
2016-09-11T00:59:49.296826
2013-06-10T01:59:59
2013-06-10T01:59:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,625
cc
fit_histo.cc
#include "Histogram.hh" #include "Minimization1d.hh" #include <math.h> #include <stdlib.h> #include <stdio.h> #include <iostream> class ExpLogLike : public SingleParameterFunction { public: double evaluate(const double &param); double getA(const double &param); int hstart; Histogram thehisto; }; int main(int arg...
289614f772d7f09bac2058d3551190fb303bb394
26bb69977888fdc5f701f32027a0a6ae33c769f2
/qt/kitchen_leakage.h
b773421e700696beccbde3886295969c34396926
[]
no_license
AM20302030/fastfd
a7ab37e3abdd9728f58fdcc76679fb9b1d1d22bf
4b23ee7e736afac6603588dcf8079fae889134f5
refs/heads/master
2023-03-15T23:21:51.398989
2017-07-17T02:19:45
2017-07-17T02:19:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
960
h
kitchen_leakage.h
#ifndef KITCHEN_LEAKAGE_H #define KITCHEN_LEAKAGE_H #include <QDialog> #include <QStandardItemModel> #include <QSqlDatabase> #include <QTimer> namespace Ui { class kitchen_leakage; } class kitchen_leakage : public QDialog { Q_OBJECT public: explicit kitchen_leakage(QWidget *parent = 0); ~kitchen_lea...
0b80c66609541e55ed5269c2cfcb50a2f2ec706c
9fec729f365812836ca0b6a68031b9e0d6561766
/codeforce/global_round_4/B.cpp
41888730452ec430e2921f622dae871f9817a396
[]
no_license
lee-jeong-geun/ps
d681b47c9c3a7f8f0aa29fae961df5c109f55926
8306c546820be5e089ab52abdc1cb03722adbecb
refs/heads/master
2023-04-23T23:38:48.291444
2021-05-05T16:29:47
2021-05-05T16:29:47
106,931,221
1
0
null
null
null
null
UTF-8
C++
false
false
1,315
cpp
B.cpp
#include <bits/stdc++.h> using namespace std; vector<pair<int, int>> vec; char str[1000005]; int length; long long result, Sum[1000005]; /* 연속된 v와 o를 카운트 하는데 v는 2개이상이 연속된 경우에만 해준다. o에 대해서 왼쪽 v의 개수와 오른쪽 v의 개수를 곱해서 결과값에 더해주면 된다. */ int main() { scanf("%s", str); length = strlen(str); int count = 0; vec....
1ce68b32107d1e975e208e1a218a5fde31e81cb0
2f4cd5d7594e34c4f0f71d6f19a7c76418e4b943
/6/1056.cpp
0770ab3a38954117b6ab41cffdc58c8ab25fe2e2
[]
no_license
Gurrium/programming_challenge
dbde476c42ef6a198af3149e783c945b4aa0193c
e1b5b781bdaa8d885ef2b3fc4ca8b171d6e1667b
refs/heads/master
2022-01-13T10:39:37.564009
2019-06-20T06:28:40
2019-06-20T06:28:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,969
cpp
1056.cpp
#include <iostream> #include <vector> #include <map> #define INF 10000 using namespace std; map<string, int> dictionary; int dic_counter = 0; vector<bool> visited; int id(string name) { if(dictionary.find(name) == dictionary.end()) { return dictionary[name] = dic_counter++; } else { return dictionary[nam...
ffc3c0f9a438af58180e525e3c87e13e59ac7b50
1497386b0fe450e6c3881c8c6d52d9e6ad9117ab
/trunk/libcvact/include/actKey.h
8a1fd3c5930f5665c3d3970c4dc5f69f91a4269d
[ "Apache-2.0" ]
permissive
flomar/CrypTool-VS2015
403f538d6cad9b2f16fbf8846d94456c0944569b
6468257af2e1002418882f22a9ed9fabddde096d
refs/heads/master
2021-01-21T14:39:58.113648
2017-02-22T14:10:19
2017-02-22T14:10:19
57,972,666
0
5
null
null
null
null
UTF-8
C++
false
false
2,276
h
actKey.h
////////////////////////////////////////////////////////////////////////////////// // Name: actKey.h // Product: cv act library // Purpose: The class Key manages information relevant to keys (e.g. // domain parameters or the key itself). In the case of symmetric // encryption only a (the...
64c97455529b083491c11b1b06de1f54f247b37e
29e0ff76571947ed785ef4cb73899d572ff2caa1
/src/editor/win_scro.cpp
942085f81a5c7606f6296c349199b521fc5483db
[]
no_license
SimonN/Lix
b0ad837f208fe03cc7821a71145be2a10f2bfe16
845ace4cb360f832e58c8f417039a67b5d926474
refs/heads/master
2021-01-19T00:57:27.103756
2017-08-22T01:16:36
2017-08-22T01:17:18
1,491,253
28
12
null
2016-07-17T10:49:39
2011-03-17T11:39:36
C++
UTF-8
C++
false
false
4,451
cpp
win_scro.cpp
/* * editor/win_scro.cpp * */ #include "win_scro.h" #include "../other/help.h" #include "../other/language.h" #include "../other/user.h" namespace Api { const unsigned WindowScroll::this_xl(420); const unsigned WindowScroll::this_yl(300); const unsigned WindowScroll::nrxl(180); // Number X-Length const unsigned ...
3428d3803226457cb33def4e3c4c18245eb5e501
914e9e0df3a19bb355982a4db48af864070a7033
/src/cmessage.cpp
49b2476095bf7fa228543a291e94f701e453a1e1
[ "MIT" ]
permissive
hreintke/Seeed_Arduino_ooFreeRTOS
ce7bdf6d973b6e300781f870489d4cdc3e98b839
d0695a89c28c467532eed25c2b39102cd062ed28
refs/heads/master
2022-12-11T07:45:24.532415
2020-08-25T09:12:14
2020-08-25T09:12:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,478
cpp
cmessage.cpp
/**************************************************************************** * * Copyright (c) 2017, Michael Becker (michael.f.becker@gmail.com) * * This file is part of the FreeRTOS Add-ons project. * * Source Code: * https://github.com/michaelbecker/freertos-addons * * Project Page: * http://michaelb...
6096d2e616fad57fc8ddfe8a67760fffa13e7500
2d42a50f7f3b4a864ee19a42ea88a79be4320069
/source/tests/punk_math_test/polygon3d_test.h
6fc20ac8348179520419da3cab442d26d4a141cd
[]
no_license
Mikalai/punk_project_a
8a4f55e49e2ad478fdeefa68293012af4b64f5d4
8829eb077f84d4fd7b476fd951c93377a3073e48
refs/heads/master
2016-09-06T05:58:53.039941
2015-01-24T11:56:49
2015-01-24T11:56:49
14,536,431
1
0
null
2014-06-26T06:40:50
2013-11-19T20:03:46
C
UTF-8
C++
false
false
133
h
polygon3d_test.h
#ifndef POLYGON3D_TEST_H #define POLYGON3D_TEST_H class Polygon3dTest { public: Polygon3dTest(); }; #endif // POLYGON3D_TEST_H
42a6ea35b18612432956728574b2939d91a1b797
c418d1cf53a1be843a86a77c30c2f3a312959cfb
/int_fast8_t.hxx
b46332aa4527b5d3edfd346f3dc9dde3b32ddfaa
[ "MIT" ]
permissive
mojo-runtime/lib-std
f12e2dba26c3d6f2eb7c66fa72e506eb6e43501b
35178964db5b51184f35447f33c379de9768b534
refs/heads/master
2016-09-06T18:39:42.577507
2015-06-10T20:20:18
2015-06-10T20:20:18
37,212,466
0
0
null
null
null
null
UTF-8
C++
false
false
128
hxx
int_fast8_t.hxx
#pragma once namespace std { #if defined(__INT_FAST8_TYPE__) typedef __INT_FAST8_TYPE__ int_fast8_t; #else # error #endif }
236aaae8b9134c07d2e25a7c4ffc08593f820fd4
bcae7c39974b62dfbaccc4cb4ec12282ea2d7807
/Game/Game/MainScene.cpp
2fc09078a1d6b8a99830b5c634a53eb387063ca4
[]
no_license
jenspetter/JEngine
dd3f503f22fe5d6d95777c237be9e16d647d06fd
fe7d400cdffa6b8301a7475d598126c79fd667e4
refs/heads/master
2021-07-21T15:52:51.187739
2017-10-30T21:05:13
2017-10-30T21:05:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
477
cpp
MainScene.cpp
#include "MainScene.h" MainScene::MainScene() { } MainScene::~MainScene() { } void MainScene::Start() { Scene::Start(); //sprite2.SetPosition(400, 0); } void MainScene::Update(float deltaTime) { Scene::Update(deltaTime); /* if (Input->KeyDown(sf::Keyboard::A)) { sprite2.Move(-2, 0); } else if (Input->...
526f3aabd751653c70e34a6d6e75f8cd52de5d72
f7d8a9c80ddace22825e986bdbcb4b099cea2b4f
/Laboratorio_No_6.cpp
369bf52854eb4dfb68b6fefc1fc528c3897a66dd
[]
no_license
Mcoconan/laboratorio6--
574dfb268fc8fcfb293c7eba9808c7678f65d34d
aaccc0fdce12200592b0e11bf6b6b6eb8d94d526
refs/heads/master
2022-02-23T02:11:02.151300
2019-09-22T05:13:10
2019-09-22T05:13:10
null
0
0
null
null
null
null
MacCentralEurope
C++
false
false
580
cpp
Laboratorio_No_6.cpp
/* *Universidad del Valle de Guatemala *Josť Ovando 18071 *Mario Sarmientos 17055 *Laboratorio No. 6 */ #include<iostream> #include<stdlib.h> #include<string.h> #include<fstream> using namespace std; void lectura(); int main() { lectura(); system("pause"); return 0; } void lectura(){ ifstream...
d75bf7c97705057ef4d4c058db8a108cee6a34db
5f975169aeb67c7cd0a08683e6b9eee253f84183
/algorithms/medium/0318. Maximum Product of Word Lengths.h
cdcb9aed154fb7dead5076d4bb5b338ffb777c85
[ "MIT" ]
permissive
MultivacX/leetcode2020
6b743ffb0d731eea436d203ccb221be14f2346d3
83bfd675052de169ae9612d88378a704c80a50f1
refs/heads/master
2023-03-17T23:19:45.996836
2023-03-16T07:54:45
2023-03-16T07:54:45
231,091,990
0
0
null
null
null
null
UTF-8
C++
false
false
919
h
0318. Maximum Product of Word Lengths.h
// 318. Maximum Product of Word Lengths // Runtime: 40 ms, faster than 98.17% of C++ online submissions for Maximum Product of Word Lengths. // Memory Usage: 12.2 MB, less than 100.00% of C++ online submissions for Maximum Product of Word Lengths. class Solution { public: int maxProduct(vector<string>& words) { ...
6ee3d88f4729343e5c3f0066ea748bd2324d33d6
1de7bc93ba6d2e2000683eaf97277b35679ab873
/SecureIM/svcs_rsa.cpp
73fbb385d8c1d809acf431d30c6536c560e419ab
[]
no_license
mohamadpk/secureimplugin
b184642095e24b623b618d02cc7c946fc9bed6bf
6ebfa5477b1aa8baaccea3f86f402f6d7f808de1
refs/heads/master
2021-03-12T23:50:12.141449
2010-04-28T06:54:37
2010-04-28T06:54:37
37,033,105
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
6,694
cpp
svcs_rsa.cpp
#include "commonheaders.h" pRSA_EXPORT exp = NULL; RSA_IMPORT imp = { rsa_inject, rsa_check_pub, rsa_notify }; BOOL rsa_4096=0; int __cdecl rsa_inject(HANDLE context, LPCSTR msg) { pUinKey ptr = getUinCtx(context); if(!ptr) return 0; #if defined(_DEBUG) || defined(NETLIB_LOG) Sent_Net...
84d4b1e3244f9198bdedcdcb29f4474fdfd9e8c0
5d180787540ba25634df8de7b9879f91f4866844
/rza1lu_soundbar_v1/src/tes/Guiliani/Include/Core/GUIObserver.h
c8712833abccaac5d6561f7119e58f2df8a4d1cd
[]
no_license
mkosinski05/rza1_Soundbar
ecddaaf56aedeaba91f11079179a74419b3ea21b
63bd806c224e38b760c4a95d4245546e4d0a8746
refs/heads/master
2023-01-12T01:49:20.904465
2020-11-16T15:14:36
2020-11-16T15:14:36
304,695,885
0
0
null
null
null
null
UTF-8
C++
false
false
4,143
h
GUIObserver.h
/* * Copyright (C) TES Electronic Solutions GmbH, * All Rights Reserved. * Contact: info@guiliani.de * * This file is part of the Guiliani HMI framework * for the development of graphical user interfaces on embedded systems. */ #ifndef GUIOBSERVER__H_ #define GUIOBSERVER__H_ #include "eC_TList_doubleLinked.h" #includ...
dd991bb836ad7cb24471b0ec0777848057586f14
09c57873d0aec96baab343e45de1dbdd493ef6ab
/test/idea.cpp
d956b4758fc7ee8a934dd4439142cefb1045ac5c
[]
no_license
pass0a/cactus
58153dd067aed85dda022a0b60740f9c64bb4a0b
9ffa5c323e1d833b2409c71f12e61fe5d86ac64a
refs/heads/master
2020-03-27T21:55:50.976935
2019-08-12T07:12:37
2019-08-12T07:12:37
147,187,930
0
1
null
2019-08-12T07:28:54
2018-09-03T10:17:21
C++
UTF-8
C++
false
false
153
cpp
idea.cpp
#include "cactus.hpp" #include "core/kernels/eigenwrapper.h" #include <algorithm> using namespace cactus; int main() { return 0; }
edc5e80b83ea72fd4a9ec524a6965e7d76a92175
cdf8258aa3a44fbac1e3d735b4490b840be3d6b4
/P2-Obl1PiasSegovia/boolean.cpp
b0e9b2a757c1e96c1162a796bb3e18853dea828c
[ "MIT" ]
permissive
joasegovia9427/P2Obl1-2017-Segovia-Pias
91654b335a8c4a39f8fde4f85a9321d23eae21bd
051df96ebc1cc604669ff0db27697c71c4a45b92
refs/heads/master
2021-04-12T12:27:10.704278
2018-03-22T17:50:40
2018-03-22T17:50:40
126,373,843
0
0
null
null
null
null
UTF-8
C++
false
false
950
cpp
boolean.cpp
#include <stdio.h> #include "boolean.h" void booleanPROC_carga(boolean &booleanoAcargar){ char opcion; do{ fflush(stdin); printf("\nIngrese una opci%sn(S o N): ", LETRA_o); scanf("%c",&opcion); switch (opcion){ case 's': booleanoAcargar=TRUE; ...
25f365413d00bb78214d55ef0293183a85977de1
d1bae97cbf46068cc1e91a23aaac7340d4483265
/SpaceGolfGame/SpaceGolfGame/Gui/GuiBgfxRenderTarget.h
6f1aee642e6347c9c7cd5164ef37ae4bb07e3712
[]
no_license
jinsuoliu/SpaceGolfGame
20cf02cc00f5f1cb6be442f95e0a2e1ab9927484
7cba5262c6495167aaccff9f198ec7f64f56d00d
refs/heads/master
2020-08-06T21:51:53.985391
2018-06-09T12:23:51
2018-06-09T12:23:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
893
h
GuiBgfxRenderTarget.h
#pragma once #include <CEGUI/CEGUI.h> using namespace CEGUI; #include "GuiBgfxRenderer.h" class GuiBgfxRenderTarget : public RenderTarget { protected: GuiBgfxRenderer& owner; uint8_t passId; Rectf area; public: GuiBgfxRenderTarget(GuiBgfxRenderer& owner); ~GuiBgfxRenderTarget(); virtual void destroy() {} // I...
c487de488edcad7588153766c9699a5b0eded721
66caf343d6a7e8ddc96743774dd19e7317a6ba5b
/shaderforth/pref_file.cpp
5a03558132550e7905d88f7d6ccf15ec7b80a466
[ "MIT" ]
permissive
janm31415/vectorforth
906aa95736b30d2b9b444b210e4e9ec6d678a275
75a6dd7477f3b77238c54e3bde4de129099365d8
refs/heads/master
2023-02-17T11:09:15.414398
2023-02-13T16:47:54
2023-02-13T16:47:54
262,822,526
10
0
null
null
null
null
UTF-8
C++
false
false
5,368
cpp
pref_file.cpp
#include "pref_file.h" #include <sstream> #include <iostream> #include <fstream> #include <json.hpp> struct node_type { node_type() : j(nullptr) {} node_type(nlohmann::json& i_j) : j(&i_j) {} nlohmann::json* j; }; pref_file_element::pref_file_element(const char* _parent_label, const std::shared_ptr<node_...
2ad926a19b1fb111dc1f57e253624a0b9e18979d
4573f01e53932292ea6a9525c489e00520e00338
/docs/sphinx/examples/metadata-formatwriter2.cpp
ce3a5822df5aaa2230862dfd544d0304e3ea512e
[ "BSD-2-Clause" ]
permissive
moalsad/ome-files-cpp
2090ea74a6f4986dbae2e7e460d75bc79a4bfaeb
e8e3c03cab4d00edb96f40aa2b86bc7c99d6588c
refs/heads/master
2022-01-25T08:14:17.801554
2019-06-26T10:01:42
2019-06-26T10:01:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
14,929
cpp
metadata-formatwriter2.cpp
/* * #%L * OME-FILES C++ library for image IO. * Copyright © 2015–2017 Open Microscopy Environment: * - Massachusetts Institute of Technology * - National Institutes of Health * - University of Dundee * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * %% * Redistribution ...
4a6fab8fc32e7299c7a903bb1d5712c41822b72c
1bc03dc0faba85119c44c2e0d90dbcbba72d56e5
/1.cpp
edba31908ea83b57771c726376d4349880d5f93d
[]
no_license
SHOAIBAHMED12842/INTENSIVE-C-PROGRAMMING-UNIT
3ad936727a9d98a25c2f1d344344fe328ea63e0f
d69902e2579badc8030377cebeee1cf8ba463444
refs/heads/master
2021-10-11T13:17:29.417031
2019-01-26T10:59:34
2019-01-26T10:59:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
185
cpp
1.cpp
#include<stdio.h> #include<conio.h> int main() { int a=5,b=10,c=15,sum; printf("input three numbers=%d,%d,%d",a,b,c); sum=a+b+c; printf("\nsum of three numbers=%d",sum); }
0223249ba5e3cb4220b8bf12e43bf837896accc1
ac682ebfe420577fdbd033f5839d2a934072debc
/jobdu/1135.cpp
0f0868e74502123f54eb26901cefabc989556747
[]
no_license
ButteredCat/Online_Judge
de70ef477a80e54db382df2e8ddb00d2a1772e60
da2ad04352e32e5334b89b59969ec704faa23446
refs/heads/master
2021-01-22T23:49:09.926787
2014-12-28T06:07:47
2014-12-28T06:07:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
422
cpp
1135.cpp
#include<iostream> #include<string> #include<map> using namespace std; int main () { int n; while (cin >> n) { string s; multimap < string::size_type, string > m; cin.ignore (); while (n-- && getline (cin, s) && s != "stop") m.insert (make_pair (s.size (), s)); for (multimap < string::size_type, str...
6154dd12707999a049bc10bf6ced450d4b20a62e
d525a38d6e99862dbb1186058dc7e77fcb7f1488
/Source/A/MyPlayerState.cpp
b6380b770f9365d8913e34e001ffe1092f745e90
[]
no_license
Yuandiaodiaodiao/UE4-startup
0f9f3d2ea24e07e97ece5a2dda005763c76fd426
d2ddbbe22e173bac4bb15305f62ffa5dfd174f95
refs/heads/master
2023-09-03T22:13:31.683579
2021-09-12T16:49:07
2021-09-12T16:49:07
306,943,082
0
0
null
null
null
null
UTF-8
C++
false
false
206
cpp
MyPlayerState.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "MyPlayerState.h" void AMyPlayerState::BeginPlay() { UE_LOG(LogTemp, Warning, TEXT("MyPlayerState begin")); }
62098350e5abfff5076dab35c4e5aca07dc7aed5
42db2e546425ee98a43419a4231447e87cbef14b
/ProyectoFinal/ProyectoFinal/Personaje.h
12e419966bc8c1fd7631b80de343128631549bed
[]
no_license
JoanRufo/ProyectoProgramacion
2ded521a2d37d6b2228b67e43e5f0949b5ac16b8
cbf5e32c9e9d991433f6daeff6befc3a9207fd88
refs/heads/main
2023-05-08T13:11:50.279607
2021-06-03T21:30:28
2021-06-03T21:30:28
340,086,678
0
0
null
null
null
null
UTF-8
C++
false
false
889
h
Personaje.h
#pragma once #include "SDL.h" #include <iostream> #include <stdio.h> #include "Controles.h" #include "ResourceManager.h" #include "Video.h" #include "Balas.h" #include "Habitacion2.h" #include <vector> class Personaje { int velPersonaje; int bala; bool a; bool b; public: float Posx; float Posy; float width; ...
0e9ea83c7185871e18a5b8dd25dfad85055886b0
5bb332b9a97ffa7089b0b3a055bca1e90ea728e9
/components/path_follower/src/specificworker.cpp
c3da8d56726b9942537aad09a1d889be3c029383
[]
no_license
robocomp/dsr-graph
c47f8e51b0745489b7a576e3fd2506a5c2a23e3e
04c3f18f5bcb51edf15f2ad6a6f06a65c94bd293
refs/heads/development
2022-07-28T14:59:20.071299
2022-06-29T20:00:24
2022-06-29T20:00:24
161,624,159
6
35
null
2021-10-07T10:07:17
2018-12-13T10:42:09
C++
UTF-8
C++
false
false
26,434
cpp
specificworker.cpp
/* * Copyright (C) 2020 by YOUR NAME HERE * * This file is part of RoboComp * * RoboComp is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your...
5dceb71dd2cc942b30e3004d0543390bbc1e67ab
e48a848ccf26fa9131fa674af31d0bdbb1409cb6
/winner.h
4182153dac6af556243445206e499f75bbf4d5ab
[]
no_license
ThomasWitte/policypf
3f0d9f7d0793a68f31264896c619b612f0539ddc
d29790956ad78962e0bbe86cd20c22a67a67ca81
refs/heads/master
2021-01-02T09:27:46.087090
2013-08-06T12:14:40
2013-08-06T12:14:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,178
h
winner.h
#ifndef _POLPF_WINNER_H_ #define _POLPF_WINNER_H_ #include <vector> #include <deque> #include <type_traits> namespace policy_pf { namespace winner_policies { template<typename State, typename Weight, typename Enable = void> class WeightedArithmeticMean_ { protected: State winner(const std::vector<State>& state_v, c...
c7226f9d5598f29737f3ca2acd2573d3a3ffaabc
de44e9777ee18b920adbe7f4477ef9c7959f53f9
/src/nimcsgo/renderer/font.cpp
3028bad87aa26d356a4dec322b30a5a5a7e39a00
[]
no_license
balenamiaa/nimcsgo
d981a7d2994a3b027206889fc2dda87352b681bd
ab1958190022341435ef2903127351bc009419ea
refs/heads/master
2023-02-21T02:54:26.685641
2021-01-25T05:42:57
2021-01-25T05:42:57
325,797,532
0
0
null
null
null
null
UTF-8
C++
false
false
18,209
cpp
font.cpp
#define _CRT_SECURE_NO_DEPRECATE #include <algorithm> #include <d3dx9.h> #include "font.h" #define SAFE_RELEASE(p) \ { \ if (p) \ { \ (p)->Release(); \ (p) = NULL; \ } \ } //---------------------------------------...
85bd9aa64a75c16b4b94f8c8cda1d89b5bf66353
e81a82daa6542cd7c9e339f5bed5a3b17533d2ca
/StateObject/BodyState/bodystate.cc
97dab30495803a9ff32df3828327e74c1df18c7b
[ "Apache-2.0" ]
permissive
drewnoakes/bold-humanoid
56ea9c06d673eff73bd07865bb0bea8d91371a04
6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335
refs/heads/master
2023-07-16T13:30:17.976858
2021-08-24T12:05:48
2021-08-24T12:05:48
398,125,395
0
0
null
null
null
null
UTF-8
C++
false
false
4,753
cc
bodystate.cc
#include "bodystate.hh" #include "../HardwareState/hardwarestate.hh" #include "../../BodyControl/bodycontrol.hh" #include "../../BodyModel/bodymodel.hh" #include "../../Config/config.hh" #include "../../MX28/mx28.hh" using namespace bold; using namespace std; using namespace Eigen; LimbPosition::LimbPosition(shared_...
b07788f39476a6fff8a45da8d4bde25373e3697b
f0144e164f25fd6b78f31ad654ec9788680ea91e
/libdev/devices/CameraViewer/src/gui/widgetserialport.cpp
86ff7d78625b29e977b12460376c51caa6bd0f86
[]
no_license
pospiech/code
6378c089b46b05891cb4dd4696a322178db65d3b
676ff299d4c7b8d7205393190e275ca310b39945
refs/heads/master
2021-01-10T04:40:03.434313
2019-01-16T07:42:43
2019-01-16T07:42:43
43,712,092
1
1
null
null
null
null
UTF-8
C++
false
false
705
cpp
widgetserialport.cpp
#include "widgetserialport.h" #include <QSerialPort> WidgetSerialPort::WidgetSerialPort(QWidget *parent) : QWidget(parent) , m_serial(new QSerialPort(this)) { } void WidgetSerialPort::writeData(const QByteArray &data) { m_serial->write(data); } void WidgetSerialPort::closeSerialPort() { if (m_serial...
97f18564e64efd18250b1919708ac92abc74796e
663e6946a2091178cd5ffd6a9f92e748dcabb1b0
/mini/constexpr.cpp
5115bc3e068a06ff9970f8953b6964cfedae093f
[]
no_license
wssbygone/mydepot
b9425b4df259457d82ce54e5227771e0daa2406d
e4106958a80ae16d2410bb29c6131a243b4221ca
refs/heads/master
2023-08-24T18:12:18.286550
2023-08-09T02:42:13
2023-08-09T02:42:13
132,110,129
0
0
null
null
null
null
UTF-8
C++
false
false
108
cpp
constexpr.cpp
#include<iostream> static constexpr int N = 3; int main() { constexpr const int * NP = &N; return 0; }
68084d762e0e64fe6bcc11deab9870c811a7298e
e2cc6f14535540a556cfa4327212d0082bb62521
/SortCharactersByFrequency.cpp
ac29051acb5073794c78a432c9ad363a7c321797
[]
no_license
web3Payne/LeetCode
267105b51329e3d500136e6879fee31e3943c648
8609bc4e3ecf0c75e997a810183589dd869a20d7
refs/heads/master
2021-09-29T04:41:30.650155
2017-02-09T09:39:13
2017-02-09T09:39:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
674
cpp
SortCharactersByFrequency.cpp
class Solution { public: string frequencySort(string s) { unordered_map<char, int> mymap; for (char c : s) ++mymap[c]; auto cmp = [](pair<char, int>& a, pair<char, int>& b) -> bool {return a.second < b.second;}; priority_queue<pair<char, int>, vector<pair<char, int>>, decltype(cmp)> ...
5433e1d9ed5f401996004d61fd0422334e982180
d3746bedda6f72e8107ca823057c21047b13854f
/kinematics.cpp
8419f9f4a62e5dd6ddc720a51c114f71fec545bd
[ "LicenseRef-scancode-public-domain", "MIT" ]
permissive
bburrough/Descartes
88dbc62ba2cb1d9c94b2487c683a1c0e545ca4d3
3341d6907b5b99b604debe065bb1972b352e5200
refs/heads/master
2021-12-07T19:54:19.350453
2021-10-14T21:52:34
2021-10-14T21:52:34
212,020,171
2
0
null
null
null
null
UTF-8
C++
false
false
9,582
cpp
kinematics.cpp
#include "kinematics.h" /* Kinematic Equations distance = initial_velocity * time + 1/2 * acceleration * time^2 time = sqrt(2 * distance / acceleration) final_velocity^2 = initial_velocity^2 + 2 * acceleration * distance final_velocity = initial_velocity + acceleration * time distance = (initial...
2c24808abcf4b5e65749a5d8326abb9dbc67dd0f
d352cb980107b8665e63c8b8b21e2921af53b8d3
/Codeforces/4C.cpp
ef38410aaf5f6ba66c6ba1d48b5acc9236777c54
[]
no_license
sir-rasel/Online_Judge_Problem_Solve
490949f0fc639956b20f6dec32676c7d8dc66a81
9fb93ff4d143d56228443e55e8d8dac530ce728b
refs/heads/master
2021-06-03T19:48:04.700992
2021-03-30T16:41:03
2021-03-30T16:41:03
133,169,776
3
0
null
null
null
null
UTF-8
C++
false
false
373
cpp
4C.cpp
#include <iostream> #include <cstdio> #include <map> using namespace std; int main(){ map<string,int>m; int test; scanf("%d",&test); string a; while(test--){ cin>>a; if(m[a]==0){ printf("OK\n"); m[a]++; } else{ cout<<a<<m[a]<<endl;...
5e237481643c789c550282f8926ca9e5dffe470a
dc135861f62e1b835b27206ad9c3af69742b04de
/PAT-A/PAT_A1010.cpp
12114b5ae71962c76d1e068e8aac87af85e3a840
[]
no_license
Philo-Li/PAT-Solutions
b025cc7671c71f4a1107140748d47b73b1d0ccc9
a7d00677a969c57e8fe77fd9e1193e9cf3f25ba3
refs/heads/master
2023-04-11T12:18:25.991971
2021-04-26T05:53:59
2021-04-26T05:53:59
93,131,936
4
0
null
null
null
null
UTF-8
C++
false
false
2,683
cpp
PAT_A1010.cpp
#define _CRT_SECURE_NO_WARNINGS #include <cstdio> #include <string> #include <iostream> #include <cctype> #include <cmath> #include <algorithm> using namespace std; //A1010 Radix long long n1, n2, tag, d, low, high, mid, ans = -1; int maxe = 2; string str1, str2; int getnum(char a){ return isdigit(a) ? a - '0' : a - 'a...
1d7e2228de2e0dfb94a5a0cb588bfaccd68c5a3b
cdf7718cb0f3730682b42cedba79b96d690284b2
/1136 - Division by 3.cpp
cd884dd4ce9247055d41358e79101ba6ea027fac
[]
no_license
raihan02/Light-OJ-
327fb270557ecfff375af483a588ee12061188e5
5bf501e00ecf7de5f1f8114a6585b7e6880da0c0
refs/heads/master
2022-11-24T05:44:12.966009
2022-11-08T16:30:39
2022-11-08T16:30:39
53,657,945
0
0
null
null
null
null
UTF-8
C++
false
false
368
cpp
1136 - Division by 3.cpp
#include <bits/stdc++.h> using namespace std; typedef long l; bool ck (l n) { if(n % 3 == 2) return 1; else return 0; } long fun (l n) { return (n / 3) * 2 + ck(n); } int main() { l a, b, tes,o=0; cin >> tes; while(tes--) { o++; cin >>a >> b; printf("C...
62dfdf4fbcb2d7b14a0c262c09c3b356cc260adb
31f5cddb9885fc03b5c05fba5f9727b2f775cf47
/engine/modules/pcg/data/pcg_data.cpp
ec0dec76241b3a638a9d850d445e543c7aedf240
[ "MIT" ]
permissive
timi-liuliang/echo
2935a34b80b598eeb2c2039d686a15d42907d6f7
d6e40d83c86431a819c6ef4ebb0f930c1b4d0f24
refs/heads/master
2023-08-17T05:35:08.104918
2023-08-11T18:10:35
2023-08-11T18:10:35
124,620,874
822
102
MIT
2021-06-11T14:29:03
2018-03-10T04:07:35
C++
UTF-8
C++
false
false
112
cpp
pcg_data.cpp
#include "pcg_data.h" namespace Echo { PCGData::PCGData() { } PCGData::~PCGData() { } }
128f52135605b4be814bb7a0c6944cb0a29f7938
3d0423b17b6fb3f146293514dc7e147333260c5a
/Server-Client/MyPacket.h
31ab4ddb780ae9cd0cf560f455b762b3f6b46b01
[ "MIT" ]
permissive
matzar/SFML-Networking
02941c2420152da7601340e4e066e3d60afaeb0d
2623ae7c38ada2dfcbbdf725345222e58a86336b
refs/heads/master
2021-09-08T08:34:14.125242
2018-03-08T18:46:49
2018-03-08T18:46:49
110,551,568
0
0
null
null
null
null
UTF-8
C++
false
false
570
h
MyPacket.h
#pragma once #include <SFML/Network.hpp> //#include "Messages.h" /** A position update message. */ struct PlayerMessage { /** The object number of this Player within the game world. */ int id; /** The coordinates of this Player within the game world. */ float x, y; /** The time at which this message was sent. ...
474298b856413532c260e5ee4c126fd1a97a0385
68393cc174986df5ce765f971bb46a764184990f
/codeforces/contest_1027/B.cpp
9d1cbc4a0f435d7774eff409d0981f72f314f43a
[]
no_license
zhangji0629/algorithm
151e9a0bc8978863da4d6de5aa282c3593c02386
530026b4329adbab8eb2002ee547951f5d6b8418
refs/heads/master
2021-05-10T16:38:30.036308
2020-05-24T11:41:50
2020-05-24T11:41:50
118,584,175
0
0
null
null
null
null
UTF-8
C++
false
false
578
cpp
B.cpp
#include<bits/stdc++.h> using LL = long long; int main() { LL n, q; while(std::cin >> n >> q) { while(q--) { int x, y; std::cin >> x >> y; LL ans = 0; if((x+y)%2 == 0) { ans = (x-1)/2 * n/2 + (x-1 - (x-1)/2) * (n-n/2); if(x%2) { ans += y-y/2; } else { ans += y/2; } } else ...
efc1da2cce0eea7dc12043aae55601564b12dc85
c1466e0815558818829d51326d445df6ffad9c17
/cpp_xcode/FIrst_Project/FIrst_Project/Game21/House.hpp
c46955de8c56ea229917454f0f5ac6d992be8469
[]
no_license
ojaster/first_project
2177bc78d6a6000862a306ebce71d2cdeee8d475
0a09308acd6270085959251ca8892dc22d272cfb
refs/heads/master
2021-07-07T13:04:51.200496
2020-06-25T10:52:08
2020-06-25T10:52:08
129,524,939
0
0
null
null
null
null
UTF-8
C++
false
false
497
hpp
House.hpp
// // House.hpp // FIrst_Project // // Created by Данил on 19/04/2019. // Copyright © 2019 Daniil. All rights reserved. // #ifndef House_hpp #define House_hpp #include <stdio.h> #include "House.hpp" #include <iostream> #include "GenericPLayer.h" #include "Card.h" using namespace std; class House:public GenericPla...
bbfc17c5377f0c2a3cb9d7359001d73b75d196a7
f4892c12c0e2ffdfbd678176dc8fa03f051314c4
/experimental/tiledb/common/dag/data_block/test/unit_data_block.cc
5ddda52147298aefde3bbfbb1c8e00510a62d68d
[ "MIT" ]
permissive
TileDB-Inc/TileDB
06c15bcf6e3c62b191a6daa40fb33b41af2bdcdc
fddbe978d50ea7c9706fb0b7ca403c47986a4909
refs/heads/dev
2023-09-04T01:18:20.642838
2023-08-31T19:23:04
2023-09-02T14:36:02
86,868,560
1,779
204
MIT
2023-09-14T14:40:20
2017-03-31T23:44:23
C++
UTF-8
C++
false
false
26,549
cc
unit_data_block.cc
/** * @file unit_data_block.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2022 TileDB, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without res...
9704caeffb934f87a55530676ad33fa9db5f39fd
353701a914f9d3bd4bd5b6cc61e47ba969b8682d
/topic/rtm_standard/rtm.cpp
6d196f6782e93a6675ff492f34f4f837c79d2638
[]
no_license
yuanwujun/mllib
88025f6be08d52102fae35b0884ba8d3f08628bd
4a43c80a9e660b160c58cdafaad0984e645c57d3
refs/heads/master
2021-01-10T20:30:11.879844
2015-01-29T07:04:23
2015-01-29T07:04:23
24,022,914
0
2
null
null
null
null
UTF-8
C++
false
false
401
cpp
rtm.cpp
// Copyright 2014 lijiankou. All Rights Reserved. // Author: lijk_start@163.com (Jiankou Li) #include "rtm.h" void ml::RTMSuffStats::SetZero(int k, int v) { topic.resize(k, v); topic.setZero(); topic_sum.resize(k); topic_sum.setZero(); } void ml::RTMSuffStats::InitSS(int k, int v) { topic.resize(k, v); ...
66b26ad85dbc0ec880a74cf4617920c1573641bc
1a973acc4d44988f036431300477d8656dd7a60a
/Algorithm/Greedy Algorithm/0435 Non-overlapping Intervals.cpp
cc549d148e3d38814131cf9fa2f6c6db947adbd4
[]
no_license
kerry918/Leetcode
9a7291e726b3fef8b6d187ee0132b79bacc209cd
cecc65b040eeb5b54eb28d17559a888c8b0d36c5
refs/heads/master
2023-05-05T23:10:13.167770
2021-05-27T13:42:24
2021-05-27T13:42:24
267,178,510
0
0
null
null
null
null
UTF-8
C++
false
false
993
cpp
0435 Non-overlapping Intervals.cpp
class Solution { public: int eraseOverlapIntervals(vector<vector<int>>& intervals) { int size = intervals.size(), remove = 0; // if 0 or 1 interval, then no interval should be removed if (size <= 1) return 0; // sort by endpoint sort(intervals.begin(), intervals.end(), [](const vector<int>&...
70df7925a5a8d98c938c0b5756b6ea3473befd72
6d088ec295b33db11e378212d42d40d5a190c54c
/contrib/conversions/math/vnl_vector_to_vbl_array.h
b63e0e7e85c8005abf8b52017fc87bd5455d105d
[]
no_license
vxl/vxl
29dffd5011f21a67e14c1bcbd5388fdbbc101b29
594ebed3d5fb6d0930d5758630113e044fee00bc
refs/heads/master
2023-08-31T03:56:24.286486
2023-08-29T17:53:12
2023-08-29T17:53:12
9,819,799
224
126
null
2023-09-14T15:52:32
2013-05-02T18:32:27
C++
UTF-8
C++
false
false
301
h
vnl_vector_to_vbl_array.h
#ifndef vnl_vector_to_vbl_array_h_ #define vnl_vector_to_vbl_array_h_ #include <vnl/vnl_vector.h> #include <vbl/vbl_array_1d.h> template <class T> inline vbl_array_1d<T> vnl_vector_to_vbl_array(vnl_vector<T> v) { return vbl_array_1d<T>(v.begin(), v.end()); } #endif // vnl_vector_to_vbl_array_h_
20aabbbbca57564bc25476bcb3dc30df0f1cdc45
e675779071e22d3224de816fa1e5da02921cc10b
/Algorithm/Utilities/Utilities.h
50186a6ec5a4a1c25836a1f7f1f4e76da2c4a494
[ "Apache-2.0" ]
permissive
xiaoyaolanyun/QPanda-2
c7743a8fe1a3e0d4fec5800210677cb350b38f98
04dc1114ee46bcfa2f69417f71507c6c050c006f
refs/heads/master
2020-04-23T20:07:03.133965
2019-02-19T03:37:07
2019-02-19T03:37:07
171,428,729
1
0
null
2019-02-19T07:43:30
2019-02-19T07:43:29
null
UTF-8
C++
false
false
1,078
h
Utilities.h
/* Copyright (c) 2017-2018 Origin Quantum Computing. All Right Reserved. 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 la...
9317f51cf4faf4d0dcdab80e4e4e78dce73af78a
aa9887968b39c45f0cda27cf22152fc5e5b7d46d
/src/vendor/Karabiner-VirtualHIDDevice/tests/src/hid_report/test.cpp
380a74405a0c780e7ab4ae1bd0fa133a91513256
[ "Unlicense" ]
permissive
paganholiday/key-remap
9edef7910dc8a791090d559997d42e94fca8b904
a9154a6b073a3396631f43ed11f6dc603c28ea7b
refs/heads/master
2021-07-06T05:11:50.653378
2020-01-11T14:21:58
2020-01-11T14:21:58
233,709,937
0
1
Unlicense
2021-04-13T18:21:39
2020-01-13T22:50:13
C++
UTF-8
C++
false
false
8,959
cpp
test.cpp
#define CATCH_CONFIG_MAIN #include "../../vendor/catch/catch.hpp" #include "karabiner_virtual_hid_device.hpp" TEST_CASE("modifiers") { { pqrs::karabiner_virtual_hid_device::hid_report::modifiers modifiers; REQUIRE(modifiers.get_raw_value() == 0x0); REQUIRE(modifiers.empty()); REQUIRE(!modifiers.exis...
a49a328b250616ac36ebdc3a19b2cf6620351e25
8559edef3b57407ac5d11cb23df68b50b07b7911
/Bestt_algorithm Based problems code/C++ .STL Container/Stack example/stack.cpp
786a9eb1e522fd2c1eba6dda7fed6f34e0d83415
[]
no_license
mijanur-rahman-40/C-C-plus-plus-Online-Judge-Algorithms-Practise-Programming
2a031b0743356ba4c8670623aaa87b57f0b43f27
254924e4bd890e2f6d434abcc9ef52ef3e209211
refs/heads/master
2023-02-13T06:26:20.422678
2021-01-13T14:20:21
2021-01-13T14:20:21
329,330,528
1
0
null
null
null
null
UTF-8
C++
false
false
333
cpp
stack.cpp
#include <bits/stdc++.h> using namespace std; int main(){ stack<int>st; for(int i = 0 ;i < 5 ;i++){ if(st.size() > 2){ cout<<"overflow"<<endl; } else st.push(i); } while( !st.empty() ){ int x = st.top(); st.pop(); cout<<x<<endl; } ...
8453617bfc21f956339cc4e98511af5e0da550dd
150b7df40c5d97fc7ab403dc60edc57aa5cb1130
/DSA/tranposematrix.cpp
990ec2c8a87f316fa840c22db7eaec3238cde5e6
[]
no_license
anshusinha872/HacktoberFest-2021
ba530fcac67a8339db1437d561443488d675a825
f03278bf213b96ce5829807ea81aa194d18742df
refs/heads/main
2023-08-20T06:41:41.102952
2021-10-15T17:01:33
2021-10-15T17:01:33
411,524,395
0
13
null
2021-10-03T08:35:07
2021-09-29T04:02:51
C++
UTF-8
C++
false
false
749
cpp
tranposematrix.cpp
#include<iostream> using namespace std; int main(){ int n,m; cout<<"Enter the number of Rows :"; cin>>n; cout<<"Enter the number of Columns :"; cin>>m; int arr[n][m]; cout<<"Enter the Elements of array :"; for (int i = 0; i < n; i++) { for(int j=0; j<m; j++) { ...
d3d1ed6dc3b0c4e41790c83f99e545728218bc8e
3db233d14bc4f9f350db3b69a7b18ee287381813
/StampPress/stampstream.h
c1b95b9711465ca53926f953325abfb1fc7605a9
[]
no_license
pinakdas163/CPP-Projects
e6f5d2d7403f220860d399c0c75213ecbad12553
08981f3894225d7f591d051ce9b749191f343aa1
refs/heads/master
2020-04-10T05:10:29.176672
2017-02-02T08:26:23
2017-02-02T08:26:23
68,132,474
0
0
null
null
null
null
UTF-8
C++
false
false
364
h
stampstream.h
#ifndef STAMPSTREAM_H #define STAMPSTREAM_H #include <iostream> #include "stampbuf.h" #include "row.h" class stampstream: public std::ostream { public: stampstream(int r, int c); ~stampstream(); private: int cur_column; int cur_row; }; std::ostream& endrow(std::ostream& os); std::ostream& operator...
8b0cb217d1bc1d0037a85530fafde2a1596bc15b
efc4b3be9fd74865352809d36e00fbe72eba9b48
/BDK/Include/BreadSSEVector4.h
a3adf450c7303433ae9fe92a54ee98433e995b1c
[]
no_license
prodongi/Bread
3d2cc9b272b71345f777f5dc6e314b657032c530
07916d523f6730b4a3c9a8e2babf2f1929c3f6c6
refs/heads/master
2020-05-30T16:08:31.844074
2013-09-09T13:53:39
2013-09-09T13:53:39
12,702,338
0
1
null
null
null
null
UHC
C++
false
false
270
h
BreadSSEVector4.h
#ifndef _BreadSSEVector4_h_ #define _BreadSSEVector4_h_ #include <xmmintrin.h> namespace Bread { /* @date 2011.08.16 @auth prodongi @desc SSE를 이용한 sVector4, Game Engine Architecture 참조 @todo */ struct sSSEVector4 { __m128 m; }; } #endif
64291faa5e325084ae598947731c2d07b60aec73
c600acf91635b765165826e3048a9ea6fd55d5e7
/src/TrackMeas.hpp
edc87facf69e4c3d9dd1a680cf30374b0ae60c56
[]
no_license
JAGF009/TrackComp
e20bf5a305a59ab72a411e084dad9f9814dd48fc
b47b9eb851241fc24bf2ee65c58cf8b4dc019a6e
refs/heads/master
2020-03-15T11:12:43.825088
2018-05-28T15:56:31
2018-05-28T15:56:31
132,115,948
0
0
null
null
null
null
UTF-8
C++
false
false
2,213
hpp
TrackMeas.hpp
#ifndef TRACKMEAS_H #define TRACKMEAS_H #include <vector> #include <memory> #include <unordered_set> #include <opencv2/opencv.hpp> #include <fstream> #include "Rect.hpp" #include "Factory.hpp" #include "Trajectory.hpp" namespace pix{ struct Comp { Comp(double athres): thresh(athres) {} bool operator()(cons...
1073a5799aa93979bcfafd64baeac2fe3db9d26e
4f2dd8732d674a80208b37b04730785a3dd093a5
/ds.cc
7599460a835ffc0df8b124100953af21cdf00ae0
[]
no_license
grasingerm/PL
5fa05b1147e8a51cc1144ec392adf3b260fbb9fd
c271d3d4135f3b1dec28cdabbb4298c77a981c5f
refs/heads/master
2022-11-10T23:05:48.931924
2022-09-26T03:58:43
2022-09-26T03:58:43
21,368,370
0
0
null
null
null
null
UTF-8
C++
false
false
656
cc
ds.cc
#include <stack> #include <queue> #include <iostream> #include <string> using namespace std; int main() { stack<string> s; s.push(string("this is a stack")); s.push(string("one")); s.push(string("two")); cout << "Popping off stack...\n"; while (!s.empty()) { cout << s.top() << "\n"; s.pop(); } ...
e871b30127790c20320558d06688364ba845e5c6
9071731d1cf5d6d509adb8f5d1e4027075127a2c
/handler.cpp
ba5e60f6b0dc1cfb050646487969b3a6dad59b09
[]
no_license
haowenCS/daataabaase
f2b9e2d377f77af5a306a8a524d483b428a5f4fc
d16c0252f9f2c6d8c35598971cc3600afa30450c
refs/heads/master
2023-03-15T13:56:05.481118
2019-11-10T05:20:38
2019-11-10T05:20:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
56,575
cpp
handler.cpp
// // handler.cpp // // // Created by 赖金霖 on 2018/12/27. // #include "handler.h" #include "bufmanager/BufPageManager.h" #include "fileio/FileManager.h" #include "utils/pagedef.h" #include "RecordManager.h" #include "BPlusTree.h" std::string database; RecordManager* rm; FileManager* fileManager; BufPageManager* bu...
131f715014ff5d22e431337c4713e0e2960688b0
20c583020ceb6f823a83e277c31a9ce9a8903ef0
/ClusterSys/base/messages/ClusterPkt_m.cc
5068fbe2797f9fae9b0881e29be3cb258ff5c3cb
[]
no_license
fams/ClusterBase
a6ba2709d983ef580af072709d03c69779de13cd
af0f87ecc7062094c25430b780240c8cbba08d39
refs/heads/master
2016-09-06T15:08:18.465435
2012-09-25T19:08:45
2012-09-25T19:08:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,818
cc
ClusterPkt_m.cc
// // Generated file, do not edit! Created by opp_msgc 4.2 from base/messages/ClusterPkt.msg. // // Disable warnings about unused variables, empty switch stmts, etc: #ifdef _MSC_VER # pragma warning(disable:4101) # pragma warning(disable:4065) #endif #include <iostream> #include <sstream> #include "ClusterPkt_m.h" ...
a43c94f34ae5bb496cef29d059116cd50187fb5d
0ccae222bb5d73b3ad9f9c465709685f7586fdb8
/src/dev/UniqueCreator.Graphics.Gpu.ComputeShaderByteCode.h
8ead79a20c5992785e7aea5a09ab3363e00e7b38
[]
no_license
UniqueCreator/uc-graphics-winrt
c790048e8bfc768acc30d40f378a516e8214f1cc
c36e6436c9aca4ababc3ba6fa7d82b070f293656
refs/heads/master
2020-04-27T18:17:23.047144
2019-06-15T09:34:31
2019-06-15T09:34:31
174,563,143
0
1
null
null
null
null
UTF-8
C++
false
false
820
h
UniqueCreator.Graphics.Gpu.ComputeShaderByteCode.h
#pragma once #include "UniqueCreator.Graphics.Gpu.ComputeShaderByteCode.g.h" #include "IShaderByteCodeNative.h" namespace winrt::UniqueCreator::Graphics::Gpu::implementation { using namespace Windows::Foundation::Collections; struct ComputeShaderByteCode : ComputeShaderByteCodeT<ComputeShaderByteCode, IShader...
9141eb756bf5455b1e177bda02d30e224659eeeb
4141c107a783133d44c16f5ef4c910056866dec9
/perm_and_comb.cpp
8628450aa07371d6d53aea52ee1d058bedfe8ee9
[]
no_license
DDUC-CS-Sanjeet/p-and-c-using-recursion-kdhyani502
84ed4e7892eaa88284984d4fed3ded4edf5fcfdc
831cebf19b51ddf0256bbca2318da78cefa264bb
refs/heads/master
2020-12-20T04:53:34.161438
2020-01-24T16:08:20
2020-01-24T16:08:20
235,968,042
0
1
null
null
null
null
UTF-8
C++
false
false
162
cpp
perm_and_comb.cpp
#include<iostream> using namespace std; int permutation(int n, int r) { return 0; } int combination(int n, int r) { return 0; } int main() { return 0; }
c51e25d6860d9104b326d6084d836aabdfc7fdff
45045d64033b9e9b9a1340278fa539290543d6aa
/render/gpu_resource.h
d6a6327dc497400ab2d812c5f2e6c927ae6dd85f
[]
no_license
lenxyang/azer2
829c366350307c890dabd02ca61a48fae94a500f
e12d47e1f7a268a17a80f5637453c47cdeba5779
refs/heads/master
2021-01-13T09:48:30.723491
2016-11-20T15:11:30
2016-11-20T15:11:30
26,254,526
0
0
null
null
null
null
UTF-8
C++
false
false
2,075
h
gpu_resource.h
#pragma once #include <memory> #include "base/memory/ref_counted.h" #include "base/callback.h" #include "azer/base/export.h" #include "azer/render/common.h" namespace azer { class Renderer; class GpuResLockData; class GpuResource; typedef scoped_refptr<GpuResLockData> GpuResLockDataPtr; typedef scoped_refptr<GpuRe...
062e1587a3f51e1e086f2be0f40d4627765f3ee1
5cc698e6bba5e1b659467836f9e7155bd7807c2f
/NTupleMaker/bin/CreateCards_emu.cpp
5ba94073c58d142e05042f1a3d2e972b4fdf8a7b
[]
no_license
neogyk/DesyTauAnalysesRun2_25ns
2e44f766184381cec0083a16295fade5e95b0526
bfad836fb7c79649295a896529489bfc679e7cac
refs/heads/master
2023-06-27T06:03:41.146619
2021-07-13T10:48:36
2021-07-13T10:48:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,656
cpp
CreateCards_emu.cpp
//#include "DesyTauAnalyses/NTupleMaker/interface/settings.h" #include "TFile.h" #include "TTree.h" #include "TString.h" #include "TH1.h" #include "TH2.h" #include <iostream> #include "DesyTauAnalyses/NTupleMaker/interface/Config.h" #include "DesyTauAnalyses/NTupleMaker/interface/CardsEMu.h" using namespace std; int ...
4e1f151547ff248e2e2745a01a8c88ba2023b0e4
b14d5833a79518a40d302e5eb40ed5da193cf1b2
/cpp/extern/xercesc++/2.6.0/src/xercesc/framework/XMLContentModel.cpp
31f6c2e29b6271cb15041ff890a1d2ef20fc5f97
[ "Apache-2.0" ]
permissive
andyburke/bitflood
dcb3fb62dad7fa5e20cf9f1d58aaa94be30e82bf
fca6c0b635d07da4e6c7fbfa032921c827a981d6
refs/heads/master
2016-09-10T02:14:35.564530
2011-11-17T09:51:49
2011-11-17T09:51:49
2,794,411
1
0
null
null
null
null
UTF-8
C++
false
false
2,023
cpp
XMLContentModel.cpp
/* * Copyright 1999-2000,2004 The Apache Software Foundation. * * 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 * * Unle...
47b2d77e9353f2ca1c7210470d09655a872f3828
bb8d76ce8e285a500d0ba44b22389553e7d6db87
/Repetitions.cpp
14a48e90c99a8a9d6535eb48903a2266011d7a89
[]
no_license
viiku/cses
38261166f38b18b86a3224ab51f751a5d8c50ac4
a7d0bff553d0ee42fa54ec6a74429fe104edfb1e
refs/heads/main
2023-05-20T04:55:21.252111
2021-06-08T06:13:04
2021-06-08T06:13:04
346,925,636
0
0
null
null
null
null
UTF-8
C++
false
false
552
cpp
Repetitions.cpp
#include<bits/stdc++.h> using namespace std; using ll=long long int; int main(){ string str;cin>>str; int cnt=0,mx=0; if(str.size()==1){ cout<<1<<"\n"; }else{ int n=str.size()-1; for(int i=0;i<n;i++){ if(str[i]==str[i+1]){ cnt+=2; ...
9a489e7bc89c6c54492586e9f71b44c5dd1eea0c
d541df6887615aa0a072a1852135e67e884929fe
/include/snaze.h
b4ea90f659f9b6eed25048f5b0b835d8b60a3967
[ "MIT" ]
permissive
Carvs10/Snaze
4d4f5a988e088842d2f6d08f882bc2ea1d7ea1d3
87bdc2df2caf2357639601f438cc5ff46a398a8a
refs/heads/master
2020-06-01T01:27:57.544321
2019-06-20T17:35:17
2019-06-20T17:35:17
190,576,612
0
0
null
null
null
null
UTF-8
C++
false
false
897
h
snaze.h
#ifndef SNAZE_H #define SNAZE_H #include <iostream> #include "snapshot.h" #include <list> namespace Snaze{ class Snake{ private: std::pair<int,int> spawn; int life //!< store the ammount of life int head_x; int head_y; Direc...
b63ba8f56798b6cfc6a7b430aa95c797af5499eb
2450434635e1df43a79f01566e11f09e55a0f3b7
/Documents/c++/Notes/swapnum.cpp
a4b0df1dd1cd3fdc0b17f0554ba9436b4c486cc6
[]
no_license
l-jovanni-l/finalProject
eb6d3b9cff622efe88a3a53fa23feb3ed3ae0b88
59a5cdab633922c807400fc71a949f700ad6a069
refs/heads/master
2020-06-26T10:23:23.822967
2020-05-22T07:18:40
2020-05-22T07:18:40
199,607,128
0
0
null
null
null
null
UTF-8
C++
false
false
578
cpp
swapnum.cpp
#include <iostream> using namespace std; void swap(int*, int*); //protoypes says youre gonna accept two pointers /* Everything on top is a directive and just include one header file */ void swap(int *n1, int *n2){ //going to accept two pointers int temp = *n1; *n1 = *n2; //These are no longer values they...
2cd22550e120567dfb4ad69c6e22d2fe1e0da2aa
117da1e307f00037b66a061c1744d1e5a37d06d3
/ColorRecognitionTCS230.cpp
f63af8dbed8cd86248d3531d272e48dc94ca7722
[ "MIT" ]
permissive
patriciohc/tcs230
30175d6108b747832a3160d308171e1f83efc337
f2c7df92a4688d3177599e06523f6b59d5587077
refs/heads/master
2021-01-10T05:24:18.164765
2016-01-07T02:33:06
2016-01-07T02:33:06
46,098,796
0
0
null
null
null
null
UTF-8
C++
false
false
3,202
cpp
ColorRecognitionTCS230.cpp
/** * Arduino - Color Recognition Sensor * * ColorRecognitionTCS230.h * * The abstract class for the Color Recognition TCS230 sensor. * * @author Dalmir da Silva <dalmirdasilva@gmail.com> */ #ifndef __ARDUINO_DRIVER_COLOR_RECOGNITION_TCS230_CPP__ #define __ARDUINO_DRIVER_COLOR_RECOGNITION_TCS230_CPP__ 1 #i...
8dff32c977dc425ecc7dc0c101a396ee1b5b84a3
12faf41c596568f32785d5e841d930c67a7e0649
/include/lsst/meas/algorithms/shapelet/BVec.h
294d37046b6d5bb498cb1c01d1e251c8ce2cdc13
[ "NCSA" ]
permissive
DarkEnergySurvey/LSSTmeasalgorithms
086dad3e1ccf595eebb089346842558b0ef12f21
1d91d52849eff71238f90c4ae3f374458ed4e12d
refs/heads/master
2023-03-12T04:26:49.887471
2021-03-03T21:19:27
2021-03-03T21:19:27
339,210,664
0
0
null
null
null
null
UTF-8
C++
false
false
4,682
h
BVec.h
#ifndef MeasAlgoShapeletBVec_H #define MeasAlgoShapeletBVec_H #include "lsst/meas/algorithms/shapelet/MyMatrix.h" #include <complex> #include <vector> #include "lsst/meas/algorithms/shapelet/dbg.h" namespace lsst { namespace meas { namespace algorithms { namespace shapelet { class BVec; class AssignableToBV...
a1bd9ebf6c30b866891aa985f0e89f2568909704
cb8da384669141a74a55e58f3899abf168f24d6c
/sprite.cpp
273502d7f082676bc2b3bdd02c6c91afb5f60af7
[]
no_license
sisyamo2236/kuma
e8d861ec22c675fa14c32769dbbb87f1adc8b7a3
ac37fc9b980381e293c3ea42f69e4f93a641bcfd
refs/heads/master
2022-12-29T06:29:48.412202
2020-10-22T08:08:22
2020-10-22T08:08:22
306,259,899
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
12,803
cpp
sprite.cpp
#include "mydirect3d.h" #include "game.h" #include "texture.h" #include <d3dx9.h> #include <d3d9.h> //グローバル変数 static LPDIRECT3DTEXTURE9 g_pTexture3[6] = { NULL,NULL,NULL,NULL,NULL,NULL };//テクスチャインターフェース テクスチャ1つにつき1つ必要 static float f = 0.0f; static float move_x = 0.0f; bool turn = false; // FVF ... フレキシブルバーテックスフォーマット...
cf6348f00288b53b6ccc3aa732fd202085252527
1d1555e1ebb20b546dd451e378fbf6d1e1e9db69
/light/light.ino
7bf7153edab177fc760c43426219136e14ef4a59
[]
no_license
jjbohn/arduino-basics
3191ef484824be5141833179d801551c9070817d
cfc332761682f72ca8680e217692701eac91dc97
refs/heads/master
2020-04-06T03:33:30.766165
2012-06-11T20:42:53
2012-06-11T20:42:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
688
ino
light.ino
#define LED 9 #define BUTTON 7 int val = 0; int oldVal = 0; int state = 0; int brightness = 128; unsigned long startTime = 0; void setup() { pinMode(LED, OUTPUT); pinMode(BUTTON, INPUT); } void loop() { val = digitalRead(BUTTON); if (val == HIGH && oldVal != val) { state = 1 - state; startTime = millis(); ...
31eeb5e8bc103cf34fc90b90b9e3a9f65ced13ee
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_661.cpp
47f138f8f6e35ab42c02d94ed6394c08699cec79
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
285
cpp
Kitware_CMake_repos_basic_block_block_661.cpp
{ fpos_t p; fgetpos(f, &p); if (fread(b, 1, 2, f) == 2 && b[0] == 0 && b[1] == 0) { return cmListFileLexer_BOM_UTF32LE; } if (fsetpos(f, &p) != 0) { return cmListFileLexer_BOM_Broken; } return cmListFileLexer_BOM_UTF16LE; }
53eb98033451ddacfc33174785159f99a4d45060
f9798f58a53495ebb3ffe541debae69a31c6cfc9
/grafDFSrecur.cpp
108c180561645663e6ec19d2316e889c94c32c49
[]
no_license
danziss/Algorytmy-zadania
99ee45157a613581ca2798039cf54b59c4972d6c
0f9a4524bf15838cc74ae93213d86e2685536551
refs/heads/master
2022-09-30T04:59:00.096344
2020-05-31T00:08:46
2020-05-31T00:08:46
268,178,046
0
0
null
null
null
null
UTF-8
C++
false
false
1,631
cpp
grafDFSrecur.cpp
#include <cstdio> #include <iostream> #include <vector> #include <stack> #include <queue> //wersja nieskierowany //wierzchołki to inty od 0 do N class Graf{ private: int N; std::vector<std::vector<int>> adjList; public: Graf(int maxSize){ N = maxSize; adjList.r...
7ff22bee20579d31998735c0f1b30e2fe01b3ccd
a1865c0aa83e961430b39bebbb3c28d947606dee
/DungeonCrawler/Bitmap.h
2bb27384e579ebf9ce7110eab5949648e495ade3
[]
no_license
Istinra/dungeon-crawler
371a0fccab425750d943acbe82782c8dbb64a755
bcf9afb3286d0b42fbad05260378197e999ed934
refs/heads/master
2021-01-18T14:03:08.415865
2014-03-15T07:10:17
2014-03-15T07:10:17
16,509,051
1
0
null
null
null
null
UTF-8
C++
false
false
696
h
Bitmap.h
// // Graphics.h // DungeonCrawler // // Created by Samuel Hands on 14/12/2013. // Copyright (c) 2013 Sam. All rights reserved. // #ifndef DungeonCrawler_Bitmap_h #define DungeonCrawler_Bitmap_h class Bitmap { public: Bitmap(unsigned int height, unsigned int width); Bitmap(unsigned int height, unsigned i...
fb51faf9ca8eb919f1bfc123ddfc750a84ff4c02
2a5b3545d937445ea28f43848762148e7d46f295
/tachecomposite.h
9e3c6fa47b56ca856c440f606dba69069f328215
[]
no_license
TheFump/ProjetQT
7f76c4ebf6f995585683ece60d3f924a5f5ac208
ac638acec63922f8da1db74c9f4b89fd076326ac
refs/heads/master
2016-09-05T13:58:40.617722
2015-06-14T15:01:41
2015-06-14T15:01:41
37,214,170
0
0
null
null
null
null
UTF-8
C++
false
false
785
h
tachecomposite.h
#ifndef TACHECOMPOSITE_H #define TACHECOMPOSITE_H #include <QString> #include <QStringList> #include "taches.h" class TacheComposite: public Tache { friend class TacheManager; private: Tache** tabSousTache; unsigned int nb; unsigned int nbMax; void addTache(Tache& t); public: TacheComposite(...
dbc25f1492a56ebb401dedf80e80faf7edb0ce9c
6c6f58124fe1a7e43775e4a95c358f7959f25c04
/Hashing/UncommonCharacters.cpp
20f53927760d56a4c531a263f589e241ada755d8
[]
no_license
gargdev/GFG-Must-Do-Coding-Questions
09174d01a00baeb9dd21f25f7cbc1d6f39ff4f6e
1cbad0ef29343fe24cc6fc7ece7c936c262ad3e4
refs/heads/master
2023-08-02T15:04:09.838415
2021-09-29T11:46:36
2021-09-29T11:46:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
992
cpp
UncommonCharacters.cpp
// { Driver Code Starts #include <bits/stdc++.h> using namespace std; // } Driver Code Ends class Solution { public: string UncommonChars(string A, string B) { // code here int map1[26] = {0}; int map2[26] = {0}; for(char c : A) map1...
f639ba9b31a031f3e3ba6f67bff5e8ec28276a6b
18aa2fc900f95084c5e256f9c1b97adecc0beb2d
/lib/Node.h
3fbf8e27dd03d48d069b84433887885eb7cc9170
[]
no_license
sushuiyuzhou/mai
8aace03b5468a7aecabb1e0367687887fe8be6c4
9bc69324769dc5ed40768779dee0b5cc72b127c2
refs/heads/master
2023-01-01T10:22:40.816807
2020-06-02T20:55:18
2020-06-02T20:55:18
258,140,127
0
0
null
null
null
null
UTF-8
C++
false
false
2,957
h
Node.h
// // Created by suhuiyuzhou on 26/05/2020. // #ifndef MAI_NODE_H #define MAI_NODE_H #include "Context.h" #include "Index.h" #include "utils.h" #include <typeinfo> #include <filesystem> #include <fstream> namespace mai { class Context; class Graph; template<typename T> struct IsSerializable { static c...
54c85c71abb6e06f10effc0dc1248efa2867aabe
7f56794370174fc8f5275593a6302e6db692bc60
/include/VolatilitySort.h
44133f70c734f7da4f41b813661244bf66ef1425
[ "BSD-3-Clause" ]
permissive
bloomtime/streamgraph_generator
5a1584055bc4704ac7c98c7f66badda0a8c643e3
ad19f8ec32a16bff33d0c3691f927e0d02086a29
refs/heads/master
2021-01-18T08:47:57.685368
2012-05-08T19:10:16
2012-05-08T19:10:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
972
h
VolatilitySort.h
#pragma once #include "LayerSort.h" #include "VolatilityComparator.h" /** * VolatilitySort * Sorts an array of layers by their volatility, placing the most volatile * layers along the outsides of the graph, thus minimizing unneccessary * distortion. * * First sort by volatility, then creates a 'top' and 'bottom...
dd2e3e5962806d0a1e513987b22848b9c974160d
012712451c82f5e2e8d5ce1fd93247713760884c
/ConverterFactoryPlugin/int/signed/IntToDoubleConverter.cpp
7573ab6f127d54219204aa33efa195ef0999603f
[]
no_license
gbumgard/QObjectGraphEditor
735b29178d7928ef8a14f13c42e42aa1d737c506
2fde592a20830362504d4c1662dccab352e62885
refs/heads/master
2023-05-01T00:11:40.635181
2023-04-18T04:02:35
2023-04-18T04:02:35
265,347,674
0
0
null
null
null
null
UTF-8
C++
false
false
194
cpp
IntToDoubleConverter.cpp
#include "IntToDoubleConverter.h" #include "ConverterFactoryPlugin.h" REGISTER_CLASS(IntToDoubleConverter) IntToDoubleConverter::IntToDoubleConverter(QObject *parent) : QObject(parent) { }
018083fe183538034cf999db9e7548bcaf9c9424
4ce229882610ebf1371b962e4e9655a0a89167a2
/XMLDocument.hpp
f95580dec5be240134ecac40ff32647b24942a67
[]
no_license
JordiFSM/PP2-DATAESTRUCT
d0fb50c70c6e8862822cadd3b3cef53161ab8d75
11028cfb063b78e6500132051bd33a518b837161
refs/heads/main
2023-01-08T14:44:52.998232
2020-11-13T23:35:38
2020-11-13T23:35:38
308,115,060
0
0
null
null
null
null
UTF-8
C++
false
false
1,390
hpp
XMLDocument.hpp
#include "tree.hpp" #include "utilitarios.hpp" class XMLDocument { private:// Function operating modes, use the constant names and not the values in the code const int ADD = 100; // Mode addition, adds the value to the beginning of the set // as allowed by the specific function (with ...
b8c5fb71249fe620328ae7a68b75aaa25ed5fd33
e30131d9939b3eaacc79e6b41c9e1b172da4a8a4
/proxy/include/udt/NatSocket.h
7e45e69cb57c33ad16511679229f8e8b072003e1
[]
no_license
ashevchuk/proxy
5cf2772407a8284bd1c8d28e83baece4f8ce0ddc
200f55c45c3aa8a95d15d70cb1d2ddcb725100b5
refs/heads/master
2021-04-22T00:01:21.144935
2014-10-09T09:52:11
2014-10-09T09:52:11
null
0
0
null
null
null
null
GB18030
C++
false
false
2,732
h
NatSocket.h
// NatSocket.h: interface for the NatSocket type. // ////////////////////////////////////////////////////////////////////// #ifndef _NAT_SOCKET_H_ #define _NAT_SOCKET_H_ #include "NatUserDefine.h" #include <set> typedef void* NatSocket; #define NAT_SOCKET_INVALID NULL typedef std::set<NatSocket> NatSocketSet; /*...
269889dc28ec85e8c2c73b444ad17ed937489bff
9c2ed0c83f234e64dc3a70078b6682d82954dc93
/Biquadris/level0.cc
cdc6ff6a7a75d7639818a91402bd418fdfd8f63b
[]
no_license
XinhaoGeUW/MyProjects
2a0e29a544b2cc166b6558d3dac03d317664020d
146779bc5a792d4b891b965f2ac063b92ff27253
refs/heads/master
2022-12-17T16:15:34.412295
2020-09-20T20:29:54
2020-09-20T20:29:54
297,136,899
0
0
null
null
null
null
UTF-8
C++
false
false
358
cc
level0.cc
#include "level0.h" #include "Command.h" #include "lowerlevel.h" using namespace std; Level0::Level0(string file): blocks {ifstream (file)} {} char Level0::createnext(int ID) { char c; blocks >> c; return c; } Command *Level0::createCommand() { Command *a = new lowerlevel(); return a; } void Level0::num_m...
853f5fb974dc1c5c970457c36d9a5be4dd0638d6
71157bf5a13bd285400cc32c6e551adfcc53ea7d
/Server.tproj/XServer.cpp
7050134986b4b017cce038d5bf2d3327359d22cf
[]
no_license
stoaven/XServer
16c130acdc078810484ff0a2f2eccdf67173a25d
937b9f863923c03c317059489f96ee48957685c4
refs/heads/master
2021-05-28T20:40:18.582076
2015-04-23T14:08:50
2015-04-23T14:08:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,579
cpp
XServer.cpp
#include <stdarg.h> #include <sys/mman.h> #include "OS.h" #include "Queue.h" #include "Packet.h" #include "XServer.h" #include "SocketUtils.h" #include "EventContext.h" #include "NetStream.h" XServer* XServer::sServer = NULL; XServer::XServer() : fServerState(kStartingUpState), fDefaultIPAddr(0), fSigInt(...
2da929f929fc6edaa618061b99322e4feeeb752d
e18f2a5d34a0a1d27afb20e743827f39f62edb6c
/src/chipKITMax32_ArduinoDue.cpp
a54ba51ea82d3e2fc141ee24dab414d6229b24a0
[]
no_license
kyab/mruby-arduino
caebc5e8783d35a24327af47669318dd09e6d510
70db8f383e902c853cb83a6801f7530ae09bd41a
refs/heads/master
2021-01-19T06:37:01.568955
2014-09-02T14:29:54
2014-09-02T14:29:54
8,029,465
41
6
null
2013-11-26T13:02:53
2013-02-05T13:23:49
C++
UTF-8
C++
false
false
10,250
cpp
chipKITMax32_ArduinoDue.cpp
#include "mruby-arduino.h" #ifdef MRUBY_ARDUINO_BOARD_CHIPKIT_OR_DUE #include <new> #include "mruby.h" #include "mruby/class.h" #include "mruby/string.h" #include "mruby/data.h" #if (ARDUINO >= 100) #include <Arduino.h> #else #include <WProgram.h> #endif #if defined(__SAM3X8E__) //Arduino IDE #include <Servo....
bbbfcf6d36f9df0e51f9ec0a9aa15bf78a504de8
dd2da6fb22df2ee2ea57a0e2981c66d20ca8f040
/src/main/events/SceneManager.cpp
f29bbeb39355b8b28c70e345c4ff58f010bda4a7
[]
no_license
annarose2255/Genesis
186abdfb9ca958c037af6d78d74798ff53aeb202
cf8162d1ed0b2c675f78374cfb5da4344c2d5fb4
refs/heads/master
2021-01-03T00:33:25.733702
2020-04-24T05:06:39
2020-04-24T05:06:39
239,835,448
0
0
null
2020-04-03T03:33:42
2020-02-11T18:33:40
C++
UTF-8
C++
false
false
15,773
cpp
SceneManager.cpp
#include "SceneManager.h" #include "Layer.h" #include "Game.h" #include "MyGame.h" #include "SelectionMenu.h" #include "MenuItem.h" #include <iostream> #include <string> SceneManager::SceneManager(Player* chara, Scene* s) { currentS = s; player = chara; } SceneManager::~SceneManager() { delete door; } void...
e1ad31341e285f057c41bed6446b9c6a42317ed9
8a9e8ae39f501e06223e48cd3fc963ff675fb820
/src/materials/materialAsset.h
1ca8eb14acf6b3ed0a00a2e78a22ed756f055b8e
[ "MIT" ]
permissive
seuzht/Torque6
0f093f918f247288c6b0c93237fa409e6c0205de
db6cd08f18f4917e0c6557b2766fb40d8e2bee39
refs/heads/master
2023-03-27T02:36:30.374795
2016-06-20T15:24:13
2016-06-20T15:24:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,846
h
materialAsset.h
//----------------------------------------------------------------------------- // Copyright (c) 2015 Andrew Mac // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, inc...
2e97e29bddcb7f95c8e7a0ac25a3dd905d4fa2c0
891ff124e61679a01362caae30ead0c1e3f562e3
/src/ros2mav/src/ros2att.cpp
78018f46669e73c67a71e6e7fd61543b0f4b6623
[]
no_license
makquel/drone_ros
1352774804637d81c27b4507810f0b6ee15e9fe8
901aacb90b4205500f3e6eb82a6dbb696482de0a
refs/heads/master
2023-03-23T01:48:02.671894
2018-01-26T12:36:22
2018-01-26T12:36:22
346,856,039
0
0
null
null
null
null
UTF-8
C++
false
false
1,426
cpp
ros2att.cpp
#include "Ros2Att.h" Ros2Att::Ros2Att(){ ROS_INFO("ATT_CONSTRUCTOR"); std::string rpy_topic, imu_topic; ros::NodeHandle nh; nh.getParam("imu_topic", imu_topic); nh.getParam("rpy_topic", rpy_topic); nh.param("att_mav_freq", freq, 0.0); sync = (freq>0.0); rpy_sub = nh.subscribe<geometry_msgs::Vector3S...
f4aa524ff33e752794ca7ced1349c4323e32e8ef
1f4c4146d26c856dcb2a9086877fb1797a80cc91
/messages/ccn_data_m.h
511aa25b0a5fb27c5b2b42b94f7ca37f60f74395
[]
no_license
itZhy/CCNSimForPowerPlanning
2e515a3b6d9538e14ae9baec4e8a6ad5f22c8640
7dbc7683a6760808b86d41adef9349c878c31905
refs/heads/master
2016-09-01T21:38:47.626670
2013-03-27T07:39:55
2013-03-27T07:39:55
7,438,543
0
1
null
null
null
null
UTF-8
C++
false
false
1,814
h
ccn_data_m.h
// // Generated file, do not edit! Created by opp_msgc 4.2 from messages/ccn_data.msg. // #ifndef _CCN_DATA_M_H_ #define _CCN_DATA_M_H_ #include <omnetpp.h> // opp_msgc version check #define MSGC_VERSION 0x0402 #if (MSGC_VERSION!=OMNETPP_VERSION) # error Version mismatch! Probably this file was generated by an ea...
320a2c9e8f578b8f9c16bb31d3c70cadf0bd0a24
a9c52b680b03508db0b73779d2bfc5808f709441
/SLIDE/Layer.h
5f501f9946ce0839cd4db118a87963ab830fb8fc
[]
no_license
pombredanne/HashingDeepLearning
22ff453cbd4c4516ac538f3712e3a8be2647a1c7
e430d6934f23c3a117dcbd27f202d1c61ce0f2b2
refs/heads/master
2020-05-01T12:11:45.600592
2019-03-18T06:03:53
2019-03-18T06:03:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,424
h
Layer.h
#pragma once #include "Node.h" #include "WtaHash.h" #include "DensifiedMinhash.h" #include "srp.h" #include "LSH.h" #include "DensifiedWtaHash.h" #include "cnpy.h" using namespace std; class Layer { private: NodeType _type; Node** _Nodes; int * _randNode; float* _normalizationConstants; int*...
de37f7b0915cb3b555bedfd4a66eb9ca87bf6854
09fa7f46d0ab78c7cf56c39535030476471ca051
/03_프로그래머스/모두 0으로 만들기.cpp
e0431fd36acdf1d5251c64a505c55a9694f35ae1
[]
no_license
ChoiHeon/algorithm
4089259685550fb658524d2f3a1160ee1fa6e105
cb174711afa6a7ac14cb830861dc54a53abf5329
refs/heads/master
2021-11-23T13:23:50.945628
2021-11-08T15:46:54
2021-11-08T15:46:54
230,856,736
0
0
null
null
null
null
UTF-8
C++
false
false
905
cpp
모두 0으로 만들기.cpp
// https://programmers.co.kr/learn/courses/30/lessons/77885 #include <iostream> #include <string> #include <vector> #include <deque> #include <cstdlib> using namespace std; long long dfs(vector<long long>& b, vector<vector<int>>& graph, int crnt, int prev) { long long ret = 0LL; for (auto next : graph[crnt]) { ...