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
980dba90c41e9397f2f1492f614083a326af6daf
548d772fe1b745b4b47143312201ddebfbd8bc88
/code/src/thComboBoxItems.cpp
891161cea53196508ecb352220ae06491cdcf8c2
[]
no_license
t4th/win32-gui-wrapper
f88c8badd19652a95aeeea3490a576ad4f0e6fa3
3cf54dbc9e9c0607686edd261f2de12aefd3b0c5
refs/heads/master
2022-12-26T17:34:21.256812
2022-12-17T16:27:08
2022-12-17T16:27:08
152,134,371
23
9
null
null
null
null
UTF-8
C++
false
false
3,091
cpp
thComboBoxItems.cpp
#include "thComboBoxItems.h" #include "thComboBox.h" thComboBoxItems::thComboBoxItems(thComboBox & a_pParent) : m_pParent(a_pParent) { TH_ENTER_FUNCTION; TH_LEAVE_FUNCTION; } thComboBoxItems::~thComboBoxItems() { TH_ENTER_FUNCTION; TH_LEAVE_FUNCTION; } thComboBoxItem thComboBoxItems::operator[] (int ...
9cf93ab2ea0419baeafd96c8c73aa39d344b7633
1bd9e3cda029e15d43a2e537663495ff27e317e2
/buoyantPimpleFoam_timevaryingBC/timevaryingCavityFoam/82/p_rgh
6a97f126fcb143d5d93c1ffceb35e3051630cd73
[]
no_license
tsam1307/OpenFoam_heatTrf
810b81164d3b67001bfce5ab9311d9b3d45b5c9d
799753d24862607a3383aa582a6d9e23840c3b15
refs/heads/main
2023-08-10T23:27:40.420639
2021-09-18T12:46:01
2021-09-18T12:46:01
382,377,763
1
0
null
null
null
null
UTF-8
C++
false
false
731,364
p_rgh
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | ...
f8f734e216665e8580b9f53c4fda6b52fbf8e82a
f950882940764ace71e51a1512c16a5ac3bc47bc
/src/GisEngine/Common/TrackCancel.h
c47c2cc95b262706382779ce2119c9762af1e8e5
[]
no_license
ViacheslavN/GIS
3291a5685b171dc98f6e82595dccc9f235e67bdf
e81b964b866954de9db6ee6977bbdf6635e79200
refs/heads/master
2021-01-23T19:45:24.548502
2018-03-12T09:55:02
2018-03-12T09:55:02
22,220,159
2
0
null
null
null
null
UTF-8
C++
false
false
440
h
TrackCancel.h
#ifndef _LIB_GIS_ENGINE_COMMON_TRACK_CANCEL_H_ #define _LIB_GIS_ENGINE_COMMON_TRACK_CANCEL_H_ #include "GisEngineCommon.h" namespace GisEngine { namespace GisCommon { class CTrackCancel : public ITrackCancel { public: CTrackCancel(); virtual ~CTrackCancel(); virtual void Cancel(); ...
e20ec8767ad023c2624cad6f06c858f27af47f21
e80a01461c43fef6cf20ab6d79e039e68c698373
/view/view_menubar.h
f3bf6c34447b48e8bc2127ded93ac411797c2f71
[]
no_license
DanielShi/EasyBook
dfad12eae5b989d2a473182d2854b064f83c210c
fa0afd3e537833e9e1d14a0f3b7a2a886531984b
refs/heads/master
2020-04-24T16:04:07.676810
2019-03-02T14:20:28
2019-03-02T14:20:28
172,093,215
0
0
null
null
null
null
UTF-8
C++
false
false
102
h
view_menubar.h
#ifndef __VIEW_MENUBAR_H__ #define __VIEW_MENUBAR_H__ namespace vts { void ShowMenuBar(); } #endif
e80b911f2e7f0b95c62249e41d528b8f79396785
6c7387e96b7bf4f9e514ff850a535a089d81c7dc
/poweroutput.cpp
1c992de2d32cca98f8f2679c6efdfc0e0c1af753
[]
no_license
hellzbullet/SolarSystem
d89729f3b52d14dea543c89d8a228fc937bbffb5
35a922a3fa30f95082806c211e35e6bff44e4888
refs/heads/master
2021-01-20T07:48:25.372994
2013-07-22T22:19:38
2013-07-22T22:19:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,528
cpp
poweroutput.cpp
#include "poweroutput.h" void PowerOutput::Output(qint32 power) { QList<Device*>* optimalDevices = getOptimalDevices(SystemDatabase::Instance()->getDevices(), power); SystemDatabase::Instance()->insertPower(power, powerSum(optimalDevices)); } QList<Device*>* PowerOutput::getOptimalDevices(QList<Device*>* devices, ...
810c69fc2db5524b7f7bdc1d8d88b10b7b27acfb
72350d085f03e1dd6baa53a45b1b5bdd7bca254a
/src/include/game.hpp
c12980164c617bf50dc5e7d731762cb040f1fa40
[]
no_license
rcmgleite/2048
52555c6adeb3db24727fd0b1d443c1c8448eb783
84f1c92c1c0c0ed9960165ebf145572bdfe08575
refs/heads/master
2020-12-24T06:54:24.667262
2016-09-02T12:54:32
2016-09-02T12:54:32
59,971,610
1
0
null
null
null
null
UTF-8
C++
false
false
248
hpp
game.hpp
#ifndef GAME_HPP #define GAME_HPP #include "game_impl.hpp" #include "game_model.hpp" using std::unique_ptr; using std::thread; class game { public: game(); void start(); void finish(); private: unique_ptr<game_impl> _game_impl; }; #endif
60cd3cc7e19216f687476abaf3a64825b95acc7a
9ed0602015616a25d2f1ab80e1ccee7d62195706
/src/Board.h
96a9ab793aa5cf96fcd4b3762af2728ee2930aa9
[ "MIT" ]
permissive
LiamHuth/CMPUT355_Connect6
696fdc154825a5ff4389436fad5c89be5c6adb34
0aaf01cbe6a6b102782541a4c1783bed0231b41d
refs/heads/main
2023-01-20T14:12:09.223832
2020-11-26T22:39:15
2020-11-26T22:39:15
311,749,947
0
0
null
null
null
null
UTF-8
C++
false
false
1,361
h
Board.h
#pragma once #include <iostream> /* Board Class: Used by ConnectGame to manage the board state. Used by Player Classes to access the board state and print the board to screen. Also determines if moves have resulted in a win */ class Board { public: Board(); ~Board(); // gets value of boa...
3ff02ad2109e045b19cc13d0fa29331d550ccd7e
61148e515fe38c57280daba7a6aac093285337ab
/src/main.cc
994edd54112d62626ecc69f548d52bb40b257196
[]
no_license
Fedeparg/Rule-Based-System
34164f915fd8aa9493bceae59b0589433e827ce0
37507ce27793a9879d7ffbb166eecc5c4002f949
refs/heads/master
2021-07-10T08:27:50.478398
2020-07-15T08:10:13
2020-07-15T08:10:13
159,451,835
0
1
null
null
null
null
UTF-8
C++
false
false
1,691
cc
main.cc
#include <iostream> #include <stdio.h> #include <string> #include <string.h> #include <fstream> #include <list> #include "Config.h" #include "KnowledgeBase.h" #include "Rule.h" #include "FactsBase.h" #include "Attribute.h" #include "InferenceEngine.h" using namespace std; ofstream f1; ofstream f2; // Returns false ...
c234fdc6aeabb22f85da9eea2c458b62d9644179
e7addf58df263b2638c0c96c41e800ad294b29ea
/VS7/Libraries/GrasshopperPosture/PostureControlStimulus_Mod.h
1dd185f5059cc19ac9da4e189205a026f0ae1712
[]
no_license
NeuroRoboticTech/AnimatLabVersion1
9507986736685758456b65a9453eb18b7cfe88cf
c8f2decdff726f1c925c0d92f5dff7bf159d99d6
refs/heads/master
2021-01-10T15:52:45.815533
2015-10-04T12:54:34
2015-10-04T12:54:34
43,634,967
1
2
null
null
null
null
UTF-8
C++
false
false
12,626
h
PostureControlStimulus_Mod.h
// POSTURE_CONTROLStimulus.h: interface for the RigidBodyInputStimulus class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_POSTURE_CONTROL_STIMULUS_H__AEBF2DF9_E7A0_4ED2_83CD_BE74B7D74E59__INCLUDED_) #define AFX_POSTURE_CONTROL_STIMULUS_H__AEBF2DF9_E7A0_4ED2_83CD_BE74...
97cdb762935d2283627f47b543c6e5036b852fd5
e3e5f58b13d64ce5c9f3675bee7475563a7cc4d2
/ROF_Engine/PanelComponents.cpp
01a03cdee8fc5b96aaf27a844000092d44ae03ed
[ "MIT" ]
permissive
RogerOlasz/ROF_Engine
06ac094426f807c41fe74e44ffaf1dd073ee2b3a
5c379ab51da85148a135863c8e01c4aa9f06701b
refs/heads/master
2020-04-16T04:42:14.760326
2017-01-09T12:10:55
2017-01-09T12:10:55
68,122,826
0
0
null
null
null
null
UTF-8
C++
false
false
11,029
cpp
PanelComponents.cpp
#include "PanelComponents.h" #include "Application.h" #include "ModuleWindow.h" #include "GameObject.h" #include "ComponentTransformation.h" #include "ComponentMesh.h" #include "ComponentMaterial.h" #include "ComponentCamera.h" #include "ModuleCamera3D.h" #include "ModuleRenderer3D.h" #include "ModuleGOManage...
84cc73237df36e5f46d11b2293be84571c6ca733
56fea8b5f999b8d5f0c742eccad34edd4705af65
/Bunny/Wavefront.h
ab6e88ed9a0e8d6f8f028b7a40e959e96b0800cd
[ "MIT" ]
permissive
champyen/opengles3-book
0fd38cfb29eba1bf0ef735e23263454be23c5b3d
3bfa5a4632f0a021941ba405afda5e4f011ce939
refs/heads/master
2020-08-05T21:43:04.659885
2019-12-16T13:42:49
2019-12-16T13:42:49
212,721,780
0
0
null
2019-10-04T02:29:21
2019-10-04T02:29:21
null
UTF-8
C++
false
false
776
h
Wavefront.h
#ifndef _WAVEFRONT_H_ #define _WAVEFRONT_H_ #include <iostream> #include <GLES3/gl3.h> using namespace std; namespace WaveFront { class ObjModel { public: ObjModel() {} ; ~ObjModel(); void parse(string file); int getNumVertices() { return numVertices; }; int getNumT...
afea83dbf4b10dbe4ca52f07588e6dd5ef6c1ebe
095417ff5db7dcf647bc1262a4b166a37ee8e74c
/Waypoints.h
2d32f710c7c768d0d9b043d41ff7fd7bc3ebfe69
[]
no_license
interstellarsurfer/MQ2Nav
4e329bebf57d9faf516db9d786021c8c06d29b1f
9a99562c91150432c29f968995e6b78c57c10d70
refs/heads/master
2021-01-16T19:44:04.442770
2016-01-27T06:18:12
2016-01-27T06:18:12
50,691,914
1
0
null
2016-01-29T21:17:08
2016-01-29T21:17:08
null
UTF-8
C++
false
false
886
h
Waypoints.h
// // Waypoints.h // #pragma once #include "MQ2Navigation.h" #include <glm/vec3.hpp> #include <string> #include <map> #include <sstream> namespace mq2nav { // ---------------------------------------- class Waypoint { public: Waypoint() {} Waypoint(const glm::vec3& location_, const std::string& tag_) : locat...
faa55237ca889e2c2aef4595d65217a4c53c0840
ffb4b96794d3a7b3a1275f3f3f360ce45479bbb9
/client/welcome.h
0b665851d5ef1065c52f46fb53e6a03147b79558
[]
no_license
SimoneDutto/CollaborativeEditor
c556dd9fd2611f2aa72caa1453eda2e7d208a379
b42ca41da6ff641e6605d661313356bb2f2abdb8
refs/heads/master
2022-10-20T17:14:20.155851
2020-06-16T14:56:14
2020-06-16T14:56:14
207,262,147
2
1
null
2020-06-13T14:35:17
2019-09-09T08:33:03
C++
UTF-8
C++
false
false
491
h
welcome.h
#ifndef WELCOME_H #define WELCOME_H #include <QDialog> #include "login.h" #include "signup.h" #include "socket.h" namespace Ui { class Welcome; } class Welcome : public QDialog { Q_OBJECT public: explicit Welcome(Socket *sock = nullptr, QWidget *parent = nullptr); ~Welcome(); private slots: void on...
4a8965bbc22658831ca2ce3d4632aae3a7e3736a
38e3f1ed7f09f1fa0057789bf302ecd384c4b7fc
/src/Time.cpp
603c70ccf55acde280e6998496ecfb66c25e9772
[]
no_license
rghunter/avoid-opencv
5c0fffcac5d7da11794193db674b90dc59db97d0
ef966361e7421b8564813d5e311688e321d51b85
refs/heads/master
2020-05-16T22:36:53.285700
2014-04-29T22:07:41
2014-04-29T22:07:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,444
cpp
Time.cpp
/* * TimeDelay.cpp * This attempts to ensure realtime operation and defines how the program sees time. * Created on: Apr 22, 2014 * Author: rhunter */ #include "COLA/Time.h" #define SPUSec 1000000.0 #define NPUSec 0.001 namespace COLA { Time* Time::_instance = 0; Time* Time::Instance(int fps, bool live)...
9d3ebf69c9d677355c425836ed1952faada62dcc
66fe9ceeb0093fed60815d7d5e422dd22001fcd0
/day8/day8.cpp
dbc1b890e249f68672bf6bf1963e93e2338b8916
[]
no_license
RevAbbot/aoc2020
a95b791b869dba938ce2c8c0e6231d1abf5c597a
a117c391a701db98c16f674587b527991059bb17
refs/heads/master
2023-01-29T15:23:31.541760
2020-12-10T01:16:47
2020-12-10T01:16:47
319,889,755
0
0
null
null
null
null
UTF-8
C++
false
false
2,337
cpp
day8.cpp
// basic file operations #include <iostream> #include <sstream> #include <fstream> #include <vector> #include <string> #include <iomanip> #include <map> using namespace std; ifstream myfile; class instruction { public: instruction(string op, int arg); string _op; int _arg; int _hitCount; }; instruct...
235af8734a5df17bd762acf74bce43afbf6a957a
d33effaf17c65ae4d3df384fb8625554e7ee2768
/src/cpp/main/common/graph_converter/print_clue_format.h
a1208ea5dd84ddee0bb765b47e5b378f94520f10
[]
no_license
kisstom/cppdist
daa67112692305390752143b5d5c3ab577d7dd0f
703950cda8fff00b0eeda9c089872c8ca9e9785d
refs/heads/master
2021-01-15T19:28:12.199804
2015-02-26T10:10:51
2015-02-26T10:10:51
30,190,921
0
0
null
null
null
null
UTF-8
C++
false
false
226
h
print_clue_format.h
#include <iostream> using namespace std; class PrintClueFormat { public: PrintClueFormat() { MAX_ROW_LEN = 15000000; } void ReadAndPrint(char* input, char* output, long numnodes); int MAX_ROW_LEN; };
f1f7455f8aaed7ba9327d5af0a52fd804f9d3747
9899003918e5ea5529401a7ba7c0a50ce5a33e42
/TopTecProgrammer2014/TerceraSesion/2611.cpp
120472036b2cf08e342b234a86ae4fdb0c25917d
[]
no_license
EnriqueB/Programas
7d59eac86db1c13b7f1244103034fdf98bb59a2b
8f1b73aed62c79e3723bc3a8743d0e206f14f0ab
refs/heads/master
2021-01-17T22:21:26.891922
2014-08-21T03:31:34
2014-08-21T03:31:34
15,847,186
0
0
null
null
null
null
UTF-8
C++
false
false
666
cpp
2611.cpp
#include <iostream> #include <algorithm> using namespace std; int main(){ int N, G, ganados=0, cant=0; int juegos [100000]; cin>>N>>G; while(N--){ int a, b; cin>>a>>b; if((a-b)>0){ ganados+=3; } else{ juegos[cant]=a-b; cant++; } } int i=0; sort(juegos, juegos+cant, greater<int>()); while((G...
55510d44fce5114b12b852af3c3300b4bd1b6c56
aa88fb406bc7bd2afae467237947112ca5698c53
/Passenger.cpp
6d9154501ffa6e99cba607f6ac22e4484fc9b450
[]
no_license
mehmeteminarslan/Assignment2
f81f3514571ec91584fffdd955fe92327f1fcb42
49f56388fcea8d1e6fdb2e3d0cfc9d55ac582e88
refs/heads/master
2020-04-26T13:11:02.945782
2019-03-03T12:35:07
2019-03-03T12:35:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,886
cpp
Passenger.cpp
// // Created by student on 09.11.2018. // #include "Passenger.h" Passenger::Passenger(int _arriveTime,int _boardTime, int _luggageTime, int _securityTime, char _vip, char _luggage){ this->arriveTime = _arriveTime; this->boardTime = _boardTime; this->luggageTime = _luggageTime; this->securityTime = _...
6f879dce1b5f687347f642e18de65a9287d3345a
c0d4873f21076d5c64e6443b8a8ec431be076f79
/Burst/src/Actor/EnemyBoss/DeadAirShip.cpp
f84e72fd3a04b411156f55c9d788c5facb73cb09
[]
no_license
shitensyo/Burst_3DShootingGame
ffccab63cf24fe8ceeb78cc165e925271226d55a
608af42b6a104ed0b8048514ef2df1c5cc5cd142
refs/heads/master
2021-01-23T03:05:08.856405
2017-04-11T02:42:10
2017-04-11T02:42:10
86,047,475
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
6,141
cpp
DeadAirShip.cpp
#include "DeadAirShip.h" #include <gslib.h> #include "../AssetID.h" #include "../../../EventMessage.h" #include "../Effect/Explosion.h" #include "../Base/ActorGroup.h" #include "../EnemyBullet/EnemyMissile.h" #include "AirShipMissileShooter.h" #include "AirShipMachinegunShooter.h" #include "../Enemy/RedFighter.h" #incl...
c908ad6e50cf1b7fd773acf56dd3d16c5d3a51e3
948f4e13af6b3014582909cc6d762606f2a43365
/testcases/juliet_test_suite/testcases/CWE134_Uncontrolled_Format_String/s02/CWE134_Uncontrolled_Format_String__char_environment_vprintf_84.h
29666e511515eb7045d2a236924ed2c71ce23812
[]
no_license
junxzm1990/ASAN--
0056a341b8537142e10373c8417f27d7825ad89b
ca96e46422407a55bed4aa551a6ad28ec1eeef4e
refs/heads/master
2022-08-02T15:38:56.286555
2022-06-16T22:19:54
2022-06-16T22:19:54
408,238,453
74
13
null
2022-06-16T22:19:55
2021-09-19T21:14:59
null
UTF-8
C++
false
false
1,817
h
CWE134_Uncontrolled_Format_String__char_environment_vprintf_84.h
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE134_Uncontrolled_Format_String__char_environment_vprintf_84.h Label Definition File: CWE134_Uncontrolled_Format_String.vasinks.label.xml Template File: sources-vasinks-84.tmpl.h */ /* * @description * CWE: 134 Uncontrolled Format String * BadSource: environmen...
55ad2002ab1faaee6133fe46661fb3ad46eb05a9
23bcc266fb8cea727db3c3892635c830691d035f
/examples/webfest/webfest_sdl.cpp
1634e07fe118f26d0a0101b9c7e977577728fbfb
[]
no_license
james7780/E3D
86a8fe504779004889d245703da3e6fbdef984d9
768bd34d0f36082c8607e83727c6ebe30b479b1d
refs/heads/master
2016-09-02T05:44:40.118984
2015-02-13T09:18:45
2015-02-13T09:18:45
18,945,570
0
0
null
null
null
null
UTF-8
C++
false
false
55,628
cpp
webfest_sdl.cpp
/* * E3D example 6: WebFest (tempest clone) * James Higgs 2006/2007 * * This Code based on Jeff Molofee's OpenGL template */ // TODO: fix timing of spikers in later levels // TODO: PS2 version // Changlelog: // 31/03/2008: 1. Rebalanced enemy spawning timing (ie: enemy start distances) // // 24/03/2008: 1. If...
7e473d92fb13d2cbc7be16266237a315a8a42c49
deac825f0f8b7ce3b2bf1b684ef7e5f654e0e692
/week2/5-Heap-Sort/heap_sort.cpp
82d9f7af9ee2576f89ee40d69d8599fe04b25a90
[]
no_license
vladopp/Algo-1
c48de2664b81625c64a67e773660c2069dfa48f6
5638d28e37cb3c8fd685600ca5b4700f70237a0c
refs/heads/master
2021-01-14T12:36:13.841406
2015-09-29T18:30:04
2015-09-29T18:30:04
37,061,736
0
0
null
2015-06-08T10:58:59
2015-06-08T10:58:59
null
UTF-8
C++
false
false
1,447
cpp
heap_sort.cpp
#include <iostream> #include <cmath> #include <algorithm> using namespace std; class HeapSort { public: // Sorts a sequence of integers. void sort(int* sequence, int size) { int* temp = new int[size]; for(int i=0; i<size; i++) { temp[i] = sequence[i]; } int curr = (size / 2) - 1; for(curr; curr...
02714e3d4615dcbb59aa1a13af360296089ee123
86548c0cb39adf07aa90abee3fab28be1f7f1677
/circulerqueue.cpp
da07699093d71cccaf8ef50c53dcbc4d7488e887
[]
no_license
pruthil55/Dsa-programes
c76bf5b1aa768260774ee524dbedde4db113d024
c779053ac4b6af205dcaf68fa31f00b28243ca65
refs/heads/master
2020-12-05T15:42:59.709619
2020-10-01T18:02:30
2020-10-01T18:02:30
232,159,363
3
1
null
2020-10-01T18:02:31
2020-01-06T18:20:14
C
UTF-8
C++
false
false
875
cpp
circulerqueue.cpp
#include<iostream> using namespace std; int f=-1; int r=-1; int Size=20; int arr[20]; void enqueue(int x) { if((f==0 && r==Size-1) || (r==f-1)) { cout<<"overflow"; } else if(f==-1) { f=0; r++; arr[r]=x; } else if(r==Size-1 && f!=0) { ...
5bf22647000b3c570dd123a6050f9d6e0e4a9be2
6cad3538c4a224e9e908b763e41780f1bf630720
/day10/part2/messageFinder.cpp
0d836e0e7fdfbabac1ea38de526c0b8dc0977cf4
[]
no_license
kavisherlock/AdventOfCode2018
ef28ea7c19d38ddf529ea37321cb544b0acf8a53
067229d2711bed49cb42a3d75ebcd22d550f06a0
refs/heads/main
2023-09-05T06:38:27.249690
2021-11-25T22:06:07
2021-11-25T22:06:07
393,240,601
0
0
null
null
null
null
UTF-8
C++
false
false
3,700
cpp
messageFinder.cpp
#include <vector> #include <tuple> #include <iostream> #include <fstream> #include <algorithm> using namespace std; pair<pair<int, int>, pair<int, int>> getPlaneSize(vector<pair<int, int>> &coordinates) { int maxX = INT32_MIN, maxY = INT32_MIN, minX = INT32_MAX, minY = INT32_MAX; for (pair<int, int> coordinate : c...
1c8926a0ca209809a6918cfc66828d60e5ee5854
076ba173f5b518977d30f4336c63b177a5a7f66d
/cases/adaptative_surfers/param/post/objects/surfer__us_4o0__surftimeprefactor_3o5/pz/choice.h
81f8f79e931dc31395e0a8c6b53afdba06bde46d
[ "MIT" ]
permissive
C0PEP0D/sheld0n
a661b27ffee7b087731f0a3e9f92c2ee26d7d560
a1b9a065cfaa2e3faf5a749f14201a84baa41ce9
refs/heads/master
2023-04-28T20:53:27.684636
2023-04-18T21:20:00
2023-04-18T21:20:00
421,041,396
0
1
null
null
null
null
UTF-8
C++
false
false
614
h
choice.h
#ifndef C0P_PARAM_POST_OBJECTS_SURFER__US_4O0__SURFTIMEPREFACTOR_3O5_PZ_CHOICE_H #define C0P_PARAM_POST_OBJECTS_SURFER__US_4O0__SURFTIMEPREFACTOR_3O5_PZ_CHOICE_H #pragma once // choose your post processing #include "core/post/objects/object/post/group/all/core.h" #include "param/post/objects/surfer__us_4o0__surftimepr...
c0fb5e2635cc731668d6f5f8d772fa45e95abad6
0c48f9123bdd92609af09b1668ca62e686e7b9bb
/PaintTool/ParentDraw.cpp
b823c0cbaa5720cb18ed834a5273d2104eb4026a
[]
no_license
fengzixu/PaintTool
758364b4ded44f809ad2cb35aeb644392a8ac9df
4b30a293502123f097cf563aef32832b5c171908
refs/heads/master
2021-01-18T15:16:49.063144
2015-07-06T09:07:56
2015-07-06T09:07:56
38,359,045
4
0
null
null
null
null
UTF-8
C++
false
false
1,752
cpp
ParentDraw.cpp
#include "stdafx.h" #include "ParentDraw.h" CParentDraw::CParentDraw() { } CParentDraw::~CParentDraw() { } BOOL CParentDraw::_InitParentDraw( int pixel , COLORREF color , HWND hwnd, HDC hdc ...
9227b84823c40178e1181c3a48793b1526ca390f
14ce01a6f9199d39e28d036e066d99cfb3e3f211
/Cpp/SDK/Wildlife_Base_BP_functions.cpp
0db26f324b7c40b51f64df32b61e0ddd3d86a777
[]
no_license
zH4x-SDK/zManEater-SDK
73f14dd8f758bb7eac649f0c66ce29f9974189b7
d040c05a93c0935d8052dd3827c2ef91c128bce7
refs/heads/main
2023-07-19T04:54:51.672951
2021-08-27T13:47:27
2021-08-27T13:47:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
16,649
cpp
Wildlife_Base_BP_functions.cpp
// Name: ManEater, Version: 1.0.0 #include "../pch.h" /*!!DEFINE!!*/ /*!!HELPER_DEF!!*/ /*!!HELPER_INC!!*/ #ifdef _MSC_VER #pragma pack(push, 0x01) #endif namespace CG { //--------------------------------------------------------------------------- // Functions //-------------------------------------------------...
8563f4b87c296a6797d1a4e37821094383f86e68
6cf7db06e679bedc7db15b81bcf45bbdfebc20d0
/extern_bundle/libgdf/include/GDF/TagHeader.h
cc6bb84a76c0d710c529f9ca0034e4d473f77781
[]
no_license
pdbolton/tools4bci-unibuild
edf4cf4829d5cf5d8847167c70c193c1622ac5a5
d8ce1d91e3969330a7facffcd5948b96eb1801ec
refs/heads/master
2021-01-18T10:52:50.859084
2013-09-25T14:10:45
2013-09-25T14:10:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,082
h
TagHeader.h
// // This file is part of libGDF. // // libGDF is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation, either version 3 of // the License, or (at your option) any later version. // // libGDF is distributed i...
60eaa5a78ad41424da65049bc5d9b642fc4ef47a
3ae80dbc18ed3e89bedf846d098b2a98d8e4b776
/header/SSWR/OrganWeb/OrganWebCommon.h
689a65352a4a7e9dc25dbc5ebf66a3032cf6cffc
[]
no_license
sswroom/SClass
deee467349ca249a7401f5d3c177cdf763a253ca
9a403ec67c6c4dfd2402f19d44c6573e25d4b347
refs/heads/main
2023-09-01T07:24:58.907606
2023-08-31T11:24:34
2023-08-31T11:24:34
329,970,172
10
7
null
null
null
null
UTF-8
C++
false
false
6,372
h
OrganWebCommon.h
#ifndef _SM_SSWR_ORGANWEB_ORGANWEBCOMMON #define _SM_SSWR_ORGANWEB_ORGANWEBCOMMON #include "Data/ArrayListInt32.h" #include "Data/ArrayListInt64.h" #include "Data/Comparator.h" #include "Data/FastMap.h" #include "Text/String.h" namespace SSWR { namespace OrganWeb { typedef enum { POT_UNKNOWN, POT_USERFILE,...
a66a3121c0fe0c958aaed8eb6bb6a236fd536ec5
b4b4e324cbc6159a02597aa66f52cb8e1bc43bc1
/C++ code/HSNU Online Judge/87(2).cpp
0c48072823d6b960f202bfa3798b81a3174c32cf
[]
no_license
fsps60312/old-C-code
5d0ffa0796dde5ab04c839e1dc786267b67de902
b4be562c873afe9eacb45ab14f61c15b7115fc07
refs/heads/master
2022-11-30T10:55:25.587197
2017-06-03T16:23:03
2017-06-03T16:23:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,006
cpp
87(2).cpp
#include<cstdio> #include<map> #include<cassert> #include<algorithm> using namespace std; int N,M,Q,S[20001]; struct Bit { int s[20001],n; void clear(const int _n){n=_n;for(int i=1;i<=n;i++)s[i]=0;} int lowbit(const int i){return i&(-i);} void Add(int i){while(i<=n){s[i]++,i+=lowbit(i);}} int Query(int i){int ans=...
dfa15411728edba0ef27d258d37d030ae47ab459
8cdc42c6520f267e1ffdd6a69ab7445076311f16
/src/RcppExports.cpp
128c2542140a486b0ed5547216403dff77eff677
[]
no_license
holaanna/pprmcmc
2d5238f56b48d4d550ef7d209bcc62b2ac151306
4084532d5c6de8883d9786b416dc6d7208a1363d
refs/heads/master
2020-04-26T15:02:27.232596
2019-03-04T01:11:23
2019-03-04T01:11:23
173,634,657
0
0
null
null
null
null
UTF-8
C++
false
false
11,871
cpp
RcppExports.cpp
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <RcppArmadillo.h> #include <Rcpp.h> using namespace Rcpp; // integ double integ(NumericMatrix dyn, double Tmax, int N); RcppExport SEXP _pprmcmc_integ(SEXP dynSEXP, SEXP TmaxSEXP, ...
6ce06fbffac3636c62f3a23661b849a8efa1861a
9444aa65ab507e76219d014246956ed5bdebf287
/TimeDlg.cpp
988572e6ddbf8d7899b7080815b513664a3d1ff7
[]
no_license
erdincay/DPR2UI
e6cde40fcfd9ed185cb5f5ccfb41c07d07184d86
1dc7882633089c8e6f4894b6849e0c77af53af88
refs/heads/master
2021-01-22T15:42:45.837217
2015-07-24T04:09:08
2015-07-24T04:09:08
null
0
0
null
null
null
null
GB18030
C++
false
false
7,022
cpp
TimeDlg.cpp
// TimeDlg.cpp : implementation file // #include "stdafx.h" #include "DPR2UI.h" #include "TimeDlg.h" #include "log.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CTimeDlg dialog extern...
3622f694fbe69c882862cb8e0fab5ad01f32e15e
a1cfa707292b04d48346ee514c94c225661d4086
/BioMain/Weight.ino
3c6070697aa1a250f3274d4a9782b3b392ffad2f
[]
no_license
Trochez/Code-Bioreactor
9ab92e52a8427d6ab1887383e2023fdecffa8915
9b919b255ea00b2f1785a947b63a8b7c4076ff07
refs/heads/master
2021-01-15T21:29:41.312938
2014-07-09T17:11:54
2014-07-09T17:11:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,904
ino
Weight.ino
#ifdef WEIGHT //TO BE DONE //implement a conversion to give the volume rather than analog read. #ifdef RELAY_PUMP int cycleCounter=0; #define PUMP_SLOWDOWN_RATIO 10 // this would open for 5s and then wait the ratio #endif NIL_WORKING_AREA(waThreadWeight, 64); // minimum of 32 ! NIL_THREAD(ThreadWeight...
3474ea94ba4f044c9641372928706462d5762863
1e7da15a446605fb7e730c802acfa7bb0b656d32
/10984.cpp
4b07e07519f2e246cde1983b7cea06e21bc43c3d
[]
no_license
AshHyun/BOJ
da9ca6c5a85cbcc2bbf2a949afffdb0aca2414fa
5c7d72a8ecab829e5198502d312091d9c65b1e51
refs/heads/master
2021-09-22T09:33:59.292870
2018-09-07T10:18:55
2018-09-07T10:18:55
133,393,611
1
0
null
null
null
null
UTF-8
C++
false
false
425
cpp
10984.cpp
#include<iostream> #include<cmath> using namespace std; int main() { int tc; cin >> tc; while (tc--) { int n; cin >> n; int totalc = 0; double totalg = 0; for (int k = 0; k < n; k++) { int c; double g; cin >> c >> g; totalc += c; totalg += g * c; } double result = floor((totalg / totalc...
609d52f537adcecc5586a1903786e84e090453ea
8ae98c4682416c6b05c3285e238a9b18c8163811
/boost.asio/chapter03/SyncUDPClient.hpp
fd1d76bac2f2e2ea3b60b1f5db957978ea1b4e2a
[ "BSL-1.0" ]
permissive
pvthuyet/books
5c4ea842da477196fc31d87969989a6e2c1c7e98
bac5f754a68243e463ec7b0d93610be8807b31ac
refs/heads/main
2023-07-22T20:39:07.814933
2021-09-01T22:14:47
2021-09-01T22:14:47
357,780,827
0
0
null
null
null
null
UTF-8
C++
false
false
465
hpp
SyncUDPClient.hpp
#pragma once #include <boost/asio.hpp> class SyncUDFClient { private: boost::asio::io_service m_ios; boost::asio::ip::udp::socket m_sock; public: SyncUDFClient(); static void start(); std::string enulateLongComputationOp(unsigned int duration_sec, std::string_view rawip, unsigned short port); private: void send...
8b02f06d3971797683cbc2ee8c24f09046d299d9
9f45107ccf7befa63f03304ca61afa3d3cf91f35
/WiiNunchuk4AZGTi.ino
839fa6655b26835f46fd21dffaa1733555df3f8d
[]
no_license
naokiueda/az-nunchuk
cc6411c6cfd4c794193055d4b2b071d7c8edce56
d5814f1099810862a4dd96973708e35230e68de3
refs/heads/master
2022-12-12T04:43:20.153261
2020-09-12T16:34:32
2020-09-12T16:34:32
292,261,511
5
2
null
null
null
null
UTF-8
C++
false
false
15,877
ino
WiiNunchuk4AZGTi.ino
/* This file is a part of AZ-Nunchuk project. https://az-nunchuk.fun/ Author: Naoki Ueda, 2020/09/03 This project depends on following external libraries. "ArduinoNunchuk" http://www.gabrielbianconi.com/projects/arduinonunchuk/ "protothreads" http://dunkels.com/adam/pt/download.html CC BY 4.0 This work i...
2a13b43deae49d9c4637d9c62966656f8c09789c
96777504b975dc1765dfe00ffaf9f8aceda18c16
/srcs/closed_list.hpp
f467a92ef29c63e6a47b25d9de43228adb0db527
[]
no_license
roduquen/42-N_Puzzle
8ef53cbaa167277ace87646fb5466e27281bc77f
5b217c5876969a3d910c4764b48f78de603c1230
refs/heads/master
2022-04-18T08:49:56.723587
2020-04-19T19:25:22
2020-04-19T19:25:22
250,574,582
0
1
null
null
null
null
UTF-8
C++
false
false
361
hpp
closed_list.hpp
#ifndef CLOSED_LIST_HPP #define CLOSED_LIST_HPP #include "main.hpp" #include "board.hpp" class ClosedList { private: std::unordered_map<std::string, Board *> map; public: ClosedList(); ~ClosedList(); void insert(Board *board); bool already_exist(Board *board);...
b5f1afce8ffac6a362e810d5647069b1794c93f8
4f257f1a9049f06d450b45088167cfb7a9a2655a
/leetcode_series/three-consecutive-odds.cpp
701e1d78211c46416ef8ff49ae8dc1dc38239d3c
[]
no_license
kunalkumar37/DS_ALGO_series
1d7a2637640a50634ea4d61eb566aa31d01f134d
f1afd532530d9911ec3a5404285efe8db412926f
refs/heads/main
2023-08-22T06:00:36.014596
2021-10-15T09:54:16
2021-10-15T09:54:16
417,449,715
1
0
null
2021-10-15T09:53:44
2021-10-15T09:53:43
null
UTF-8
C++
false
false
468
cpp
three-consecutive-odds.cpp
#include <bits/stdc++.h> class Solution { public: bool threeConsecutiveOdds(vector<int>& arr) { for(int i=0; i<arr.size(); i++) arr[i]=(arr[i]%2)?1:0; int ct=0; for(int i=0; i<arr.size(); i++) { if(arr[i]) ct++; ...
cf4365d78bffbd6070ec2a71b288e89643cefdfb
fa0e58d4ae0479b26506a5463bc40a3f6e72e31a
/day04/ex02/main.cpp
4c16a0bd354e21fc52cc21364b99f0ddaed426b5
[]
no_license
mazor86/cpp_piscine
fd75d78018cd722b431cf96353b1618f90c1d970
f44d574ab4c2a1c820487e442ad045a661f1d55d
refs/heads/master
2023-04-12T07:51:37.541711
2021-05-17T18:51:50
2021-05-17T18:51:50
358,284,262
0
0
null
null
null
null
UTF-8
C++
false
false
2,264
cpp
main.cpp
#include "Squad.hpp" #include "TacticalMarine.hpp" #include "AssaultTerminator.hpp" #include "ISpaceMarine.hpp" #include "ISquad.hpp" #define RESET "\x1B[0m" #define GREEN "\x1B[32m" #define MAGENTA "\x1B[35m" #define CYAN "\x1B[36m" void test_main_part() { ISpaceMarine* bob = new TacticalMarine; ISpaceMarine* ...
32b0d08f4be19629434bae036ca59c7dccdd595c
99ed5156c9b83d22dcd7c8a29937825694f4f36d
/dll/ALL/Demo示例/1-MFC综合示例(人脸库、人脸底图)/CLS_DlgUniqueAlertCustom.cpp
a996e1b94d2d2bcdad6d6c7bb0b12d2234e89ea5
[ "MIT" ]
permissive
zyx030613/algorithm_its
73e862988f375a73e517db4f39b8f9005a819609
eae3628a498d2bd9d61487b53b9cdde23b99e314
refs/heads/master
2020-04-25T07:53:45.586587
2019-12-03T06:37:26
2019-12-03T06:37:26
172,627,700
0
1
null
null
null
null
UTF-8
C++
false
false
1,189
cpp
CLS_DlgUniqueAlertCustom.cpp
#include "stdafx.h" #include "NetClientDemo.h" #include "CLS_DlgUniqueAlertCustom.h" IMPLEMENT_DYNAMIC(CLS_DlgUniqueAlertCustom, CDialog) CLS_DlgUniqueAlertCustom::CLS_DlgUniqueAlertCustom(CWnd* pParent /*=NULL*/) : CLS_BasePage(CLS_DlgUniqueAlertCustom::IDD, pParent) { m_iLogonID = -1; m_iChannelNo = -1; m_iStre...
f1834fa182103c56fcef00d10a054488a79d229c
cefd6c17774b5c94240d57adccef57d9bba4a2e9
/WebKit/Source/WebCore/platform/graphics/ios/MediaPlayerPrivateIOS.h
1788b49e094ab0400473b2d44879a6e823d18d25
[ "BSL-1.0", "BSD-2-Clause", "LGPL-2.0-only", "LGPL-2.1-only" ]
permissive
adzhou/oragle
9c054c25b24ff0a65cb9639bafd02aac2bcdce8b
5442d418b87d0da161429ffa5cb83777e9b38e4d
refs/heads/master
2022-11-01T05:04:59.368831
2014-03-12T15:50:08
2014-03-12T15:50:08
17,238,063
0
1
BSL-1.0
2022-10-18T04:23:53
2014-02-27T05:39:44
C++
UTF-8
C++
false
false
8,510
h
MediaPlayerPrivateIOS.h
/* * Copyright (C) 2009, 2010, 2011, 2012, 2013 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, t...
87738b5feed5b5e82f52006f520b0468ce32e7cb
5e4095c62da835a28b6f9ebe47e96a792453fa14
/gfx_client/GraphicsClient.h
049d0d1fb2b99e08a27e6584273a3c3a80408d36
[]
no_license
ByteWelder/ESP32-Graphics-Platform
e656106669e80f7e1070304736c42fea539348e5
52cc188d445b42d71fa323f4c5a4c557c52d9555
refs/heads/master
2022-12-09T05:00:23.783319
2020-09-25T22:28:55
2020-09-25T22:28:55
298,391,797
1
0
null
null
null
null
UTF-8
C++
false
false
1,737
h
GraphicsClient.h
#pragma once #include "driver/uart.h" #include "GraphicsProtocol.h" #include "UartClient.h" class GraphicsClient { private: UartClient uart; bool connected = false; RenderText renderTextData; public: GraphicsClient() { connected = false; } bool tryConnect() { printf("Graph...
9bf0ff1a7e78b572930a144741de7836d155ec14
a3f70a0079a7da1c2eda2f4582adabc99f1f6072
/Module04/ex03/MateriaSource.cpp
36d039b00afb5217a74293191f19ccf3c7f660a2
[]
no_license
fngoc/CppModules
26f04d7c5b1df453930813297691b8178cef5889
93348ad18a69e27109d7e8fa816688783afb06bd
refs/heads/main
2023-04-26T08:51:38.206564
2021-06-02T14:26:42
2021-06-02T14:26:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,697
cpp
MateriaSource.cpp
#include "MateriaSource.hpp" MateriaSource::MateriaSource() { for (int i = 0; i < 4; i++) this->_materia[i] = nullptr; } MateriaSource::MateriaSource(MateriaSource &materiaSource) { for (int i = 0; i < 4; i++) if (this->_materia[i] != nullptr) delete this->_materia[i]; for (int i = 0; i < 4; i++) if (mate...
c64253a355fa0c3f45df296c7f5662409bf46a77
e58045622ec527ce11bc2fdaeef0d8c5fc6a3b5b
/Command.h
9955de1dee17152a7617c436a579aa7f2c10e9b7
[]
no_license
Alonsho/MileStone1
4319a250f9b4a9243ce6f2d31fe4775e2674f8c0
26c9629569ea707c41e62dfee7bdf93c35f27027
refs/heads/master
2020-11-26T09:11:07.154494
2020-07-08T10:56:19
2020-07-08T10:56:19
229,025,331
0
0
null
null
null
null
UTF-8
C++
false
false
361
h
Command.h
// // Created by alon on 16/12/2019. // #ifndef MILESTONE1__COMMAND_H_ #define MILESTONE1__COMMAND_H_ #include <vector> #include "SymbolTable.h" #include "Interpreter.h" using namespace std; class Command { public: virtual int execute(vector<string>* param, int index, SymbolTable* symt) = 0; virtual ~Command(...
a4495db156bd1d92e0fa3b059b45592807c6d0d1
59eafae3bc4d13b9844c47d2e12aaa2b04fb6da0
/AtCoder/ARC110/C.cpp
bb11d7d2a0975519115e8b57f025d5393048ccc0
[]
no_license
pes-magic/procon
004d7cd877e1cb56fea8d4b8b6cc8ba564a93a29
7afd1564b9228144d53920cc8e6a91012144b530
refs/heads/master
2023-08-31T17:29:06.829263
2023-08-25T12:32:27
2023-08-25T12:32:27
228,394,327
3
0
null
2023-08-24T11:48:04
2019-12-16T13:33:20
Jupyter Notebook
UTF-8
C++
false
false
765
cpp
C.cpp
#include <iostream> #include <vector> using namespace std; int main(){ int N; cin >> N; vector<int> P(N); vector<int> pos(N); for(int i=0;i<N;i++){ cin >> P[i]; --P[i]; pos[P[i]] = i; } vector<int> op; vector<int> used(N, 0); for(int i=0;i<N;i++){ if(pos...
08d143eac4a75da833ca6907388a3b4c97e687e3
82d7b1e6bd65a2f6b21e4b07ae6aabaf65709b9b
/cstreamloader.cpp
7a625ca598eb4a258a449ae5e1e9312b57492b63
[]
no_license
valery-zhurbenko/vlc_record
012ec3c74c9758e37c5485fa0ae798949c153521
8f4fc67f45e719b5dc7bb3120fc111c5f790160d
refs/heads/master
2021-05-09T19:42:00.168020
2017-08-22T10:10:19
2017-08-22T10:10:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,793
cpp
cstreamloader.cpp
/*=============================================================================\ | $HeadURL$ | | Author: Jo2003 | | last changed by: $Author$ | | Begin: 4.12.2010 / 18:55 | | $Id$ | \=============================================================================*/ #include "cstreamloader.h" #include "externa...
311dae2d0860e5f3c0307be465869e0925a312b0
5898d3bd9e4cb58043b40fa58961c7452182db08
/part2/ch06/6-2-9-align/src/align.cpp
05f739f3963d4fb535b0fe56a02499c6716360b3
[]
no_license
sasaki-seiji/ProgrammingLanguageCPP4th
1e802f3cb15fc2ac51fa70403b95f52878223cff
2f686b385b485c27068328c6533926903b253687
refs/heads/master
2020-04-04T06:10:32.942026
2017-08-10T11:35:08
2017-08-10T11:35:08
53,772,682
2
0
null
null
null
null
UTF-8
C++
false
false
1,152
cpp
align.cpp
/* * align.cpp * * Created on: 2016/04/09 * Author: sasaki */ #include <iostream> #include <vector> #include <algorithm> #include <ostream> using namespace std; auto ac = alignof(char); auto ai = alignof(int); struct T { int i; }; auto ad = alignof(T); int a[20]; auto aa = alignof(decltype(a)); struct X ...
5c04494b27f3723ed91eb3fd956a95bb18d89c0e
3ac0923505e1e03a07742355edec43f23ead82b7
/Acwing/daily/序列最大收益.cpp
81f2352a54f57e8f1565edcd9add08b32011e4db
[]
no_license
lock19960613/SCL
5055c940d2529eef981a29698c7ea04212a8b9de
3ea28fd8f5d5233411341283c85667e4b9fc64d5
refs/heads/main
2023-08-03T04:36:33.555296
2021-09-11T06:48:49
2021-09-11T06:48:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,865
cpp
序列最大收益.cpp
#include <iostream> #include <cstring> #include <algorithm> //中兴2021校招笔试题,dp,最长上升子序列的变化 using namespace std; //数据保证wij = wji,wii = 0 const int N = 210; int n,k,m; int a[N],w[N][N]; int dp[N][N];//前i的序列,删除了j个数,且第i个数是保留的 int main() { cin >> n >> k >> m; for(int i = 1;i <= m;i++) cin >> a[i]; for(int i =...
2b79ff96f26e5875930a4536c6d7be4d81b7f44f
b3822f0f1c1a0c4724b0d528123ec6fd7be006d2
/Problem 1000~4999/2592_대표값.cc
3409ee6d74d162fc65886d2fa5afe295cd48ce27
[]
no_license
limnoung/BOJ
b72d0521f609ba0529ad7ae39846ff6d5c014320
e46c4663bfa2490340b9530d315530a152b94547
refs/heads/master
2021-08-06T17:52:49.827635
2020-04-10T06:48:17
2020-04-10T06:48:17
142,971,534
0
0
null
null
null
null
UTF-8
C++
false
false
286
cc
2592_대표값.cc
#include <cstdio> int main() { int N[100] = { 0 }, sum = 0, base; for (int i = 0; i < 10; i++) { scanf("%d", &base); sum += base; N[base / 10 - 1]++; } base = 0; for (int i = 1; i < 100; i++) { if (N[i] > N[base]) base = i; } printf("%d\n%d", sum / 10, (base+1)*10); }
7913ecbca62b57bdd1fe23153837b79f485e7393
1886dc0756ba0b3517080b74161f556628d587e5
/Motoriis/BaseInput.cpp
ecd81d38d7b8d798cf04054000fd88b618cfa238
[]
no_license
JohnHonkanen/Motoriis
e59d01f77337490a33797be87ee57fd4144e2d48
855fe2fa0b081dabdd78a8ea01acff70a61717a4
refs/heads/master
2021-01-15T10:30:55.989477
2016-12-12T14:23:00
2016-12-12T14:23:00
68,761,646
1
0
null
2016-12-12T14:23:00
2016-09-20T23:34:22
C++
UTF-8
C++
false
false
368
cpp
BaseInput.cpp
#include "BaseInput.h" BaseInput::BaseInput() { } BaseInput::~BaseInput() { } BaseInput::BaseInput(sf::Vector2f position) { this->position = position; this->acceptItems = true; } sf::ConvexShape BaseInput::draw() { return sf::ConvexShape(); } void BaseInput::calculatePointPosition() { } void BaseInput::tran...
a514e395f68c810653316df8112148599d93e107
22eec4e5979b3e14e4817f62cc9c7309247ef900
/leetcode/#GoGetIt/1008.cpp
c529b79bf9d635256e93c9835cb48b0bd73c0fdf
[]
no_license
siddhantkhandelwal/competitiveprog-submissions
0cbf6d9e811c0c51a9770813ddde240012b0c596
4b9e5c86afc74219baaea3ede87e74a37866c143
refs/heads/master
2021-08-19T05:16:31.715397
2021-06-22T11:42:37
2021-06-22T11:42:37
130,892,918
0
0
null
2020-10-01T08:01:18
2018-04-24T17:49:08
C++
UTF-8
C++
false
false
1,229
cpp
1008.cpp
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
53ea5efd785ea7bce435a38a0ec0bc0471ce80b8
136193189e5c543e6392a762826a68db1e9bb2fb
/listing.cpp
95ae509c6227c6f7f2d64915a0c281d313d85515
[]
no_license
kaisaryousuf/search_with_ext
e6b5bda865039a5e94543d3b280efa372908e3b1
428646c692d8cae42c081e56106209bdbfe6c69c
refs/heads/master
2020-12-30T13:28:12.032111
2017-05-14T05:24:17
2017-05-14T05:24:17
91,217,607
0
0
null
null
null
null
UTF-8
C++
false
false
1,113
cpp
listing.cpp
#include <sys/types.h> #include <dirent.h> #include <stdio.h> #include <string.h> #include <iostream> #include "listing.h" using namespace std; void listdir(const char *name, int level) { int count = 0; char *toSearch[] = { ".psd", ".bat" }; int ts; DIR *dir; struct dirent *entry; if (!(dir ...
4095d6c166d415d5e2e3a23dc0478623ef35981f
342e7c2477486cc8357ba8d5b8c860b875ba6abb
/redbase/src/lg.h
38f3d252649719aeaf0093fc97036d61c8003f88
[]
no_license
jcpark9/cs346-jcpark
c731445dab46ab58f83c26f4bf3ac41e895d597a
c4af7bec9ae353ecd47e13a3bbf055a1df537094
refs/heads/master
2021-01-21T22:26:42.933548
2015-06-02T21:02:29
2015-06-02T21:02:29
33,392,876
2
0
null
null
null
null
UTF-8
C++
false
false
2,947
h
lg.h
// // lg.h // Logging and Transction Component Interface // #ifndef LG_H #define LG_H #include <stdlib.h> #include <string.h> #include "redbase.h" #include "pf.h" #include "rm_rid.h" #include <iostream> #include <stdio.h> #include <set> #include <string> using namespace std; class RM_Manager; #define LG_EOF ...
847e29fbc8b737fcd2ce9dc88ec2d7f6a0075210
5e970bc0f65aa1ce5bb80fb0fdeb118bfc603d2b
/clouddialog.cpp
13078d942155d97ebc999b46a2ccebce75581305
[]
no_license
barbosaMatheus/USR_Coffee_Profiles
f5db3357176eb9af7e7061cf97e4a29cba78b739
42e08827891259b471d9bad52cbcf4bd3967c698
refs/heads/master
2020-12-25T04:36:23.411428
2018-02-07T17:23:08
2018-02-07T17:23:08
93,545,392
0
0
null
null
null
null
UTF-8
C++
false
false
4,392
cpp
clouddialog.cpp
#include "clouddialog.h" #include "ui_clouddialog.h" CloudDialog::CloudDialog( QVector<CoffeeRoastingProfile*> &queue, QProgressBar *progress_bar, QWidget *parent ) : QDialog(parent), ui(new Ui::CloudDialog) { ui->setupUi(this); q = &queue; this->progress_bar = progress_bar; data_model = new QS...
433b0dc0af26bd518a7aaffeb5fc76b38f886412
38ab31a1c7936d2cc11b74830a591f099af2d380
/project/utils/src/SerializerAnswer.cpp
c4ca167a6a6198fc74c8fb13cab3cd80e5713433
[]
no_license
alSergey/YSNP.Cloud
33f937b2bf18b965c0c212490a9abe3353ba6b33
43728f627c9ac595acd9c84830ebbdc2910b35a2
refs/heads/main
2023-02-19T03:38:58.904477
2021-01-09T11:25:27
2021-01-09T11:25:27
325,096,883
0
1
null
null
null
null
UTF-8
C++
false
false
2,774
cpp
SerializerAnswer.cpp
#include "SerializerAnswer.h" #include <boost/log/trivial.hpp> SerializerAnswer::SerializerAnswer(int id) : _status(StatusOk{.requestId = id}) { BOOST_LOG_TRIVIAL(debug) << "SerializerAnswer: create serializer answer with OK status"; } SerializerAnswer::SerializerAnswer(int id, std::string msg) : _status(St...
80a0aed3cc8f37af072e252267a6af863a32357e
1f75d58f0cab967052dba401d0e23976f6411010
/class_setup.h
29e379a838d36f4d473b12d2b191a2c90d57766b
[ "Apache-2.0" ]
permissive
Axonsystem/OpenPaathshala
89ce8afeb56012cbffee88ca67b475f64c8e8af1
d03c116f6bd30717a53deb59f372941d20c1a323
refs/heads/master
2021-01-16T18:29:18.249210
2014-02-16T12:02:07
2014-02-16T12:02:07
16,883,345
1
2
null
null
null
null
UTF-8
C++
false
false
329
h
class_setup.h
#ifndef CLASS_SETUP_H #define CLASS_SETUP_H #include <QMainWindow> namespace Ui { class class_setup; } class class_setup : public QMainWindow { Q_OBJECT public: explicit class_setup(QWidget *parent = 0); ~class_setup(); private: Ui::class_setup *ui; }; #endif // CLASS_...
0c3c25afc8637893ea95cf524c3224d70b66afe2
ca4d70080ced49e6c9d5110a8563eafdbe79eec4
/src/input/parsers/meshgenerator/elements/3D/pyramid5.cpp
d5ad20e312b32f818a81939ffdd45f0f61d47cf2
[]
no_license
It4innovations/espreso
f6b038dcd77f7f3677694e160a984bc45f4a4850
5acb7651287bd5114af736abc97c84de8a6ede99
refs/heads/master
2023-01-28T13:35:52.731234
2022-05-24T14:24:05
2022-06-26T06:35:31
66,345,061
18
6
null
null
null
null
UTF-8
C++
false
false
3,160
cpp
pyramid5.cpp
#include "pyramid5.h" using namespace espreso; Pyramid5Generator::Pyramid5Generator() { subelements = 6; subnodes[0] = 3; subnodes[1] = 3; subnodes[2] = 3; enodes = 5; code = Element::CODE::PYRAMID5; } void Pyramid5Generator::pushElements(std::vector<esint> &elements, const std::vector<esint> &indices) const ...
712e3c1495bf2c9473eb822952f2ff5793063f8d
e61073af3968bbc722b343cb48e3bc9176a60e6d
/Server.cpp
ebbf85ca6758ccba81f77a02247802b939b7ab3f
[]
no_license
rocketwu/se3313_project
9e46eafef10b652a86fab54f289ec54d91154bd4
79ee5c4d18e2f13738dcc6153b3288435865a2c4
refs/heads/master
2020-04-09T03:53:46.427799
2018-12-03T17:12:02
2018-12-03T17:12:02
160,001,584
0
0
null
null
null
null
UTF-8
C++
false
false
4,301
cpp
Server.cpp
#include "thread.h" #include "socketserver.h" #include <stdlib.h> #include <time.h> #include <list> #include <vector> #include <algorithm> #include <stack> using namespace Sync; // This thread handles each client connection class SocketThread : public Thread { private: // Reference to our connected socket Sock...
44707c480ad91e30b4fec86544bdaf7d68572548
ec50ff0d816a5d8322f7086028eb329cca6a9488
/mediaformat.cpp
d3a4216164a1b92f3fc98b3013182070564a9e4f
[]
no_license
selamyihun/RentalBusinessInventoryManager
127931b9f3f74b5fb4026ea859b9a6e1af30d022
a1537296c0498ef8834e149e2c7b21581870520d
refs/heads/master
2021-01-10T20:49:26.638925
2014-09-16T01:50:29
2014-09-16T01:50:29
24,078,731
1
1
null
null
null
null
UTF-8
C++
false
false
724
cpp
mediaformat.cpp
#include "mediaformat.h" //----------------------------Constructor-------------------------------------- // sets format name and id to default value MediaFormat::MediaFormat() { name = ""; id = '\0'; } //----------------------------Destructor--------------------------------------- MediaFormat::~MediaFormat(...
1f398a276599583e234a09ba59c78f20d6db7849
30d565ab1a62eca47a03f207af180104482853db
/sceneobject.h
b6866e8e3b5850683cf0316756dca2f205f7a233
[]
no_license
YAXo-O/PEW
e7e811c498b9ac9d76f386a7c95eb0c2dc1d7aeb
92756a915ad54c28bcca60e8748eafb6cadc4743
refs/heads/master
2019-06-29T03:06:43.422383
2018-05-29T21:46:40
2018-05-29T21:46:40
101,887,095
0
0
null
2017-11-04T18:56:52
2017-08-30T13:49:18
null
UTF-8
C++
false
false
897
h
sceneobject.h
#ifndef SCENEOBJECT_H #define SCENEOBJECT_H #include <QObject> #include <typeinfo> #include "tracinginfo.h" class SceneObject: public QObject { Q_OBJECT public: SceneObject(); virtual ~SceneObject() {} virtual rayTraceInfo intersect(const QVector3D &origin, const QVector3D &dir); virtual bool blo...
8c4e66dfc6dbf8d7dc09280815d468d24f4b5291
9016131106426dec05e898f43be3b2b70ae19e29
/src/Forks.cpp
0c42a78be36ab23235c7274818cc9de10fa506dc
[ "BSD-3-Clause-Open-MPI", "MIT", "Zlib", "LicenseRef-scancode-public-domain" ]
permissive
shulp2211/shasta
af9f8c396c963eb188fd83a0b8dfe6c364746a37
8b91dbdf44f76bb4a3467123cdfca17a02326feb
refs/heads/master
2023-08-23T08:45:15.122346
2021-09-28T17:44:59
2021-09-28T17:44:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
17,863
cpp
Forks.cpp
#include "Forks.hpp" #include "html.hpp" #include "orderPairs.hpp" using namespace shasta; #include <set> Forks::Forks( const MemoryMapped::VectorOfVectors<CompressedMarker, uint64_t>& markers, const MarkerGraph& markerGraph) : markers(markers), markerGraph(markerGraph) { // Sanity checks. S...
68a6b87e76befb3d33ffbbe55c42348c5ade00ee
87735a06d03b51366f5296b775050a19b9c2d214
/images/flare_out.cpp
733d5eca4c32cb344eb82ced829e981579c32b8e
[]
no_license
mcareycode/diss
2c399c8dd2888f5d5a939ac01654129e67c2d189
957a3108fb23107ac963762c6ca9ffc2ebd8707a
refs/heads/master
2020-12-03T09:27:11.080209
2012-12-03T12:59:43
2012-12-03T12:59:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,555
cpp
flare_out.cpp
#include <iostream> #include <cmath> main(){ double r0=5; double step=1; double len=1; double k = 1200.0 / 1.05 / 2.54; std::cout << "#FIG 3.2\nLandscape\nCenter\nMetric\nA4\n100.00\nSingle\n" << "-2\n1200 2\n"; std::cout << "1 3 0 1 0 7 50 -1 -1 0.000 1 0.0000 0 0 2250 2250 0 0 2250 0\n"; ...
4aeb1fa27b430a9722622442cc46dcf4b925fed7
089077acd7dc512a1afde017692382b0b9ada02f
/SmartDraw_PDS/SmartDraw/stdafx.h
a0397b776455e19125768d5cde0f03241a4cf3c3
[]
no_license
lizzyly7/SmartDraw
6830b172cebcf2005366b7438d771af3faa137cf
cb891dbe66d75bbb3f692fce72e91402e1c97010
refs/heads/main
2023-04-19T05:54:52.948266
2021-05-04T11:02:01
2021-05-04T11:02:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,664
h
stdafx.h
// This MFC Samples source code demonstrates using MFC Microsoft Office Fluent User Interface // (the "Fluent UI") and is provided only as referential material to supplement the // Microsoft Foundation Classes Reference and related electronic documentation // included with the MFC C++ library software. // License ...
9ca98fa130b1072d391db318571502814616d2da
d3a740b7c14173a69fc165a69cb8eb30836088fc
/bdf.h
6412e8ded0252e7b16c1152d22e53b57184df678
[]
no_license
dyzheng/MD-dealing
93fe6e7b7a5e1d93b70d8a90a68081d6bced53f4
2f7822ec85701dbcd8e5d91bdf9cb60acf73db65
refs/heads/master
2020-05-16T05:02:18.432792
2019-04-22T14:00:02
2019-04-22T14:00:02
182,800,452
1
0
null
null
null
null
UTF-8
C++
false
false
1,160
h
bdf.h
#ifndef BDF_H #define BDF_H #include "cell.h" //---------------------------------- // Bond angle distribution function //---------------------------------- class BDF { public: BDF(){}; ~BDF(){}; void Routine(); private: void cal(); void get_adjacent_atom_positions( const int &shortest_natom, const ...
4d241c3ab7c1e61aaacc3f8d15c74026bfd08688
1a8331d4d2220a5c37232f766b726d0429622cfb
/main.edu.pl/POI/12th/sam.cpp
7df2c65bbc2261829a62a67b4aca183697c9ea27
[]
no_license
ngthanhvinh/competitive-programming
90918dda51b7020348d2c63b68320a52702eba47
cad90ac623e362d54df9a7d71c317de555d35080
refs/heads/master
2022-04-21T07:02:07.239086
2020-04-18T08:05:59
2020-04-18T08:05:59
176,119,804
0
1
null
2020-04-18T08:06:01
2019-03-17T15:19:38
Roff
UTF-8
C++
false
false
787
cpp
sam.cpp
#include <bits/stdc++.h> using namespace std; const int N = 100010; const int P = 500010; int n, k, p; int a[P]; int lst[N], nxt[P]; int ans; int main() { scanf("%d%d%d", &n, &k, &p); for (int i = 1; i <= p; ++i) scanf("%d", a + i); for (int val = 1; val <= n; ++val) lst[val] = p + 1; for (int i = p; i >= 1; --...
e103b42fdb1072d6d1e6138253a98a671bd17832
833abf0dbdd57b6cac449bc4c9de028408de36f3
/codes/algo4.cpp
6f02c9039f472fb7a094b3b39463b4c5752ab3b6
[]
no_license
BohdanVey/easycode
d588c75587601447d1391573df10e491a66f2cfe
818f0baa9cdf6dd4d86407e76c4415d2a4765806
refs/heads/master
2021-04-15T08:50:18.795163
2018-04-27T20:19:46
2018-04-27T20:19:46
126,226,413
0
0
null
null
null
null
UTF-8
C++
false
false
817
cpp
algo4.cpp
#include <iostream> #include <vector> using namespace std; struct FenwickTree { vector<int> bit; // binary indexed tree int n; void init(int n) { this->n = n; bit.assign(n, 0); } int sum(int r) { int ret = 0; for (; r >= 0; r = (r & (r+1)) - 1) ret += bi...
b3149fdbae64e0a3ce4db92c2c664918852fcdca
387549ab27d89668e656771a19c09637612d57ed
/DRGLib UE project/Plugins/Modio/Source/ThirdParty/NativeSDK/platform/macos/macos/macos/detail/ops/http/InitializeHttpOp.h
fdd3fc17f30f7ec42e4e6719c9d289a2a33e7026
[ "MIT", "BSL-1.0" ]
permissive
SamsDRGMods/DRGLib
3b7285488ef98b7b22ab4e00fec64a4c3fb6a30a
76f17bc76dd376f0d0aa09400ac8cb4daad34ade
refs/heads/main
2023-07-03T10:37:47.196444
2023-04-07T23:18:54
2023-04-07T23:18:54
383,509,787
16
5
MIT
2023-04-07T23:18:55
2021-07-06T15:08:14
C++
UTF-8
C++
false
false
1,286
h
InitializeHttpOp.h
/* * Copyright (C) 2021 mod.io Pty Ltd. <https://mod.io> * * This file is part of the mod.io SDK. All rights reserved. * Redistribution prohibited without prior written consent of mod.io Pty Ltd. * */ #pragma once #include "macos/HttpSharedState.h" #include "modio/core/ModioBuffer.h" #include "modio/core/Mod...
219e6448021cb98debb8555af1146f3893bb9ac7
ba3904c38c334d68740ffcb8cb2ea9b81280a780
/lslboost/boost/date_time/filetime_functions.hpp
797bca8756e44695eee3a2fbe10d6b6744386d59
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
staticfloat/liblsl
88543b7917d6ac4e8ad0b2abffff24dd1130c8a4
ccdc76f80622690768707035436c8d833bb3dfd2
refs/heads/master
2021-01-02T12:44:15.652387
2020-02-05T12:40:30
2020-02-05T12:40:30
239,630,133
2
0
MIT
2020-02-10T22:51:07
2020-02-10T22:51:06
null
UTF-8
C++
false
false
3,172
hpp
filetime_functions.hpp
#ifndef DATE_TIME_FILETIME_FUNCTIONS_HPP__ #define DATE_TIME_FILETIME_FUNCTIONS_HPP__ /* Copyright (c) 2004 CrystalClear Software, Inc. * Use, modification and distribution is subject to the * Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) * A...
cb63c2a334a88843018e2d913b7c53adeff11847
d14b5d78b72711e4614808051c0364b7bd5d6d98
/src/Device/Context.cpp
cb8131ffe1d3e249bc56c009db508c8a9139da39
[ "Apache-2.0" ]
permissive
google/swiftshader
76659addb1c12eb1477050fded1e7d067f2ed25b
5be49d4aef266ae6dcc95085e1e3011dad0e7eb7
refs/heads/master
2023-07-21T23:19:29.415159
2023-07-21T19:58:29
2023-07-21T20:50:19
62,297,898
1,981
306
Apache-2.0
2023-07-05T21:29:34
2016-06-30T09:25:24
C++
UTF-8
C++
false
false
44,543
cpp
Context.cpp
// Copyright 2020 The SwiftShader Authors. All Rights 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 b...
f39f3ce0e671c8fa15ca539192fbff622561b474
15d845d5b3da199477e5d583ddb4a72dc55a40cb
/Assignment8/tyler_morgan_8_1/checkingaccount.cpp
777df83e8f07efed93b326371763c5e36dc07cfc
[]
no_license
chom125/WinterCppClass2013
86d6393737f6c476b4ee17b507f1c8e552d0eee5
b6c0dd375e595ad682f663bdaaae7e58c6443cdb
refs/heads/master
2021-01-23T06:39:32.925827
2013-04-16T01:32:55
2013-04-16T01:32:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
667
cpp
checkingaccount.cpp
//Tyler Morgan //Mar-29-2013 //UW online c++ class 1st qtr //Assignment 8.1 //checkingaccount.cpp #include "bank.h" CheckingAccount::CheckingAccount(int account_num) :Account(account_num), my_checks_cashed(0) { } CheckingAccount::~CheckingAccount() { } bool CheckingAccount::cash_check(float amount, int check_nu...
81afb6a50464ac698d8278536588fc18b913d49a
ab4cbd9d1a9f609fa2e8aa0fbd3733821df694d0
/GGJ20/Source/GGJ20/Public/GeneratorRoom.h
3920564494f778d29d331b9ebb2f760698130d10
[]
no_license
OverAHill/Global-Game-Jam-2020
eabd7c8c8809c83f8172f0a5cac900c648152708
c9f3ef972abd85386d84b3a58491345c2867b629
refs/heads/master
2021-08-16T07:28:57.598600
2020-02-02T17:07:33
2020-02-02T17:07:33
237,497,507
0
0
null
null
null
null
UTF-8
C++
false
false
461
h
GeneratorRoom.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "BaseRoom.h" #include "GeneratorRoom.generated.h" class AGeneratorRepairable; /** * */ UCLASS() class GGJ20_API AGeneratorRoom : public ABaseRoom { GENERATED_BODY() publ...
a86b1e7c35184c69236842554f844e18c5687cae
200549735d2e545f9a2c10faf46874432e984548
/Modern-Cpp-for-Beginners/src/Part05/DerivedClass.cpp
a57ca25eeadc9871ae364e0bd1adb7d8e06b3882
[]
no_license
tenevincent/CPlusPlus-Projects
10f45bbe595f9ca81ccefdf624c23f9f23709f5b
639a36cbb38d04c5c1a452f79d681e7f55e13749
refs/heads/master
2021-11-24T07:32:18.478470
2021-11-21T14:35:29
2021-11-21T14:35:29
232,326,979
1
0
null
null
null
null
UTF-8
C++
false
false
26
cpp
DerivedClass.cpp
#include "DerivedClass.h"
77a783b8992c10800b33c57184fc2a476a79624c
41f3c18ce759df5eb0d5a80fa4e8cf2883ecf98c
/Individual Selection Contest 03/b3.cpp
5caed4e77376da18f299e0650abc026ae35c69ce
[]
no_license
tanvirtareq/programming
6d9abafb844b1e80b7691157b0581a3b25b9cd59
040f636773df2d89fb7c169fe077f527f68140a4
refs/heads/master
2021-06-27T12:07:07.585682
2021-03-28T12:39:49
2021-03-28T12:39:49
217,275,688
1
0
null
null
null
null
UTF-8
C++
false
false
348
cpp
b3.cpp
#include<bits/stdc++.h> using namespace std; typedef long long unsigned lld; int main() { lld n, m, k, ans, f=1; cin>>n>>k; lld mask=(f<<k)-1; ans=n|mask; while(ans<n) { mask=mask<<1; ans=n|mask; } cout<<ans<<endl; return 0; } /** 3...
201c566328f36af6502cc85c81cdeabe4182065a
34ab7facc3d9ba0303f6b62b72670d6d349e1af6
/custom_widgets/iciomonitor/pageswitchbar.cpp
a9dedc487cb8ab93648d40af1150d40f5879b731
[]
no_license
GaussCheng/2-5AxisPunch
0fb1532aef359b3cba27fa875ff4e34a196e43da
d57380ac8acd77fe5860d4208a5dfba0b12d117b
refs/heads/master
2021-01-17T09:49:31.044350
2015-03-05T03:58:51
2015-03-05T03:58:51
31,994,191
3
5
null
null
null
null
UTF-8
C++
false
false
1,392
cpp
pageswitchbar.cpp
#include "pageswitchbar.h" #include "ui_pageswitchbar.h" PageSwitchBar::PageSwitchBar(QWidget *parent) : QFrame(parent), ui(new Ui::PageSwitchBar) { ui->setupUi(this); ui->buttonGroup->setId(ui->inputButton,0); ui->buttonGroup->setId(ui->outputButton,1); ui->inputButton->setChecked(tr...
550b54dbb4c70db60ead11e92073207d6c85bb95
85455876309135778cba6bbf16933ca514f457f8
/9500/9525.cpp
7d3e2cd9b03a7436c61b7aa24392d7a1ffd9d45c
[]
no_license
kks227/BOJ
679598042f5d5b9c3cb5285f593231a4cd508196
727a5d5def7dbbc937bd39713f9c6c96b083ab59
refs/heads/master
2020-04-12T06:42:59.890166
2020-03-09T14:30:54
2020-03-09T14:30:54
64,221,108
83
19
null
null
null
null
UTF-8
C++
false
false
1,152
cpp
9525.cpp
#include <cstdio> #include <vector> #include <algorithm> using namespace std; vector<int> adj[5000]; int A[5000], B[5000]; bool visited[5000]; bool dfs(int a){ visited[a] = true; for(int b: adj[a]){ if(B[b] == -1 || !visited[B[b]] && dfs(B[b])){ A[a] = b; B[b] = a; return true; } } return false; } i...
4f941072cae63dcc4f67d72ba5f5d75c350a6a74
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5658282861527040_0/C++/hiwang123/b.cpp
b36f33959862ce555de66c9ea40462105f3366d1
[]
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
2,036
cpp
b.cpp
#include<stdio.h> #include<stdlib.h> int main(void){ int t,hh; scanf("%d",&t); for(hh=1;hh<=t;hh++){ int a,b,k; scanf("%d %d %d",&a,&b,&k); int aa[34],bb[34],kk[34],ca=0,cb=0,ck=0; while(a!=0){ aa[ca++]=a%2; a/=2; } while(b!=0){ bb[cb++]=b%2; b/=2; } while(k!=0){ kk[c...
13a2aed2381029647cc77378926fabb944d00e6e
6badf4afc607b95122953fd810e801de97dd68b9
/Dynamic Programming/palindrome_partitioning_II_version2.cc
2b67237b8b51e0619d8d2a771d2d27f0ebb53d38
[]
no_license
pingpan2013/coding-exercises
152dd16b19fee551f2d5f36f7c5ad7838ec82b17
73cff1915c525d1eeea7645aa5f3be7253d2e514
refs/heads/master
2021-01-20T07:13:45.551768
2015-03-10T05:14:18
2015-03-10T05:14:18
21,613,986
0
0
null
null
null
null
UTF-8
C++
false
false
1,398
cc
palindrome_partitioning_II_version2.cc
class Solution { public: int minCut(string s) { if(s.empty()) return 0; if(s.size() == 1) return 0; int n = s.size(); vector<int> dp(n, 0); // Preprocessing: // Preprocessing to build up the look-up table // table[i][j] = true if s[i:j] i...
ba72296afcb54709a4303d0a0573962ba1c1c0f7
dd1f5f8455c04c476ccd64c42b5c426c36bf6e9e
/Assignment 2 Template/Engine/Engine/LightGameObject.cpp
2fd18ba4c7f81badb03f6acf84554d338903eb29
[]
no_license
Natalo77/S2A2
a28d3f786a34b534cf1b96c622051c891972d99b
50e7f8d13c57791ec655f9e40077ca6d35b31418
refs/heads/master
2020-04-30T17:24:48.635257
2019-04-04T10:48:00
2019-04-04T10:48:00
176,979,008
0
0
null
null
null
null
UTF-8
C++
false
false
4,564
cpp
LightGameObject.cpp
//============================================= // Filename: LightGameObject.cpp //============================================= //============================================= // User Defined Headers. //============================================= #include "LightGameObject.h" /*M+M+++M+++M+++M+++M+++M+++M+++M+...
87778d39731e55029af2cee9bc6c56c7aa62294e
eb8d36a89dbaeffeedd8584d970aa2b33a8b2c6e
/CQ-0083/chess/chess.cpp
e0c7af8b0a3fae99424a6ba1d2bc7f6079b86e19
[]
no_license
mcfx0/CQ-NOIP-2021
fe3f3a88c8b0cd594eb05b0ea71bfa2505818919
774d04aab2955fc4d8e833deabe43e91b79632c2
refs/heads/main
2023-09-05T12:41:42.711401
2021-11-20T08:59:40
2021-11-20T08:59:40
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
2,966
cpp
chess.cpp
#include<bits/stdc++.h> using namespace std; const int N=2e6+101; inline int read() { int s=0,w=1; char ch=getchar(); while(ch<'0'||ch>'9') { if(ch=='-') w=-1;ch=getchar();} while(ch>='0'&&ch<='9') { s=s*10+ch-'0';ch=getchar();} return s*w; } int n,m,q; int co[5010][5010],pos[5010][5010],e[5010][5010],p[5010][50...
7fd970b5d58bc4049317e76c36b0a18374f0d410
050fb85ebc71a0282d431cdfcfd1bfcfc72c604c
/mma_cliquer.cpp
6dbfdc1c7b9f6411b56a7bd3f97ea33e91ec08b6
[]
no_license
szhorvat/MmaCliquer
78805eac2700cd679f0f7f7f7944905b6474712a
1b062824ebe42fdd7fe3c779b0bc1b599b56dbc1
refs/heads/master
2016-09-06T18:59:30.932832
2015-06-29T07:10:08
2015-06-29T07:10:08
37,465,516
6
3
null
null
null
null
UTF-8
C++
false
false
1,872
cpp
mma_cliquer.cpp
#include "WolframLibrary.h" extern "C" { #include "cliquer/cliquer.h" } #include <algorithm> long *distribution; boolean collector(set_t s, graph_t *, clique_options *) { distribution[set_size(s)-1]++; return TRUE; } extern "C" DLLEXPORT mint WolframLibrary_getVersion() { return WolframLibraryVersion; } exter...
cdcc66370f675a7fae8ef5d2807674f34d7d0f31
ecb0c1beebcde3ea1737da2b0285592cda7844a5
/wowViewerLib/src/include/wowScene.h
8c8a48fb1d9ce6db196d743d872d9e5ddef81cac
[ "BSD-3-Clause" ]
permissive
Kittnz/WebWowViewerCpp
83bf2738ea5574eccb5188a9b843fe06183e90b7
bdb747ede96f85311bfbd45d9a01b0be412761bd
refs/heads/master
2020-04-06T10:47:02.625468
2018-09-25T10:46:31
2018-09-25T10:46:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,048
h
wowScene.h
#ifndef WOWMAPVIEWERREVIVED_WOWSCENE_H_H #define WOWMAPVIEWERREVIVED_WOWSCENE_H_H #include <cstdint> #ifdef WITH_GLESv2 typedef float animTime_t; #else typedef double animTime_t; #endif #include <string> #include "config.h" #include "controllable.h" class IFileRequest { public: virtual void requestFile(const cha...
06acf77e15839f4e3ccb28387020b103cf41baac
6e914c68c47a57b50a6e96f7a01ceb2a8a4a3658
/src/KingSystem/ActorSystem/actBaseProcJob.h
be5a219d06de76a4e92924d8c7a8cdfd4479b992
[]
no_license
BooshSource/botw
56af55f095277f3d5e963720ace0eae83e260bea
ebc09f924a064072ffc00b640f6f7f9b0ad143d9
refs/heads/master
2023-02-14T22:51:20.400162
2021-01-06T17:14:10
2021-01-07T21:11:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,149
h
actBaseProcJob.h
#pragma once #include <container/seadTList.h> #include "KingSystem/Utils/Types.h" namespace ksys::act { class BaseProc; enum class Priority { PlayerBefore = 0, Player = 2, PlayerAfter = 2, AllAfter = 3, }; enum class JobType { PreCalc = 0, Calc1 = 1, Calc2 = 2, Calc3 = 3, Calc4 ...
cdfab44423d8ef1a0317d526147c72096e9a43cf
58ed734eac33bfb073e794e95df8280b81dce883
/Siv3DPackage/Inc/SivLogger.inl
a3d3ddbd403948ea41a890d7fbb5653f7691c78f
[]
no_license
syougun360/Soul-Liberty
9fce5a85fd8dcde48252d5034230adb259c1f9a2
d8abae71efdda1e7044d6df50183d08765ba2d1b
refs/heads/master
2020-04-17T20:16:18.442404
2019-04-18T13:52:23
2019-04-18T13:52:23
24,497,281
0
0
null
null
null
null
UTF-8
C++
false
false
904
inl
SivLogger.inl
//---------------------------------------------------------- // // This file is part of the Siv3D Engine // // Copyright (C) 2008-2014 Reputeless, // // Waseda Computer Entertainment. All rights reserved. // //---------------------------------------------------------- namespace s3d { enum class LogDescription { Er...
7815d4908f81973de73c05c636169d9af26a8e3a
ec50fd782ee67ea02e86286620e371948d0cb16a
/leetcode/contest/250/c.cpp
0397a1fab66037e1c0833b57e3dd08f5a47b5daf
[]
no_license
Amit-Gohri/Cpp
71979eb95a1b7d1a549c24234adcecf9fef08ffc
d1d04f082fcc67f800dfb1b7a291e5f09e818adb
refs/heads/master
2023-07-27T06:47:42.973577
2021-09-10T11:42:03
2021-09-10T11:42:03
261,104,527
0
1
null
null
null
null
UTF-8
C++
false
false
1,324
cpp
c.cpp
#include<bits/stdc++.h> using namespace std; void rec(vector<vector<int>>& points, int crt_row, int pre_col, long long& maxScore) { int score(INT_MIN); int selectedCol(0); if (crt_row == points.size()) { return; } if (crt_row == 0) { for (int i = 0; i < points[0].size(); i+...
bc0db0940e1d08477beae0127a3f0612a59552a5
9b1639af63f7fc82f0e488b452dee0cb7ae22a3b
/atomic/retail/SOURCE/NAVALERT/SRC/AT_SMTP.CPP
3e439004b2d848da8ce014bdbf80c953b30a22c0
[]
no_license
ExpLife/Norton_AntiVirus_SourceCode
af7cd446efb2f3a10bba04db8e7438092c7299c0
b90225233fa7930d2ef7922080ed975b7abfae8c
refs/heads/master
2017-12-19T09:15:25.150463
2016-10-03T02:33:34
2016-10-03T02:33:34
76,859,815
2
4
null
2016-12-19T12:21:02
2016-12-19T12:21:01
null
UTF-8
C++
false
false
4,783
cpp
AT_SMTP.CPP
///////////////////////////////////////////////////////////////////// // AT_SMTP.CPP - Created - 12/05/96 // // Copyright 1992-1996 Symantec, Peter Norton Product Group ///////////////////////////////////////////////////////////////////// // $Header: S:/NAVALERT/VCS/at_smtp.cpv 1.1 22 May 1997 14:30:12 DSA...
0476eb47018bdb05a7f66ef02910b8fef3da8603
1f937750b9f951e3f23a591a126138023dc0a0d2
/main.cpp
9071e758909d2929e858995a9bfb38afe6ed9047
[]
no_license
ErikDeveloperNot/jsonP_dyn_drvr
603de5c8f01297320f2617d4108d0756d54c6b79
42cade3068264bbddd2723491b6c7fdcddfa500c
refs/heads/master
2020-08-10T14:06:21.989898
2020-02-10T05:50:32
2020-02-10T05:50:32
214,357,376
0
0
null
null
null
null
UTF-8
C++
false
false
17,598
cpp
main.cpp
//#include "jsonP_parser.h" //#include "jsonP_buffer_parser.h" #include "jsonP_push_parser.h" #include "net_chunk_impl.h" #include <iostream> #include <iomanip> //#include <fstream> #include <stdio.h> #include <chrono> #include <thread> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> typedef std:...
acc98589efe5c6aff6e666bc158832ba4748fafc
ea491ffd8dbc355a3f6883ce2bab3c76343dd89e
/image_repo_item.cpp
39d15b9c618c507241369b5ae8f70f658c6295e1
[]
no_license
EricJeffrey/MicroContainer
6c7d2ac253cdaa1b52629369a04985bb8bed758e
7f0c6bfb11a4d1d60df828fc3aad28a1c04a4da4
refs/heads/master
2023-02-22T15:13:35.575335
2021-01-13T08:48:21
2021-01-13T08:48:21
248,660,780
1
1
null
null
null
null
UTF-8
C++
false
false
1,281
cpp
image_repo_item.cpp
#if !defined(IMAGE_REPO_ITEM_CPP) #define IMAGE_REPO_ITEM_CPP #include "image_repo_item.h" #include "config.h" #include "utils.h" using std::runtime_error; string ImageRepoItem::toDBString() const { return regAddr + SEP + name + SEP + tag + SEP + imageID + SEP + std::to_string(created) + SEP + std::to...
0b63e62db68ac8053e419674c99e6541dd89e5bc
c3f496bc994e84ad18407af8a675878d34d85886
/function_overloading.cpp
bb595cb9423a7ce3ba2fdc60c8ec63c0aa4d380d
[]
no_license
aniketshelke123/hello-world.io
4157928a5bc8bd632291c02c6aac5281d4df32fe
f341ebdd727cce2b8408021dd03f56fa024d83cf
refs/heads/master
2023-09-04T14:52:32.144491
2021-11-13T06:53:19
2021-11-13T06:53:19
163,723,624
0
0
null
null
null
null
UTF-8
C++
false
false
367
cpp
function_overloading.cpp
# include<iostream> using namespace std; /*program for function overloading sum of two integers */ int sum(int a,int b) { return a+b; } float sum(float a,float b) { return a+b; } int sum(int a,int b,int c) { return a + b + c; } int main() { cout<<sum(10,5)<<endl; cout<<sum(12.5f,3.4f)<<e...
2e4b5d29c00dac30e60d596fd150218181414ea0
9a0cc51d9e4e0440cc5fff61574809425d272673
/WS09/at-home/String.cpp
7b752e22ab50f30bc21edb82696dd6784b82aa32
[]
no_license
cesarcrfilho/OOP244_Workshops
d382e8e3ec84c9fa204edf8c4e4ef72413a7760a
5ee4ab0d4cf1a25e1dff36fbba75285bdb2b3957
refs/heads/master
2021-01-01T15:32:17.204260
2017-08-03T22:42:00
2017-08-03T22:42:00
97,635,758
1
0
null
null
null
null
UTF-8
C++
false
false
4,214
cpp
String.cpp
/*--------------------SENECA COLLEGE----------------------------- Student : Cesar Rodrigues Student ID : 127381168 Email : cda-conceicao-rodrig@myseneca.ca Date : Jul 27 2017 Class : OOP244SCC - Object Oriented Programming Description : Workshop 09 - String implementation file -----------------...
853a32812f85c5c63fab3ed58e66161cbabc3562
e7bf5852fdab04d9c3d86c24b9fc05edb51468ea
/game.hpp
7c2cbb505fc417e96efa2275e2e8183e34a3efd6
[]
no_license
igorternyuk/TeSFMLGameSample
8f15211557dd2437d34c641eff3cb10658915dc8
3e3483e913101c730ed2102b3e3b9a30d5f9f40e
refs/heads/master
2020-03-12T10:47:36.476760
2018-04-30T12:28:14
2018-04-30T12:28:14
130,581,329
0
0
null
null
null
null
UTF-8
C++
false
false
992
hpp
game.hpp
#pragma once #include "world.hpp" #include "player.hpp" #include <SFML/System/Time.hpp> #include <SFML/Window/Keyboard.hpp> #include <SFML/Graphics/Text.hpp> #include <SFML/Graphics/Font.hpp> #include <SFML/Graphics/RenderWindow.hpp> #include <string> class Game: private sf::NonCopyable { public: explicit Game();...
482de6ebb6114893615e19906ad484bd17e8b699
cb896018371ed765cb2698a4ef28df2d1e9f1372
/_help/MyNewPluginTemplate/OsiriXAPI.framework/Versions/A/Headers/vtkLineSource.h
da1c189ea9aceb1d260ffa136c7cd4d53088f385
[ "BSL-1.0" ]
permissive
pixmeo/osirixplugins
5d05672b162615bbd8ca29d6f42a189def5e597f
d06f21f99bf80c2b6b3f138aa0bd5d77ab042953
refs/heads/develop
2021-06-25T18:07:26.170622
2020-11-28T10:43:37
2020-11-28T10:43:37
8,411,919
44
57
null
2020-09-20T21:03:03
2013-02-25T15:33:52
C++
UTF-8
C++
false
false
2,566
h
vtkLineSource.h
/*========================================================================= Program: Visualization Toolkit Module: vtkLineSource.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is d...
7e5efd6b322e4911889202673d858fc1e17b085f
26e089cdfad6834f0792aef058c18620741309a5
/GLScene/sources/Renderables/SkinnedMesh/GLSSkinnedMesh_skinnedVertex.cpp
e54de74a4f18d51f61823f4c7d222b8e9d03223a
[]
no_license
amasson42/GLSScene
fd2ec2127a07c15684fcda3188b897508e73adb4
5cc6661200e9ea3ee8b6e89f298fd4aa9c7d773d
refs/heads/master
2023-08-22T15:51:50.263599
2023-08-09T15:52:11
2023-08-09T15:52:11
129,882,209
1
0
null
2021-04-25T00:28:35
2018-04-17T09:44:32
C++
UTF-8
C++
false
false
2,035
cpp
GLSSkinnedMesh_skinnedVertex.cpp
// // GLSSkinnedMesh_skinnedVertex.cpp // GLScene // // Created by Arthur Masson on 26/06/2019. // Copyright © 2019 Arthur Masson. All rights reserved. // #include "GLSSkinnedMesh.hpp" namespace GLS { SkinnedVertex::SkinnedVertex() { position = glm::vec3(0); normal = glm::vec3(0, 0, -1); ...
698c36aa257ae97a5e4554cb648bf3544e4f5adf
f9ff10a3c8335f4c746e1059e67709f7c1f3c423
/server/src/HttpServer.cpp
ae7d91239a12372b0a4e959c44d171d4c85d7a30
[ "MIT" ]
permissive
rAndom69/WTTSC
2a171f50019872c802062f630a0eede419c58df4
a35150375af813385440bc282294868bd22cdd61
refs/heads/master
2021-01-19T09:24:37.390614
2014-11-25T19:17:49
2014-11-25T19:17:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,197
cpp
HttpServer.cpp
#include "stdafx.h" #include "HttpServer.h" #include <string> #include <algorithm> #include <Poco/File.h> #include <sstream> #include <iostream> const std::map<std::string, std::string> CStaticFileRequestHandler::ContentType = CStaticFileRequestHandler::ContentTypes(); CStaticFileRequestHandler::CStaticFileRequest...
13b0c860b2ad89079fca6b38365b7358e3665ece
eaf42269906a84980cba1ba0a04c1c8b35956db3
/GLEngine/Light.h
008a777540dc490021428838a57e4a845b666834
[]
no_license
Darker1300/GLEngine_2017
438bd777297f2a8ade5277e4674790a20ad3680e
128a71148790ad49093db292741a3c3ef1596630
refs/heads/master
2021-01-22T10:36:31.523388
2017-06-26T07:18:13
2017-06-26T07:18:13
82,019,569
0
0
null
null
null
null
UTF-8
C++
false
false
168
h
Light.h
#pragma once #include "Component.h" class Light : public Component { friend class Scene; public: virtual ~Light(); protected: Light(GameObject* _gameObject); };
0472bd1bf498124b0e336bcc97d76d89a22038e6
d765d42641cc163091885203ef05b8184c244bd4
/reverse_order.cpp
368c793b47d6c86c8ec5911c5b5e287fc6bc635a
[]
no_license
IamLJT/51nod
248f4e0173c2c8b2776500116e9fd65f62961653
6566cdb1a90812d072501f0c216deb5f3154e7a4
refs/heads/master
2020-05-21T17:54:35.699449
2016-09-28T05:33:29
2016-09-28T05:33:29
62,032,864
1
0
null
null
null
null
UTF-8
C++
false
false
778
cpp
reverse_order.cpp
#include <iostream> #include <vector> #include <set> typedef long long ll; using namespace std; int rev_order(vector<ll> nums) { set<ll> num; int sum=0, temp; set<ll>::iterator it; for(int i=nums.size()-1; i>=0; i--) { temp=0; num.insert(nums[i]); /*for(it=num.begin();it!=nu...
79727b3399c5e2043966e34e20f172e7278513ab
79e5e976f71a44e26fca8e2f05527c80979774d5
/ImGuizmo.cpp
aa8f8d606a800dae33de7c759834d2c49d1653dd
[]
no_license
gamedevtech/ImGuizmo
310e033133e88d057991e6514d01cbdbc1198218
087995a2e810df4ec31947a85dd88855aa50f699
refs/heads/master
2020-12-25T20:54:18.459978
2016-08-16T09:28:03
2016-08-16T09:28:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
32,286
cpp
ImGuizmo.cpp
#include "imgui.h" #include "imgui_internal.h" namespace ImGuizmo { /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // utility and math void FPU_MatrixF_x_MatrixF(const float *a, const float *b, ...
4995a4cc92146e9096eca130c134fd3f7073921d
fa1efdcd4287550a3193129cd6bb15c702395666
/Source/ParkourGame/UMG/UMG_Main.cpp
5607ab224c3a14e5c9d4c1eabeaa1f491dea4868
[]
no_license
XavierLynn/ParkourGame
04f59658bc951ef940d5468b2c8c597e521292d7
a9ebdbb3cf32dfecdcc769caa95c1b7519c3d45c
refs/heads/master
2023-03-29T06:55:03.437376
2021-03-26T10:44:19
2021-03-26T10:44:19
348,657,235
0
0
null
null
null
null
UTF-8
C++
false
false
104
cpp
UMG_Main.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "UMG_Main.h"
654884be93cc68260e2d7e815e86fd04f965dfda
041eda29f1d83b17c51fba455414814fbcc1d418
/src/goal_pub.cpp
68932119a25d28556b9b07e6e76a42b421c7394d
[]
no_license
AdarshJS/frozone
44a350a08dbf1a329f36413af21ef0ab038cce0a
9ca27c94b3f9d6b8fd96db122596b986cb4f1352
refs/heads/master
2022-04-08T12:29:04.690281
2020-03-24T19:18:11
2020-03-24T19:18:11
224,165,820
1
2
null
null
null
null
UTF-8
C++
false
false
516
cpp
goal_pub.cpp
#include <ros/ros.h> #include <geometry_msgs/Twist.h> int main(int argc, char **argv){ ros::init(argc, argv, "Goal_Pub"); ros::NodeHandle nh; ros::Publisher pub = nh.advertise<geometry_msgs::Twist>("/jackal/target/position", 1000); ros::Rate rate(10); float x = 4.0; float y = 4.0; std::cout << "Sending goal position...
d24ccbc2e9096d59a8ab16e543aa9d8ac372d0e8
5e9561e1844cab824eafe7bbcc7976b274454a61
/Engine/Code/Quantum/FileSystem/Path.h
92120c9ef87320357766f1d7a34830b4ad650000
[]
no_license
Dolphiniac/Vulkan
33da758bbd5cbe3015a541c93731f384594d3ba7
5a8a08d57eb1b6ebcb0195dc15cb821fc9a44882
refs/heads/master
2021-06-23T05:00:55.799963
2017-08-30T03:31:29
2017-08-30T03:31:29
101,833,684
5
0
null
null
null
null
UTF-8
C++
false
false
419
h
Path.h
#pragma once #include "Quantum/Core/String.h" #include <vector> //----------------------------------------------------------------------------------------------- class QuPath { public: static void InitializeDataPath(); public: static QuPath s_dataPath; private: void InitializeDirectory(); private: QuString m...
86633e40cee3707138ae2a0b99c47fe85b380413
fc8b6b462b9dafb4ca2713cc0e42fc49b56ac721
/ProyectoInf-Tanque2D/Tanque2D/src/Suelo.h
2a3833d5ca0d9ee6dd2dc525ddd95550e2f81e94
[]
no_license
Dela99/TrabajoInfor
c0a6bfaba749fbf781fe1112860cd0a2ceeab0f1
93147955d4e4c86cdd63ed36bc902dcf2a7a6395
refs/heads/main
2023-05-10T08:23:27.324794
2021-06-07T23:21:43
2021-06-07T23:21:43
374,823,840
0
0
null
null
null
null
UTF-8
C++
false
false
264
h
Suelo.h
#pragma once #include"ColorRGB.h" #include "freeglut.h" #include "Pared.h" class Suelo { Vector2D limite1; Vector2D limite2; public: Suelo(float a = 0, float b = 0, float c = 0, float d = 0); //Limites pared virtual ~Suelo(); void Dibuja(); };