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
0907cbf57607e673534aa6b145879da50b16f732
954d4ab5ebff02b681ca8ca398bfe2772a88e563
/ACorePoly/PolyLib/SegmentSolver.cpp
f9e6426ad0881f3eb92b4e077d568a41e2dc8df9
[]
no_license
aaalex88/ACorePoly
ba812f935274da698143ca222384074d8d6282a8
62e88bc377066529c3c35d5f3b51da1f1730e596
refs/heads/master
2021-01-22T03:39:29.570496
2016-03-21T15:43:15
2016-03-21T15:43:15
25,196,817
0
0
null
null
null
null
UTF-8
C++
false
false
1,032
cpp
SegmentSolver.cpp
#include <stdafx.h> #include "SegmentSolver.h" namespace ACorePolyLib { SegmentSolver::SegmentSolver(const SegmentOptParams & params, const SignalDescription & desc) { m_desc.desc = desc; m_desc.cores.resize(params.param.size()); for (size_t i = 0; i < params.param.size(); ++i) { m_solvers.push_back( s...
4d5723aa517db69082eecd87c7659f342706fbea
47fc025917d53c0a05dcf2dd6f03685f31c28d7e
/CPP-Pool/D13/ex02/Woody.cpp
6772df8e1d6d5d13eac1ba928dbf71abb5006f0a
[]
no_license
PilowEpi/Tek2Project
05a266874c1767c6b26fd1ccfead8f525df64f99
781a01632d0d18ebdd9e7b56bac25c45aa4f6b29
refs/heads/main
2023-08-11T19:32:40.942625
2021-09-11T13:28:09
2021-09-11T13:28:09
405,377,729
0
0
null
null
null
null
UTF-8
C++
false
false
222
cpp
Woody.cpp
/* ** EPITECH PROJECT, 2020 ** CPOOL D13 ** File description: ** CPOOL D13 */ #include "Woody.hpp" #include "Toy.hpp" Woody::Woody(const std::string &name, const std::string &ascii) : Toy(Toy::WOODY, name, ascii) { }
15346739c7cb8ba49502c7723890c3869bff208b
de98f880e307627d5ce93dcad1397bd4813751dd
/3libs/ut/include/OXPropertyDescriptionPane.h
2d083ae55bbce498bcc0ae96a1615e1b9d7e7dfc
[]
no_license
weimingtom/sls
7d44391bc0c6ae66f83ddcb6381db9ae97ee0dd8
d0d1de9c05ecf8bb6e4eda8a260c7a2f711615dd
refs/heads/master
2021-01-10T22:20:55.638757
2011-03-19T06:23:49
2011-03-19T06:23:49
44,464,621
2
0
null
null
null
null
UTF-8
C++
false
false
1,493
h
OXPropertyDescriptionPane.h
#if !defined(AFX_OXPROPERTYDESCRIPTIONPANE_H__D6507A74_8D1F_48BB_B820_099366191D16__INCLUDED_) #define AFX_OXPROPERTYDESCRIPTIONPANE_H__D6507A74_8D1F_48BB_B820_099366191D16__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // OXPropertyDescriptionPane.h : header file // #include "OXDllExt...
a40110fe699ace08a4c8a3c14207dfe5cf43981d
d6a4115db819adee535d74febd4f9e12f8ba4e69
/deegen/deegen_stencil_fixup_cross_reference_helper.cpp
991c0a5a9d882175bda532b9863d1505a11583b9
[ "Apache-2.0" ]
permissive
luajit-remake/luajit-remake
292c174be79034bffea77000debd4535c68d78bc
443b6cd442d3e471add261263297e3490b207b0e
refs/heads/master
2023-06-15T13:13:49.561304
2023-06-08T04:55:18
2023-06-08T06:59:03
496,533,267
910
25
null
2022-11-27T07:36:17
2022-05-26T08:04:39
C++
UTF-8
C++
false
false
3,850
cpp
deegen_stencil_fixup_cross_reference_helper.cpp
#include "deegen_stencil_fixup_cross_reference_helper.h" namespace dast { void DeegenStencilFixupCrossRefHelper::RunOnFunction(llvm::Function* mainFn, llvm::GlobalValue* gvToReplace, llvm::Instruction* replacementValue) { using namespace llvm; ReleaseAssert(llvm_value_has_type<void*>(replacementValue)); ...
6b5ad83f71e64b47fc46143dffc15962077ace11
3e9edb829449c3f7841620c741627cad6a864ee6
/time.cpp
202431dfbef943aa58f8d65ad4a8128b49055433
[]
no_license
R-Aswathama/Codechef-question
0df6b2ae91ce1e0c2451f66307d7c6dbb150c876
d4c2dd98f6fb33b8c8eceda36167026a72bfefcd
refs/heads/master
2023-04-03T20:36:10.432353
2021-05-02T04:36:12
2021-05-02T04:36:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
278
cpp
time.cpp
#include<iostream> using namespace std; int main() { short n,h,x,a=0; cin>>n>>h>>x; short t[n]; for(short i=0;i<n;i++) { cin>>t[i]; } for(short i=0;i<n;i++) { t[i]+=x; if(t[i]>=h) { a=1; break; } } if(a==1) cout<<"YES"; else { cout<<"NO"; } }
baf9b6a30d51db18327a146bdca7e0e657a0ef97
db96b049c8e27f723fcb2f3a99291e631f1a1801
/include/objtools/pubseq_gateway/impl/cassandra/cass_query_list.hpp
c07b29db50c5155926c741409672a2dcfa90640d
[]
no_license
Watch-Later/ncbi-cxx-toolkit-public
1c3a2502b21c7c5cee2c20c39e37861351bd2c05
39eede0aea59742ca4d346a6411b709a8566b269
refs/heads/master
2023-08-15T14:54:41.973806
2021-10-04T04:03:02
2021-10-04T04:03:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,271
hpp
cass_query_list.hpp
#ifndef CASS_QUERY_LIST__HPP #define CASS_QUERY_LIST__HPP #include <memory> #include <objtools/pubseq_gateway/impl/cassandra/cass_driver.hpp> #include <objtools/pubseq_gateway/impl/cassandra/mpmc_w.hpp> BEGIN_IDBLOB_SCOPE USING_NCBI_SCOPE; class CCassQueryList; using TCassQueryListTickCB = function<void()>; cla...
d98388928b33f4222d2bfda30d4c771e8d616983
325e7186e0d915c86517aae6ce01e3e488484561
/Include/LBFL/LBGraph/LineSpec.hpp
fc076441501d2fbfbe918072c0d5ddb4e3972639
[]
no_license
LawrenceBuckingham/SimilarityProjection
03fe227539b1420f348cf0bdaf499ade3b0f117e
f441c4df637acba255a08cc97126a7de503fceb1
refs/heads/main
2023-02-09T02:31:46.030678
2020-12-28T03:29:10
2020-12-28T03:29:10
315,176,779
0
0
null
null
null
null
UTF-8
C++
false
false
2,062
hpp
LineSpec.hpp
#pragma once #include <FL/Fl.H> #include <FL/Fl_Widget.H> #include <FL/fl_draw.H> #include <memory> #include <string> #include <vector> using namespace std; namespace LBGraph { class LineSpec { protected: /** The border color for the point markers. */ Fl_Color colour = FL_BLACK; /** * The thickness of the mar...
aa82ce7a5b07e972ba5e2d63a69e97c3c46bea93
135e0ddb881e8e5e4a6bae738e26eb2f951110e2
/src/armory/inc/map/grid.hpp
70ea4ce09bc4757dc7a0e5ed199ee4ce0d374f9f
[]
permissive
MadMcCrow/ARMORY
cc87199401d0a5128c5c9bf9570e8aaa46bf6fd9
a1841a6986a7fdf295043d055ebab477dd2cf137
refs/heads/main
2023-06-22T20:02:30.035121
2023-06-20T16:46:23
2023-06-20T16:46:23
316,828,385
2
1
MIT
2023-06-14T21:27:57
2020-11-28T21:52:34
C++
UTF-8
C++
false
false
2,084
hpp
grid.hpp
/// Copyright (c) 2023 Noé Perard-Gayot (MadMcCrow) /// This work is licensed under the terms of the MIT license. For a copy see <https://opensource.org/licenses/MIT> #ifndef ARMORY_GRID_H #define ARMORY_GRID_H // Godot #include <godot_cpp/core/class_db.hpp> #include <godot_cpp/classes/ref_counted.hpp> // Armory #in...
69e9be8c1e67db7e6b184cff713de6c726061af1
2d3dffb6fcc4364c7b16d64bf1cde7c24c3167b8
/Estructuras de datos con C++/lista sencilla(info String)/TDAListaSencilla.h
ad62920fb59a77e0366f02d2cdc6b5d3462b9b80
[]
no_license
juanjosegdoj/Ejercicios-Estructuras-de-Datos
d68d56603fc9252b3c893782c73942ea2821d8e8
97d07bb59f26a29e2205b68b52aadb30c3f5b8d1
refs/heads/master
2020-03-20T12:44:21.355158
2018-06-15T04:11:32
2018-06-15T04:11:32
137,439,409
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
3,300
h
TDAListaSencilla.h
#include "TDANodo.h" #include <iostream> using namespace std; /*Nodo Incio de la Lista*/ struct TDALista{ Nodo *inicio; Nodo *actual; } ; /* Por LUz Mery. Crea la Lista, moviendo siempre la posición actial al elemento ingresado*/ TDALista *crearLista(TDALista *c, string dato){ Nodo *aux; aux =...
08bd341a2ba3f5068fdba853d91ab437512e10fb
ebc144cd5658eabdb1b7c549741d2718ebe6ff85
/Simulator/Edges/Neuro/AllSTDPSynapses.cpp
92e7f355b3bb3d1a52e6fe995a2e619c5401cb2d
[ "Apache-2.0" ]
permissive
UWB-Biocomputing/Graphitti
175a8fa442fc61341338efea504adb797136c339
6c392438d9e5367b0ddfee9c7fb257df27a05bf4
refs/heads/master
2023-09-04T09:04:24.244967
2023-08-07T23:55:00
2023-08-07T23:55:00
273,115,663
8
22
Apache-2.0
2023-09-13T20:22:13
2020-06-18T01:41:41
C++
UTF-8
C++
false
false
19,730
cpp
AllSTDPSynapses.cpp
/** * @file AllSTDPSynapses.cpp * * @ingroup Simulator/Edges * * @brief A container of all STDP synapse data */ #include "AllSTDPSynapses.h" #include "AllSpikingNeurons.h" #include "AllVertices.h" #include "ParameterManager.h" AllSTDPSynapses::AllSTDPSynapses() : AllSpikingSynapses() { defaultSTDPgap_ = 0; ...
4e3b8b5ccce7b02d71ded49411c82faa504c663d
00491554bae3be54908decc2ab485d0f9a42190b
/q6.cpp
e52a8b669c5418e2dca38e988618661e2f77c378
[]
no_license
pranjalisingh22/akku
da20bf6ea13f42dbf027fbd0609c84029255a1a9
c3e5dbc686e80d0af27f16da47d02f27a99125b8
refs/heads/master
2020-03-25T20:42:10.328317
2018-11-18T17:47:17
2018-11-18T17:47:17
144,141,654
0
0
null
null
null
null
UTF-8
C++
false
false
594
cpp
q6.cpp
//printing the sum of digits of any number. #include<iostream> //including library using namespace std; //defining use of cout dunction void f(int n,int z) //defining function { /*as long as n is not 0 divide n by 10 and add the remainder to a temporary variable also discard the decimal part of n after dividing ...
35f539861d1ba45dede677fda6f3e5e2af5d8130
3445eed3395fc283e4c5bd3cf7d783caa2e626bf
/lwlog/src/details/pattern/formatter.h
fe19b202122ed3baa32970cf4b07ad2e2f7156dd
[ "MIT" ]
permissive
ChristianPanov/lwlog
e122353a258d8dc3eefd473ce7b5cf9cf97236b5
0c8016131fc6a09db64d362ae21799df6409c100
refs/heads/master
2023-08-05T00:14:40.563981
2023-08-01T10:29:03
2023-08-01T10:29:03
189,701,142
192
22
MIT
2022-01-14T01:19:37
2019-06-01T06:57:30
C++
UTF-8
C++
false
false
408
h
formatter.h
#pragma once namespace lwlog::details { struct formatter { virtual ~formatter() = default; virtual void format(std::string&, const record&) const = 0; template<typename T> static void format_attribute(std::string& pattern, const flag_pair& flags, T value); template<typename T> static void format_attribute(s...
155300dc1c9a629534a4160c60a48cb24ca1f858
6d258d9abc888d6c4640b77afa23355f9bafb5a0
/c++11/thread/this_get_id.cpp
d17f269ae9d1c990225520c0c35b2d6d6cfa5b84
[]
no_license
ohwada/MAC_cpp_Samples
e281130c8fd339ec327d4fad6d8cdf4e9bab4edc
74699e40343f13464d64cf5eb3e965140a6b31a2
refs/heads/master
2023-02-05T00:50:47.447668
2023-01-28T05:09:34
2023-01-28T05:09:34
237,116,830
15
1
null
null
null
null
UTF-8
C++
false
false
340
cpp
this_get_id.cpp
/** * this_get_id.cpp * 2022-06-01 K.OHWADA */ // g++ this_get_id.cpp -std=c++11 // https://cpprefjp.github.io/reference/thread/this_thread/get_id.html #include <iostream> #include <thread> /** * main */ int main() { std::cout << "thread_id=" << std::this_thread::get_id() << std::endl; return 0; } // th...
f6e063aa34580dc58e442b366037f6d4e66ff1da
d142829a061b5418d582c2dc39326ceffad3734e
/findkthofsearchtree/findkthtree.cpp
e6a1fc6e468d35cac3c3e10cf160e5caf56c2fcd
[]
no_license
Cauahu/hihoCoder-training
662f3ac531916e1b4613ea5645a7fca130559156
252f327c3f8ec803721f35b1d65204dde93c4b31
refs/heads/master
2021-01-15T15:32:30.308033
2016-08-08T02:48:28
2016-08-08T02:48:28
54,168,241
0
1
null
2020-10-02T05:30:02
2016-03-18T02:44:41
C++
UTF-8
C++
false
false
512
cpp
findkthtree.cpp
#include <iostream> using namespace std; struct TreeNode { int val; struct TreeNode * left; struct TreeNode * right; }; void preorder(TreeNode* pRoot, vector<TreeNode*> &vec) { if(pRoot == NULL) return; preorder(pRoot->left, vec); vec.push_back(pRoot); preorder(pRoot->right, vec); } TreeNode* kthnode(TreeNo...
0c0a690bedd5d3a0807e35df971c21ef8b3fb8b3
185a0c0c02f33f37b2570fd6eee6c5b5f89624f7
/Simplex03/cdn/individual.h
c0e01347b30601cf52663a1d0eaa65147522cdbf
[]
no_license
Waydrow/CodeCraft
5c340c6a5bd74ca72a20b8afebebd75224f1690f
8512d9d5e0e2bc5f717c778af0577e86c621273b
refs/heads/master
2021-06-17T00:49:27.680577
2017-04-26T10:32:20
2017-04-26T10:32:20
84,938,259
1
0
null
null
null
null
UTF-8
C++
false
false
1,451
h
individual.h
#ifndef _INDIVIDUAL_ #define _INDIVIDUAL_ #include <bitset> // 个体类 class Individual { public: int cost; // 花费 double fitness; // 适应度 bitset<BITSIZE> bitIn; // 一个个体 int gen[1300]; public: // constructor Individual() {} // 由 0/1 串置换为十进制编码 void updateRealPlan() { int nn = 0; ...
a3fd3452f8b60c7ef8dff10713d5d412fb9280a8
88824a3b0abb54c99c171e9d9dc030e8c8e5c342
/ch5/clist.cc
55a8d28c2b064c058361a407658c006b9e2234d7
[]
no_license
gamgyul/data_structure
bf87197d0ff95496649297a9777f92a952c19fdc
0d63f60f54aff82c5c6f940bb2b1f17e2af98a8e
refs/heads/master
2020-07-15T12:27:03.741567
2019-12-16T13:02:21
2019-12-16T13:02:21
205,561,599
0
0
null
null
null
null
UTF-8
C++
false
false
1,632
cc
clist.cc
#include "clist.h" Ch5CList::Ch5CList(){ tail = NULL; cur = NULL; before = NULL; } Ch5CList::~Ch5CList(){ } void Ch5CList::LInsert(LData data){ Node* tmp = new Node; tmp->data = data; if(tail == NULL){ tail = tmp; tmp->next = tmp; } else{ tmp->next =tail->next; ...
1ada562464cb86e2fa044f6119b5ff59a52f3023
3c441771e32023092acff40fe9de9cec5f8612d4
/OpenGL/Plane.h
10590c39fe53ea12df89b257f770f7bc956952bf
[]
no_license
nandos13/PhysicsEngineCPP
c3f5abe593e61af8bd9cd48d2b51943ac2414b21
56fb6ed43e0a93d9d6b2b14482627b5c41bcda5a
refs/heads/master
2021-01-23T01:50:47.071081
2017-07-17T09:30:37
2017-07-17T09:30:37
92,893,611
0
0
null
null
null
null
UTF-8
C++
false
false
323
h
Plane.h
#pragma once #include "PhysicsObject.h" class Plane : public PhysicsObject { friend class Physics; protected: glm::vec2 m_normal; public: Plane(const glm::vec2 pos, const glm::vec2 normal); ~Plane(); virtual void Update(const float deltaTime); virtual void Draw() const; const glm::vec2 GetNormal() const; }...
4325f38296d0f0a83165604caac544daf9cd2e4d
d40b62dc181cb1f1b2853f439797552aac47112a
/game.h
0ebfd4e2f8e201aaff120cf34c0fd9e2c70a2d2b
[]
no_license
VladimirCourse/TicTacToe
7fbad96f47ab82f71a5155f6a5da6f955ab9b851
30816606feb4b67d35589382746c98c7fa00308f
refs/heads/master
2021-01-10T15:23:05.251381
2016-02-23T15:21:16
2016-02-23T15:21:16
52,381,411
0
0
null
null
null
null
UTF-8
C++
false
false
697
h
game.h
#ifndef GAME_H #define GAME_H #include <QObject> #include <QDebug> #include "constraints.h" #include "bot.h" class Game : public QObject{ Q_OBJECT private: Bot m_bot; bool m_currentPlayer; int m_field[FIELD_SIZE][FIELD_SIZE]; int m_moveCount; int m_winType; int m_winPoint; bool check...
d96c5b5a7a6878fcca1b49db5d9c174eb958ab9c
ea7f49f4bb6c1d5384f2487b6886625b8b279aa4
/test_map/robot.hpp
06258062c23398f5d3a9e38ba2277254795ead71
[]
no_license
Ekleog/TIPE
e121386476e7a4401853f6e453ea756972882772
c39993b5395962b11db2c33c9123842827209632
refs/heads/master
2020-05-24T15:38:44.682064
2014-01-04T14:58:49
2014-01-04T14:58:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
735
hpp
robot.hpp
#ifndef TEST_MAP_ROBOT_HPP_INCLUDED_ #define TEST_MAP_ROBOT_HPP_INCLUDED_ 0 namespace lg { namespace test_map { class robot { float x_, y_, bx_, by_; // robot x, y, beacon x, y public: robot(float x, float y, float bx, float by) : x_(x), y_(y), bx_(bx), by_(by) { } void move(float dx, float dy) { ...
28abcd2d3f7d4ebe1bd2d899bd06fb64ceb23d60
7992352e97f30be6054c2aec3a2c4348a275e0ee
/src/pathconverter.h
d1346cde48a36ba5b5cf11dd1f80ac93e2f7fbf4
[]
no_license
RyosukeHonda/PathPlanning
c68025762d51e36e907627d20c2c0fab771341cb
5e0e7a8bebc320d06ff50b7548750bd335c6a524
refs/heads/master
2021-01-01T18:09:53.629103
2017-08-06T14:37:27
2017-08-06T14:37:27
98,265,128
1
1
null
null
null
null
UTF-8
C++
false
false
767
h
pathconverter.h
#ifndef PATHCONVERTER_H_ #define PATHCONVERTER_H_ #include <string> #include <sstream> #include <iostream> #include <fstream> #include <math.h> #include <vector> #include "spline.h" #include "helper.h" #include "jmt.h" class PathConverter{ public: //Import waypoints data into memory PathConverter(std::s...
d9b0856d56da5c655fc2e521ca1181c1b62c89ad
33cc75a925b12133bc78fe0f307140878bb093b6
/cf/1028/A/main.cpp
8f50e70cec788b76e4a97eced260c549c3f3af10
[]
no_license
redeff/cmp
05603369f404cff25d168105b1f1c7a956fd07b8
8974bacf61b6c73d1cb5d3b5aa33c12af0d687d0
refs/heads/master
2021-05-08T01:10:47.542693
2019-10-13T22:19:32
2019-10-13T22:19:32
107,782,810
0
0
null
null
null
null
UTF-8
C++
false
false
462
cpp
main.cpp
#include <bits/stdc++.h> using namespace std; typedef long long int ll; int main() { ll n, m; cin >> n >> m; ll x = 0; ll y = 0; ll total = 0; for(int i = 0; i < n; ++i) { string s; cin >> s; for(int j = 0; j < m; ++j) { if(s[j] == 'B') { x +=...
7e9126ac4148101eb0ffd56e15bff90518002860
71b2597cb54b13a9ba2f8ea228a3baa2803a54a1
/utils/debug.cc
4696aad83e4921c026f4e2f781522db333a27f14
[ "Apache-2.0" ]
permissive
wurikiji/forestdb-flash
875b582b6225b49cc1a18f65a07f33fcb44b269c
8248dfd677572577bb523890fdab86ed146a3292
refs/heads/master
2021-09-22T19:09:58.049467
2017-08-22T05:11:46
2017-08-22T05:11:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,047
cc
debug.cc
#include "debug.h" #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include "time_utils.h" #include "backtrace.h" #include "breakpad.h" #include "fdb_internal.h" #define N_DBG_SWITCH (256) static uint8_t _global_dbg_switch[N_DBG_SWITCH]; static void* _global_dbg_addr[N_DBG_SWITCH]; static uint64_t _global...
068f0632d81268d89c7daa7ffb7c90473c242ef4
baca38a1e2f2e94108d205d2a6c70e84bcc64642
/PUSH/PlayerBall.cpp
d5043b3b1b024e7e6fd8f4c6bd40b98dcebda04f
[]
no_license
arata-nvm/Edge-of-Tomorrrow
6564470c291d221b0735fb981cae942e9f74a633
a220994dab431de48e872a83c85db8a69bc707c5
refs/heads/master
2020-09-03T14:46:23.533105
2019-11-02T14:41:12
2019-11-02T14:41:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
786
cpp
PlayerBall.cpp
#include "PlayerBall.hpp" PlayerBall::PlayerBall(P2World& world, Rect stageRect, int size) : Ball::Ball(world, stageRect, size) { } Vec2 PlayerBall::getPos() const { return body.getPos(); } void PlayerBall::update() { int scale = 15; if (KeyUp.pressed() || KeyW.pressed() || KeyK.pressed()) { body.applyLinearIm...
9da9f2cc62882fa56048fa8205b70c5bcbd41d9e
b21f3d57ec44877cfd8e3bb64cc387f826b55d0a
/RSALib/Main.cpp
baa45b3cd31d6f152e1255bbaa1b8e7ba6cc4f13
[]
no_license
Bhavya/RSALib
721ed626497ec282d2fac4432e5bec9c35b75ec0
59baf9511058feae2da755a236baf1559e8f567d
refs/heads/master
2021-01-11T23:23:53.736923
2017-01-11T07:12:48
2017-01-11T07:12:48
78,577,548
1
0
null
null
null
null
UTF-8
C++
false
false
209
cpp
Main.cpp
#include <iostream> #include <conio.h> #include "RSA.h" using namespace std; int main(int argc, char* argv[]) { //Example here. RSA Alice; RSA Bob; cout << "Hello World" << endl; getch(); return 0; }
a7575388649e4cef713df6ddcd12ab2645dd9a71
c254c37b30fba0c41b3157dd5581e03035df43c1
/C++ Solutions/URI/2143 - The Return of Radar.cpp
f4db2e382756bfc33734e86e6600a48cfaf2318d
[]
no_license
AntonioSanchez115/Competitive-Programming
12c8031bbb0c82d99b4615d414f5eb727ac5a113
49dac0119337a45fe8cbeae50d7d8563140a3119
refs/heads/master
2022-02-14T10:51:19.125143
2022-01-26T07:59:34
2022-01-26T07:59:34
186,081,160
1
0
null
null
null
null
UTF-8
C++
false
false
256
cpp
2143 - The Return of Radar.cpp
#include <bits/stdc++.h> using namespace std; int main() { int t; while(cin>>t && t!=0){ int n; for(int i=0;i<t;i++){ cin>>n; cout<<((n%2==0)?((n-2)*2+2):((n-1)*2+1))<<'\n'; } } return 0; }
1b1567f22c58150d15bfea98f2dd7ec5da515482
5099b2f4e87d81171339a5da83bfcb77b862e136
/lib/src/checkers/helper/clangtojson.cpp
9d3b529b6f8ef25bfc5e8f35b9c17ea6f79330d9
[ "MIT", "NCSA" ]
permissive
USECAP/ci-tools
32617652a46bc09bdef4f1332d11c3fbccc6e561
ad2300e3297266ff3ee6ed9118ccd16fc05291e3
refs/heads/master
2020-03-20T19:42:37.580757
2018-06-21T10:41:36
2018-06-21T12:42:07
137,649,996
0
0
null
null
null
null
UTF-8
C++
false
false
1,185
cpp
clangtojson.cpp
#include "clangtojson.h" #include <clang/AST/AST.h> using namespace nlohmann; using namespace clang; namespace { std::vector<json> createParameterObjects(const FunctionDecl *F, const SourceManager &SM) { std::vector<json> params; params.reserve(F->param_size()); std::tra...
8ce5f055d482fd8648e35839df78f17cbe36a130
1bdb9b8baf341e71bde5c471d293e082c3def401
/GameTemplate/Game/Game.h
5c15a2de9ea60609834914369438d39b67597881
[]
no_license
TakuyaI/GameSeisaku
6f8fc5915eeba5f84ea3e4c4808f9761712fff99
e82f46324ad23e54e4225670d3afcd07fe6a8fa8
refs/heads/master
2020-06-27T12:37:03.837654
2019-09-26T07:25:14
2019-09-26T07:25:14
199,956,212
0
0
null
null
null
null
UTF-8
C++
false
false
272
h
Game.h
#pragma once class GameCamera; #include "IGameObject.h" #include "Player.h" #include "BackGround.h" #include "GameCamera.h" class Game : public IGameObject { public: Game(); ~Game(); void Update(); private: Player* player; BackGround* back; GameCamera* gc; };
12d9ce25f9ddd63f641d1b79be3cec4eb8b9ffad
17310661cbaea41d68baea32c2a977f80f46751f
/Source/CollisionWar/SRC/Game/Battle/Physics/PhysActorSonClass/DetonationActor.cpp
5bf411251d68b3e09236a6abbb00f8753dbb0ba1
[]
no_license
VectorL1990/CollisionWarBackup
5540807c23193215d0a50e4826978d5f2430c243
8e263ab498f9097c57f6a1ef78719607b66cfc9f
refs/heads/main
2023-04-10T15:17:05.678311
2021-04-23T08:16:05
2021-04-23T08:16:05
357,766,090
0
0
null
2021-04-23T08:16:05
2021-04-14T03:51:57
C++
GB18030
C++
false
false
4,899
cpp
DetonationActor.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "CollisionWar.h" #include "../PhysCalculator.h" #include "Kismet/KismetMaterialLibrary.h" #include "DetonationActor.h" ADetonationActor::ADetonationActor() { PrimaryActorTick.bCanEverTick = true; /*m_pFixComponent = CreateD...
4216ff6cccd74be634c9b6c0d18ead3c136e4a36
d9c905b07b75b73c423e870fe582f0d3008cde34
/30.cpp
3b4388f44d37dcef1df8b64d197a38dfb8535246
[]
no_license
pablo-mirtor/TAIS
0c6f34898de8b4bf45eda3712efd9bd451c2cdcd
c8bc23542070eb5bd051e5cc8473f08c15584e5a
refs/heads/master
2020-07-27T02:24:54.469670
2019-11-14T19:04:06
2019-11-14T19:04:06
208,836,099
0
0
null
null
null
null
UTF-8
C++
false
false
1,644
cpp
30.cpp
// Pablo Miranda Torres #include <iostream> #include <fstream> #include <vector> #include "Grafo.h" using namespace std; class grafoBipartito{ private: vector<bool> marked; vector<int> valor; //grafo que asigna valores a los nodos (1 un color, 2 otro, 0 sin asignar) bool bipartito; void dfs(Grafo c...
0c7def01722def02ce4f94e37179fe03e109e002
fbec58fa85c55f9278a72829db65c4845a394ad3
/Shiny/Threading/Thread.h
88d3014d3331a741f99995bd5b7a21ce3845e51f
[]
no_license
ekalchev/Shiny
02da492a469f1c57e2b6962102c9346984bc8525
d0e2355bd80d355ff142d36c945bb08fca417d7a
refs/heads/master
2021-01-10T21:59:47.168543
2014-12-01T18:13:44
2014-12-01T18:13:44
27,392,665
1
0
null
null
null
null
UTF-8
C++
false
false
767
h
Thread.h
/////////////////////////////////////////////////////////////////////////////// // File: Thread.h // Author: Emil Kalchev // E-mail: developer@engineer.bg /////////////////////////////////////////////////////////////////////////////// #ifndef __THREAD__ #define __THREAD__ #include <windows.h> class Task; clas...
254c9a6a140f1b657378737c9e9973e0a68d5285
0ff2f10af8f14e1dbc777816b2f3a8eea9c4de4e
/FrameInfo.cpp
459e74f3c8bf3653748725a7c1532471e4055513
[]
no_license
jupengfei-github/Frame-Animation-Based-SurfaceFlinger
71279b92b28a31249670aaed6e6f7c4e1ad7ec49
f7b886096b790b92bc87eac18b88e04a5841fc3b
refs/heads/master
2020-03-24T20:08:23.357329
2018-07-31T04:19:07
2019-01-19T13:30:49
142,961,653
7
0
null
null
null
null
UTF-8
C++
false
false
10,892
cpp
FrameInfo.cpp
/* * Copyright (C) 2018-2024 The Surface Frame-Animation Project * * 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 requir...
281381ff369fbf9c014b00ae4883db701e644399
cf24ffc50dcf66994b13ad39619382109f31ecab
/Client.cpp
9790717b8995220f707b34ee04938a99eac45724
[]
no_license
lamentae/Insurance
319a6a6eded8d7c87688e3144f83df596133ddd8
31b559573e35a4a80878e711485051b88ae7d8e5
refs/heads/master
2020-07-16T15:17:31.701601
2016-11-16T17:35:50
2016-11-16T17:35:50
73,944,589
0
0
null
null
null
null
UTF-8
C++
false
false
497
cpp
Client.cpp
#include "Client.h" #include <iostream> using namespace std; int Client::total_client_id = 123456; Client::Client(string pname, Date bday) { name = pname; birth_date = bday; client_id = total_client_id; total_client_id++; } Client::~Client() { } void Client::print() { cout << name<< e...
dd01f5237cdbef2d90184f7503d5d22961f7b927
66c192974698f7844e6331c70144d09416090f39
/Day05/ex02/PresidentialPardonForm.hpp
d492973382541f28a25b1fedd730574b5d62402c
[]
no_license
Ymarji/cpp_picine
a29a2cef43de5410631226ac4b8e7779acdd9911
1dc03a50b0723eb90648b7e3e6be8daf9fa8aff4
refs/heads/main
2023-08-04T08:04:22.381071
2021-09-24T12:54:33
2021-09-24T12:54:33
378,615,927
1
0
null
null
null
null
UTF-8
C++
false
false
1,406
hpp
PresidentialPardonForm.hpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* PresidentialPardonForm.hpp :+: :+: :+: ...
7a7daedcab87bec1817fb73adcfe7779a59a78d0
7b62c2553d22c9e29a58c6d6ce66ed479942eb0e
/main.cpp
e2ae1d3a812f22913aeca543e4922c3e732064ba
[]
no_license
AnthonyB-04/Lab_1
b76502d8c75ff1f17c3712e7356fc63a51fc560f
f997dd7c2f45f15f2b9ba311a395e6d9dc779b4c
refs/heads/master
2021-03-01T17:18:12.224556
2020-03-08T11:42:15
2020-03-08T11:42:15
245,801,760
0
0
null
null
null
null
UTF-8
C++
false
false
1,047
cpp
main.cpp
#include <iostream> #include "fun.h" #include <cstdlib> #include <ctime> using namespace std; int main() { cout<<"Lab2-1_masyv_K-14_Anton_Budnyk"<<endl; int a[N]; for (int i = 0; i < N; i++) { a[i] = 0; cout << a[i] << "\t"; if ((i + 1) % 5 == 0) cout << "\n"; } ...
e7e20435a39ddbc8a8ff1cab69fe0a0d5f508c05
03bda519e5248e292ee3ef0727a559d1372a00c5
/Lab3/dft_example/dft_main.cpp
ac0993ad2c9e7f48e72555e3b07949fef2701502
[]
no_license
dlimit7/Multimedia_Signal_Proc
850cb9634ba63510a573160f73081ff258d198ac
239e6c3f48e91bfcbc9b335898b790b1553a41c7
refs/heads/master
2020-03-28T03:17:08.212475
2019-02-15T05:41:18
2019-02-15T05:41:18
147,634,335
0
0
null
null
null
null
UTF-8
C++
false
false
5,887
cpp
dft_main.cpp
/*****************************************************************************/ // File: dft_main.cpp // Author: David Taubman // Last Revised: 28 August, 2007 /*****************************************************************************/ // Copyright 2007, David Taubman, The University of New South Wales (UNSW) ...
90e3f9efaa6058c8ef768ab08b2071d43c063cc0
786de89be635eb21295070a6a3452f3a7fe6712c
/AppUtils/tags/V00-00-01/src/AppBase.cpp
c66e8d08f8c4bf33d25b4c2a93204ae972dca6b7
[]
no_license
connectthefuture/psdmrepo
85267cfe8d54564f99e17035efe931077c8f7a37
f32870a987a7493e7bf0f0a5c1712a5a030ef199
refs/heads/master
2021-01-13T03:26:35.494026
2015-09-03T22:22:11
2015-09-03T22:22:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,183
cpp
AppBase.cpp
//-------------------------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Class AppBase... // // Author List: // Andrei Salnikov // //------------------------------------------------------------------------ #include "Lusi/Lusi.h" //---------------...
c001a80ec3d66281bc5863c2abb4b34c8e367468
0c7e20a002108d636517b2f0cde6de9019fdf8c4
/Sources/Elastos/Packages/Service/Telephony/src/elastos/droid/teleservice/phone/CCdmaCallOptions.cpp
752708de428767a2254a41d8cbce61a8cd68c26c
[ "Apache-2.0" ]
permissive
kernal88/Elastos5
022774d8c42aea597e6f8ee14e80e8e31758f950
871044110de52fcccfbd6fd0d9c24feefeb6dea0
refs/heads/master
2021-01-12T15:23:52.242654
2016-10-24T08:20:15
2016-10-24T08:20:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,188
cpp
CCdmaCallOptions.cpp
#include "elastos/droid/teleservice/phone/CCdmaCallOptions.h" #include "elastos/droid/teleservice/phone/PhoneGlobals.h" #include "R.h" #include "Elastos.Droid.Internal.h" #include "Elastos.Droid.Preference.h" using Elastos::Droid::Internal::Telephony::IPhone; using Elastos::Droid::Internal::Telephony::IPhoneConstants...
1571b3088d64f7d603581b3988b6d4336debd574
4cb1072aa6cf376bf42959d0b456a9e6de5dce86
/examples/ConstTester/ConstTester.ino
e25bdcb062e8dafb6b5c879d2692fc3949adfce6
[ "BSD-3-Clause" ]
permissive
lathoub/Array
bd99243488738ec2432eacf8b60719e55762d03d
5461cf3ac06f90a247062120b29d75b4be083c5a
refs/heads/master
2021-01-01T13:15:23.313086
2020-02-09T11:53:03
2020-02-09T11:53:03
239,295,304
0
0
NOASSERTION
2020-02-09T11:45:54
2020-02-09T11:45:53
null
UTF-8
C++
false
false
1,598
ino
ConstTester.ino
#include <Arduino.h> #include <Streaming.h> #include <Array.h> const long BAUD = 115200; const size_t ELEMENT_COUNT = 5; const size_t INDEX = 2; const size_t DELAY = 500; void setup() { Serial.begin(BAUD); delay(DELAY); } void loop() { const size_t c_style_array[ELEMENT_COUNT] = {15,14,13,12,11}; Array<...
52f21465a1a518c8620b9435fba837dd55048695
c3aeb514d43a343d3a4f9df75ee98e248c8278f7
/test/container.cpp
fa75ffb51bc81a697f0bcf36bc09d26eddc2bdb9
[ "MIT" ]
permissive
potswa/cxx_function
c43666133fe58c566fdea61ad160201fc2dc0324
677a1b37954d7867619d49075179be3116728b8a
refs/heads/master
2021-01-10T04:36:14.258994
2020-04-27T13:00:56
2020-04-27T13:25:11
36,355,366
54
9
MIT
2020-04-27T13:27:33
2015-05-27T08:58:14
C++
UTF-8
C++
false
false
2,746
cpp
container.cpp
#include <map> #include "cxx_function.hpp" #include <cassert> std::map< int, std::ptrdiff_t > pool_total; std::ptrdiff_t global_total = 0; struct accounting { int id; static int next_id; accounting() : id( next_id ++ ) {} std::ptrdiff_t total() const { return pool_total[ id ]; } };...
6a2c9f73d3f0965d0568821f28253f87c0df19c0
67fc10f71b4dd3e9956eb2e4b871d2abc659acb6
/iteration 4/Prototype/DeplacementMulti-alpha/serveurEliminator/entitylight.h
e8c524886fa402c54821bb2e9970507b42396421
[]
no_license
Batyan/Eliminator
84418a9520aed260e78fcdf66406864f353778c1
1b7f7ff9457cf013da0f575fc4a88913aebfee31
refs/heads/master
2021-01-19T06:06:18.674091
2013-12-04T22:11:29
2013-12-04T22:11:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
133
h
entitylight.h
#ifndef ENTITYLIGHT_H #define ENTITYLIGHT_H class EntityLight { public: EntityLight(); int id; }; #endif // ENTITYLIGHT_H
4fd41692510952baa67095f7884953ccdee311a7
cf07db979d8de0adac27de8fd8abb686477e2fd1
/RavageRebuild/include/OpenGL/RavIndexBufferOpenGL.h
c23afa0bd5f06a8736abefa6a06502873bea96d6
[]
no_license
YuraTim/Ravage
208f653779f3a04b29d076135f295984b381582c
939b5b477e4fe5fe3c347bfcf177a210a598c4ff
refs/heads/master
2021-01-10T14:39:33.264966
2016-04-07T15:33:12
2016-04-07T15:33:12
55,705,817
0
0
null
null
null
null
UTF-8
C++
false
false
819
h
RavIndexBufferOpenGL.h
#ifndef RAVINDEXBUFFEROPENGL_H_INCLUDED #define RAVINDEXBUFFEROPENGL_H_INCLUDED #include "RavBase.h" #include "RavIndexBuffer.h" #include "OpenGL\RavLibrariesOpenGL.h" namespace Ravage { class IndexBufferOpenGL : public IndexBuffer { public: virtual ~IndexBufferOpenGL(); bool create(unsigned size, IndexBuffer...
07c70edde3f1556d53a8f6c0c4ec7b574c7721bb
4084cbee083516f2dc0b4e3224298d415bb4bb01
/CCS_projects/BLDC/src/BLDC/ADC.cpp
891b944b53d2d5d9a097a7df7b8a9df1a4ba86d5
[]
no_license
relliky/OptimusPi_r1
6da097da23edd6be9e42c89684717a1e6c22e50c
e58f5edf76d428211ee07b0567e450e0f6f7b704
refs/heads/master
2021-01-20T02:16:32.865388
2015-05-05T00:50:13
2015-05-05T00:50:13
25,427,460
0
0
null
null
null
null
UTF-8
C++
false
false
10,280
cpp
ADC.cpp
/* * ADC.cpp * * Created on: 10 Jul 2014 * Author: Matt * * Configures either the ADC0 or ADC1 peripherals and contains an ISR for each. */ #include "ADC.h" #include "BLDC.h" static ADCClass* ADC0; static ADCClass* ADC1; /** * Constructor * * @param channel - either 0 or 1, maps to ADC0 and ADC1 * ...
eee52a12f1f171dbef7c71c63b8385fa5d76a4b5
8413273bab84228dad6ff5247f6d581b7796d142
/sample/sdl_gui/guichan/core/image/particle/particleemitterprop.h
87122d0224514764bbd6d4f6f6bbcf3679fc100c
[]
no_license
pdpdds/yuzaos
91b6f5bb51583da3827594489fc700821bc5cd6a
ce3b6d0907f7be470fcbc408382a20e2b75e9ef2
refs/heads/master
2023-05-01T09:51:21.007740
2023-04-27T08:37:42
2023-04-27T08:37:42
289,303,507
28
5
null
2021-03-20T14:58:37
2020-08-21T15:30:10
C
UTF-8
C++
false
false
3,158
h
particleemitterprop.h
/* * Aethyra * Copyright (C) 2006 The Mana World Development Team * * This file is part of Aethyra based on original code * from The Mana World. * * This program 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 Sof...
5a861404da5a69ec1d8384a70ef3f38f20bcfecf
48cbfca9b2d5f7f0b368b7a896833d5e9f19f671
/Luogu/P1025 数的划分.cpp
2edb8819de4aa16d02c8e0cfb7fd74def5f09b3d
[]
no_license
Luckyblock233/OI-code
8a9099b106968dd087cb1b95ca7516bd6b7a5457
319993be9ec5eb642e2844db63e1c4f59fd8f0e8
refs/heads/master
2020-08-16T08:50:36.339838
2019-10-17T13:14:24
2019-10-17T13:14:24
215,478,816
0
0
null
null
null
null
GB18030
C++
false
false
866
cpp
P1025 数的划分.cpp
//算法:DFS回溯 //思路:dfs传输要拆分的数s与答案中数的个数t //以答案中最后的数为起点,循环找不大于s的数i, //保证新的数小于前面的数, (为避免重复答案) //若s-i>=0 ,则使s-i,并使答案中第t个数为i //若此时s为0,就可以使方案+1 //不为0,就继续搜索下一个t位置 #include<cstdio> using namespace std; int n,k,tot; int ans[10000]={1,1}; void dfs(int s,int t); int main() { scanf("%d%d",&n,&k); dfs(n,1); print...
a247471f19d5149379c5d115f4b47a218f9b72fb
97069fdb6772617ce4ec3ebeeea7d3eecd9d7d0d
/src/generators/basic_generator.cpp
159c32dfcdedd8d8f5ef85393f931d22e694e64d
[ "MIT" ]
permissive
gitter-badger/autoprogrammer
3204a5ff115d5b8933e02e73feeb9e3b8c37599b
f42327661a661166f4f21c4ce9f330fcd56c45ac
refs/heads/master
2020-04-03T07:16:56.392193
2018-09-04T18:49:39
2018-09-04T18:49:39
155,098,134
0
0
MIT
2018-10-28T17:43:07
2018-10-28T17:43:07
null
UTF-8
C++
false
false
4,277
cpp
basic_generator.cpp
#include "basic_generator.h" #include <clang/AST/ASTContext.h> #include <clang/Basic/SourceManager.h> #include <clang/Basic/FileManager.h> #include <clang/Rewrite/Frontend/Rewriters.h> #include <clang/Rewrite/Core/Rewriter.h> #include <clang/Format/Format.h> #include <fstream> #include <sstream> namespace codegen { ...
98441aff972dd8c55846cc616967794deb13edf3
716d419a478280af5c00dcfb339b30e9750d6e6e
/Live/Classes/HUD/HUDBar.h
d8b46e10f81ba78637f7b0c045a19789811019a9
[]
no_license
hinataiswaifu/live
87220ceece33da4f5b9f7042e0760df2d114a35b
4f05a5a123ca8d9a7e95710d1e0d85ac79eadf1d
refs/heads/master
2021-09-05T08:49:21.087601
2017-12-01T05:00:20
2017-12-01T05:00:20
105,398,524
3
2
null
2017-11-22T17:03:41
2017-09-30T20:23:22
C++
UTF-8
C++
false
false
849
h
HUDBar.h
#pragma once #include "cocos2d.h" class HUDBar : public cocos2d::Layer { public: HUDBar(const std::string& _title, double max, int x, int y, cocos2d::Sprite* bar_sprite); ~HUDBar(); // static method to create instance of HUDBar static HUDBar* createLayer(const std::string& title, double max); vi...
f8a79b4be109a5d2706ca892c59a8802fe7f93be
b9b90ec865e4e12e47f72b64e4a00c29fa7e61fb
/cflw代码库/cflw图形_dx纹理.cpp
e0a13ecb2bcd3654de09ce7583941ed3fafe4d2f
[ "MIT" ]
permissive
cflw/cflw_cpp
b8d06d0ad8b1d7b439150c41177b519613f25ebb
b77d4f83e158f80fcf56552256978fc726b54cac
refs/heads/master
2023-02-15T16:58:02.613386
2023-01-27T13:06:14
2023-01-27T13:06:14
143,597,047
13
1
null
null
null
null
UTF-8
C++
false
false
16,868
cpp
cflw图形_dx纹理.cpp
#include <cassert> #include <unordered_map> #include <unordered_set> #include "cflw图形_dx纹理.h" namespace std { template<> struct hash<GUID> { size_t operator()(const GUID &a) const { const size_t v0 = a.Data1; const size_t v1 = (size_t)a.Data2 * (size_t)a.Data3; const size_t v2 = (size_t)a.Data4[0] * (size_t)a.D...
d5b3f704005aea29e2853f998129ae83ae941e50
5885fd1418db54cc4b699c809cd44e625f7e23fc
/neerc-2012-cf100134/c-hull.cpp
9fca702f3407d269e3e4c7a94fac745b6b3df9ce
[]
no_license
ehnryx/acm
c5f294a2e287a6d7003c61ee134696b2a11e9f3b
c706120236a3e55ba2aea10fb5c3daa5c1055118
refs/heads/master
2023-08-31T13:19:49.707328
2023-08-29T01:49:32
2023-08-29T01:49:32
131,941,068
2
0
null
null
null
null
UTF-8
C++
false
false
1,351
cpp
c-hull.cpp
#include <bits/stdc++.h> using namespace std; #define FILENAME "caravan" #define nl '\n' typedef long long ll; typedef long double ld; typedef complex<ld> pt; ld cp(const pt& a, const pt& b) { return imag(conj(a)*b); } int main() { ios::sync_with_stdio(0); cin.tie(0); #ifdef ONLINE_JUDGE freopen(FILENAME ".in"...
fddf6ecd65456e6e5c97d9b0f1b0a6f686115f5c
a879f1ff4679ed01a204069c5b4874720f4444d9
/To_offer/13机器人的运动范围.cpp
d9d8c14ce1b91097c67ee733836daf7b9b4f3b2f
[]
no_license
yuki9965/my-algorithm
fa4ba363e4f010ea793297ee7b2bfa48f807e003
5a4cb53ad7da95250bdfd2a82268c8e083ee0ecd
refs/heads/master
2023-01-28T07:58:54.840455
2020-12-09T13:58:00
2020-12-09T13:58:00
278,879,408
0
0
null
null
null
null
UTF-8
C++
false
false
1,844
cpp
13机器人的运动范围.cpp
#include<iostream> #include<vector> #include<string.h> #include<algorithm> using namespace std; /* 地上有一个m行n列的方格,从坐标 [0,0] 到坐标 [m-1,n-1] 。 一个机器人从坐标 [0, 0] 的格子开始移动,它每次可以向左、右、上、下移动一格 (不能移动到方格外),也不能进入行坐标和列坐标的数位之和大于k的格子。 例如,当k为18时,机器人能够进入方格 [35, 37] ,因为3+5+3+7=18。 但它不能进入方格 [35, 38],因为3+5+3+8=19。请问该机器人能够到达多少个格子...
08a68de64f372f91d3dcaa48bbffce5d50f942d4
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5753053697277952_0/C++/K0stIa/a.cpp
1d053e28cb8158a94a9c1df669bf2ec8c91e5952
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,411
cpp
a.cpp
#include <assert.h> #include <memory.h> #include <algorithm> #include <cmath> #include <cstdio> #include <iostream> #include <limits> #include <map> #include <numeric> #include <queue> #include <set> #include <sstream> #include <string> #include <vector> using namespace std; #define pb push_back #define INF 101111111...
0c0751b934047b16a8651e19af39e671d4c95153
6cc012c8aca549af905eb22eb1bbb7b999408602
/src/rviz_sim/MAV.h
873d0678f2de4e81280c18152fbcdb678384470b
[ "MIT" ]
permissive
elikos/elikos_sim
4a4c56e02a2bec85de757dfb5866ece1ee672838
a139d321c7ae239b445b4ff09ae2ca9833a9f6ee
refs/heads/master
2021-03-27T10:04:04.631966
2018-05-30T14:11:26
2018-05-30T15:05:17
116,184,652
0
0
null
null
null
null
UTF-8
C++
false
false
1,432
h
MAV.h
#ifndef SIM_MAV_H #define SIM_MAV_H #include <elikos_lib/pid.hpp> #include <visualization_msgs/Marker.h> #include "defines.cpp" namespace elikos_sim { class MAV { public: MAV(double simulationSpeed, ros::Duration cycleTime); ~MAV(); void setVelXYPID(double kp, double ki, double kd); void setVelZPID(d...
900e03da67fc7033f652261d035b22e66c401d8a
c1ea96689777813eab008d7a2f6e0a0e6fecbe23
/test_by_itoda.cpp
3a50e0b6d2e0d41b02bf109f2147dbc275c2054d
[]
no_license
kotit/sandbox
fc7ee558dc59d7848d9dfcac59b66674b8b7d285
a659ccfdf6440d0f5fbf1ebd6db4d21746f2611a
refs/heads/master
2021-01-17T22:50:45.166662
2013-02-14T14:32:12
2013-02-14T14:32:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
169
cpp
test_by_itoda.cpp
#include <iostream> int main(){ std::cerr << "hello, git world!" << std::endl; //asdf;lkjasdf;lkjasdf;lkj //hogehoge //piyopiyo //foo //bar return 0; }
f06f3e1b2286ab37da5c37bfb64813618c81a838
770718eaaa68c772c22613b5c745c1eff85f7c1a
/bai9/stack_point.cpp
8844d9f37d8a227bfd59aeebbd53a4eaebd00026
[]
no_license
duongptit14/GiaiNganHangCTDLGT
f77a280d753f89f139a581af4c8866b1eaca46e2
b5461e1a212e7e3bd84d86e15f83ba37ad8ac842
refs/heads/master
2021-01-10T12:26:36.944302
2017-12-28T07:11:36
2017-12-28T07:11:36
55,380,105
0
0
null
null
null
null
UTF-8
C++
false
false
1,020
cpp
stack_point.cpp
#include <iostream> using namespace std; struct Node { int value; Node *next; }; class Stack { public: Node *st; Stack() { st = NULL; } Node* create_node(int x) { Node* tmp = new Node(); if( tmp == NULL ) { cout << "Khong du bo nho"; return 0; } tmp->value = x; tmp->next = NULL...
162c69509c8e5f931b1d8d945a12ebda6233e5b7
1430544f26e55fdd3724bfbf28e620ea44ef6789
/Softwares/Brennand/serialconnection.h
3e018eb33adaccb323cefbb8f1d5f3fceef5c291
[]
no_license
pedrojlsilva/Armorial-Suassuna
e89e7ca0b2ef35516db61d95729249c75c06a41e
67c5b08f60c1c575c7eb2fe3b3fff298cf3c2796
refs/heads/master
2020-08-30T14:58:59.713075
2019-09-15T20:22:09
2019-09-15T20:22:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
469
h
serialconnection.h
#ifndef SERIALCONNECTION_H #define SERIALCONNECTION_H #include <QDebug> #include <QSerialPort> #include <QSerialPortInfo> class serialConnection{ public: serialConnection(QSerialPort *myDev); ~serialConnection(); QStringList loadPorts(); bool connect(QString Port, uint32_t bd); bool disconnect(v...
0b5ffd1566044cca0972f0c821e9c48e0b168369
3c0e8203d9136d5e6ded361a6c0a7c059ffedb5e
/src/osal/win32/OS_Socket_win32.cpp
fb10f6ff6f282d47b8ccd50603d651abbfcc42d9
[]
no_license
gnosis2148/vcore
895a5b719f79c0565c72a7ef01068e13208266e6
4c294033e02bcba1fa8fa213d40a6a1b3a062b03
refs/heads/master
2020-04-15T22:49:42.707235
2011-02-04T16:44:19
2011-02-04T16:44:19
1,294,761
0
0
null
null
null
null
UTF-8
C++
false
false
2,654
cpp
OS_Socket_win32.cpp
/*----------------------------------------------------------* OS_SocketWin32.cpp Platform-specific socket implementation *-----------------------------------------------------------*/ //-------------------- Include files ------------------------- #include <win32/OS_Socket_win32.h> int OS_SocketWin32::Create ()...
7aed75f5b3ab2e59610521250f5db4e0177f7085
ca1568ca9e25b2fd0be8cb061622fed9ae0da016
/IrrlichtBulletIntegration/IrrlichtBulletIntegration.cpp
4cce9870a54b528c0f75e2d94e9c066a7a97348b
[]
no_license
mahmoudgalal/Irrlicht-Bullet-Integration
3bab65333b143191672d8f3af58e2465513b8552
4c4ad2f5b2fea010b57f2ee70ba9e321d7c2de05
refs/heads/master
2020-04-04T21:23:49.564840
2019-12-17T07:12:22
2019-12-17T07:12:22
156,284,439
11
3
null
null
null
null
UTF-8
C++
false
false
13,969
cpp
IrrlichtBulletIntegration.cpp
/**************************************** Copyright 2018 Mahmoud Galal ****************************************/ #include "baseheader.h" #include "InputEventHandler.h" #ifdef _IRR_WINDOWS_ #pragma comment(lib, "Irrlicht.lib") #pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup") //BulletDynamics.lib ...
f470decbe5029590e2bc0ae30724d53acbd76f92
a362c5dc87cdfc2ef2de12344ca319060943dcdf
/Algoritmica/Practica3/p3.hpp
dad74421aa137b07a5235fefbe5e91d5630026e1
[]
no_license
i72pehej/UNI
29f52a6558468adf107d8b8e167f77505befcdc8
3d78a6495d9884c12cf5b236443c906a6b63dab2
refs/heads/master
2020-08-06T01:34:21.620312
2020-02-07T13:16:16
2020-02-07T13:16:16
212,785,877
1
0
null
null
null
null
UTF-8
C++
false
false
2,141
hpp
p3.hpp
#ifndef P3_HPP #define P3_HPP #include <stdio.h> #include <stdlib.h> #include <string> #include <iostream> #include <cmath> #include "funcionesbajonivel.cpp" using namespace std; //////////////////////////////////////////////////////////////////////////////// // Clase que representa un entero grande class Entero ...
590ca04f73b2ff1bb935b25bb9aee2dffc9a6edd
13a81410aee1d06647554acbdd216b30c6fa3dfb
/core/silkworm/trie/hash_builder.cpp
83e657a177399bc7015f19017ca442d3f1b6b552
[ "Apache-2.0" ]
permissive
gelfand/silkworm
de1e3ad0627231453af61916eae26eb4104df3b8
cc995126e45c48a5c45d6be287a8515f843e602a
refs/heads/master
2023-08-27T10:45:55.027824
2021-09-06T16:57:10
2021-09-06T16:57:10
403,340,245
0
0
Apache-2.0
2021-09-05T15:12:42
2021-09-05T15:12:41
null
UTF-8
C++
false
false
9,307
cpp
hash_builder.cpp
/* Copyright 2020-2021 The Silkworm Authors 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 or ag...
06ab54f6a060cafb7f9ed5b9ec5b953979c18eca
bc459bcddd023ef777196c34cedb8ae7e1ea68d2
/day5.cc
85e2e0b68f16654e29900039b18427df023d0742
[]
no_license
toastwaffle/AoC2019
ad610e4d5af30aba199579f1d8dec3b0d4795085
c55a577a9665ce5a33060e4fbaa3593f02bbe48e
refs/heads/master
2020-09-25T23:20:16.696652
2019-12-15T20:52:45
2019-12-15T20:52:45
226,111,193
0
0
null
null
null
null
UTF-8
C++
false
false
206
cc
day5.cc
#include <iostream> #include "intcode.h" int main() { std::string filename = "/home/samuel/aoc/day5.txt"; int result = intcode::RunProgram(filename); std::cout << "HALT: " << result << std::endl; }
052210798b0f8d5bffd334f4a6d91eae84e765a3
f8467e34ffc36e7c2330c5e99b875235548c07ee
/ChatServer/ChatServer.h
0a47f3c684485823460f958655f8d9d6839f8715
[]
no_license
wchy1993/IOCP-chatting-room
1c08180bd560d0287086dfe05765a25b2aa54896
8b5cfc40be2a04a923acc82554bff403eac37fbb
refs/heads/master
2020-05-21T06:14:48.779917
2019-05-10T07:28:14
2019-05-10T07:28:14
185,939,740
0
0
null
null
null
null
GB18030
C++
false
false
869
h
ChatServer.h
#if !defined(AFX_CHATSERVER1_H__F6365C1E_C996_4A39_A4BE_505DA39112AC__INCLUDED_) #define AFX_CHATSERVER1_H__F6365C1E_C996_4A39_A4BE_505DA39112AC__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include <afxtempl.h> #include "IOCPServer.h" #include "servercommand.h" class CChatServer : public ...
e791a56b67216b01126ffe4da86b5c037d1d942b
f3f15ebb1af5f041ed3edcf920669e9938e42ae1
/UltraSonicSensor/SensorCommsServer.h
fe992b48d8c78416c932486d7c7599fb31f124e9
[]
no_license
Stepper-Motor-Control/MotorControl
f0197aca6cd1eba56b2a68f5f01ca589e068047b
8f45b22583b23b4ba7817e64b195827488d5e390
refs/heads/master
2023-03-06T07:18:01.006755
2021-02-21T04:50:34
2021-02-21T04:50:34
340,816,086
1
0
null
2021-02-21T04:50:35
2021-02-21T04:23:28
C++
UTF-8
C++
false
false
1,465
h
SensorCommsServer.h
#ifndef SENSOR_COMMS_SERVER_H #define SENSOR_COMMS_SERVER_H #include <wiringPi.h> #include <iostream> #include <vector> #include <string.h> #include <stdio.h> #include <unistd.h> #include <sys/types.h> #include <mqueue.h> #include <fcntl.h> #include <pthread.h> #include <stdlib.h> #include <unistd.h> #include <mqu...
48a1417a47513fe28f249d7b217b9e4cbaddb04c
c0daac8c93d6c36261883b9a5b9efe12e861a434
/TestPinb/OOP/Object.h
5fbd241b4586a6aa21eaee5f4051cea694bb9b3f
[ "BSD-3-Clause" ]
permissive
cafiorin/PinballOOP
1b485be028319dd178415a417d6df41cbe7c6383
1f8fc5a18bfa186daf3cdc719af9fb79aa42abfa
refs/heads/master
2021-06-08T22:51:32.329275
2019-09-11T16:21:00
2019-09-11T16:21:00
93,624,142
1
0
null
null
null
null
UTF-8
C++
false
false
1,080
h
Object.h
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * BSD 3-Clause License /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * Code by Cassius Fiorin - cafiorin@gmail.com http://pinballhomemade.blogspot.com.br * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #ifndef Object__INCLUDED_ #define Ob...
ec383be1fcad874a2a366a19b2bee17a9a3aa57f
e7137f8554be83fba1408c404c5eab8a4133fb04
/src/Pp.cpp
d0eddfbe7fd019dc8a99defa6ff906b7c8ec94cf
[]
no_license
antiphon/rfhc
0b9f7aeec5bbbd842918a3c621989b08db80248e
0623bd00aaf914a5b16f9c2fa25db65d47e22ccf
refs/heads/master
2016-09-03T07:00:53.655094
2015-06-11T10:00:26
2015-06-11T10:00:26
37,250,533
0
0
null
null
null
null
UTF-8
C++
false
false
6,754
cpp
Pp.cpp
#include "Pp.h" /********************************************************************************************/ Pp::Pp() { } /********************************************************************************************/ Pp::~Pp() { } /**************************************************************************************...
b0e85ef78169267079e2a5f330170c42ec214e5e
04c7e417de26b1a962525ad54accf3a405b7aa7b
/15_Separation_Files/15_Separation_Files.cpp
c557df28fb44facb4e53b65d9b9166e1a0200022
[]
no_license
sw609/Cpp_Learning
31fa85f920989bcf6a18a7549cfb262b98e9613d
f53131510bbc1e2c7f69ec5cebe4a01d24d92a08
refs/heads/master
2020-04-06T16:34:22.485911
2018-11-29T01:31:30
2018-11-29T01:31:30
157,625,073
0
0
null
null
null
null
UTF-8
C++
false
false
129
cpp
15_Separation_Files.cpp
#include<iostream> #include"burrito.h" #include"burrito.cpp" using namespace std; int main(){ Burrito bo; return 0; }
13076ca836eeaff28e8fcdd75dc9fe2ceb05ea90
39786e931bc53b68d397e12e161e7f36359e335a
/src/ipclib/ipclib.h
8b6c8bd6910280081757c9f1011ef2f9ec95c17e
[]
no_license
YAlex1/examination_arrival
d66644f7a68fd679aa427fdb72657d4c9a31e75b
08f5dbfec89bdaf1004911f688821a82ccbfb854
refs/heads/main
2023-01-05T23:39:44.299872
2020-11-05T22:25:54
2020-11-05T22:25:54
309,970,023
0
0
null
null
null
null
UTF-8
C++
false
false
435
h
ipclib.h
#pragma once #include <memory> #include "ipccomm.h" namespace Ipc { /* *@brief This is factory method, which creates an instance of IPC Communicator object * in dynamic memory (heap) region. */ template<typename T> typename IpcComm<T>::pointer_type getIpcCommunicator(char mode, std::string fifo_path = cIpc...
a848ed68f0694432247ae87774a50e1de2fcad56
9ad49ca220daf4f510224ca59fa1a60bddb85280
/giving tree of errors 3.0.cpp
eb0ce59e791fe11f74142ef4df8a2acf5c0e8895
[]
no_license
bencimp/giving-tree-of-errors
d7b4f3eec7cfaa1033dc0119fb26577ba2429a25
1ae12399c6783df5afb9a682787c143807ba47a0
refs/heads/main
2023-07-27T12:49:08.150630
2021-09-10T20:24:27
2021-09-10T20:24:27
403,611,540
1
0
null
null
null
null
UTF-8
C++
false
false
6,831
cpp
giving tree of errors 3.0.cpp
#include <map> #include <set> #include <list> #include <cmath> #include <ctime> #include <deque> #include <queue> #include <stack> #include <string> #include <bitset> #include <cstdio> #include <limits> #include <vector> #include <climits> #include <cstring> #include <cstdlib> #include <fstream> #include <numeric> #inc...
b9fbd4dddb5c2d57162d700a950e8b6b754a3834
b7affb57d4bc5d5d15ac594fb62733f6211feade
/Windows/glfw_mini_01/GUI/GUI.Layout.cpp
c7fe8f11d87aa0a7ed36c9b6e3daf9f2c6baa116
[]
no_license
geordieboy83/dark-water
a979f467c03440928f7e0d85c1a7c5377caca65a
1e3c4c4742318b674a98896160b7ea1015c4c193
refs/heads/master
2021-01-22T11:38:07.455961
2013-01-19T20:26:49
2013-01-19T20:26:49
39,701,021
0
0
null
null
null
null
UTF-8
C++
false
false
20,756
cpp
GUI.Layout.cpp
#include "GUI.Layout.h" extern FontSystem *GUIFonts; extern UITexturing* GUITextures; extern UIScreens* GUIScreens; extern UIEvents* GUIEvents; extern SoundSystem* GUISounds; void LayoutSwitch::switch_layout() { source->set_active(false); target->set_active(true); Button* b=source->get_button(trigger_i...
b674ca9bad1ea361dac161db8415790c33726c0a
28bb5aaedd62c29561b6b36427e9647be25d0b8b
/src/sorting.cpp
dbd7f5f0d2e5db39a4fe7abd981e44f8724d8f26
[ "MIT" ]
permissive
KirovVerst/algorithms
6bae489057572c36bce61add3980679b5085d9b7
eb00b14539566cbfcabf7afea35031f7dd5e8536
refs/heads/master
2021-01-21T14:15:59.476162
2017-07-30T20:35:53
2017-07-30T20:35:53
95,256,414
0
0
null
null
null
null
UTF-8
C++
false
false
3,313
cpp
sorting.cpp
#include "sorting.h" #include <utility> #include <cmath> typedef bool (*Comparator)(const double &, const double &); bool lower_than(const double &a, const double &b) { return a < b; } bool larger_than(const double &a, const double &b) { return a > b; } std::pair<int, int> quick_sort_partition(double *arr,...
eecf8db01720725d7b3c8965f9e35b67b7baf302
481c120311b7e53d6d385a7218f4fa0918b93c52
/src/ReconstructionExample.cc
39a380f0815d52ac0a0e289338b88291d182a092
[]
no_license
faltovaj/FCC_calo_analysis_cpp
dcae0d7962a642d45fde86d1b690e971d7d04027
d781da859b8f44d2c225f07ac8d9725a736ee510
refs/heads/master
2021-06-24T05:47:16.996960
2020-11-23T11:49:55
2020-11-23T11:49:55
54,208,766
0
7
null
2020-11-23T11:49:56
2016-03-18T14:47:25
Python
UTF-8
C++
false
false
4,185
cc
ReconstructionExample.cc
#include "ReconstructionExample.h" // podio specific includes #include "podio/EventStore.h" #include "podio/ROOTReader.h" #include "datamodel/CaloClusterCollection.h" #include "datamodel/PositionedCaloHitCollection.h" #include "TVector3.h" // STL #include <vector> #include <iostream> #include <cmath> Reconstructio...
d91b07fb79f55d3615afe48f50865b0b018b6c2d
916517d4d547694c687733d25b387313ce188f96
/mcbPlatformSupport/crypto/mcbSHA.cpp
2be13cd9299f727a91b5ce8b72fe10957dd84ab2
[ "MIT" ]
permissive
radif/mcbPlatformSupport
a8bab97f5b0941751670330359c9219e47075ebf
8dad83c848dbb6aa51b67cf5986a555b30bcbe98
refs/heads/master
2020-12-20T00:38:06.710983
2019-05-29T18:58:02
2019-05-29T18:58:02
11,956,372
1
3
null
null
null
null
UTF-8
C++
false
false
12,153
cpp
mcbSHA.cpp
// // mcbSHA.cpp // crypto // // Created by Radif Sharafullin on 1/20/14. // Copyright (c) 2014 Radif Sharafullin. All rights reserved. // #include "mcbSHA.h" #include <vector> #if __BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__ #error this code has only been tested on little endian machines #endif #define shr64(x,n)...
4fc632e7e037f5b075a981b47234a32eeab30a75
a9481c2069749fd88f0772289e53804a212f617c
/QuadGS/Common/Messages/GS_FC_Control/Msg_NewSetpoint.h
71ee961a2b40750e057291226e1af1be94e25638
[]
no_license
mlundh/QuadSys
a7e0527943505262733382093024e43aa553372e
630a7ba17434d27cbc1b2e460035e0006651d1a0
refs/heads/master
2023-01-23T15:42:48.159595
2023-01-18T13:50:46
2023-01-18T13:50:46
164,338,347
0
0
null
null
null
null
UTF-8
C++
false
false
1,050
h
Msg_NewSetpoint.h
#ifndef QUADGS_MESSAGE_MSG_NEWSETPOINT_H_ #define QUADGS_MESSAGE_MSG_NEWSETPOINT_H_ #include "QGS_ModuleMsg.h" namespace QuadGS { class Msg_NewSetpoint: public QGS_ModuleMsg<Msg_NewSetpoint> { public: Msg_NewSetpoint(QGS_ModuleMsgBase& msg); Msg_NewSetpoint(const msgAddr_t destination, state_data_t setpoint, uint...
428ec8c5f43a0da60d7a0a79f7ca65a501e13560
c44fd1b6e22663b4468bc3e9275a87ad6a98b0b9
/wxWidgets_TestApp/wxPolarPlot.cpp
fb8b6c6065bdd81e67d8276818d5480dbd3fa301
[]
no_license
ThomasJowett/wxWidgets_TestApp
b64b706c4b6dfefb16457357a7074aaa9af42f57
180dc004c0e313cbfea5ed69c748060ab2b233c3
refs/heads/master
2021-08-06T14:34:57.516996
2021-07-26T08:33:04
2021-07-26T08:33:04
205,603,615
0
0
null
null
null
null
MacCentralEurope
C++
false
false
14,532
cpp
wxPolarPlot.cpp
#include "stdafx.h" ///////////////////////////////////////////////////////////////////////////// // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" // for all others, include the necessary headers (this file is usually all you // need because it includes almost all "standard" ...
583145733a7af8be47aa61a78c3ee22e209fb292
92b203f70d24d27e1113626d60b59f0f54e1e535
/08_RollOneDieWithSlowdown/08_RollOneDieWithSlowdown.ino
5693a4657d7e4f4c1383a9e9f02fece0f2809a6a
[]
no_license
hwiguna/HariFun_173_Four_Digit_Dice
3cdcec0322cdf8f5d4f47f3ddc3d9da89398367a
7a6e20987d47db57da53277360e94283a73860b3
refs/heads/master
2020-04-23T10:10:16.641350
2019-03-06T14:28:23
2019-03-06T14:28:23
171,094,592
0
0
null
null
null
null
UTF-8
C++
false
false
3,435
ino
08_RollOneDieWithSlowdown.ino
// Roll one dice immediately, don't worry about the roll effect yet // Hari Wiguna, 2019 #include <TimerOne.h> //== Input Pins == byte rollButton = A5; byte upButton = A4; byte downButton = A3; //== Four-digit 7-Segment Display == byte digit0 = 2; byte digit1 = 3; byte digit2 = 4; byte digit3 = 5; byte segmentA = 12...
671cd8b055a891ad5a31d1d3ef186a724cc3ea63
81495b25f46059b55f2576a5bdcf51bbfe57f859
/result/BaseHealthParams.h
e746394f03da505f99b90495bda103fab77df75e
[ "CC-BY-4.0" ]
permissive
chaytanyasinha/gwadoc
fae2699271497383f318da34684e91d159432fc9
403a226aa7e8dc32fa2d00a016c679f9bdddb990
refs/heads/master
2022-12-02T11:37:29.569481
2020-07-31T12:11:00
2020-07-31T12:11:00
270,653,667
0
0
CC-BY-4.0
2020-06-08T12:07:10
2020-06-08T12:07:10
null
UTF-8
C++
false
false
295
h
BaseHealthParams.h
#pragma once namespace Nacos { class BaseHealthParams { private: int Max = 0; int Min = 0; double Factor = 0; public: int getMax() const; void setMax(int value); int getMin() const; void setMin(int value); double getFactor() const; void setFactor(double value); }; }
eef46bb1a6efc8a4e71d97ef7704cbf00eb6d55a
eefb836e9ec761c2b1f102b4007ed7ab6380c7a2
/code/delta/core/modules/shle/libSceGnmDriver/libSceGnmDebugReset.cpp
133367eadc1543d7f15573b96884a64c59b08663
[]
no_license
RyuDanuer/ps4delta
be6ee054ca3ae59159ecbcc59addb77c6f60c85f
e3ee468357fa0fbbd428d52034fc84e76b851c4c
refs/heads/master
2020-09-25T05:18:15.631545
2019-12-02T20:13:54
2019-12-02T20:13:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
239
cpp
libSceGnmDebugReset.cpp
// Copyright (C) 2019 Force67 // This file was generated on Sat Sep 7 22:01:25 2019 #include "../../ModuleLinker.h" int unk_RNPAItiMLIg() { UNIMPLEMENTED_FUNC; return 0; } int unk_xMMot887QXE() { UNIMPLEMENTED_FUNC; return 0; }
cb2ee1c5c8da17294d965ff98a8baaf34e5cdada
dfe6e2174e392adb298942e18b64cee3c7c9ce14
/BodyPartSelect/FGTakeAim.cpp
9c840465ec1a2465a56652a4ee0c8641581932f9
[]
no_license
ThanksJupiter/Portfolio
c5b9e2276aaf5594ef1112fa828626ea0d8fd539
75b0544049851ad660dfff18986b7fc2f6f84918
refs/heads/master
2020-04-17T15:05:33.771036
2019-01-21T22:27:17
2019-01-21T22:27:17
166,684,762
0
0
null
null
null
null
UTF-8
C++
false
false
1,439
cpp
FGTakeAim.cpp
#include "FGTakeAim.h" #include "Character/FGCharacter.h" #include "Components/FGCombatComponent.h" #include "Kismet/GameplayStatics.h" #include "Lua/FGLuaContext.h" #include "UI/Widgets/FGBodyPartSelectorWidget.h" #include "Engine/World.h" bool UFGTakeAim::Initialize(TWeakObjectPtr<UWorld> NewWorld, class AFGCharacte...
7c3fafad598b542a1f863cc4d03816e988d78d57
7f38e0eae30328f15cc6c101254f679f348f32db
/new.cpp
281ffe79ee775e74f8e663c747dfa8cddd34cba6
[]
no_license
Adhithiyan03/BattleShip-Game-using-C-
374349eee3e4060883e838f383c7d993911deb71
fd81a014498cfc3e97f386e4e73f3237fca8d3ad
refs/heads/main
2023-06-06T13:00:22.933831
2021-07-03T15:55:37
2021-07-03T15:55:37
382,653,049
0
0
null
null
null
null
UTF-8
C++
false
false
4,709
cpp
new.cpp
#include<bits/stdc++.h> using namespace std; void instructions()//this is the instruction function. { cout<<"WELCOME TO THE BATTLE SHIP GAME."<<endl<<"THE INSTRUCTIONS ARE SIMPLE."<<endl; cout<<"1.This is a two player game."<<"the players can together decide the size of the five ships."<<endl; cout<<"2.Then pl...
126985c5dc425cffd2f69ffc9143304ff211fcb6
338f16b907cdca5d99f6fc4ee978b3dede217615
/src/master/contender/standalone.cpp
f5b839212e3f3e767cc3c236ec181b58aff9b721
[ "Apache-2.0", "GPL-2.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-protobuf", "LGPL-2.1-only", "PSF-2.0", "BSL-1.0", "MIT", "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
apache/mesos
24c92eb34ea9cbb2912d6471815a433c9942e0c9
8856d6fba11281df898fd65b0cafa1e20eb90fe8
refs/heads/master
2023-08-28T06:36:36.458732
2023-01-13T21:00:06
2023-01-14T00:29:23
11,469,439
4,860
2,034
Apache-2.0
2023-04-12T06:10:25
2013-07-17T07:00:13
C++
UTF-8
C++
false
false
2,019
cpp
standalone.cpp
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
3d474183584e2a13848abdf51c0c48dd73371649
12ff767ff71029d973d9107e27397972679dbdf2
/Majority Element.cpp
46a7f7fa4e77c57499f5c3835b2b0890796ac592
[]
no_license
Anant123321/Practise-In-C
073e29562f66026694303a9463fd5601a4494df7
11366f0a84b2edc67211af18e6c7fb114eb32159
refs/heads/master
2022-04-02T06:45:00.166959
2020-01-26T04:57:54
2020-01-26T04:57:54
198,355,701
1
0
null
null
null
null
UTF-8
C++
false
false
737
cpp
Majority Element.cpp
#include <iostream> using namespace std; #include <bits/stdc++.h> int main() { int testCases; cin >> testCases; for(int t=0;t<testCases;t++) { int size; cin >> size; int arr[size],flag=0; for(int i=0; i<size ;i++) { cin>>arr[i]; } if(s...
80d4f065d129cb21e86ca1d5034a81c00f1934b9
2d9f20e8247fb0b457628391c6a6941f756fba2e
/server/lib/GameServer/Block.hpp
4c4432b562cdc7e389f015a7c14f8dfc247dbf64
[]
no_license
ProjectB/ProjectB
e1644a56714b26ce93b21b32d1c9a6fb0d08e592
35f04106d1ecb79730d755e79e707130046da563
refs/heads/master
2020-12-25T19:14:41.580589
2015-03-22T20:24:56
2015-03-22T20:24:56
5,298,007
0
0
null
null
null
null
UTF-8
C++
false
false
602
hpp
Block.hpp
/* * Block.hpp * * Created on: Jan 25, 2015 * Author: kodo */ #ifndef BLOCK_HPP_ #define BLOCK_HPP_ #include "GenObj.hpp" using namespace std; #include <string> class Block : public GenObject { public: /* GETTERS && SETTERS */ short int getHP() const; void setHP(short int); void decreaseHP(short int);...
f742c94f20e3408abf715b3c790a7d471e85c0c2
c6e5be4e1f7c350e3094af3f19730e99b7dc5b55
/ConsoleGameProject/SReferenceDemoScene.cpp
c576c110db1e542b06c6b9aa6f47b1d529ef6dc4
[]
no_license
ounols/Simple-Console-Game-Framework
7d6a77697efd54aa7b5aa1cf7fb0d6a3ec8de15f
2293a72706a8e0b27e736aa2566ea7ba1e0b3521
refs/heads/main
2023-06-27T01:16:41.019122
2021-07-27T20:26:20
2021-07-27T20:26:20
390,114,378
0
0
null
null
null
null
UHC
C++
false
false
1,182
cpp
SReferenceDemoScene.cpp
#include "SReferenceDemoScene.h" #include <math.h> //2. SReference의 오브젝트를 생성자에서 동적할당합니다. SReferenceDemoScene::SReferenceDemoScene() { //2. m_object = new CTexture("demo.bmp"); //일반적인 포인터 m_object2 = new CTexture("demo.bmp"); } //4. 이 씬이 끝나면 SReference가 자동적으로 사라집니다. SReferenceDemoScene::~SReferenceDemoScene() {...
33cef168e122f306a62e877d3a0286d361973e2f
c265334a3da99139cc829cb7a47e962dfbff728d
/Final Project C++/Contact.h
0856cb1e38ccd8f2ed791edd810014d3ffe6cd31
[]
no_license
shukiel/CPP_FinalProject
249cd1d2b869b6be13104fcc1346f424bd910d38
1f281bd81d3f62d9e6c1ff2a22e26bbce19e215a
refs/heads/master
2016-09-12T04:24:05.112367
2016-05-28T22:48:27
2016-05-28T22:48:27
55,903,302
0
0
null
null
null
null
UTF-8
C++
false
false
1,237
h
Contact.h
#ifndef __CONTACT_H #define __CONTACT_H #include <iostream> using namespace std; class Contact { protected: char* m_name; char* m_phoneNum; char* m_address; public: Contact(const char* name, const char* phoneNum, const char* address); Contact(const Contact& other) : m_name(NULL), m_phoneNum(NULL)...
a0173eeeb5cb145aa50e068d6382f26329956d51
1485517c4b25284fc1e4ef15a84b38769791b42a
/01.coding_algorithm/04.std_c++/day01/dbg_assert/debug.hpp
3eb49ab300136c7f020dd084f415a260558b7f40
[]
no_license
lilongbin/esd
846870965d538cf8fa2a11b7b14e54fc894bcab9
30d3777912c2bd4fa3bedb1d85b8c83f45195227
refs/heads/master
2022-05-03T11:19:57.836540
2022-03-30T05:12:36
2022-03-30T05:12:36
40,183,070
0
0
null
null
null
null
UTF-8
C++
false
false
858
hpp
debug.hpp
/***************************************** * Copyright (C) 2018 * Ltd. All rights reserved. * * File name : debug.hpp * Author : longbin * Created date: 2018-08-09 21:57:32 * Description : * *******************************************/ #ifndef __DEBUG_HPP__ #define __DEBUG_HPP__ #include <iostream> #include <...
52ba7885c2a59b02cda80470eb7ff9acfc13e86d
f08db7a0c05a2d1666a940c49f88a5724e4b00fb
/Example_Code/Header_files/extractfeaturesfromimages.cpp
0e0269a0130d12ae0bbdbee9e3eff5a587bd5ed7
[]
no_license
XezXey/Classification-of-Motorcycles
daf35612ed82c58d76701190b9cd9e57f2c5e240
029b13fb8b46acd18b9abcf5717ba29fb9e60b64
refs/heads/master
2021-01-23T09:41:02.022577
2018-04-15T09:26:13
2018-04-15T09:26:13
102,592,571
1
0
null
null
null
null
UTF-8
C++
false
false
9,798
cpp
extractfeaturesfromimages.cpp
// extractfeaturesfromimages.cpp : Defines the entry point for the console application. // This Program start coding at 2/9/2017 15:59 GMT+7 /* Process: 1. This Program will take set of images and use cascade detection for detect the plate of motorcycle 2. Draw the Rectangle of the ROI(region of interest) 3. export...
3688c70860ab5f11ba06b7f2c25cbb7871528960
d2efd85bb8e0e98625267d894f5bb8ce672df7b1
/rabbit/String.cpp
0ae72864e573ea6a226d7003e4a5fb38984337b7
[]
no_license
rabbit-repos/rabbit-lang
78d14bcf6414b72c537118992c8d957d07302b6e
ab719613f5469295e2f318d51e645f143efd8972
refs/heads/master
2021-07-17T09:25:53.106905
2017-10-11T22:51:01
2017-10-11T22:51:01
105,410,172
1
0
null
null
null
null
UTF-8
C++
false
false
6,001
cpp
String.cpp
#include "pch.h" #include "String.h" #include "StringData.h" #include "CharUtility.h" String::String() { myData = null; #ifdef _DEBUG myOwner = null; #endif mySize = 0; } String::String(ConstRef<StringData> aString) : String() { myData = aString.GetAddress(); mySize = aString.Size(); #ifdef...
46ec8e60bd35209a40da1e1133236b29ce3c83f4
d63b4e5366014e4c4ccfbec921960618a7aac136
/Multiplayer/Source/Multiplayer/Private/MultiplayerGI.cpp
8be0e60ca951dbe5e5c6562d05df92edef9253a5
[]
no_license
jobunk/MultiplayerPlugin
dc5b13e6ddda25597021ed41023027ec760d1d44
38e1d115eb4294be3b5f34ebd5ed78f2f9debad5
refs/heads/master
2020-03-19T00:51:21.645069
2018-10-10T11:31:24
2018-10-10T11:31:24
135,505,833
1
0
null
null
null
null
UTF-8
C++
false
false
134
cpp
MultiplayerGI.cpp
// Copyright 2018, Institute for Artificial Intelligence - University of Bremen #include "MultiplayerGI.h" #include "Multiplayer.h"
a264e7342d70128cd610869b7505cfb1ef1b150c
e14dcfc986eacc33b08920bd12766f7aa39aabae
/Classes/CharacterCreator.hpp
6e4411bbc424ad1d63779f0c1852ebe08c19c523
[]
no_license
tempdban/ClashRoyale
c186083562da9fe99e8ca58c95b75072ac134054
79db9ba39bd7306c7501109fc4ee89846f72edf3
refs/heads/master
2021-01-18T10:52:08.194621
2016-04-23T07:07:08
2016-04-23T07:07:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
695
hpp
CharacterCreator.hpp
// // CharacterCreator.hpp // ClashRoyale // // Created by 贾佳菊 on 16/4/7. // // #ifndef CharacterCreator_hpp #define CharacterCreator_hpp #include <stdio.h> #include "Knight.hpp" #include "Fatty.hpp" inline Character *createCharacter(const CharacterName &name, const Side &side, BattleLayer *battleLayer){ if (...
858ae4670b6e830e384873d026c2145602e3b343
c50849a706cc2398c32e6b6caaa61b6a6bba50ee
/Skyscrapers/permutation.cpp
736e691f00bde956bbc5988d3be23c97a9eabf48
[]
no_license
SandroWissmann/Skyscrapers
a84e1185fa53318fd6dfd4460aa180e5bf8e07df
15d8f24044d249fcdcb12eecca21d8aff1457c17
refs/heads/main
2023-04-01T20:54:51.575603
2021-03-30T14:25:35
2021-03-30T14:25:35
338,653,413
0
0
null
2021-03-29T15:22:51
2021-02-13T19:33:30
C++
UTF-8
C++
false
false
1,818
cpp
permutation.cpp
#include "permutation.h" #include "permutation/cluepair.h" #include "permutation/permutations.h" #include "permutation/slice.h" #include "shared/board.h" #include "shared/row.h" #include "shared/rowclues.h" #include <cassert> #include <chrono> namespace permutation { std::vector<std::vector<int>> SolvePuzzle(const...
de8d16f5a4869dec7d8b3963a62ee222ec23e29c
af24b7c9849912dbb890feae9a7fe1c7c4764aeb
/unfinished/CounterGame.cpp
44b121e19415b77f2fa8e3177f21986beeec096b
[]
no_license
armandwayoff/Competitive-Programming-Practice
08f93c36901bcaccfa3bfc4ca93167fd7a8d612d
a9f879480c7f9ec1aebd89fd06be9c7d60ad36ef
refs/heads/master
2023-03-30T04:47:04.077906
2021-03-27T13:47:11
2021-03-27T13:47:11
268,369,837
1
0
null
null
null
null
UTF-8
C++
false
false
305
cpp
CounterGame.cpp
string counterGame(long n) { int count = 0; while (n > 1) { if ((n & (n - 1)) == 0) { n /= 2; count++; } else { n -= (1 << int(log2(n))); count++; } } if (count % 2 == 0) { return "Richard"; } else { return "Louise"; } }
28380990d5d3bd5f97db81e5044a93713e8a1a5f
48a6469d1aea78bc1cc008aa6ea04ad3e22ddf76
/UPETool/DlgXPInstall.cpp
2cfedbd00be519f1f551622a578db65977cfdde0
[]
no_license
trustyboy/UWinInstall
28748c27cd1d140ff50fa4dcbe02b51bdd2e9fd3
65cea459b99d5c709961398e29f5edffeaf0e38c
refs/heads/master
2023-03-15T22:48:23.029416
2018-03-16T18:36:01
2018-03-16T18:36:01
null
0
0
null
null
null
null
GB18030
C++
false
false
9,147
cpp
DlgXPInstall.cpp
// DlgXPInstall.cpp : 实现文件 // #include "stdafx.h" #include "UPETool.h" #include "DlgXPInstall.h" #include "afxdialogex.h" #include "DlgConfirmWithDefault.h" #include "ComfirmDlgModule.h" #include "RebootNoticeModule.h" #include "ShutdownNoticeModule.h" #include "DriverInfo.h" #include <vector> #include "PartionInfo....
af33072aa26cb6547b3d480089951389e1e3bdf7
43a277517abfeb8d7a3b11a5054ee6b0b8b35a58
/src/ripplevaultappui.cpp
747b7addd5fc898a5fccb15f8d6672e0e175f927
[]
no_license
deepakprabhakara/ripplevault
79f87099373aa2ea63229fe3cb8c05f30a857bd6
565786fb3a3f4c9721c79b581e86cfc69594dc2e
refs/heads/master
2021-01-20T12:21:19.350565
2010-10-25T19:32:42
2010-10-25T19:32:42
1,023,312
1
0
null
null
null
null
UTF-8
C++
false
false
390,227
cpp
ripplevaultappui.cpp
/******************************************************************* Copyright(c) 2000-2005 PurpleACE Wireless Solutions Pvt. Ltd. www.purpleace.com #708, A Wing, Carlton Towers, Airport Road, Bangalore - 560017, India All rights reserved. This software is the confidential and proprietary information of Pur...
73fc2ea6dd84ac2f1228930d05447d8cfa4aba33
0dda8cef707f38f5058c3503666cbe3bf6ce8c57
/CODEFORCES/510C_Fox_And_Names.cpp
470d7fd6eac6c53bc5e6a359d0e70eb99320f5a1
[]
no_license
Yuessiah/Destiny_Record
4b1ea05be13fa8e78b55bc95f8ee9a1b682108f2
69beb5486d2048e43fb5943c96c093f77e7133af
refs/heads/master
2022-10-09T07:05:04.820318
2022-10-07T01:50:58
2022-10-07T01:50:58
44,083,491
0
1
null
2017-05-04T12:50:35
2015-10-12T04:08:17
C++
UTF-8
C++
false
false
1,154
cpp
510C_Fox_And_Names.cpp
#include<bits/stdc++.h> using namespace std; const int maxn = 100 + 5; int n, lex[26], x; string author[maxn]; bool G[26][26], vis[26], stat[26], ok; bool dfs(int u) { stat[u] = true; for(int v = 0; v < 26; v++) if(G[u][v]) { if(stat[v]) return ok = false; if(!vis[v]) { vis[v] = true; if(!dfs(v)) retur...
6e9d170d6a63e8ba759e88e7e0cc6dda0e97defd
b95790c82e7e20a055008526297755e63d1529ff
/q2.cpp
e2d1b1c5226fba87ae8c697f2809bce7d1298ecc
[]
no_license
MursalMousumi/finalprojectinventory
ea819fc1f60661581cd69e2b9775d92bc03599f0
415a3eb7ac4516cde85568c5fdb9420841852196
refs/heads/master
2020-05-25T19:33:51.776120
2019-05-22T04:53:43
2019-05-22T04:53:43
187,954,195
0
0
null
2019-05-22T03:11:46
2019-05-22T03:11:46
null
UTF-8
C++
false
false
3,923
cpp
q2.cpp
#include <iostream> using namespace std; class Perishables { private: string name; double price; int quantity; public: void inventoryStock(){ Perishables items[100]; int numItems = 0; float total = 0; float StockWorth = 0; cout << "How many items you want to ente...
3bc64d6d9b788f6c7e537ebcaa20ef87566862cb
6aaa7d10376503a83e5238d7fdfb4a2ec3cfdd39
/GridWorld.cpp
7abef2d8a828137bb7abadf5a855c3acd22b7f98
[]
no_license
ifoyooo/GridWorld-Cplusplus
563e6adb517f613360eddcfe35ee2f989f914675
c923d46e262b804561f5608da50e43eef3a1f09d
refs/heads/main
2023-05-16T21:55:57.602490
2021-06-09T03:33:55
2021-06-09T03:33:55
368,431,026
0
0
null
null
null
null
UTF-8
C++
false
false
19,430
cpp
GridWorld.cpp
#include <iostream> #include <cstdio> #include <cstring> #include <assert.h> using namespace std; #define GRID_HEIGHT 10 #define GRID_WIDTH 10 #define GRID_AREA (GRID_HEIGHT * GRID_WIDTH) #define ACTION_NUM 4 #define PRINTU // #define DEBUG enum ACTION { ACTION_RIGHT = 0, ACTION_UP, ACTION_LEFT, ACTION...
b408c305d58ca6c5a595263b1db89aa166481e74
c2cb548aaff4c9346bd859cd27ac79068d340d45
/MOG/distribuciones-ordenadas/distribuciones-ordenadas.cpp
0e6b51fe4949a40a458821f5c55d2310485788d2
[]
no_license
arnabxero/online-judges-problem-solutions
28997ab7e14bd1c2861b393e04b093c89f87cce9
506fe0c29742ceeb152f2698a30f7b32994a0e3e
refs/heads/master
2023-09-01T09:42:35.746179
2021-10-04T23:15:11
2021-10-04T23:15:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,150
cpp
distribuciones-ordenadas.cpp
// Problem name: B - Distribuciones Ordenadas // Problem link: https://matcomgrader.com/problem/9238/distribuciones-ordenadas/ // Submission link: https://matcomgrader.com/submission/120635/ #include <bits/stdc++.h> #define MOD (int)(1e9 + 7) #define mod(x) (((x) % MOD + MOD) % MOD) #define endl '\n' using namespace...
9eb1ee6ad2a1ca0615a0f3f1e2789e7cd17fdd49
16c2b8eae3103348a7a8a8addb08071d5a4e70e2
/view/ingredientpage.cpp
08d09eb6e783493f53d1f07d2c3e34730b076998
[ "MIT" ]
permissive
lcala99/MakeIThome
f1bae8497c03f34e142a677a4591fc4012de0619
dc8767391bb64c96e5374670d7ceb494050b081b
refs/heads/main
2023-07-31T13:41:38.559305
2021-09-21T14:22:54
2021-09-21T14:22:54
408,850,298
0
0
null
null
null
null
UTF-8
C++
false
false
2,487
cpp
ingredientpage.cpp
#include "ingredientpage.h" IngredientPage::IngredientPage(QWidget*parent,const Vettore<Ingrediente>& lista): QWidget(parent), ingr(lista){ mainLayout = new QVBoxLayout(this); cart = new QListWidget(this); addList(); connect(back, &QPushButton::clicked, this, &IngredientPage::showHomePage); connec...
8cd703151a8b95089260ba6fa204c3d1934f760a
42948d207eb8e3f35c797840fec871056caa0503
/VertexChameleon/MayaPCH.cpp
d4e119274f99c5db7ae9b1f1d594644d1029d71c
[ "MIT" ]
permissive
friedererdmann/MayaPlugin-VertexChameleon
6edb0d08312163dc0392efb5cf6ebe75d0f27606
a0fe0781bc90564d172f440b5c2eca6677667c8a
refs/heads/master
2023-04-05T21:06:41.399867
2021-05-10T17:03:24
2021-05-10T17:03:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
502
cpp
MayaPCH.cpp
// // Vertex Chameleon Maya Plugin Source Code // Copyright (C) 2007-2014 RenderHeads Ltd. // // This source is available for distribution and/or modification // only under the terms of the MIT license. All rights reserved. // // The source is distributed in the hope that it will be useful, // but WITHOUT ANY ...
0a72eb9866027be5936e4cf3239ef89b52e0fd08
5885fd1418db54cc4b699c809cd44e625f7e23fc
/codeforces/1515/i-lca.cpp
cba4dfd2d4be58eb49bf47118a03592f53c27484
[]
no_license
ehnryx/acm
c5f294a2e287a6d7003c61ee134696b2a11e9f3b
c706120236a3e55ba2aea10fb5c3daa5c1055118
refs/heads/master
2023-08-31T13:19:49.707328
2023-08-29T01:49:32
2023-08-29T01:49:32
131,941,068
2
0
null
null
null
null
UTF-8
C++
false
false
4,957
cpp
i-lca.cpp
#include <bits/stdc++.h> using namespace std; #define _USE_MATH_DEFINES %:include "data_structure/segment_tree.h" %:include "data_structure/fenwick_tree.h" //#define FILENAME sadcactus #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; template <typename T> usin...
32097eb51bbb293d503598266a1dde2dadca9b8e
2c255e8f64d987a609ef6bb175ba60633bdff81e
/game/region.h
652d647aef48f74d884b65386ce1c39e8d62e738
[]
no_license
agrum/ksir
5b3ed2d4157eef1519cd109f330bc06cf4373337
6e4e2b2b789a55afc998ddaec452524c2b507ee3
refs/heads/master
2016-09-06T17:24:01.463791
2013-10-27T05:32:05
2013-10-27T05:32:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
454
h
region.h
#ifndef REGION_H #define REGION_H #include <QString> #include <QList> namespace ksir { class Territory; class Region { public: Region(const QString& p_name); const QList<const Territory*>& territoryList(); bool addTerritory(const Territory* p_territory); unsigned int reinforcement(); private: QString m_nam...
e920d46ce294a817ad84d39de7e43176748300ac
2c78de0b151238b1c0c26e6a4d1a36c7fa09268c
/MDProcess/MDAFormat/Executor.cpp
4e673482c8bb267d135dc09ed07f314645b1f6de
[]
no_license
bravesoftdz/realwork
05a3b308cef59bed8a9efda4212849c391b4b267
19b446ce8ad2adf82ab8ce7988bc003221accad2
refs/heads/master
2021-06-07T23:57:22.429896
2016-11-01T18:30:21
2016-11-01T18:30:21
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
2,701
cpp
Executor.cpp
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Модуль: "w:/MDProcess/MDAFormat/Executor.cpp" // генератор файлов реализации C++ (.cpp) // Generated from UML model, root element: <<LibExecutor::Class>> MDProcess::MDAFormat::LibSupport::Execu...