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
5c90a9d598eebd65bce5a5b4a526a62ccd6316f6
dcc24fc80aa51ff82b0505b43fb0a4f71943551b
/StaticServerLib/DatabaseServer/pch.h
b4775a6b4bc9360b31ccd7b49bc870b7d065d579
[]
no_license
Kaiose/IOCPServer
b2ff875f4e3c1e9344e625ae604d6e29f769de8a
f220bf3fea0c186127e3437d2c86c62c37a12606
refs/heads/master
2020-05-31T06:00:24.069911
2019-06-04T04:31:30
2019-06-04T04:31:30
186,598,905
0
0
null
null
null
null
UTF-8
C++
false
false
2,143
h
pch.h
// 시작을 위한 팁: // 1. [솔루션 탐색기] 창을 사용하여 파일을 추가/관리합니다. // 2. [팀 탐색기] 창을 사용하여 소스 제어에 연결합니다. // 3. [출력] 창을 사용하여 빌드 출력 및 기타 메시지를 확인합니다. // 4. [오류 목록] 창을 사용하여 오류를 봅니다. // 5. [프로젝트] > [새 항목 추가]로 이동하여 새 코드 파일을 만들거나, [프로젝트] > [기존 항목 추가]로 이동하여 기존 코드 파일을 프로젝트에 추가합니다. // 6. 나중에 이 프로젝트를 다시 열려면 [파일] > [열기] > [프로젝트]로 이동하고...
43e89234f942336af2e4d0f4a382c82241007479
83220a9e4c64babd163da3e8d345de3b597a8707
/16open/harry/reduce_silver.cpp
5d7f6e1bf74069a1a20af3245d3ac9fa6a2f2652
[]
no_license
hzhou/usaco
bd9dfa8be88206ad9f152edce81ea63b0f119ba7
928777159d8243fc0f6e0bdb26ec0b094a0ec30f
refs/heads/master
2021-12-23T05:27:38.817952
2021-12-12T16:23:44
2021-12-12T16:23:44
177,450,503
1
13
null
null
null
null
UTF-8
C++
false
false
2,214
cpp
reduce_silver.cpp
//Harry Zhou //10 mins //Just made some quick changes to my bronze level code #include <cstdio> #include <algorithm> #include <limits.h> struct pos { int x; int y; }; int N; pos *plist; int rempts(int pt1, int pt2, int pt3); int main() { FILE *fileIn = fopen("reduce.in", "r"); FILE *fileOut = fopen(...
466edf2fb5098925b9f71780b1938e72a277750d
3052a300aa07c180f871ec20ad24fa41e7dffabc
/event_dispatcher.h
60ec7ef8fdde025de1c732b8d0a9a3a319987218
[]
no_license
Sir-Branch/Hanabi-Card-Game
3e70316647b3d7713e5ec8dc11ada04fa4a5a589
0379eada7089b5efcd40bc46c8746ad5b92e177b
refs/heads/master
2021-01-11T02:15:57.450332
2018-02-09T12:45:29
2018-02-09T12:45:29
71,005,955
1
0
null
null
null
null
UTF-8
C++
false
false
416
h
event_dispatcher.h
/* * File: event_dispatcher.h * Author: r2d2 * * Created on February 12, 2017, 7:46 AM */ #ifndef EVENT_DISPATCHER_H #define EVENT_DISPATCHER_H #include "hanabi_events.h" #include "hanabi_game_data.h" #include "hanabi_game_fsm.h" void dispatch_event(hanabi_game_event_t event, hanabi_game_data_t * hanabi_game...
407d2c16ff7c1202a731fd2359120b8fcd525cda
ad2fc3e73ae6d40b2ab5c3a8d2763ae5c3a9e374
/Tempest.cpp
cf2586e77ac0a22b16708a611d9f63fab43c6021
[]
no_license
yjkim214/Mr.HwangTeamProject
217b9ad5bedfa7df95e70880a9ffba1fb4c2967c
52b05e7966450e78ffd9ceef3d3abbf2504828e8
refs/heads/master
2021-01-02T08:54:18.302642
2017-01-19T08:10:08
2017-01-19T08:10:08
78,611,105
0
0
null
null
null
null
UTF-8
C++
false
false
7,186
cpp
Tempest.cpp
#include "stdafx.h" #include "Tempest.h" #define Tempest_ANI_COUNT 5 #define DELAYTIME 10 HRESULT Tempest::init(void) { _att = PLAYERDATA->getTematt(); _def = PLAYERDATA->getTemdef(); _hp = PLAYERDATA->getTemcurrenthp(); _maxHp = PLAYERDATA->getTemMaxhp(); _mp = PLAYERDATA->getTemcurrentmp(); _maxMp = PLAYER...
9672d14688810cd761d998e644d4c223ea838b40
2e25fb77fccf3dbf574d1ba7bc758bb76a527c93
/Engine/IComponentManager.cpp
f315fad9d7b2accc8862e073354f62bc0eb957c2
[]
no_license
SebastianMechler/NEngine
31b8f3d7b130f64e75927b52853e2279d1496505
01edfa95aa6be168a57592b776a78841501b05ef
refs/heads/master
2021-03-13T01:36:32.290148
2017-05-17T16:10:58
2017-05-17T16:12:13
91,476,599
0
0
null
null
null
null
UTF-8
C++
false
false
930
cpp
IComponentManager.cpp
#include "IComponentManager.h" #include "NMemory.h" namespace Nully { IComponentManager::IComponentManager() { for (auto& e : m_components) { e.second->Start(); } } void IComponentManager::RemoveComponent(IComponent* a_component) { //auto it = std::find(m_components.begin(), m_componen...
137cc492c66e3ae6e582e92d1249a689b4ab30dd
2d639bec3bec55a477258a2e4a636871801d0279
/13081-xor-sequence-revisited.cpp
ce777eded27d7e813f300900912eb6c2a180443d
[]
no_license
muskanmahajan37/uva
06af32e04ff8ee0d44b8ac969182e969cb18ea32
2c8badb2159802c9b78fab963ae8a7c063b7c03e
refs/heads/master
2021-10-16T00:36:28.651151
2019-02-07T14:15:39
2019-02-07T14:15:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
610
cpp
13081-xor-sequence-revisited.cpp
//Status : TLE //email:siriuslyra94@gmail.com #include <bits/stdc++.h> #define pb push_back #define mp make_pair #define umap unordered_map #define ll long long #define vsort(v) sort(v.begin(),v.end()) #define lcm(a,b) (a*b)/__gcd(a,b) using namespace std; typedef pair<int,int> ii; typedef vector<ii> vii; typedef v...
7aca6f1834b7ae9688e69f3738cad27862e19720
69dcc71e6fc71d3045619f8dc3f2c7c88fc3f940
/HAPI_Start/Screen.h
8737e9f2c0385d9f93b7e45015b6dc8594026afa
[]
no_license
JoeGeC/GamesEngineConstruction
9e43429cc2f6c55c082ae2bf80767008cbe09077
ec45a234f85c72d1c0a5f3507d953aed39d50d65
refs/heads/master
2020-04-07T05:39:10.140208
2018-12-15T18:06:21
2018-12-15T18:06:21
158,104,121
0
0
null
null
null
null
UTF-8
C++
false
false
286
h
Screen.h
#pragma once #include <HAPI_lib.h> using namespace HAPISPACE; class Screen { public: Screen(); ~Screen(); void ClearToColour(BYTE *screenPointer, HAPI_TColour colour); int GetScreenWidth(); int GetScreenHeight(); private: int screenWidth{ 1000 }; int screenHeight{ 720 }; };
628ac0dea962250873d755d780041c805e3687fd
223a4db6b898395adf1eb88f93c0e5b4baf3175e
/Geometry.cpp
e289ba5edf31530a2c5cdb0c21266c34ee941aa8
[]
no_license
juniorandrade1/Notebook18
b8e0515663d9d01390e12f23ccce58fd20cbd434
fd8a2d2f1e575b5ea69994de698aee0fdb277760
refs/heads/master
2020-03-25T09:04:01.545211
2018-11-07T15:49:45
2018-11-07T15:49:45
143,645,657
2
0
null
null
null
null
UTF-8
C++
false
false
2,647
cpp
Geometry.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; #define EPS 1e-8 inline int cmp(double a, double b = 0) { return (a < b + EPS) ? (a + EPS < b) ? -1 : 0 : 1; } struct Point { ld x, y; Point(){}; Point(ld _x, ld _y) { x = _x; y = _y; } void read(){ ...
a7820ffe97d8519609b8e44b2b696281edd5f18d
92d639cfe49cb9773b5a4e0f98040a1034cf4216
/Apps/Employee/EmployeeApp.cpp
95e4e493a2a6dda3b956d531bfdc7518c6a6a784
[]
no_license
steetstyle/Training-CPP-Examples
a47e2249ac27ba2a45edccaf51b8dbaeabe03a07
b31ea501cd34bd0e0e8cd0bdee3d0ffeafa7e7f1
refs/heads/main
2023-02-16T15:50:37.431656
2021-01-13T10:13:21
2021-01-13T10:13:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,411
cpp
EmployeeApp.cpp
// // Created by roy on 17.12.2020. // #include "EmployeeApp.h" #include "iostream" #include "list" #include "../../Commands/ExitCommand.h" #include "Commands/CreateCommisionEmployeeCommand.h" #include "Commands/InsertCommisionEmployeeCommand.h" #include "Commands/ReadEmployeesFromFileCommand.h" #include "Classes/Bas...
771c19eff1ba2252c8e2e7c2663bd731f46614e8
4dbaea97b6b6ba4f94f8996b60734888b163f69a
/NowCoder/数组求和统计.cpp
0fe0680320454598a6c191a300f71001b8b772ef
[]
no_license
Ph0en1xGSeek/ACM
099954dedfccd6e87767acb5d39780d04932fc63
b6730843ab0455ac72b857c0dff1094df0ae40f5
refs/heads/master
2022-10-25T09:15:41.614817
2022-10-04T12:17:11
2022-10-04T12:17:11
63,936,497
2
0
null
null
null
null
UTF-8
C++
false
false
491
cpp
数组求和统计.cpp
class Solution { public: int countLR(vector<int> &a, vector<int> &b) { int size = a.size(); if(size == 0) { return 0; } for(int i = 1; i < size; ++i) { a[i] += a[i-1]; } int cnt = 0; for(int i = 0; i < size; ++i) { for(int j = i; j < size; ++j) { int accumulate; if(i == 0) ...
fab9a42fbe73294472efff18e174d70895310a01
74e47ff165a86f642f340fdc880c138e5d01ce2f
/testpoop.cpp
4b7c27ffa83b3bfd96b1755e87569047165a21ee
[]
no_license
ctakasakaubc/Test_1
ecab21efbc1889e4254736326f60afc06c8e6e73
a943b1cf7396890641e4e19b38f74e81e5191930
refs/heads/master
2022-12-31T06:52:23.026207
2020-10-18T19:02:04
2020-10-18T19:02:04
298,871,195
0
0
null
2020-10-18T19:02:05
2020-09-26T18:02:15
C++
UTF-8
C++
false
false
1,985
cpp
testpoop.cpp
#include <iostream> #include <string> using namespace std; void isPrime(int userNumber){ if(userNumber > 100){ cout << "Your number is too big to waste time figuring out if it's prime"; }else{ bool isPrime = true; // duh int i; // factor iterator if(userNumber == 0 || userNumb...
08a035a0b9d6ab67b2b99fbeda2d78e21420a2a4
0f1b8a3281c10461e169933bfc4d8f66ba2a6079
/LogicOperator.cpp
9fb6ded7fa16f0ea5af4afe7cec430e468e80491
[]
no_license
Direckton/tuc
752af6b3c5917894ba19e266d27cb13b9c2e473d
ce023f37c3313eba10df21c19fadf261e696bb56
refs/heads/master
2023-03-09T16:34:14.417719
2021-02-28T01:56:34
2021-02-28T01:56:34
317,327,564
0
0
null
null
null
null
UTF-8
C++
false
false
2,403
cpp
LogicOperator.cpp
/** @file */ /* Basically_tuc Projekt ppk */ #include "LogicOperator.h" bool gate(bool state1, bool state2, string gate) { if (gate == "AND") { return state1 and state2; } else if (gate == "NAND") { return !(state1 and state2); } else if (gate == "OR") { return state1 or state2; } else if (gate ==...
476a4ac06952c506629284b3002bda54337e2ad6
43e9ceece978228be0c9859fb43edfd3a4c266a0
/cytosim/src/base/conjgradient.h
4994e7d0fa2c075eba1d2e8c158b580e2eed9fef
[]
no_license
CyCelsLab/Multi-aster-swaming
ef4eb28d229235ee9887c12bf5792dfe8ea6d3e1
a3fb7241960c3664a245210accd6bd0ffcbfe4f0
refs/heads/master
2022-11-19T22:39:20.914910
2020-07-25T18:06:34
2020-07-25T18:06:34
260,443,252
0
0
null
null
null
null
UTF-8
C++
false
false
2,615
h
conjgradient.h
//RCS: $Id: conjgradient.h,v 2.1 2005/04/22 11:52:47 nedelec Exp $ //----------------------------------------------------------------------------- // conjugate gradient and related iterative methods // to solve linear systems: http://www.netlib.org/templates //-----------------------------------...
e1b32ff4889007c7b3cf088c4cdf1c3d3dedad6b
8d88c774dd7979401f434c1b0e35e4cb9a42938e
/Tree/426.Convert Binary Search Tree to Sorted Doubly Linked List.cpp
74547528fca95262234d6a4e0e512db387b2d2c1
[]
no_license
yycccccccc/Leetcode
15a76eca96f6d5420416d806b5372bdf2c55efbf
8e879cc1495e47f1230e968b941543326cb28f38
refs/heads/master
2020-05-27T08:09:58.411710
2019-03-28T06:46:43
2019-03-28T06:46:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,119
cpp
426.Convert Binary Search Tree to Sorted Doubly Linked List.cpp
题意: 把一个二叉搜索树转换成双向链表。 方法一:递归+中序遍历 思路: 1.首先题目中是二叉搜索树,二叉搜索树的性质是左<中<右,因此利用中序遍历能更好的应用这个性质。 2.通过观察例子也发现链表的顺序和中序遍历二叉树的顺序一致,因此使用中序遍历。 3.在中序遍历的过程中,先左子树遍历,再链接根结点,再遍历右子树。注意因为要生成双向链表,因此需要一个头结点来记录初始位置,还需要cur结点记录遍历到的位置。 4.因为Node结点中已经有left和right两个指针,因此每次双向连接吗,最后把头结点和cur结点连接起来即可。 /* // Definition for a Node. class Node { public: i...
d4dbb764a6bcff4fa940dd391cb57c626dffc6d4
c107f05542d22c310733604878fcd8f3745ab35f
/leetcode/_001539_kthMissingPositiveNum.cpp
590869c748eac801b9e59cb6a4be779a3166549f
[ "MIT" ]
permissive
cbrghostrider/Hacking
b9f867e9f5bab476a109098ab768254225d86a06
bec6ede4682595e39c985ee55e5db1c0bc3ddff9
refs/heads/master
2022-03-10T19:06:14.155969
2022-02-15T06:19:13
2022-02-15T06:19:13
33,151,888
6
5
null
null
null
null
UTF-8
C++
false
false
1,353
cpp
_001539_kthMissingPositiveNum.cpp
class Solution { public: int bruteForce(const vector<int>& arr, int k) { int num_missing = 0; int lastChecked = 0; for (const int val: arr) { int new_missing = val - lastChecked - 1; if (num_missing + new_missing < k) { num_missing += new_missing; ...
3d78b1c11026f605307a3b40a4751c3d2ff71559
3cf63b1279882e9501885ad7c2b771d8d43a84a3
/FourInOneLine/FourInOneLine/Board.cpp
abda2925886bea550b3bb223ea5fa38f4a6d49ce
[]
no_license
RockGFY/AI-4in1Line
8059a5d57ac3c8d8d1733df30f13e76da54641fb
6233710b9643d07dffa4072b3a118710cb80080a
refs/heads/master
2021-10-22T00:27:42.568499
2019-03-07T09:45:18
2019-03-07T09:45:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,192
cpp
Board.cpp
#include "pch.h" #include "Board.h" #include <iostream> #include <bitset> using namespace std; Board::Board() { } Board::~Board() { } bool Board::playerInsert(unsigned move) { if (canInsert(move)) { gameBoard = gameBoard | (1LL << move); playerBoard = playerBoard | (1LL << move); retu...
dc76dcf3f2615d2bdb8ee049be91d797f7dd596a
f0f29acb3a79674caf3ca5b454fa05af7b44a7e4
/2015-02-11/npriorityqueue.hpp
3ab0560be3886ab06e8b968e69cd1d89a61f20d5
[ "MIT" ]
permissive
devonhollowood/dailyprog
a11ca18904e3830ab91a2d4a8c5e2d6386d9d9f1
5f3f17309550add4d0d586077a8b27dad8f3e91e
refs/heads/master
2021-01-23T13:49:58.503170
2016-02-16T06:19:25
2016-02-16T06:19:25
29,341,261
0
0
null
null
null
null
UTF-8
C++
false
false
2,719
hpp
npriorityqueue.hpp
#include <array> #include <list> #include <deque> #include <utility> #include <algorithm> #include <functional> template <typename ValType, size_t NQueues, typename PriorityType> class NPriorityQueue{ public: //types using PriorityList = std::array<PriorityType, NQueues>; //functions /* Adds _val...
e5a1b015389f2dc10c5b2fa960a962f5af43be91
83c1ca8dbc6cd31b7083ad2ad93377b77d841b1b
/code/VDO-code-1.8/VDO-code-1.8.ino
452fb3c8778b3b8d1545c95b5e591a9793e8b949
[]
no_license
MATTHEW-QUIRKE/vdo-tach
a48519bdf06fc285ef8c767c547d6e01b8ce5a95
d8a38516c14c2a867a2f91fd5bc0e8bdd0ada8c8
refs/heads/master
2022-12-12T19:03:15.624781
2020-09-01T08:08:14
2020-09-01T08:08:14
288,907,457
0
0
null
null
null
null
UTF-8
C++
false
false
2,721
ino
VDO-code-1.8.ino
#include <Wire.h> #include <Adafruit_GFX.h> #include <Adafruit_SSD1306.h> #include <U8x8lib.h> char rawline[10]; char data[100]; char output[10]; char rawOutput[10]; char line[100]; float meter; U8X8_SSD1306_128X32_UNIVISION_SW_I2C u8x8(/* clock=*/ 8, /* data=*/ 9, /* reset=*/ U8X8_PIN_NONE); // Adafruit Fe...
ad360f62ee8ca426d215614b6490be22d66f50f6
362a22831c9640bb675b4d06cab7515148192aed
/SmartBoard.ino
1c29f295654703aef117f0d76c9a886c6df53a7a
[]
no_license
hannanmustajab/FireBaseAlexaESP8266Switch
01472470cc5cf6033970f7012bdf642981a31911
52e4d7060986e6260597d6e450cad216f80ea854
refs/heads/master
2020-03-27T09:24:05.103275
2019-03-11T16:47:46
2019-03-11T16:47:46
146,337,711
0
0
null
null
null
null
UTF-8
C++
false
false
3,953
ino
SmartBoard.ino
#include <ESP8266WiFi.h> #include <ESP8266WebServer.h> #include <WiFiUdp.h> #include <functional> #include "switch.h" #include "UpnpBroadcastResponder.h" #include "CallbackFunction.h" #include "wifimanagment.h" #include<FirebaseArduino.h> #define FIREBASE_HOST "###" //Your Firebase Project URL goes...
61d10ccd2e509817d1bf7d75ac67ef3760039407
40058d1755e925e5b14b10f719fc68235cbf3800
/main.cpp
5119aa30e95534f5342c41c941bc4cd261aafff0
[]
no_license
cppkhartna/SolarSystem
284da3bd29422eae53e9bb793c4490fb5beb0733
12c9a619a5a628fc500aa7ec114ada35c669f990
refs/heads/master
2020-05-18T11:04:43.716080
2017-07-03T13:51:54
2017-07-03T13:51:54
13,627,668
0
0
null
null
null
null
UTF-8
C++
false
false
5,565
cpp
main.cpp
#include "SolarSystem.h" #include "main.h" GLfloat LightAmbient[] = { 0.5f, 0.5f, 0.5f, 1.0f }; GLfloat LightDiffuse[] = { 1.0f, 1.0f, 1.0f, 1.0f }; GLfloat LightPosition[] = { 0.0f, 0.0f, 0.0f, 1.0f }; SolarSystem ss; int mouse_x = 0, mouse_y = 0, mouse_button = -1, mouse_state = GLUT_UP; int frame=0, Time, timebas...
b78f42c634447ee6aa1de23d8df376d3477259df
e9d3bc2bcd0d5761b67a539182b5076bdb38d03a
/personal_infomation.h
4592d20cb4c96ce1c4096e8273ce303f6bcb3635
[]
no_license
Joeywzr/f0rum
54da5e6759ae4ead6011f156474f23055e2963e2
73a454eb26195d27fac7c08164cb13fbc3611106
refs/heads/master
2020-04-05T11:59:06.982825
2018-12-28T07:50:27
2018-12-28T07:50:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
548
h
personal_infomation.h
#ifndef PERSONAL_INFOMATION_H #define PERSONAL_INFOMATION_H #include "headers.h" namespace Ui { class Personal_infomation; } class Personal_infomation : public QDialog { Q_OBJECT public: explicit Personal_infomation(QWidget *parent = 0); ~Personal_infomation(); int id; QString username; QSt...
d1e2620b8ac14c3fb18fbdee1bbf24944c853fd5
768316ed72470715e641fda62a9166b610b27350
/02-CodeChef-Easy/153--Killing Zombies.cpp
d8a96de921c2c4a7fbc2f331ecb7d8bcc3938dab
[]
no_license
dhnesh12/codechef-solutions
41113bb5922156888d9e57fdc35df89246e194f7
55bc7a69f76306bc0c3694180195c149cf951fb6
refs/heads/master
2023-03-31T15:42:04.649785
2021-04-06T05:38:38
2021-04-06T05:38:38
355,063,355
0
0
null
null
null
null
UTF-8
C++
false
false
4,292
cpp
153--Killing Zombies.cpp
#include<bits/stdc++.h> #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define ll long long #define ull unsigned long long #define Toggle(n,i) (n^((ll)1<<i)) #define Check(n,i) (n&((ll)1<<i)) #define Set(n,i) (n|((ll)1<<i)) #define Reset(n,i) (n&(~((ll)1<<i))) #define fo(a,x,y) for(int i=(x);i<=(y);++i){...
11d66d4ce00167c7a2838f91b77c94198af8750c
7569574767dd194a830e60e215ceadffa115b855
/src/MocotoVolumeTarget.cc
607636395bc4c0e417bbbe9b9e1a4ce81461ae5b
[]
no_license
zhwren/Mocoto
06f29c1fc74629f6411ad1191db780bfeaddb112
33394cbac73907266149f1c677e3037baf31378d
refs/heads/master
2021-01-17T13:30:30.825257
2016-07-04T09:04:08
2016-07-04T09:04:08
40,347,280
0
0
null
null
null
null
UTF-8
C++
false
false
5,649
cc
MocotoVolumeTarget.cc
/*********************************************************** * _ooOoo_ * * o8888888o * * 88" . "88 * * (| -_- |) * * ...
648df5dbeedcee2aafca75df649a3fe9da313e60
bc5db4dbb41a4267cdff03af77d5c4757bb475c4
/src/butterfly/private/property_decoder.cpp
920a7058223081bfca5ad6f5ee59376c4e676de9
[ "Apache-2.0" ]
permissive
mavjs/butterfly
fc772ddd9c2d55f204bd6cf8af55b92e9966b64f
339e91a882cadc1a8f72446616f7d7f1480c3791
refs/heads/master
2023-03-10T17:47:34.923310
2021-02-22T22:37:59
2021-02-22T22:37:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,161
cpp
property_decoder.cpp
/** * @file property_decoder.cpp * @author Robin Dietrich <me (at) invokr (dot) org> * * @par License * Butterfly Replay Parser * Copyright 2014-2016 Robin Dietrich * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License....
c936c7487abc948ccd7d412a856f8e11077b78ee
2cad65fd1988c2c23881403e596d2803891c681d
/commonClassesTests/testsMain.cpp
b5a7561e3aec9ed59b7cc369fdd5f89b0ce7c8c3
[]
no_license
andriybun/g4m-visual-studio
84f7a60c5497b24698c2ce8676287c8a3b4eb2e1
3bbc5d68e4f9ac5cf2ec94dbf6c99187de8c4ff7
refs/heads/master
2021-01-02T08:20:36.993096
2012-07-06T15:28:44
2012-07-06T15:28:44
32,204,801
0
0
null
null
null
null
UTF-8
C++
false
false
431
cpp
testsMain.cpp
#include <tchar.h> #include "tests.h" #include <iostream> #include "staticArrays.h" #include "dynamicArrays.h" int _tmain(int argc, _TCHAR* argv[]) { //array(int, arr, 100); //arr[100] = 99; //std::cout << arr[100] << std::endl; //dynamicArray<double> dar; //dar.allocate(10); //dar[1] = 9; //s...
ad8e9854f3b70e1f7291fd2ecda85450f14b1b00
21f7639aa6bbfc421fed3e28f94c47b5f6dfa39c
/src/util/tools.hpp
9fbadf75afd954e96f675698ac13affe2534e725
[]
no_license
hthappiness/codebase
06d3fe41ed97b791fc53ca1e734fca1234cd82e0
fb2af5f250d0ac69ba3dc324cbf65c34db39fd5c
refs/heads/master
2021-07-23T04:09:36.361718
2021-07-11T13:41:40
2021-07-11T13:41:40
233,802,062
0
0
null
null
null
null
UTF-8
C++
false
false
8,520
hpp
tools.hpp
#include <iostream> #include <chrono> /* The ulitity about time ,the function ,the class, the object, the operation, the variables These resources are well organized by the c++ library. 1、基本功能的正交 2、好用、直观的接口 3、 OOP + template 的组织方式 std::chrono::stready_clock ; std::chrono::system_clock ; std::chrono...
bcba6b50f497e3be7e3b8a10d2e379bc41eb317a
d813d5b1cc476c26cb54a398d3a0b5456a2deebc
/p60ary_max_rand.cpp
22f24c9dd00b2f29a4fa102cb0344cdb68a00d43
[]
no_license
kyun1016/2019.04.30-
d1ce7655b10f4dc1fef89d203f7e29cd3d5b7eb1
2e8814db236272fcc7c6032681aa8518e15e85dd
refs/heads/master
2020-05-18T07:37:07.440063
2019-04-30T14:29:20
2019-04-30T14:29:20
184,269,917
0
0
null
null
null
null
UHC
C++
false
false
1,312
cpp
p60ary_max_rand.cpp
//#include <time.h> //#include <stdio.h> //#include <stdlib.h> // ////const int a[]는 const int* a와 같다. //int maxof(const int a[], int n) { // int i; // int max = a[0]; // for (i = 1;i < n;i++) if (a[i] > max) max = a[i]; // return max; //} // //int minof(const int* a, int n) { // int i; // int min = a[0]; // for (i = 1...
83b0b080ae343182d9a5343157adc8fdeb7e96c3
66245c384df89909b354174b812e408a7d972bfb
/unit_tests/interface/layout_transformation/test_layout_transformation.cpp
0fed55ab67d18ba0db59b2df679d0a5402e2a971
[ "BSD-3-Clause" ]
permissive
cosunae/gridtools
c2cf3d1d313784cdf0adb4519ed0db3305b3551a
fd527f77542d2e81b32fbf95c9d76ed891241ebb
refs/heads/master
2020-05-24T08:41:57.507982
2019-05-16T07:48:40
2019-05-16T07:48:40
187,188,189
0
1
NOASSERTION
2019-08-19T20:40:43
2019-05-17T09:30:51
C++
UTF-8
C++
false
false
6,258
cpp
test_layout_transformation.cpp
/* * GridTools * * Copyright (c) 2014-2019, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #include <gridtools/common/array.hpp> #include <gridtools/interface/layout_transformation/layout_transformation.hpp> #include <gt...
1ff757e4d18f6c7bff62352400713da22905dc6c
c97601be79bd6dc3327accb8acad5e290bff4325
/c+++++/chongzai==.cpp
1800ee8d4ceb3f0c11822da553b529dc6325fbb2
[]
no_license
helll-art/C-
414bc9d1e87f6196afa6b4e0a2e3f5bc2bfcba43
504e5a1a6c12e390bac5c451a96791965bd43df4
refs/heads/main
2023-02-22T23:52:31.065005
2021-01-25T14:36:41
2021-01-25T14:36:41
303,094,746
0
0
null
null
null
null
UTF-8
C++
false
false
798
cpp
chongzai==.cpp
#include<iostream> #include<string> using namespace std; class Person { public: int age; string name; Person() { int age = 0; name = "null"; } Person(int m_age,string m_name) { age = m_age; name = m_name; } bool operator==(Person &p) ...
d9ace4911d9a03b0934b101892f89251cb7bac59
1cca952aa5ec989818fcdb7af36e1930ced3e900
/Nova/Nova/Platform/ImGuiOpenGLLayer.h
f4b6306190d06a09e4b26be285965c1c09c9f040
[ "Apache-2.0" ]
permissive
Aaron-Berland/Nova
637802211dbca87d50aea51370f1cfab4ed60be9
1b8587548c58adda27bd2b699bf4229e18f30e13
refs/heads/master
2021-07-02T21:24:47.209701
2021-06-29T01:05:01
2021-06-29T01:05:01
214,861,609
0
0
null
null
null
null
UTF-8
C++
false
false
443
h
ImGuiOpenGLLayer.h
#pragma once #ifndef IMGUIOPENGLLAYER_H #define IMGUIOPENGLLAYER_H #include <Nova/ImGui/ImGuiLayer.h> namespace Nova { class NOVA_API ImGuiOpenGLLayer : public ImGuiLayer { public: virtual ~ImGuiOpenGLLayer(); virtual void OnAttach() override; virtual void OnDetach() override; virtual void OnImGuiRender() ...
703ba9b00085fa01326dabe8eb4585c04072ae46
de21f9075f55640514c29ef0f1fe3f0690845764
/src/goto-instrument/insert_final_assert_false.h
3cfec86177282ac6671002e8f1efc505db83af9d
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-4-Clause" ]
permissive
diffblue/cbmc
975a074ac445febb3b5715f8792beb545522dc18
decd2839c2f51a54b2ad0f3e89fdc1b4bf78cd16
refs/heads/develop
2023-08-31T05:52:05.342195
2023-08-30T13:31:51
2023-08-30T13:31:51
51,877,056
589
309
NOASSERTION
2023-09-14T18:49:17
2016-02-16T23:03:52
C++
UTF-8
C++
false
false
1,869
h
insert_final_assert_false.h
/*******************************************************************\ Module: Insert assert(false) at end of entry function Author: Nathan Chong, Kareem Khazem \*******************************************************************/ /// \file /// Insert final assert false into a function /// This transform can be use...
7a8fde3209198bb71b20e9ee131a806da247f05a
c715aa16b410ef6148834a92628244629ee1685e
/Module15-9/chat.h
1e892f53955b0aaec8d18f04a3f2c78d1cea8dff
[]
no_license
OlgaPolevik/Module15-9
6fed9d855b6d11678071bb93c717573227582a1e
1e544ac166abb5a73b5bc1129360d30fd85b5552
refs/heads/master
2023-08-06T11:27:31.203619
2021-09-15T07:46:22
2021-09-15T07:46:22
406,661,312
1
0
null
null
null
null
UTF-8
C++
false
false
481
h
chat.h
// // chat.h // Module15-9 // // Created by Ольга Полевик on 13.09.2021. // #ifndef chat_h #define chat_h #include "sha1.h" #include <string> #include "Authdata.h" #include "hash.h" #define SIZE 10 class Chat { public: Chat(); void reg(std::string _login, std::string _pwd); bool login(...
cef7a7f500503e37fa05f8cef275f9b42e2c7b84
5c40314d1ab9da8b2c512e305c17002cca71d8be
/theory.cpp
d6dd05fcbd1ef2bfeb961414c5c1db3882d0a323
[]
no_license
aribrown/MIDI_Console_Fun
32b6cb1d6aca6345666778bbf179a842d745d8ba
6f927696345c2a9f2d987a89f5a95dee054aa91f
refs/heads/master
2020-12-24T09:52:22.459631
2016-11-09T09:07:03
2016-11-09T09:07:03
73,267,493
0
0
null
null
null
null
UTF-8
C++
false
false
5,211
cpp
theory.cpp
// theory.cpp #include<iostream> using namespace std; #include "constants.h" #include "note.h" #include "staff.h" #include "theory.h" Chord::Chord() { tonic = 0; two = 0; three = 0; four = 0; five = 0; six = 0; sev = 0; n = 0; } CHORD Chord::populate_c...
2796c089fb1eacd9fbd7984eba325a6df01f0521
10d4d0f15301c91de95478473d8a777b8413610d
/src/client/GameState.h
ae2c946bb0f6cd60ef3b3775fdc8ecc165db11b9
[]
no_license
MCWoo/Egg-Scramble
d852e5447062a2b5d3a3f77a071d326adcf347dc
d65d645f434d5a5ef68be905e9df6be345241150
refs/heads/master
2020-12-30T16:58:18.511494
2017-05-14T20:33:24
2017-05-14T20:33:24
91,037,988
0
0
null
2017-05-12T01:24:16
2017-05-12T01:24:16
null
UTF-8
C++
false
false
1,132
h
GameState.h
#ifndef _GAMESTATE_H_ #define _GAMESTATE_H_ #include <WinSock2.h> #include <Windows.h> class CStateManager; // Base class for the different states // of the game. class CGameState { public: // Constructor CGameState(CStateManager* manager); // Destructor virtual ~CGameState(); // The different '...
b31e6fa20c01c786e2491b12f90058520fd35563
ae0c188e57d320082c84ae84266fe13f023f7d79
/Source/LibraryFinder.cpp
559c302d89ecd2323b565985c24437a289fb184d
[]
no_license
Bukinnear/SteamLibraryManager
0f82d94a3c62e9ca419185485eb3441beb9572a3
273f9430c72159ec7e201b99965b6dc57e862882
refs/heads/master
2021-06-23T20:28:23.334209
2021-06-22T11:28:40
2021-06-22T11:28:40
152,579,669
0
0
null
null
null
null
UTF-8
C++
false
false
3,828
cpp
LibraryFinder.cpp
#include "LibraryFinder.h" RegistryError::RegistryError(const char *message, LONG errorCode) : std::runtime_error{message}, m_errorCode{errorCode} { } LibraryFinder::LibraryFinder() {} const std::vector<std::shared_ptr<Library>> LibraryFinder::FindLibraryPaths() const { std::vector<std::shared_ptr<Library>> returnV...
d8e69580010fb368b2026456fd661f2363562284
3c69624d104292cf47cb05e807b6a7b7a391e043
/src/main.cpp
b35f58848646368adde1f67d49ccd18096104523
[]
no_license
Mogball/cool-caliper
f3e9b84038a873a63466783baffd4422f3961a1a
846f044f8acd1608285385aa0ba068c7a265553e
refs/heads/master
2021-04-06T10:58:23.154901
2018-03-17T16:31:21
2018-03-17T16:31:21
124,991,367
0
0
null
null
null
null
UTF-8
C++
false
false
342
cpp
main.cpp
#include <Cosa/RTT.hh> #include "Encoder.h" #include "SegmentDisplay.h" SegmentDisplay display; Encoder encoder; double calibration = 0.258754; void setup() { RTT::begin(); display.begin(); encoder.begin(); } void loop() { int pos = encoder.get_pos(); double len = pos * calibration; display...
70329551a185dc297b1df99598b6835d233c8660
e5434735a11a44b8962a1277888226aae2da58a7
/SteeringBehaviors/SteeringBehaviors/Classes/HelloWorldScene.cpp
a2f88136f2b086b364fe31908ecf75d5b1ec0c8d
[]
no_license
Prefecter/GAME_AI
864102691b8ede32a6b80f9c505e7902992d2bfb
85c33c91e7e15d38af0fd2a7b73b0c0b67b7d681
refs/heads/master
2021-01-22T16:45:34.607343
2013-10-17T02:52:20
2013-10-17T02:52:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,492
cpp
HelloWorldScene.cpp
#include "SeekSprite.h" #include "HelloWorldScene.h" #include "SimpleAudioEngine.h" using namespace cocos2d; using namespace CocosDenshion; CCScene* HelloWorld::scene() { // 'scene' is an autorelease object CCScene *scene = CCScene::create(); // 'layer' is an autorelease object HelloWorld *layer ...
01d5ce01acc2fb23c5a2b9ff223b26bbbad476a8
cf029230a21ea3ba654459e227da17e0e01cd68d
/trueMatrix/Matrix/Matrix.h
0f7d4c3cb57da6100f5cc3a57a4a9bcb02037570
[]
no_license
PimonovDaniil/trueMatrix2
500542c6a8f8d5a720dd7f03d351dbe859b4c433
d10b70b1f579693007a596936e19a15cd070ad1c
refs/heads/main
2023-01-03T23:40:15.283711
2020-10-30T15:01:32
2020-10-30T15:01:32
308,663,338
0
0
null
null
null
null
UTF-8
C++
false
false
3,458
h
Matrix.h
#pragma once #include <iostream> namespace mathTools { class settings; class Matrix { friend std::ostream& operator<< (std::ostream& os, const Matrix& matrix); private: size_t rows; size_t cols; int numObj; double* matrix; static int num; static setti...
c187c7b8d450518b8b02c077481e334e978015f0
e94456baaaef5a2847bcf3fbebcbc250fc5ea5ac
/Number_Theory/Fast_Factorization.cpp
48c5cf8e7e2ea69b44d05a634e4dc0d08c9fea39
[ "Unlicense" ]
permissive
Kyabc/Algorithms-and-DataStructures
bb780298c0fde6f2c4f48bed57dffad5a053ebde
23c3d40d086238a942772cead7981a599741f94f
refs/heads/master
2021-08-03T14:34:16.623388
2021-07-19T14:47:22
2021-07-19T14:47:22
221,580,897
7
1
null
2020-07-15T12:39:23
2019-11-14T00:56:47
C++
UTF-8
C++
false
false
436
cpp
Fast_Factorization.cpp
struct factorization { private : std::vector<int> table; public : factorization(std::size_t n) : table(n + 2, 0) { for (int i = 2; i <= n; i++) if (table[i] == 0) { for (int j = i; j <= n; j += i) { if (table[j] == 0) table[j] = i; } } } std::map<int, int> operator() (int x) { std::map<int, int>...
74771e2793a5c812d5b2a621f83c8863b5f77813
d46560e7ef04bdc509a6a7745fc9229c83fb85da
/Math/Perlin.cpp
979010f0736f01a7449a048c3fcee97627204314
[ "BSD-3-Clause" ]
permissive
Floppy/alienation
8d6d1f7b680b881dcda6308b5d5d78ced587ba7e
d2fca9344f88f70f1547573bea2244f77bd23379
refs/heads/master
2020-12-25T15:09:12.548726
2011-02-10T15:27:14
2011-02-10T15:27:14
1,351,030
0
0
null
null
null
null
UTF-8
C++
false
false
2,597
cpp
Perlin.cpp
#include "Math/Perlin.h" #define PERLIN_SIZE 0x100 namespace NSDMath { CPerlin::CPerlin(unsigned long ulSeed) { // Initialise init(ulSeed); } void CPerlin::init(unsigned long ulSeed) { // Re-seed random number generator m_oRandom.seed(ulSeed); // Generate permutation a...
ca76606344f86b62d43355a60511260586485b4a
4604eead61fe69569aa6163d8079d9882814b840
/meetingString.cpp
dfadda804cdf388b07ff52b3550f4b094ff44f85
[]
no_license
ylbi/fb
4c815ffa37ce130529510af1de154e3ae7182310
2c709bca871113820ab0f26fe624d0cf2df91220
refs/heads/master
2020-04-04T09:33:06.322680
2018-11-02T20:20:57
2018-11-02T20:20:57
155,822,588
0
0
null
null
null
null
UTF-8
C++
false
false
2,107
cpp
meetingString.cpp
//"10a" "10:30a" #include <iostream> #include <string> #include <vector> #include <queue> #include <algorithm> using namespace std; struct Interval{ int start, end; Interval(){} Interval(int s, int e){ start = s; end = e; } }; vector<string> split(string s, char ch){ vector<string> result; ...
9f033fb35ecbfbe65ae57a8246f6b54565aa6d67
6fe9433382f2567bf6bd0ffb7686d018ad575a21
/Ejercicio 1 - Numero par o impar con punteros.cpp
2222efe658a1bef7b00b5a35158a866b8652b285
[]
no_license
yosorio788/taller-5
511a4aafd2c76a969a47f8b75019899a91f83579
20b4b9bb72a7f1fe8461426005a8c165c8e47b3d
refs/heads/master
2020-03-16T17:43:01.215535
2018-05-18T02:43:21
2018-05-18T02:43:21
132,844,035
0
0
null
null
null
null
ISO-8859-1
C++
false
false
660
cpp
Ejercicio 1 - Numero par o impar con punteros.cpp
/*Ejercicio 1: Comprobar si un número es par o impar, y señalar la posicion de memoria donde se está guardando el número. Con punteros.*/ #include<iostream> #include<conio.h> using namespace std; int main(){ int numero, *dir_numero; printf("Digite un numero: "); scanf("%d",&numero); //Pedimos el num...
2a834a42c37a846d430db6b328ed82c038049ac3
65f2983e6ee6d20ba4b3cc2f6f84f7883acf85ff
/smirnov_av/task5/Day.h
a7f691942339eb185cb05c8de358cd11ef0a271c
[]
no_license
alvls/mp1-2021-1
ee5782dfbef9aa68eb85689b0ce16f633b37c27c
913b88c7166480642da5b6e9f958afb68a4bf503
refs/heads/main
2023-05-01T02:28:21.364638
2021-05-21T10:43:48
2021-05-21T10:43:48
339,008,629
0
13
null
2021-05-21T10:43:49
2021-02-15T08:17:41
C++
WINDOWS-1251
C++
false
false
407
h
Day.h
#pragma once #include "Event.h" #include <vector> class Day { private: vector <Event> eventsInThisDay; public: Day(vector<Event> _eventsInThisDay) { eventsInThisDay = _eventsInThisDay; } Day() { } //геттеры vector<Event> GetEvents(); Event GetEvent(int index); //сеттеры void SetEventInd(int index, Event...
8bd7d38b5b920886bb21dd667c64269018429152
b6d107f5d170f69916bfe4eff2b327c655bc0b72
/RPG_Game/DeadState.cpp
6bfaaf248e79ccc3429bd475854c54ae4458369d
[]
no_license
PhenomJ/2D_TileMap_Games
136935dcba2127057bc65b4c3c60de087e877080
cc0d7eb9f7df9da5d7fc4671247e93f4e4b4645e
refs/heads/master
2021-09-14T15:14:47.513043
2018-05-15T13:27:39
2018-05-15T13:27:39
106,560,776
0
0
null
null
null
null
UTF-8
C++
false
false
1,648
cpp
DeadState.cpp
#include "DeadState.h" #include "Character.h" #include "Sprite.h" DeadState::DeadState() { } DeadState::~DeadState() { } void DeadState::Init(Character* character) { State::Init(character); } void DeadState::Update(float deltaTime) { State::Update(deltaTime); if (eStateType::ET_NONE != _nextState) { _chara...
b806cace36df9b457cadfe592ac1a724af3f92a5
9db4f8e4430d5645499d450329a69be8de86f55f
/Firmware/third-party/ESP EASY/ESPEasy_mega-20191208/source/src/_P064_APDS9960.ino
a07c369f3fbc171669ea1177f07f9cc5f312293b
[]
no_license
Edragon/esp_firmware
af7fb46f7cda4842213da788f3ed2e917ec654a2
5e2972d91160280db8fd32f13542032e9b1c3d07
refs/heads/master
2023-06-07T02:27:16.699518
2023-06-06T07:34:40
2023-06-06T07:34:40
92,523,583
38
38
null
null
null
null
UTF-8
C++
false
false
6,521
ino
_P064_APDS9960.ino
#ifdef USES_P064 //####################################################################################################### //#################################### Plugin 064: APDS9960 Gesture ############################## //################################################################################################...
4fe4db500681c9c203dcd3dc94ed004458772744
d12060d800a604ba66884fb34adebd8c3f5a1316
/src/lines.cpp
f4f6645cd5cf200c02e7db9dcfaff4c8e5f348bc
[]
no_license
outoftolerance/robocar
b0ab6b9cb1f7fbc37acad6893a4a4c55fa3d6acf
f7ba2ba7ee972907238ffda89e01810bd49cc00b
refs/heads/master
2021-01-16T19:08:38.938117
2018-04-08T02:02:39
2018-04-08T02:02:39
100,145,089
0
0
null
null
null
null
UTF-8
C++
false
false
462
cpp
lines.cpp
/* * lines.cpp */ #include <opencv2/opencv.hpp> bool lines(cv::Mat input, cv::vector<cv::Vec4i> &lines, int votes, int min_length, int max_gap) { cv::Mat edges; cv::Mat element = cv::getStructuringElement(cv::MORPH_RECT, cv::Size(3, 3), cv::Point(2, 2)); cv::blur(input, input, cv::Size(3,3)); cv::Canny(input, ...
838a7b76b2e53cd8a9538a625c53f372e8f91796
657b15937dfe2e6f1dc8c4577e9569f18e1ae53a
/Lista ligada/main.cpp
4fbf8b1499f8d265138134fd6527545d8f7a0dc8
[]
no_license
AdrianPrietoLozano/EstructurasCplusplus
d93775bf5e71930919f9aefe099aa717223e2b89
85d0f49bc9bcc3d0ea52dd531ece70f5c06b23bf
refs/heads/master
2023-03-24T21:45:42.248761
2021-03-22T04:27:01
2021-03-22T04:27:01
350,205,942
0
0
null
null
null
null
UTF-8
C++
false
false
2,132
cpp
main.cpp
#include <iostream> #include "ListaLigada.h" using namespace std; template < typename E > void mostrar( ListaLigada< E > & ); int main( void ) { ListaLigada< int > lista; mostrar( lista ); cout << "El tamanio de la lista es: " << lista.obtenerTamanio() << endl; lista.ponAlFinal( 1 ); lista.ponAl...
3c63203f53a7a89ad07f86cbec37b4b2039b3878
1dff02275f30fe1b0c5b4f15ddd8954cae917c1b
/ugene/src/corelibs/U2Gui/src/MainWindow.h
4569353436ed44dfef0c82a3e3b6d19d57c089dd
[ "MIT" ]
permissive
iganna/lspec
eaba0a5de9cf467370934c6235314bb2165a0cdb
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
refs/heads/master
2021-05-05T09:03:18.420097
2018-06-13T22:59:08
2018-06-13T22:59:08
118,641,727
0
0
null
null
null
null
UTF-8
C++
false
false
7,940
h
MainWindow.h
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <ugene@unipro.ru> * http://ugene.unipro.ru * * 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 Software Foundation; either version...
98d0f4a290723c923ccadc5502149378a8898e61
69e68349592043f15fc49a49429369fabf2608cb
/connect-six/server.h
33cb5227b7a8eed958ef62aac82bd1c9c4236ac4
[]
no_license
wa1575/AI_connect6_proto
b31ef6794948449aef13be73cfa008ff12cb4313
0ff69320c30fae995daa8e750f81c334ec7250c2
refs/heads/main
2023-06-30T15:03:07.746890
2021-08-02T23:43:21
2021-08-02T23:43:21
332,379,758
0
0
null
null
null
null
UTF-8
C++
false
false
4,352
h
server.h
#ifndef SERVER_H #define SERVER_H #include <QObject> #include <QTcpServer> #include <QTcpSocket> #include <QHostAddress> #include <QMessageBox> #include <QString> #include <iostream> #include <QtNetwork> using namespace std; class Server : public QObject { Q_OBJECT public: /*! * * \fn Server::Server (...
47a778633e61639ca0f48b5d43550a0868bc247c
db3de21d274aae4d56298ac6068318a61de2af3e
/codalab/settings.hpp
e3d6fa132962d67ff3e01682f194dcbfe045cf37
[ "MIT", "Apache-2.0" ]
permissive
zwangab91/ctw-baseline
b9b142a4a8a2e2298a589451e562fd7b5d1ce022
8498c4f91dcbe2b3f4cc29f990e80ec4adfceaaf
refs/heads/master
2023-05-10T17:09:43.491013
2023-05-07T17:32:36
2023-05-07T17:32:36
152,039,356
0
0
MIT
2018-10-08T07:49:19
2018-10-08T07:49:19
null
UTF-8
C++
false
false
809
hpp
settings.hpp
#ifndef SETTINGS_H #define SETTINGS_H #include <string> #include <utility> #include <vector> template<typename=void> std::vector<int> settings_recall_n() { return {1, 5}; } template<typename=void> std::vector<std::pair<std::string, std::pair<double, double> > > settings_size_ranges() { return { {"all...
573a0e9fa7f001c56072e7a6a1e25277b70906fe
a3ed36263839b2c50f39773f6c8c0b8780b0ee30
/140. Word Break II.cpp
4e692eea81b16e193f61a21eaf09c6fc14b6ede2
[]
no_license
ysyncby/Leetcode
52c0556f509a4dc157527c160c595d4cb72899ce
775836d0d91eb08d376220796b09b401199bbcd6
refs/heads/master
2021-05-27T02:40:05.682917
2019-10-31T03:02:05
2019-10-31T03:02:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
965
cpp
140. Word Break II.cpp
// 必须记录下来,不然就会Timelimit class Solution { public: void helper(string s, set<string>& dict, vector<vector<string>>& dp, vector<bool> &visited){ int n = s.size(); if(visited[n-1]==true) return; for(string w : dict){ if(s==w){ dp[n-1].push_back(w); ...
92a993bdc41d7f2e6aaa4b2a5fc3431bf4199fc5
f7a4f0d81b4d781f3dc1722949de9764d262d08d
/Firmware/ATMega32_SPI_Flash_Firmware/ATMega32_SPI_Flash_Firmware/ATMega32_SPI_Flash_Firmware.cpp
dfe2801979f7394c3606b3e64653250b5cd340f5
[]
no_license
miguelangelo78/ATmega32_SPI_Flash_M45PE16
2cb3caa2d78ce9b6c7b3a07a3615fa65afb53dda
be4e76b1defb274221ca1453a80d79aac96b7286
refs/heads/master
2021-01-10T06:30:54.201606
2015-05-21T13:52:28
2015-05-21T13:52:28
36,015,100
0
0
null
null
null
null
UTF-8
C++
false
false
1,982
cpp
ATMega32_SPI_Flash_Firmware.cpp
#include <avr/io.h> #include <avr/interrupt.h> #define F_CPU 8000000 #include <util/delay.h> class SPI_M45PE16{ // SPI CODE TAKEN FROM: http://embeddlinux.blogspot.co.uk/2014/05/interfacing-m45pe16-spi-flash-to.html #define WREN 0X06 #define READ 0X03 #define PP 0X02 #define PAGE_SIZE 256 #define NUM_OF_SECTO...
897f9b03c14847f42f00c63d8655547a3874a443
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/git/gumtree/git_repos_function_2723_git-2.12.2.cpp
cbcfba85edb442e3cad94a3282e15221295fc47e
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
552
cpp
git_repos_function_2723_git-2.12.2.cpp
static void get_next_component(struct strbuf *next, struct strbuf *remaining) { char *start = NULL; char *end = NULL; strbuf_reset(next); /* look for the next component */ /* Skip sequences of multiple path-separators */ for (start = remaining->buf; is_dir_sep(*start); start++) ; /* nothing */ /* Find end of...
4b09c9873dc683604c8ecee24eb986e90906403f
4a09cf5c9e66f49c408b73be72819fe11f12b89c
/alg/teca_dataset_diff.h
0aa76f64b31c1e87c60e9850c64e5878b3b80860
[ "BSD-3-Clause-LBNL" ]
permissive
ddlddl58/TECA
1a59e8000a56d2579c154771310dfff44a2197f4
ba9cf18f454adff4c12de5ce89ccd61f429422b6
refs/heads/master
2022-07-04T18:48:10.064166
2020-01-27T20:06:57
2020-01-27T20:06:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,953
h
teca_dataset_diff.h
#ifndef teca_dataset_diff_h #define teca_dataset_diff_h #include "teca_shared_object.h" #include "teca_algorithm.h" #include "teca_metadata.h" #include "teca_table_fwd.h" #include "teca_cartesian_mesh_fwd.h" #include "teca_array_collection_fwd.h" #include <vector> #include <string> TECA_SHARED_OBJECT_FORWARD_DECL(te...
41c9f00441b7c250767c487a9c9f253ee50f37a6
ab3548eab19b4ba6d127d0dc0b420183de6a8aa6
/dailycodingproblem/problem8/solution1.cpp
5f0eaa862b60c90a72f4760a7adccf974ee621a0
[ "Apache-2.0" ]
permissive
swapnilgt/codingpractise
3ef887c404cd8f90aecf9d19c743da7e8a2bcaff
092667d8d3b610fcdb845f133aa644a3c685f1fe
refs/heads/master
2020-04-29T16:10:37.485540
2019-05-05T13:27:37
2019-05-05T13:27:37
176,250,237
0
0
null
null
null
null
UTF-8
C++
false
false
618
cpp
solution1.cpp
#include <iostream> #include "binarytree.h" using namespace std; int main() { Node *node1 = new Node(1); // Initializing the binary tree with the root ... BinaryTree bt(node1); Node *node2 = new Node(3); Node *node3 = new Node(2); node1 -> left = node2; node1 -> right = node3; /////////////////////...
22a8eb1fb7733839ded0fb0794f2ac9492a453ee
8670404c220969dfb0db7c049e0e1937e17a886b
/tests/helics/shared_library/test-value-federate2.cpp
2a857b4a3605fd8d691eb12f2e9027ca6f91092e
[ "BSD-3-Clause" ]
permissive
GMLC-TDC/HELICS
204a84efb2c029e8188a5753df5a09400dd55d31
0b3d894e77f461c466801ddbd08efeb3a416f5d6
refs/heads/main
2023-08-19T07:37:51.190120
2023-07-11T15:59:48
2023-07-11T15:59:48
93,080,515
85
58
BSD-3-Clause
2023-09-11T23:25:05
2017-06-01T17:03:19
C++
UTF-8
C++
false
false
14,350
cpp
test-value-federate2.cpp
/* Copyright (c) 2017-2023, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. */ #include "ctestFixtures.hpp" #include <future> #include <gtest/gtest.h> #include <iostream> /** these test cases test out the ...
da4cd175bd3656402f6871228e6129aace785af4
0b070626740788d5af23fcd1cd095e56033308de
/559.cpp
3035d832b0161c2abc30a7ebd311e9e3147ce086
[]
no_license
xis19/leetcode
71cb76c5764f8082155d31abcb024b25fd90bc75
fb35fd050d69d5d8abf6794ae4bed174aaafb001
refs/heads/master
2021-03-24T12:53:34.379480
2020-02-24T04:25:36
2020-02-24T04:25:36
76,006,015
0
0
null
null
null
null
UTF-8
C++
false
false
509
cpp
559.cpp
#include <functional> #include <vector> class Node { public: int val; std::vector<Node*> children; Node() {} Node(int _val, std::vector<Node*> _children) { val = _val; children = _children; } }; int maxDepth(Node* root) { if (root == nullptr) ...
12683332777e1d54343372f4b050a7c7553ee372
922743e95b1ca662330769e20cac4219a136334e
/src/tnet/utils/bytes_buffer.h
2a59d6b893000415aff29bbdf522ffc1d4f5b094
[]
no_license
5l1v3r1/lego
9da74f9382cacda731b5830739b0b62713999356
db2a2efd6df6a41f0e55e8ec9078735fcc172e55
refs/heads/master
2023-07-27T19:16:11.980790
2021-09-17T13:46:56
2021-09-17T13:46:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,090
h
bytes_buffer.h
#pragma once #include <string.h> #include <vector> #include <memory> namespace lego { namespace tnet { class ByteBuffer { public: ByteBuffer() : offset_(0) {} ~ByteBuffer() {} const uint8_t* data() const { if (data_.empty()) { return NULL; } ...
c1f0688c1b60199aed15cfcf693a921babc397a3
59a75e12801691f042ff6d6d6430d228c91953ae
/StarDisplay/GLWin.hpp
04a4598b1cf6d49a5821b40664459672fa23cf7d
[]
no_license
merovingiano/StarDisplay
07800bc40addcf9b6a54846d5c200585a39cc429
d08878e6eb9097565ff61ce5037f6b9d2a49af55
refs/heads/master
2021-01-21T04:36:29.145377
2016-03-14T13:54:29
2016-03-14T13:54:29
32,023,917
0
0
null
null
null
null
UTF-8
C++
false
false
2,377
hpp
GLWin.hpp
#ifndef GLWIN_INCLUDED #define GLWIN_INCLUDED #include <atlbase.h> #include <atlwin.h> #include <atltypes.h> #include <glm/glm.hpp> #include "menu.hpp" class GLWin : public CWindowImpl<GLWin> { public: GLWin(); virtual ~GLWin(); bool Create(); void InitContextMenu(); bool in_menu() const; DECLARE_WND_CL...
14dd45fd981a3cae7c3813ba0e14e8fbbb87668f
7823af88e3503af7979fafc4b522c67e69f8f000
/GenLib/include/Decriptor/Package.hpp
a97ce27b57e559cf4a946cdd668592f7b9a21ee2
[]
no_license
sebwdz/XGen
39d4686f39ef9fd8bfb6b87e88c93a3373fefd11
e5f19863846379ecce50e13c38a52a895a2aaed8
refs/heads/master
2020-05-24T08:11:19.612363
2016-07-04T23:03:26
2016-07-04T23:03:26
84,837,731
3
0
null
null
null
null
UTF-8
C++
false
false
802
hpp
Package.hpp
#ifndef PACKAGE_HPP #define PACKAGE_HPP #include <string> #include "Decriptor.hpp" class Package { public: virtual ~Package() { } virtual void load(std::string const&) {} virtual void add_package(unsigned int x, Package* p) ...
7c3a5227b5f57a5b953da75de2024540876eb1c1
5f2923b63a5e569b22163fc207fbff48535c8474
/Basics/TypeCasting.cpp
0703c1ec479a71a5a04beeabc7e139e27e0a8bd4
[]
no_license
sagor2364/Cpp-Course
b5864d523c9714ebb5bd4b1926b5fa39f5c65dde
14cd649d0285d7baf19c886114ca81117178088e
refs/heads/master
2023-08-18T14:08:37.283686
2021-10-27T20:54:03
2021-10-27T20:54:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
235
cpp
TypeCasting.cpp
#include <iostream> using namespace std; int main() { float a = 15.16; int number; int num2 = 12; double a2; a2 = double(num2); number = int(a); cout << number << endl; cout << a2; return 0; }
1295db03c1e78d1e2675e3210e71e1ae2d5b345e
7f60f2136e67be1c008c0b24375711630e92461b
/red_belt/5week/08explore_key_words.cpp
0f2c56018a32418ac52cb7c2e69fd2e54ab5f66d
[]
no_license
ebriussenex/cplusplus-issue
d4995e002f978b9243d15057f20ea8357d27e68d
2a0488a3d4106a408a74466c4cd6e5072810f405
refs/heads/master
2022-11-06T16:35:28.922698
2020-06-29T05:04:27
2020-06-29T05:04:27
195,709,767
0
0
null
null
null
null
UTF-8
C++
false
false
4,440
cpp
08explore_key_words.cpp
#define _CRT_SECURE_NO_WARNINGS #define _CRT_DISABLE_PERFCRIT_LOCKS #define pass (void)0 #include <limits> #include <exception> #include <stdexcept> #include <cassert> #include <cstdint> #include <memory> #include <random> #include <ios> #include <iosfwd> #include <iostream> #include <sstream> #include <fstream> #inc...
94297c79933a11b12ff4cbb5ba285a514682b75f
19f99f3fdfe640a6185765d3ebed0447d85f338b
/Arrays/ReverseAnArray.cpp
00d5942503a24ef159332c4ef1cabb0731146deb
[]
no_license
Ansh7899/Data-Structures
58efe6b2f929a185f057eba12bc3bb7807f6e123
11ff0279673d231ffcd21df1bc11551206d9bf04
refs/heads/master
2023-06-25T23:19:42.461438
2021-07-25T17:07:54
2021-07-25T17:07:54
376,097,649
0
0
null
null
null
null
UTF-8
C++
false
false
425
cpp
ReverseAnArray.cpp
#include <iostream> using namespace std; int main() { int arr[] = {1, 2, 3, 41, 2, 4, 24, 21, 4, 12}; int n = sizeof(arr) / sizeof(arr[0]); int temp = 0; for (int i = 0, j = n - 1; i < n / 2; i++, j--) { temp = arr[i]; arr[i] = arr[j]; arr[j] = temp; } cout << "Rever...
50f44cd4fa3178510dab32eb531ad2711014a477
2b631cb14b185044e4201c9cc8be8219c5ab7556
/av/services/audiopolicy/enginedefault/src/Engine.cpp
04170ac3eef0085b37c8f92f4c94f1984fdfeb8a
[]
no_license
yuchuangu85/Android-framework-code
59837ba3e41ebdda7de74ce82e1af2d0367610ce
fb27715328b4b0064b0f4e7b499b8c0f2e728d61
refs/heads/master
2020-09-03T09:00:20.642461
2019-11-04T16:21:25
2019-11-04T16:21:25
219,429,555
2
3
null
null
null
null
UTF-8
C++
false
false
35,794
cpp
Engine.cpp
/* * Copyright (C) 2015 The Android Open Source 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 required by app...
ba3cf988f1d9b658fca973d8eade9066d901c40c
37d7eb7ac7c5238bfd43900ac1a10ca601f2dcd2
/Senior/CS475/GL-Examples/draw-4.cpp
8b5cdac161d83790044ea9e018394316ac33240a
[ "MIT" ]
permissive
kalaarentz/CollegeCode
9cb493b1a8238ca9fb87a900d33a5cfc76232f40
b906a85880d846c69d925c14859b873010e204cd
refs/heads/master
2020-03-19T04:40:04.891795
2018-06-02T21:54:00
2018-06-02T21:54:00
135,852,084
0
0
null
null
null
null
UTF-8
C++
false
false
3,299
cpp
draw-4.cpp
#include <stdio.h> #include <math.h> #include "platformGL.h" #include <vector> #include "Vectors.h" #include "model.h" #include "stdModels.h" #include "draw.h" #define FRAME_SIZE 10 struct faceModel axisModel; struct faceModel originPoint; void draw_Init() { axisModel = faceCoordTetra(); originPoint = refineFac...
7b7114168c7e0e96f521890bf1403bf38ddc0981
da0a71a639dd09f8f4d18d71dfa10e7a3815f582
/spicydogj3/cmd/stage/InsKeyFrameCmd.h
ded6508ee125ba20374287eb561bde8e0d0108e7
[]
no_license
motoyasu-yamada/spicydogj3
26deb5fbbcba274de3995a3d4eda217db029fb6d
57d3cb0046d6461287c19c5c3be5d616c06a978a
refs/heads/master
2022-11-04T22:17:53.319975
2020-06-22T02:25:45
2020-06-22T02:25:45
274,019,921
2
0
null
null
null
null
UTF-8
C++
false
false
397
h
InsKeyFrameCmd.h
#pragma once #include "cmd/Cmd.h" #include "model/stage/KeyFrameKeepers.h" class Layer; class KeyFrame; class InsKeyFrameCmd : public Cmd { enum MODE { MODE_EXPAND,MODE_INS,MODE_OVERINS }; private: Layer* m_layer; KeyFrameKeepers m_keepers; int m_pos; int m_expand; MODE m_mode; public: InsKeyFrameC...
c1afe234936fb2efb07501a72bc9feeeee2bb597
3ea93843b69cdc578e26b9440990f6a5a4bd3dc8
/source/GraphNode.h
8b56a39e1ded747f2c464535f2a9b9acb573a1d7
[]
no_license
gnaww/Lumia-1
7d5466085f5d0ef3b3a1ccea21adbbd180a8524d
b7a545cd6a264ed47ed8516edd70ef7e9c944f08
refs/heads/main
2023-05-03T11:42:09.121232
2021-05-25T06:32:28
2021-05-25T06:32:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
837
h
GraphNode.h
// // GraphNode.h // Lumia // // Created by Olivia Li on 4/5/21. // Copyright © 2021 Cornell Game Design Initiative. All rights reserved. // #ifndef GraphNode_h #define GraphNode_h using namespace std; enum NodeState { /**When the node is empty or an object that the enemy can walk through*/ Void, /**Wh...
2a1d4a8222ad6cb6ff996edb46db38eb49ac8457
ab6f12c50de7b08d24b83a5207d93fb026565822
/cxx/dc/babel.12/babel-cca/ccaffeine_ports_GoPortWrap_Impl.cxx
365c0b1567e905224fc87dca506eb636f09b02d1
[]
no_license
csdms/ccaffeine
060dee7bb2779a367163bc76994dc559abf64612
f38c4c532cdd71c048d12259ac3e855c98da790a
refs/heads/master
2021-01-13T09:10:03.343344
2015-12-02T20:52:36
2015-12-02T20:52:36
47,287,857
0
1
null
null
null
null
UTF-8
C++
false
false
3,078
cxx
ccaffeine_ports_GoPortWrap_Impl.cxx
// // File: ccaffeine_ports_GoPortWrap_Impl.cc // Symbol: ccaffeine.ports.GoPortWrap-v0.3 // Symbol Type: class // Description: Server-side implementation for ccaffeine.ports.GoPortWrap // // WARNING: Automatically generated; only changes within splicers preserved // // #include "ccaffeine_ports...
b395e667c5d825cc2118513d8f8339d668fb570e
c0dca4734c66eb48f4c175221f9054659ba11941
/src/Game.cpp
2394638d2f78fd7af366497b5bd312f286d5101d
[ "MIT" ]
permissive
wikiopt/ofShooter
214cf25087f42d0b88137255d1a4377f3cd75249
32e383a441a2dcca9eeb5c9f941adaaec80d220d
refs/heads/master
2021-05-27T03:23:34.446118
2013-09-10T20:19:11
2013-09-10T20:19:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,123
cpp
Game.cpp
#include "Game.h" void Game::setup(){ ofBackground(0); ofSetFrameRate(120); deltaTime = 0.0f; ship = new Ship(); addAsteroids(4); } void Game::update() { float dt = 0.006f; ship->update(dt); for (unsigned int i = 0; i < asteroids.size(); ++i) { asteroids[i]->update(dt); ...
8521da96ee1ac3e1a1a49331f063e9b6904cb60d
71680796cdbc28266ec7037dbd89b7c138bbccc9
/source/Game/EarthDemo.h
0414258d03b68a5277081dad9d3e19b8656d6f6f
[]
no_license
Albeforia/RenderEngine
eb41507d32f5a677fff5f89c12781c1ab868055f
c0670406a9a7f36e5da02803c82f0abb629c7203
refs/heads/master
2021-01-13T00:46:28.539682
2016-03-21T15:59:37
2016-03-21T15:59:37
53,203,181
6
2
null
null
null
null
UTF-8
C++
false
false
873
h
EarthDemo.h
#pragma once #include "GameComponentDrawable.h" using namespace Library; namespace Library { class Effect; class MaterialDeferredGeometry; } namespace Rendering { class EarthDemo : public GameComponentDrawable { RTTI_DECLARATIONS(EarthDemo, GameComponentDrawable); public: EarthDemo(Game...
97829f14044a551cb096a110d6d6f25f06499175
7d5b01e5aa37dd76f716e96a1f6ffcf3825e0aa0
/leetcode/0345.cpp
087342a9236fc64da66c9abd6280a97456a7822c
[]
no_license
thalyson004/solutions
de5f489250bdf2f8af46a4cf4290d2dd48eb9429
c013b2aa0cd0c1649bd7dfa1293f154254f4b470
refs/heads/master
2021-12-06T04:29:20.120435
2021-11-25T10:06:17
2021-11-25T10:06:17
130,432,095
1
2
null
null
null
null
UTF-8
C++
false
false
482
cpp
0345.cpp
class Solution { public: bool vowel(char c){ c = tolower(c); return c=='a' or c=='e' or c=='i' or c=='o' or c=='u'; } string reverseVowels(string s) { string v; for(char &c:s){ if( vowel(c) ){ v.push_back(c); } } ...
19e675524655a190b3d8ba4dc1ad806ae7245f2b
7e23939a2c114d2dedad2374e01aeba5f7cf9b48
/libraries/OffChip/esp8266/esp8266.cpp
0867f2e9f7dfea74d62921a86cbd13c81f2b07f3
[]
no_license
InfiniteYuan/STM32F103DriverLib
7c34341c2ac16227e3921fec424727cb224bc6d7
fab4f38aa3d24112e14843d503d75923ab37a541
refs/heads/master
2021-09-21T11:49:35.390485
2018-08-01T16:07:23
2018-08-01T16:07:23
93,494,975
10
7
null
null
null
null
UTF-8
C++
false
false
8,846
cpp
esp8266.cpp
#include "esp8266.h" esp8266::esp8266(USART &usart, uint32_t baudRate) :mUsart(usart) { mUsart.ClearRxBuf(); mUsart.ClearTxBuf(); if (baudRate != 0) { usart.SetBaudRate(baudRate); } } bool esp8266::Kick(void) { mUsart.ClearRxBuf(); mUsart.ClearTxBuf(); mUsart << "AT\r\n"; return RecvFind("OK"); } bool es...
bd86984678a932c1e9653e70756aba69bcc84bc7
57b0c7302eddf0a592865898db5d72962d242422
/N-Repeated Element in Size 2N Array.cpp
e4fd094e9dc14c152e2f1bebb147510f1b2a9a2b
[]
no_license
Tishasoumya-02/Fork-CPP
888311d18259e1c8f5c7f4df9713a272f2eb946a
ff88a4960787c441ffe9ccfa80a919e8fd588051
refs/heads/main
2023-08-25T03:28:35.901563
2021-10-21T18:14:02
2021-10-21T18:14:02
398,161,963
0
0
null
null
null
null
UTF-8
C++
false
false
654
cpp
N-Repeated Element in Size 2N Array.cpp
//You are given an integer array nums with the following properties: // //nums.length == 2 * n. //nums contains n + 1 unique elements. //Exactly one element of nums is repeated n times. //Return the element that is repeated n times. #include<bits/stdc++.h> using namespace std; int main() { int i,n; cout<<"Enter the n...
4ea63713ed0d5bc3bf1fde4eb2d146762c71406b
f7cdd3600aa6f8cf84cdd22efc78a4195f2f1255
/SoundFile.h
810a982da9b4f503a5bf541e3a8d8084d7a75252
[ "BSD-2-Clause" ]
permissive
Hikawa/mysoundlib
381851f0e18e78aa8da4c0456f471e58e7f80fcd
2b1561f7e4c375cfcde248129044a36605de2fff
refs/heads/master
2021-05-16T15:54:03.821760
2018-02-08T16:51:18
2018-02-08T16:51:18
119,587,703
0
0
null
null
null
null
UTF-8
C++
false
false
541
h
SoundFile.h
#pragma once #include <experimental/filesystem> namespace std { namespace filesystem = experimental::filesystem; } #include <memory> class SoundFile { public: SoundFile(const std::filesystem::path& path); // read SoundFile(const std::filesystem::path& path, int channels, double sampleRate); // write ~SoundFile(...
08061a52e808eac16291e43493ba3afbf084426e
a727432a3275cfd57a785646dd455dca1c5ddb34
/src/MenuBase/PS3.h
9b24c75f9851b47464a4f80f7a2e06aaf71df6b2
[]
no_license
Totally404/bo2-sprx-base
21a42b79ea24a58ab35b5d0eb197c739d04a3361
a4e2ecbd14666c99292bc491af7f309ab9139936
refs/heads/master
2022-12-08T11:59:38.332041
2020-08-21T10:37:29
2020-08-21T10:37:29
286,584,851
1
0
null
null
null
null
UTF-8
C++
false
false
13,771
h
PS3.h
#include <cellstatus.h> #include <sys/prx.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <stddef.h> #include <string.h> #include <sys/prx.h> #include <sys/syscall.h> #include <sys/ppu_thread.h> #include <sys/sys_time.h> #include <sys/time_util.h> #include <sys/process.h> #include <sys/memory.h> ...
202669e8b1d98b0a13886398fb0f1a9a89df759f
5082b479efeba0cc734563d9ac6a7c9fb25d217f
/sorting/stl_sorting.cpp
ef37707f6a226ab2329cbcf3c6233e986ad73b81
[]
no_license
debanga/Data-Structures-and-Algorithms
fa299ab4da0992b09d6b08a5e15d34eba2b0b934
6a5195a2be12d43d677e00f2eadf3fe7294c2b03
refs/heads/master
2023-05-25T08:48:35.850631
2021-06-07T10:51:03
2021-06-07T10:51:03
293,933,263
2
0
null
null
null
null
UTF-8
C++
false
false
832
cpp
stl_sorting.cpp
// STL Sorting // O(nlogn) // Internally uses quick, heap, or insertion sort #include <iostream> #include <algorithm> struct P { int x; int y; }; void print(int arr[], int n) { for (int i=0; i<n; ++i) { std::cout << arr[i] << " "; } std::cout << std::endl; } void print_point(P a[], int n)...
a5518dc836b44f91e412e53ec46ab1cd1a492b84
65e353b55e95d14709fd3a8842d86525c10bd589
/src/main.cpp
0e24a51c95c4f87fb46be6ab1ea0e3b7f56a33c0
[]
no_license
e-margot/Small_platform
5036407301fae90eb23134ab61bfa7bb0c775995
58cb36eb3793a7e1cc523c9585a90e6f6b8b4b64
refs/heads/master
2023-06-25T20:47:59.426145
2021-07-23T16:39:56
2021-07-23T16:39:56
382,348,950
0
0
null
null
null
null
UTF-8
C++
false
false
14,896
cpp
main.cpp
// #define USE_OLD_CODE #ifndef USE_OLD_CODE #include <Arduino.h> #include <Engine.h> #include <ESP32CAN.h> #include <CAN_config.h> #include <Set_Serial.h> #include <Get_data.h> unsigned long timing; void set_speed_serial(); void work_with_CAN(); void send_message(); constexpr uint8_t M1_WHEEL_BACKWARD = GPIO_NUM_33...
402408d886ba5c779e92a0327046a867c434d938
59fd56cc85a996fbe24788f2d83be0960f594b4b
/reaper/reaper.h
be95c7cf725e66e74bfaa85f84a141d973223a75
[]
no_license
manyoso/sformsv1
6d97df876ff9c3d0d4617b5618bf9d20ab9637cb
6e0c1acd2658d7504a7c285cd26359ff060e7f91
refs/heads/master
2021-01-10T07:54:27.265964
2015-09-30T22:48:21
2015-09-30T22:48:21
43,439,051
0
0
null
null
null
null
UTF-8
C++
false
false
430
h
reaper.h
#ifndef REAPER_H #define REAPER_H #include <QObject> class QTime; class QTimer; class QSocketNotifier; class Reaper : public QObject { Q_OBJECT public: Reaper(QObject *parent = 0L); virtual ~Reaper(); private Q_SLOTS: void reap(bool killall = false); void readStdin(int); private: void logKi...
378405e502e336a6a57eb153fbcf624d060249c8
d779e59530bab2f01190a382acd1d64cfc197568
/Placement Preparation Course [PPC 1]/06. Bit Magic/07. Bit Difference.cpp
0da46d422c64e2906fb295ffa3dbd6a25ca31115
[]
no_license
GokuPiyush/CP.cpp
6cef1f8268481deca8e40a190d667c1ccb92c78e
1f675197428ab726daaabc4fa5ab6a10044a202d
refs/heads/master
2023-02-21T17:44:20.080003
2021-01-20T09:00:30
2021-01-20T09:00:30
331,248,061
0
0
null
null
null
null
UTF-8
C++
false
false
123
cpp
07. Bit Difference.cpp
/* You are given two numbers A and B. The task is to count the number of bits needed to be flipped to convert A to B. */
e6d871f9f124cdb300b6988a15b62ad9906231fa
d747f1a0577da9c17512a3ac331c4896e48b4f65
/src/Game/g_loader.cpp
988146d5bd95851879a462a0d67df75ed4d6ab89
[]
no_license
LenyKholodov/wood
4cc470bdfe0c0fbc1c6383f91011461ae09d5497
3dbb8421acb24546859bbb63884e11173becd1af
refs/heads/master
2020-04-14T02:13:03.280422
2018-12-30T10:20:30
2018-12-30T10:20:30
163,578,511
0
0
null
null
null
null
UTF-8
C++
false
false
1,168
cpp
g_loader.cpp
#include "pch.h" #include "g_loader.h" #include <string.h> BOOL LevelLoader::Load () { D_Try { M_PushPool (objPool); BOOL state = FALSE; D_Try { state = LoadData (); } D_Exc ("Error at LoadData"); M_PopPool (); return state; } D_ExcRet ("LevelLoader: Err...
0e7d7170557143e37b8604337c5311e0f9c15a7b
13397d6eb8b1220983865bf6b52345673a1c6f2f
/OTROS/edaClass/edaClass/main44.cpp
00b9e38000f5d7da9463ed6252bdc46017a8dcc8
[]
no_license
Alepoved/EDA
172f6ffd09f713d935a92a4da6b70a7c02916d90
ff5cf6cf403ea46bbf755ee2d83c362890b95d85
refs/heads/master
2020-04-18T19:41:13.155707
2019-01-26T17:40:18
2019-01-26T17:40:18
167,718,013
0
0
null
null
null
null
UTF-8
C++
false
false
1,444
cpp
main44.cpp
#include <iostream> #include <string> #include <cstdlib> #include "Queue.h" #include "Stack.h" using namespace std; int main() { Queue <int> cola; Queue <int> cola2; Stack <int> pila; int num, cont = 1; cin >> num; while (num != 0) { for (int i = 1; i <= num; i++) { cola.push_back(i); } while (...
7cd328b8a18f25f13f1bbb536d98549c2c3435d8
081c75d11a4a8eb139f1685f087d9cc85a4fa072
/tests/array/array/activations/sigmoid.cpp
9ec42c4f7008705eb6ab13510e553f920494dd93
[]
no_license
alifahrri/nmtools
c0a9d63b4101193b484f3e05bce606d58c3b85e2
fa8a45bc3ddb373b7f547dfea3c2c7bea3056e06
refs/heads/master
2023-08-28T19:36:41.814434
2023-08-20T08:28:40
2023-08-20T08:28:40
190,819,342
7
0
null
2023-08-20T08:28:41
2019-06-07T22:43:35
C++
UTF-8
C++
false
false
3,470
cpp
sigmoid.cpp
#if defined(NMTOOLS_TESTING_GENERIC_NDARRAY) #define NMTOOLS_CAST_ARRAYS_EXTRA(name) \ inline auto name##_cs_fb = nmtools::cast(name, nmtools::array::kind::ndarray_cs_fb); \ inline auto name##_cs_hb = nmtools::cast(name, nmtools::array::kind::ndarray_cs_hb); \ inline auto name##_cs_db = nmtools::cast(name, nmtools::arr...
6c337de1304bdfe1cc9f649df50c1b7bb11d25b8
d503492513eccfc3fbf8001bb47c784b715941ff
/include/SpectralEvaluation/DialogControllers/WavelengthCalibrationController.h
12cde47d302aed2ca235f44d468ac212ef3054bb
[]
no_license
NOVACProject/SpectralEvaluation
7dfe8f61b26192be5bd5ef03f51987d7fae4cac5
e9da90004df2b09cefe83b58ea511ce84c9931fc
refs/heads/master
2022-10-03T21:57:11.003805
2022-05-07T08:51:22
2022-05-07T08:51:22
169,307,332
1
4
null
2022-05-07T08:51:23
2019-02-05T20:26:07
XS
UTF-8
C++
false
false
8,992
h
WavelengthCalibrationController.h
#pragma once #include <memory> #include <string> #include <vector> #include <SpectralEvaluation/Spectra/WavelengthRange.h> #include <SpectralEvaluation/Spectra/Spectrum.h> namespace novac { class InstrumentCalibration; } /** * @brief Abstract base class for the MobileDoasWavelengthCalibrationController and...
3b4b6e34bcbdc6cdc5ceadf7d10d52e52bb6f91c
1c2ac32bbcdf81a8b4a23aa22d4aa7ea1804feba
/src/test/lsa/globals_analysis.cpp
d9b79fe50b7d1aa067fe5f144c66ba7456247374
[ "Apache-2.0" ]
permissive
yazici/ohmu
9cb231f3ff36bdea5efeaa9bf26f05290730c7b5
33991d1bb655ab26ce1f172fdea0fd7eef32e763
refs/heads/master
2020-04-29T21:18:15.836121
2015-08-28T17:47:33
2015-08-28T17:47:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
591
cpp
globals_analysis.cpp
//===- test_lsa_global_vars.cpp --------------------------------*- C++ --*-===// // Runs the LSA call graph generation on a clang compiled file and computes // which functions modify global variables. //===----------------------------------------------------------------------===// #include "lsa/examples/ExampleOhmuCom...
4b4d90cf4e6117509e364da1fe728c89fa67d019
47d3ce63822e7a2c48b63ee96237d16074303eed
/CPP/fastio.cpp
157e09b23d68e10897f87a8916c89669318efcd2
[]
no_license
karthik512/Competitive-Programming
117b89c3779e05bc4505b6e93a7c1f8ede6ef0f9
d560998854db9102b3fa06aae7a96a5a8ac2b9e0
refs/heads/master
2020-06-17T17:23:52.475609
2016-11-28T15:29:46
2016-11-28T15:29:46
74,985,268
0
0
null
null
null
null
UTF-8
C++
false
false
778
cpp
fastio.cpp
//Fast IO in C++ //Contains only the functions used for input and output #define inchar getchar_unlocked #define outchar(x) putchar_unlocked(x) //Supports both negative and positive numbers... template<typename T> void inPos(T &x) { x = 0; register T c = inchar(); while((c < 48 || c > 57) && (c != '-')) c = i...
d7704a801ceeb51cb65661aa2dd745bdd5dd1983
2aa100b67588ef6f0c82d22963da8cde9ac0af2e
/Network/packetbuilder.cpp
f5343c6442e876f82d7fa0b6ef5428c165eb810a
[]
no_license
Xsitsu/Door-People-Online
b869ff039b44fae07673d05b50054efd0f8b14f2
b3e01f80312df9863cf295893d44384570ec29a0
refs/heads/master
2022-12-07T05:02:23.753456
2018-03-01T22:55:31
2018-03-01T22:55:31
112,804,438
0
0
null
null
null
null
UTF-8
C++
false
false
3,021
cpp
packetbuilder.cpp
#include "packetbuilder.hpp" #include "Network/packetall.hpp" namespace Network { PacketBuilder::PacketBuilder() { } PacketBuilder::~PacketBuilder() { } void PacketBuilder::BuildPacket(Packet::Base *packet, void *data) { PacketFamily family = packet->GetFamily(); PacketAction action = packet->GetAction()...
7b68f29769328823f6d47e9277c28dca3176960e
13bdc9a34e8163282bbd4f6345d7834b875878bb
/pipeline/libstream/FrameSource.hh
b6b47754a71931027acd099844c7da74a46509f3
[]
no_license
chunzer/misc
d1c6672a10404be42f332ea72ca36d332b4fdb0e
ad1a80a7ab022dc11f02c3a541ff2c5b49fc96a1
refs/heads/master
2021-10-08T10:49:29.399624
2018-12-11T10:08:06
2018-12-11T10:08:06
109,380,088
0
0
null
2017-11-03T09:57:32
2017-11-03T09:57:32
null
UTF-8
C++
false
false
397
hh
FrameSource.hh
#ifndef __FRAMESOURCE_HH__ #define __FRAMESOURCE_HH__ #include "common.h" #include "Handler.hh" class FrameSource: public Handler { public: void getFrame(frame_t& frame, uint32_t *params); void putFrame(frame_t& frame); protected: FrameSource(); ~FrameSource(); virtual void doGetFrame(frame_t& frame, uint...
b131ec143ab522fd19be1b02c0e169444c146588
51b615a3362ed897a48cdb55e3a98492d735c68e
/Pointer Arithmetic.cpp
0e2d346d007c79c7a53dd1515ee6069adbda5974
[]
no_license
coders-palace/cpp
65acc4d6eee743aab40f67df4c78c9d23bfc8d55
8f72209e8f0912797e8063b3a012f5b7d25007f7
refs/heads/master
2022-12-22T21:19:40.569540
2020-10-04T14:34:34
2020-10-04T14:34:34
277,301,580
0
0
null
null
null
null
UTF-8
C++
false
false
402
cpp
Pointer Arithmetic.cpp
// Pointer Arithmetic #include<iostream> using namespace std; main(){ int* x,i=3; x=&i; cout<<x<<endl; x++; cout<<x; i=4; int *j; j=&i; cout<<j<<endl; j++; cout<<j<<endl; j=j+2;//exercise: j=j+5 cout<<j<<endl; int var=5; int *p=&var; int **q=&p; c...
2990d797e5e1832d0356b1526d701a0ce75d1cd3
c880937423adaec1e5c1d3333ea8a33764412cd6
/bigIntFactorial/main.cpp
7fa5c7b8c55cff9e08e10d51e2c4bdc335437cb5
[]
no_license
Zari44/algorithms
8d7fbbb477bd9434856aa17de3f01e99fa34e735
6f3aae475db208e0810a32b8b617de7c75c35f3c
refs/heads/master
2020-03-17T13:12:27.420214
2018-07-16T07:52:54
2018-07-16T07:52:54
133,621,791
0
0
null
null
null
null
UTF-8
C++
false
false
3,361
cpp
main.cpp
#include <bits/stdc++.h> using namespace std; class BigInteger { public: BigInteger(int value) {digits.push_front(value);} void print() { for (deque<int>::iterator digit = digits.begin(); digit != digits.end(); ++digit) cout << *digit;// << " "; // cout << endl; } BigIn...
30c6ed0924e4d822e28b32616a1effcb66e7439b
964743cc9072f09d3d60a88ddd90971e48e8a956
/NewGeneUI/NewGene/Infrastructure/Model/Base/inputmodelworkqueue_base.h
2c8d276a5170ed19e4e74f9d0d9e42e4bbb83781
[]
no_license
daniel347x/newgene
f6a7abae718bc4b3813c6adf2c2f991dca535954
dc0b5ddaeea441d905d627a4145d7a3e2eda78b5
refs/heads/master
2022-06-27T17:19:42.205690
2022-06-21T21:52:07
2022-06-21T21:52:07
9,526,888
0
2
null
2022-06-21T21:52:08
2013-04-18T16:55:22
C
UTF-8
C++
false
false
382
h
inputmodelworkqueue_base.h
#ifndef INPUTMODELWORKQUEUE_BASE_H #define INPUTMODELWORKQUEUE_BASE_H #include "workqueuemanager.h" #include "modelworkqueue.h" template<> class WorkQueueManager<UI_INPUT_MODEL> : public WorkQueueManagerBase { public: WorkQueueManager(bool isPool2_ = false, QObject * parent = 0) : WorkQueueManagerBase(isPool2...
3d6ca3f6d88884f36e453a6c43a87dfc9a6bfb19
2a47373ddcacadab2ece04edceefebe4ff3e8d67
/1033/S1033_0.cpp
626d23fe1ed7528e23b89304597365b715ab67bd
[]
no_license
xairry/PAT-Basic
c91f00aec213433d3a70a1198892997d92822d29
1be9a70e9c49284a38b15346f70ba647b0cf1aa1
refs/heads/master
2021-09-10T01:06:00.690540
2018-03-20T12:47:57
2018-03-20T12:47:57
111,101,092
1
2
null
2018-03-02T15:12:13
2017-11-17T12:28:20
HTML
UTF-8
C++
false
false
1,353
cpp
S1033_0.cpp
#include <set> #include <iostream> #include <string> using namespace std; int main() { // read in the error character bool shift_bad = false; string s_bad; set<char> bad_set; <<<<<<< HEAD //cin>>s_bad; getline(cin,s_bad); ======= getline(cin, s_bad); >>>>>>> 21ea9ad6a04d23b6b0df977818f7...
01e93df410c5b39a905308cd9852525286f91ff3
6b40e9dccf2edc767c44df3acd9b626fcd586b4d
/NT/shell/shell32/idldrop.cpp
0fd88cec02fcd81cef00cec17ad9cb8520891baa
[]
no_license
jjzhang166/WinNT5_src_20201004
712894fcf94fb82c49e5cd09d719da00740e0436
b2db264153b80fbb91ef5fc9f57b387e223dbfc2
refs/heads/Win2K3
2023-08-12T01:31:59.670176
2021-10-14T15:14:37
2021-10-14T15:14:37
586,134,273
1
0
null
2023-01-07T03:47:45
2023-01-07T03:47:44
null
UTF-8
C++
false
false
9,892
cpp
idldrop.cpp
#include "shellprv.h" #pragma hdrstop #include "datautil.h" #include "idlcomm.h" #include "idldrop.h" STDAPI_(BOOL) DoesDropTargetSupportDAD(IDropTarget *pdtgt) { IDropTargetWithDADSupport* pdt; if (pdtgt && SUCCEEDED(pdtgt->QueryInterface(IID_IDropTargetWithDADSupport, (void**)&pdt))) { ...
6836d7cd5fc821a57293ba984bc3a92e8c785ddd
749f3616954b80c418bdf2917286d19c065befa0
/整数152的各位数字.cpp
c55cfb4af55d48b83ff6d2ad7d054b9fe5db1ec3
[]
no_license
peipeiziyapeizizi/2021
3628c02797d8875aa9ed4c57e5f7728790a48825
05182351e7881ca857f354ef63a92f0899b1361f
refs/heads/main
2023-02-27T05:17:15.034900
2021-02-09T12:41:16
2021-02-09T12:41:16
337,389,429
0
0
null
null
null
null
UTF-8
C++
false
false
191
cpp
整数152的各位数字.cpp
#include <stdio.h> int main() { int g,s,b; g=152%100%10; s=152%100/10; b=152/100; printf("152 = %d + %d*10 + %d*100",g,s,b); return 0; }
566fdede38e6c7dd8bab442dc06020a7a7c2e0c0
5f628e78502f72564cad0032d747a28664a6ed6d
/src/core/plugins/plg_color_picker/color_picker.cpp
9a17ddde32f6a805e1d51700c268c1d7b85543a5
[]
no_license
danAllmann/wgtf
ee735e8ed05aef7b63250a6e0d2734daafd79e89
1288f488acc46b1505e1b1966d4be4641d0ead94
refs/heads/master
2021-06-01T07:09:08.856847
2016-06-03T06:59:35
2016-06-03T06:59:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
882
cpp
color_picker.cpp
#include "color_picker.hpp" #include "core_logging/logging.hpp" #include "core_variant/variant.hpp" #include "color_picker_context.hpp" #include "core_reflection/property_accessor.hpp" namespace wgt { ColorPicker::ColorPicker( IComponentContext & context ) : Depends( context ) { auto definitionManager = this->get< I...
2333d3e9c5ba7cb2cda9f1ab99b13e16a9294589
9538662909c971f42cf0df5b23c7ac63a049307e
/code/week 1/Day_4.cpp
26817136bb3dfb25424460e74479efc6cde7d3e7
[]
no_license
avesayer/handmade
3258a506bd9c53ce568d7bc869f191f2d7dd8f1f
f752dab51cc40f154947f8b0093b8663ddea01a5
refs/heads/master
2021-06-23T05:15:13.547085
2017-08-28T20:03:32
2017-08-28T20:03:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,846
cpp
Day_4.cpp
#include <windows.h> #include <stdint.h> #include <math.h> #define internal static #define local_persist static #define global_variable static typedef int8_t int8; typedef int16_t int16; typedef int32_t int32; typedef int64_t int64; typedef uint8_t uint8; typedef uint16_t uint16; typedef uint32_t uint32; typedef ui...
480f5290c87d53dd4a3c00ce95b2f5e768919663
bb7645bab64acc5bc93429a6cdf43e1638237980
/Official Windows Platform Sample/Windows 8 app samples/[C++]-Windows 8 app samples/C++/Windows 8 app samples/XAML AppBar control sample (Windows 8)/C++/Page2.xaml.cpp
eb77b0b6135e5ad274edda385fa0ea2fa73eaad3
[ "MIT" ]
permissive
Violet26/msdn-code-gallery-microsoft
3b1d9cfb494dc06b0bd3d509b6b4762eae2e2312
df0f5129fa839a6de8f0f7f7397a8b290c60ffbb
refs/heads/master
2020-12-02T02:00:48.716941
2020-01-05T22:39:02
2020-01-05T22:39:02
230,851,047
1
0
MIT
2019-12-30T05:06:00
2019-12-30T05:05:59
null
UTF-8
C++
false
false
2,198
cpp
Page2.xaml.cpp
// // Page2.xaml.cpp // Implementation of the Page2 class // #include "pch.h" #include "App.xaml.h" #include "Page2.xaml.h" using namespace AppBarControl; using namespace Platform; using namespace Windows::Foundation; using namespace Windows::Foundation::Collections; using namespace Windows::UI::Xaml; using namespa...
07ff47501a774496c6567c0f2905d7b3178ee71d
2959992a95604152500a8e8861dcd292275f3370
/atomic.cpp
0ee17c0c786eed9439b59a92f66027676fa189a0
[]
no_license
sim82/playground
d18309858e3f913b83e75bd5f43778e9b71895df
6980f8f88d5f941d9c3ebc593cb58062790b1f40
refs/heads/master
2020-05-17T08:10:53.967029
2018-03-18T19:42:49
2018-03-18T19:42:49
2,558,003
0
0
null
null
null
null
UTF-8
C++
false
false
1,003
cpp
atomic.cpp
#include <atomic> #include <iostream> #include <vector> class test { public: test() : v1_(1024 * 1024), v2_(1024 * 1024) { p1_ = v1_.data(); p2_ = v2_.data(); } private: void work( int rank ) { while( true ) { float *p1...
3e18006574cb62dbad5e593fd876dd3c9dbd3b2e
067690553cf7fa81b5911e8dd4fb405baa96b5b7
/10871/10871.cpp
2a871d7dfbea67cea025651f75451ae0323ad000
[ "MIT" ]
permissive
isac322/BOJ
4c79aab453c884cb253e7567002fc00e605bc69a
35959dd1a63d75ebca9ed606051f7a649d5c0c7b
refs/heads/master
2021-04-18T22:30:05.273182
2019-02-21T11:36:58
2019-02-21T11:36:58
43,806,421
14
9
null
null
null
null
UTF-8
C++
false
false
279
cpp
10871.cpp
#include <cstdio> #include <vector> #include <algorithm> using namespace std; int main() { int n, x; scanf("%d %d", &n, &x); vector<int> arr(n); for (int i = 0; i < n; i++) scanf("%d", &arr[i]); for (int i = 0; i < n; i++) { if (arr[i] < x) printf("%d ", arr[i]); } }
05360a61356ec0a089161c3dabcb4289ec57ecfc
30ed53cb02b56e6a60f39b40fee833d93f5ca9b7
/client_main.cpp
144bc235a8edd651c53ca15accd57b375f8b2fda
[]
no_license
komod0/tp3
16e024873bd83aa541d60ccfc95050c5e3464ffc
05ed9a4601e167b7610af12c0f0b11ff97ad24a4
refs/heads/master
2022-08-18T15:48:03.841379
2020-05-26T20:51:23
2020-05-26T20:51:23
266,278,576
0
0
null
null
null
null
UTF-8
C++
false
false
520
cpp
client_main.cpp
#include <iostream> #include <fstream> #include "common_client.h" #include "common_utilities.h" #include "common_Protocol.h" #include "common_SocketExcept.h" #include <vector> int main(int argc, const char* argv[]) { if (argc != 3) { std::cerr << "Error: argumentos invalidos." << std::endl; return 1; } ...
4400660c03de4269c8c19f63e6d4a5f90a65d6e6
545cbc29ad09ec12f987afbdc128c77a84c63a2c
/arduino/initial_setting/initial_setting.ino
96fe3c2d59fc1406136dccc04b218e00f34f69f8
[ "MIT" ]
permissive
hine/servo-stewartplatform
1b57e20d8c11ea53ae58c5656f3272909617c51d
d32bf2ad383540c1ced7b3f92702d083ef92463d
refs/heads/master
2021-01-11T05:02:52.629363
2019-07-17T02:21:27
2019-07-17T02:21:27
86,523,562
3
0
null
null
null
null
UTF-8
C++
false
false
4,812
ino
initial_setting.ino
#include <vs-rc202.h> #include <EEPROM.h> // EEPROM(ESPなので厳密には違うけど)に書き込む個体差情報のための構造体 struct RobotBodyConfig { char header1; char header2; int16_t servo1_offset; // サーボ1のオフセット値を-500~500で int16_t servo2_offset; // サーボ2のオフセット値を-500~500で int16_t servo3_offset; // サーボ3のオフセット値を-500~500で int16_t servo4_...