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
df00aaaf1b6fb8d11745a043731abf4cf466c86a
559770fbf0654bc0aecc0f8eb33843cbfb5834d9
/haina/codes/beluga/client/moblie/BelugaApp/photogallery.cpp
74ca0fe65905dd9df5738ceacc709ba5431550d9
[]
no_license
CMGeorge/haina
21126c70c8c143ca78b576e1ddf352c3d73ad525
c68565d4bf43415c4542963cfcbd58922157c51a
refs/heads/master
2021-01-11T07:07:16.089036
2010-08-18T09:25:07
2010-08-18T09:25:07
49,005,284
1
0
null
null
null
null
UTF-8
C++
false
false
2,992
cpp
photogallery.cpp
#include "photogallery.h" PhotoGallery::PhotoGallery(QWidget *parent, QString & diyIconFile, bool * bDIY, Qt::WFlags flags) : m_qIconFile(diyIconFile), m_bDIY(bDIY) { QTableWidgetItem * qTableItem = NULL; int i = 1, j = 0; int k = 1; this->setModal(TRUE); setupUi(this); maletable->setS...
1dc97ad537d6c0dfaafcdcf44031478de1897967
03181edfff60340fecea760994629012957a28bf
/examples/example.cpp
9108fece15327ec9e93cbc008b4054f987f71639
[ "BSD-3-Clause" ]
permissive
steinwurf/bourne
c20fc84c15cd412336fe9c6a2d6e93640fed1af0
ea1136314d4c6b0f9e858440045162e767dce96c
refs/heads/master
2023-09-01T06:50:29.394963
2023-08-23T07:41:57
2023-08-23T07:41:57
55,978,134
7
6
BSD-3-Clause
2023-06-26T08:01:38
2016-04-11T14:13:51
C++
UTF-8
C++
false
false
3,521
cpp
example.cpp
// Copyright (c) Steinwurf ApS 2016. // All Rights Reserved // // Distributed under the "BSD License". See the accompanying LICENSE.rst file. #include <bourne/json.hpp> #include <iostream> int main() { // This is how each type can be created: // default is null bourne::json null; bourne::json boolean...
d3d7bd90353ad3b3fe439f438e3efc25a33cdc25
4a954a2bf42fd7568035c3657b21e48c745db21e
/hacclient/Sentinel.h
1d075c1f356a76b2610f42eb20909a04753931aa
[ "MIT" ]
permissive
ChadSki/hacclient
bfe6fcf9e12e484f8a95cb9fc3e6c6ffb4a95d61
f1471e1f74de13dbbc1ae6d92238939e010ff7d6
refs/heads/master
2021-01-18T15:26:50.247524
2017-03-30T03:15:13
2017-03-30T03:15:13
86,653,289
2
1
null
null
null
null
UTF-8
C++
false
false
485
h
Sentinel.h
#pragma once #include "EventSubscriber.h" #include <vector> #include <WinDef.h> #include <memory> class Sentinel : public EventSubscriber { DWORD run(); void processQueue(); EventSubscriber* dispatcher; void pingAnticheat(); void measureResponse(); void healthCheck(); void setThreadHandle(std::shared_ptr<Event...
9ee9328b2be46e036ecd04e68a7703133e7b277a
006f035d65012b7c5af15d54716407a276a096a8
/dependencies/include/cgal/CGAL/Mesh_3/sliver_criteria.h
41605c1fe51ddc7bef9e687bc61aff53f9229984
[]
no_license
rosecodym/space-boundary-tool
4ce5b67fd96ec9b66f45aca60e0e69f4f8936e93
300db4084cd19b092bdf2e8432da065daeaa7c55
refs/heads/master
2020-12-24T06:51:32.828579
2016-08-12T16:13:51
2016-08-12T16:13:51
65,566,229
7
0
null
null
null
null
UTF-8
C++
false
false
2,494
h
sliver_criteria.h
// Copyright (c) 2009 INRIA Sophia-Antipolis (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // You can redistribute it and/or modify it under the terms of the GNU // General Public License as published by the Free Software Foundation, // either version 3 of the License, or (at your op...
342e084a267b38d38c5d8d0cc8c5e7424a447445
1834c0796ee324243f550357c67d8bcd7c94de17
/SDK/TCF_YPickup_Base_BP_functions.cpp
07d4a42a32b15a71ff7cf58a186de82b43d8e28b
[]
no_license
DarkCodez/TCF-SDK
ce41cc7dab47c98b382ad0f87696780fab9898d2
134a694d3f0a42ea149a811750fcc945437a70cc
refs/heads/master
2023-08-25T20:54:04.496383
2021-10-25T11:26:18
2021-10-25T11:26:18
423,337,506
1
0
null
2021-11-01T04:31:21
2021-11-01T04:31:20
null
UTF-8
C++
false
false
10,593
cpp
TCF_YPickup_Base_BP_functions.cpp
// The Cycle Frontier (1.X) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "TCF_YPickup_Base_BP_classes.hpp" namespace SDK { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------------------- // Functi...
4df75c5c690a1e89c64a1ee073822456f7147156
ba70fb22d08fcf1ade1dacae283daa1e85f09d77
/Peta/mainClip.cpp
6fa09b5e3b3dce9062c5d56fb5184fe64289cfc6
[]
no_license
afik/Grafika
65e91201f7c9a4d6963bfecf2b995f0ff8dcd8f9
9caa84889e750e474b2be54dd8265f24bac0e64e
refs/heads/master
2020-12-24T13:44:36.340604
2015-04-12T04:37:24
2015-04-12T04:37:24
31,053,783
0
0
null
null
null
null
UTF-8
C++
false
false
4,399
cpp
mainClip.cpp
#include <cstdio> #include <cstdlib> #include <ncurses.h> #include <termios.h> #include <unistd.h> #include <fcntl.h> #include <iostream> #include "window.h" #include "peta.h" #include "buffer.h" #include "clip.h" #include "scanline.h" #include "fill.h" using namespace std; int kbhit(void) { struct termios oldt, ne...
2b9c58d4c8e38ada8561503c8d4c62abb8afaee3
761c1ae19594e49d7047d059b25640c3e558f3d5
/E22_E27/684. Redundant Connection.cpp
cfee2664b65e7fc4c67bd255c68ddf2a4abaf4be
[]
no_license
SunNEET/LeetCode
a09772c4f3c23788afebceb4f6c2150d3c127695
96b08c45f5241579aaf27625510570d718965ec2
refs/heads/master
2020-03-12T15:43:07.019708
2019-06-25T03:53:56
2019-06-25T03:53:56
130,697,627
0
0
null
null
null
null
UTF-8
C++
false
false
1,091
cpp
684. Redundant Connection.cpp
class Solution { // 複習一下disjoint set, 或叫union find // 都是以前ACM時用的寫法, 合併時是讓p[u]->p[v] // // 這題只要發現邊連接的兩端屬於同個set就是會變cycle了 public: vector<int> findRedundantConnection(vector<vector<int>>& edges) { vector<int> ans; for(int i=1;i<=edges.size();i++) parent[i]=i; for(auto e:edges) ...
3e7d1e1ec65789c05be8829c91e90a16eb44743b
0ec83dc0ecb02dd17b3530ea12f8a11c5af3690e
/Knockback.cpp
d458e2a0db12cef6506ea81b39e0ff0ab2b099fc
[]
no_license
Yaboi-Gengarboi/MX
88da83f87a3c9e4ca234003a69080a428cdd1b2e
36e4c9c62dd314988ecf56a78d1146ca958b1adf
refs/heads/master
2020-07-21T10:46:27.340650
2019-12-02T22:58:05
2019-12-02T22:58:05
206,837,701
0
0
null
null
null
null
UTF-8
C++
false
false
1,025
cpp
Knockback.cpp
/* Knockback.cpp Justyn P. Durnford Created on 11/21/2019 Last updated on 12/2/2019 */ #include "Include.hpp" #include "Knockback.hpp" #include "Player.hpp" double knockback(const Hitbox& hb, Player& p1, Player& p2) { double kb = 0.0; double m = 1.0; if (p1.rage()) m += 0.1; if (p2.isCrouching()) m -= 0.2; ...
7e45d7f667e707e76e26fe539d849bc1c876bdea
f2a50568dc81633852cac66696ec95fb72c55a8c
/pdg/include/optitrack_ros/or_t3d_aacc.h
6ccb805d24f999cb124df607dfd6bb0827cc123b
[]
no_license
sarthou/toaster
8a1e3f38b4d1a324d87ed7c429d4fc2150b543f5
641bb5a440648d71d9ea9457f79b2d5a545c56d4
refs/heads/master
2020-12-03T03:38:24.213140
2020-02-24T09:07:56
2020-02-24T09:07:56
95,750,342
0
1
null
2018-07-26T06:12:54
2017-06-29T07:24:35
C++
UTF-8
C++
false
false
5,346
h
or_t3d_aacc.h
// Generated by gencpp from file optitrack_ros/or_t3d_aacc.msg // DO NOT EDIT! #ifndef OPTITRACK_ROS_MESSAGE_OR_T3D_AACC_H #define OPTITRACK_ROS_MESSAGE_OR_T3D_AACC_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #include <ros/builtin_message_traits.h> #in...
bdb5f8a2e54001ce0729ce0321a959c30bbd12d0
ed63b7fb40dc1649dc2b3a10435341d338d50e9e
/install/motion/audio_m.h
1d65a896982d6fa4172d467c0c4664093f1aac09
[]
no_license
RuolunWeng/faust2smartphone
d8f04aaaa2ba6e3aee8e7855b6f52ac12440c3de
a1306324821e3469c5110cc87a4ddbf2d412b2d1
refs/heads/master
2022-10-15T00:42:46.828396
2022-09-18T12:48:49
2022-09-18T12:48:49
82,815,740
10
3
null
null
null
null
UTF-8
C++
false
false
2,542
h
audio_m.h
/************************************************************************ IMPORTANT NOTE : this file contains two clearly delimited sections : the ARCHITECTURE section (in two parts) and the USER section. Each section is governed by its own copyright and license. Please check individually each section for license a...
33798d373c2fc8dadf4ce69538f0da9f7e910d8d
3e194ed62e1c2889200956f4869f4302fd8ec1e2
/LeetCode/EASY/STRINGS/numberOfSegmentsInString.cpp
5961a15e82f15e4c4e50acc2a7484244a5dd77a6
[]
no_license
Mythili007/CodePractice
12200c4f0159a13768102162b81e7ad20664f7c3
8de758858887d71d23e2316a6396ec05398db197
refs/heads/master
2021-06-05T19:15:45.589220
2021-05-07T19:28:12
2021-05-07T19:28:12
135,747,445
0
0
null
null
null
null
UTF-8
C++
false
false
982
cpp
numberOfSegmentsInString.cpp
/** * https://leetcode.com/problems/number-of-segments-in-a-string/ * */ #include <bits/stdc++.h> using namespace std; class Solution { public: int countSegments(string s) { int cnt = 0, charCnt = 0; for (int i = 0; i < s.length(); i++) { charCnt = (s[i] == ' ') ? 0 : ...
6ef457dbe4688c2dab0f7f8046c11753226b57e9
7ee0d0f6678c0742fb8199820ba679aa55d53848
/STREET.cpp
e97145c2486d9dae9aa56af9243fbafb1b1b7f18
[]
no_license
Autoratch/spoj-solutions
aac2c0cb1665c7911e08719e1945d712277ad0da
77e15274b5d9495b24b6cd78baee17e5811e46ff
refs/heads/master
2022-12-23T14:13:00.507540
2020-10-01T13:39:02
2020-10-01T13:39:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
726
cpp
STREET.cpp
#include<iostream> #include<stdio.h> #include<string.h> #include<vector> #include<queue> #include<algorithm> #include<set> using namespace std; int n,k,t,a[505],ans=-1; int dp[505][505]; int calc(int x,int y) { int smin=200; if(y==0 || x<0) return 0; if(dp[x][y]!=-1) return dp[x][y]; ...
fb11863bee3e11d8880055329d5e400831592b7a
8bd4a8c02f7b7a804e743cd38877811f547bb339
/HackerEarth/PerfectSubarray.cpp
297d39a686015e4a95a4c568d8c09eb37afac28a
[ "MIT" ]
permissive
dkp1903/Competitive-Programming
c314257bf3ea7f40d720a60e259f0a0398de94a4
564d1730fb78a6bf0678dd7184a9f8669f53c9bf
refs/heads/master
2021-07-05T22:16:24.747709
2020-04-22T11:29:11
2020-04-22T11:29:11
187,431,446
2
1
MIT
2020-10-02T07:45:38
2019-05-19T03:54:41
C++
UTF-8
C++
false
false
732
cpp
PerfectSubarray.cpp
#include<bits/stdc++.h> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int n; cin >>n; long long arr[n], ele; cin >>arr[0]; for(int i = 1; i < n; i++){ cin >>ele; arr[i] = arr[i-1] + ele; } int ans = 0; for(i...
8243da649e90ea4bb18b16dd640146580c15d230
a0d6b817cb47b15923fa479d8452dae8c87089be
/src/io/resource_management/TextureLoader.cpp
a10fccc968f48000079f5137d4fd31331a02b1e3
[]
no_license
EngineersBox/Wolfenstein-3D
77c2d3a1306424081cace41618e2d83c63cb0569
f090f37d2ee2b38877c1b03bc7146e5aaf8360e8
refs/heads/master
2023-02-28T00:30:58.302493
2021-02-05T00:24:17
2021-02-05T00:24:17
294,392,774
2
1
null
null
null
null
UTF-8
C++
false
false
3,452
cpp
TextureLoader.cpp
#pragma once #include <dirent.h> #include <sys/stat.h> #include <iostream> #include <map> #include <string> #include <vector> #include "../../rendering/texturing/texture.cpp" #include "../../exceptions/image/FileFormatError.hpp" #include "../../exceptions/textureLoader/ExceededMaxTextureImport.hpp" #include "../../r...
8e49b2f6afd6a4f040a54aead0a27b4403354901
a16ca4888b4a778ee4767475de2085386846aad5
/LP-6/1.cpp
c0a2868f92597e7577aa5881396bcffcb9f75c29
[]
no_license
JH-Jitu/C-_Problem-Solving-1st-sem-
1222c4fad2b070448073409576817f52097d2413
fbb1f94c8de671882fd9b3bf176edc071c9eb985
refs/heads/main
2023-02-17T17:33:24.847144
2021-01-19T13:23:30
2021-01-19T13:23:30
330,977,408
0
0
null
null
null
null
UTF-8
C++
false
false
1,097
cpp
1.cpp
// Md. Jidanul Hakim Jitu // Id: 20-44365-3 // Ans No : 1 (LP-6) #include<iostream> using namespace std; class course { private: string course_title; int course_code[60]; int credit[60]; int n; public: int setData() { cout<<"Enter course number: "; cin>>n; for(int i=0; ...
d35a2c7d78358e8506e9a38985363432ffb3d27b
9087d6e9117efe3fa485f2aff0c39dbaa073ed97
/union-find-set/ver4.cpp
d9d9d88ceb70ebdb37475bdea5266002391fd575
[]
no_license
pamleft/demos
1d74814777b9a91d9cae2ce7b81c1fa76dc5e18e
6a47bdbb91b92a04aa142fbc9c9099ec26e37225
refs/heads/master
2020-04-01T08:32:15.547652
2019-05-23T11:41:09
2019-05-23T11:41:09
153,035,374
0
0
null
null
null
null
UTF-8
C++
false
false
6,079
cpp
ver4.cpp
#include<iostream> #include<map> #include<vector> #include<list> #include<stdio.h> using namespace std; typedef struct UFS_KEY_S { long Id;//busi_id或者serv_id //int recordId;//该结构存的是busi_id时,recordId为有效值;为的是防止出现busiid和servid相同并且type也相同的情况导致错误 int type;//标志id的类型 bool operator!=(const struct UFS_KEY_S &t) { return...
b2b3251e6668c4a1187a93119a66ed03e7a906f0
31f8553ddbbc1bda998ec8c22a89059f334bd86b
/lab10/algo/main.cpp
b1e4d90a487cebceda634afe26f9f39092bab338
[]
no_license
patrycjabru/jimp_exercises
9f512c9607f2535b1327bf02b1539ca019a6f3b5
69bb1b7844e9c865116162b68f674563d7d4364a
refs/heads/master
2021-01-17T23:15:11.751233
2017-06-11T21:23:00
2017-06-11T21:23:00
84,213,667
1
0
null
null
null
null
UTF-8
C++
false
false
43
cpp
main.cpp
// // Created by bruzpatr on 16.05.17. //
ba9ffd31d10731886df75bb81f47267b81e21ef6
65fc85ed595c778e46973ddd24f6f75059f9e84e
/1 - 200/137. Single Number II.cc
c78b734008b61585d975ac3a628f8204b63a3a35
[]
no_license
zzzmfps/LeetCode
a39c25ccfa5891c9ad895350b30f0f2e98cdc636
8d5576eb2b82a0b575634c14367527560c1ec5d5
refs/heads/master
2021-10-10T01:06:40.123201
2021-09-28T03:33:25
2021-09-28T03:33:25
122,027,173
0
0
null
null
null
null
UTF-8
C++
false
false
407
cc
137. Single Number II.cc
// 4ms, 100.0% #include <bits/stdc++.h> using namespace std; static int x = []() { ios_base::sync_with_stdio(false); cin.tie(nullptr); return 0; }(); class Solution { public: int singleNumber(const vector<int> &nums) { int ones = 0, twos = 0; for (const auto n : nums) { one...
38ad62995a81dd52888a859e65c5c81a24eb5e5c
e37f0ef98552770d6d60f82c589911d85dcc19e9
/Codeforces/1484.D.cpp
8563062dcde40b881212e8f1bcad8024b90a7afb
[]
no_license
anand873/CP_Codes
00c9948810a84d8c9085684f31b75246b1f4ea2c
ec7cd07141512646d96cd247c190924ae9a7e263
refs/heads/master
2021-09-09T20:58:51.713079
2021-08-30T08:15:13
2021-08-30T08:15:13
204,478,713
3
1
null
null
null
null
UTF-8
C++
false
false
2,332
cpp
1484.D.cpp
//Author: AnandRaj uux #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef long double ld; typedef pair<int,int> pii; typedef vector<int> vi; typedef vector<vi> vvi; typedef vector<pii> vpii; typedef pair<ll,ll> pll; typedef vector<ll> vl; typedef vector<vl> vvl; typedef vector<pll...
18ceaacd37b71c2b3721ece9c34ab3853b1d004b
04999f7160d87dbcebc2acaf8ad82715a43c63e1
/src/main.cpp
ff3a98363c106e01f18d09a14dd29cc4685e9a64
[ "MIT" ]
permissive
teharrison/skewer
f86d6096426f84ce817812de4ed99f8e70a7b211
cc009ae16159146551758f11f87957fe5e2513c2
refs/heads/master
2020-03-30T17:45:08.504137
2018-10-03T20:04:39
2018-10-03T20:04:39
151,468,473
0
1
MIT
2018-10-03T19:27:59
2018-10-03T19:27:58
null
UTF-8
C++
false
false
81,223
cpp
main.cpp
/********************************************************************** * Skewer - a fast and accurate adapter trimming tool * using the bit-masked k-difference matching algorithm * Copyright (c) 2013-2016 by Hongshan Jiang * hongshan.jiang@gmail.com * * If you use this program, please cite the paper: *...
efe8daecfdc70011a8f2e1bba644a9522b140cdf
3938e998d6dad1f956748cc761439c48edda86b5
/My_stack_cpp/My_stack_cpp_lib.cpp
ed5b254119d732d866532ad85485b71a79f9b1c5
[]
no_license
ilia1243/iLab
59918f0e2a7a8245d05f4a92d5b7fec682fd05e9
6ec256aa4f1a5de0ab843fa7264d60d81dfc414e
refs/heads/master
2022-05-26T10:27:06.674829
2016-11-14T17:33:41
2016-11-14T17:33:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,443
cpp
My_stack_cpp_lib.cpp
#include "My_stack_cpp.h" #include <string.h> #include <iostream> #include <assert.h> //#define DEBUG_STACK #ifndef DEBUG_STACK #define ASSERT_OK_ST #define assert_ok(cond...); #endif // DEBUG_STACK Cstack_double::Cstack_double(): data_ (new double[1]), dataptr_ (NULL), szmax_ (1) { this->dataptr_ = t...
20d9a079f7b32a3f59edeecd14c14eb4746f4288
da1500e0d3040497614d5327d2461a22e934b4d8
/cobalt/browser/device_authentication.h
382938d51b26b4109197454b9346265f70da0e5b
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
youtube/cobalt
34085fc93972ebe05b988b15410e99845efd1968
acefdaaadd3ef46f10f63d1acae2259e4024d383
refs/heads/main
2023-09-01T13:09:47.225174
2023-09-01T08:54:54
2023-09-01T08:54:54
50,049,789
169
80
BSD-3-Clause
2023-09-14T21:50:50
2016-01-20T18:11:34
null
UTF-8
C++
false
false
2,357
h
device_authentication.h
// Copyright 2019 The Cobalt 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 by ap...
dc2e69df4344a75e6361eab96f9bbc8005dda9c8
70eacc8e2ed6ecddaa053f78db113d9556f4d661
/llog_ctxinfo.hpp
fed4894213a7cfa51edec15848a80b52ab6ca1e3
[]
no_license
moskk/llog
ba6e72beb8cde894e6a40ac40c8d8abbb4207d78
50857f98593e481c48d6c5ad364f74af237a52b4
refs/heads/master
2021-01-10T06:08:01.280142
2016-02-02T20:13:39
2016-02-02T20:13:39
50,003,806
0
0
null
null
null
null
UTF-8
C++
false
false
378
hpp
llog_ctxinfo.hpp
#ifndef LLOG_CTXINFO_HPP #define LLOG_CTXINFO_HPP namespace llog { struct ctxinfo { const char * file; unsigned int line; ctxinfo(const char * f = nullptr, unsigned int l = 0):file(f),line(l){} ctxinfo(const ctxinfo&) = default; bool good() const {return file && line;} }; } #define CTXINFO llog...
d0387f96a9b5ce990d7bee3c6f487ef20def1217
c5abbbeccc9f840bceb2b39507cc1112e21b7c75
/state_michael/state_michael.ino
3f659b0e72f95200cfd0c943ca1f2dd2965f88e6
[]
no_license
ishgum/Robocup
46eeaea18fb3871e23f137f366a4b7cbe3eb4c27
44817f7a0b813354f202adcea4df750edad82289
refs/heads/master
2021-01-10T19:50:17.562252
2014-09-30T18:52:24
2014-09-30T18:52:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,869
ino
state_michael.ino
/* Sweep by BARRAGAN <http://barraganstudio.com> This example code is in the public domain. modified 8 Nov 2013 by Scott Fitzgerald http://arduino.cc/en/Tutorial/Sweep */ #include "Arduino.h" #include <avr/io.h> #include <avr/interrupt.h> #include <Servo.h> #include "WaveArm.h" #include "Servo.h" #include "W...
f4bc542da4fe28d69b7d1e3800d818948e64418f
89a3a77a07101a3f2081755df519ea83944f5274
/cpp/arrayMisc/divide2Integers.cpp
c4730f186ed9e819f737a793c839048c1e362700
[ "MIT" ]
permissive
locmpham/codingtests
c3aa2ab97db50dcc3f2814580162862c532d4f4b
3805fc98c0fa0dbee52e12531f6205e77b52899e
refs/heads/main
2023-06-20T06:12:39.725625
2021-07-05T01:12:07
2021-07-05T01:12:07
384,530,013
0
0
MIT
2021-07-09T19:13:11
2021-07-09T19:13:11
null
UTF-8
C++
false
false
1,737
cpp
divide2Integers.cpp
/* Given two integers dividend and divisor, divide two integers without using multiplication, division, and mod operator. Return the quotient after dividing dividend by divisor. The integer division should truncate toward zero, which means losing its fractional part. For example, truncate(8.345) = 8...
eb844a5e44e8e6fd1fa7bc68f2f63e15b6b7d930
548ffa48cc9fce297ceac9d5da16a77120468afb
/Assgn01/src/ahe_gpu.cpp
93187130bfaa8af6df58da821801ba8f518d32a6
[]
no_license
ak53/CUDA-programming
74a1d1d3d5591987580fbb0c71f407c2b6f705fc
9d88b9aa91b613cfa9530ca233de7d81fad6c80b
refs/heads/main
2023-06-04T23:48:20.433011
2021-06-26T07:19:25
2021-06-26T07:19:25
380,431,669
0
0
null
null
null
null
UTF-8
C++
false
false
343
cpp
ahe_gpu.cpp
#include "ahe_gpu.h" #include <cuda_runtime.h> #include <iostream> extern "C" void run_sampleKernel(unsigned char* img_in, unsigned char* img_out, int width, int height); void adaptiveEqualizationGPU(unsigned char* img_in, unsigned char* img_out, int width, int height) { run_sampleKernel(img_in, img_out, width, he...
deeb617a21a7481c2f449eb59d065290a43d3448
d1b41e7c1bbcd9d7f2fbffe01dc6ccdb9e573921
/time_dependent2D/main.cpp
67cc460320b194a4b5ac5027474deab804641490
[]
no_license
mfkiwl/AFEPackDemo
ad21f81584d16f62cb9ebfbf104f81af2f851a19
ecce2f28110eb050d7ce3f9fd31e1f8c2e49d2d4
refs/heads/master
2023-02-03T02:27:15.952357
2020-12-24T08:27:55
2020-12-24T08:27:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
464
cpp
main.cpp
//////////////////////////////////////////////////////////////////////////////////////////// // main.cpp : // #include "simulation2D.h" int main(int argc, char * argv[]) { if (argc != 2) { std::cout << "Usage: " << argv[0] << " meshfile" << std::endl; return 1; } Simulation2D the_app(argv[1]); ...
d41a6556afc7cd283d0591fefc1b42004d65c61a
c5cda02495f6394e6e60968288508a89a7e6d2de
/wumpus/wumpus/Source.cpp
ab71bbad984841d2bf0929e92bc507cc2e4b7dce
[]
no_license
sevimcaliskann/CS404_project
129a6fe407039ae81b80e0c48678bc64cc7828b1
09203013793ee4f124f809850c1e027c03999b1d
refs/heads/master
2021-01-18T17:16:27.672297
2015-12-28T17:18:39
2015-12-28T17:18:39
48,940,304
0
0
null
2016-01-03T09:17:58
2016-01-03T09:17:56
null
UTF-8
C++
false
false
2,397
cpp
Source.cpp
#include "Agent.h" using namespace std; int adj[4][2]={{1,0},{-1,0},{0,1},{0,-1}}; void printMap(Map,int); void Solve(Agent,Map&); int main() { int size=4; Map Game(size); Game[2][3].Breeze=true; cout<<Game[2][3].Breeze<<endl<<endl<<endl; Agent player(Game,0,0);//agent gets the empty map printMap(...
2662b6b8876d2ef91af16e35a3ca940e843523a9
6a1c82495461e9aede8685d644e2ebce1d0b343f
/Compound/Compound/Render/RenderManager.h
a64ffbdc30778dcb3f8870613a472fc86b522911
[ "MIT", "LicenseRef-scancode-khronos" ]
permissive
AcrylicShrimp/Compound
f46577d66527f73865b5ed976b83ecce375d3b54
75d3152fe849e546b8f4809912a63e597ec61648
refs/heads/master
2020-04-09T03:54:11.601969
2019-04-29T00:10:34
2019-04-29T00:10:34
160,001,898
2
0
null
null
null
null
UTF-8
C++
false
false
1,195
h
RenderManager.h
/* 2019.04.12 Created by AcrylicShrimp. */ #ifndef _CLASS_COMPOUND_RENDER_RENDERMANAGER_H #define _CLASS_COMPOUND_RENDER_RENDERMANAGER_H #include "../ManagerBase.h" #include "../Display/Window.h" #include "Context.h" #include <algorithm> #include <cassert> #include <cctype> #include <memory> #include <string> ...
5ea7377f6b6f8407f829c1c73086ea5ff0e4d73e
4fbc542265044785afec449d9a99a60bcbc63217
/fib.cpp
b471aac38946063f16a05413fe12ea5da9df203e
[]
no_license
garryya/cbabies
a6ad7f866a3bbc5de67cf1590d8f12d0571b7222
f8c910f6bed0c01a0f156666bd60990d08646d02
refs/heads/master
2021-08-15T16:48:17.681360
2017-11-18T00:06:55
2017-11-18T00:06:55
89,265,622
0
0
null
null
null
null
UTF-8
C++
false
false
1,907
cpp
fib.cpp
#include <stdio.h> #include <string.h> #include <ostream> #include <string> int fib_loop( int n, int * pFib ) { for( int i = 0; i <= n; i++ ) pFib[i] = i > 1 ? pFib[i-2]+pFib[i-1] : 1; return -1; } int fib_recursion_dumb( int n, int * pFib ) { int fibn = 1; if( n > 1 ) fibn = fib_recur...
bfe673c9f689ed97a4bea81d54d7aa6c8ac0ee90
383c417abca8aa70c4427a8679a7144a7ce26084
/src/Ray/internal/shaders/output/intersect_scene_indirect_swrt_atlas.comp.cso.inl
ba77b6b5352780a5201ed78574a71ecea12714d2
[ "MIT" ]
permissive
sergcpp/RayDemo
f3c4378e7e0af13aa594df071604756784690ddd
cba5e91afdaca34450398076918b209122ed2ae9
refs/heads/master
2023-08-28T02:34:04.104557
2023-08-27T17:30:52
2023-08-27T17:30:52
163,214,002
17
3
null
null
null
null
UTF-8
C++
false
false
89,699
inl
intersect_scene_indirect_swrt_atlas.comp.cso.inl
/* Contents of file internal/shaders/output/intersect_scene_indirect_swrt_atlas.comp.cso */ const int internal_shaders_output_intersect_scene_indirect_swrt_atlas_comp_cso_size = 14748; const unsigned char internal_shaders_output_intersect_scene_indirect_swrt_atlas_comp_cso[14748] = { 0x44, 0x58, 0x42, 0x43, 0x06, 0...
6df8fb4157f88ceb1dcbcd558cfc59811d950064
d10ec8e528fbf96c8a05f378a8d7ce4875848952
/test/dijkstra_general.cpp
db36b74963a4305bdecd3dd1caee31225c670cb0
[]
no_license
vstflugel/tinykactl
86c1da7d6ea2081fe63659f39e7d4b2dc8611bcb
7fe3b946d3ad60516b35b5983e4487b0897b021d
refs/heads/master
2021-12-14T21:55:07.942683
2017-06-05T19:39:13
2017-06-05T19:39:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
544
cpp
dijkstra_general.cpp
#include <iostream> #include <map> #include <vector> using namespace std; #include "../obsolete/10_dijkstra_general.cpp" int main( void ) { int n; map< int, map<int, float> > edges; map< int, float > min; map< int, int > from; edges[1][2] = 100.0; edges[1][3] = 50.0; edges[1][4] = 200.0; edges[2][3]...
36d5e4e262fd68bfa1c0ae5c909fee67ce903f89
b25d7ffcd06f89c5566be5f7201622cd83641413
/c++/sell_tickets_multi_machine/sell_tickets_server.cpp
48ade251558910fb0f49f8e7e87b717340abcc18
[ "Apache-2.0" ]
permissive
wangdsh/PublicCode
3bb640bb0788eb3ece25973b4696da213fc7557b
7e2d1252ddda4238b7cb51a0fcb34e45cd18f2cb
refs/heads/master
2022-02-12T16:24:37.362418
2022-01-25T11:33:41
2022-01-25T11:33:41
191,600,255
0
0
null
null
null
null
UTF-8
C++
false
false
3,406
cpp
sell_tickets_server.cpp
#include <iostream> #include <sys/types.h> #include <sys/socket.h> #include <unistd.h> #include <stdlib.h> #include <strings.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netdb.h> #include <pthread.h> #include <stdio.h> using namespace std; #define PORT 8089 #define HOSTLEN 256 int make_server_socket...
3bd096eae98257d6ce3762d61c5dcb77c03876f0
e3b70f73ca944162b6874730e85bd500e00c87f5
/ComplexSamuel.cpp
f2cd9d99d99371cf5def0da35b3ba7a001244f7d
[]
no_license
samuel-tian/KomplexKanban
cc252b35a5614061091f0bec5ba5bd7af4351e62
40f903261fbecce4a8f568a5f007df9beea159f2
refs/heads/master
2020-04-18T16:36:15.497561
2018-12-12T03:18:39
2018-12-12T03:18:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,020
cpp
ComplexSamuel.cpp
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Title : ComplexSamuel.cpp Author : Samuel Tian URL : NA Description : operator overloading for arithmetic operators and implementation of trig functions and rotate function Created : 12/5/2018 Modified : 12/11/2018 - - - - - - - - - - - - - - - - - -...
a27e68ba61657dc05f026cfaf83f25d003621a51
a67371e294991d5e2faafbc6fe58633816b7acf4
/Keeper.h
2a59f11809ed63645f9294e10d4fe626dad77725
[]
no_license
Lumroule/laba1
46279fd504bd5253bf73017fa13bb5e829e891c3
798d808ec83df2bc7e975a5b19f315883880c4fe
refs/heads/master
2020-04-08T07:22:28.443900
2018-12-18T09:01:50
2018-12-18T09:01:50
159,136,589
1
0
null
null
null
null
UTF-8
C++
false
false
500
h
Keeper.h
#ifndef _KEEPER_H_ #define _KEEPER_H_ #include "AEROFLOT.h" #include "string.h" class Keeper { public: enum { COUNT = 7 }; Keeper(); ~Keeper(); void operator+=(const AEROFLOT &AER); void remove(int dec); void print(const String &s); friend std::ostream& operator<<(std::ostream& os, c...
db7f2371d178c0f9e3acb0828dfd1b75112e6747
f8215707b5c1a7a1e7b329002802a7f8bd4ad62d
/start_count.cpp
4f274a6da52f85453cbaccf37e28237d7f06abb7
[]
no_license
komaachi252/hew_pro_pumte
6a735bea4beaabf7d14542315fe80b613af0601b
b8d5af7e0bb92b7ce1b4c135e28fa99f7ba7cd00
refs/heads/master
2020-09-04T20:26:36.945844
2020-02-18T01:45:10
2020-02-18T01:45:10
219,883,276
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
7,692
cpp
start_count.cpp
//★彡★彡★彡★彡★彡★彡★彡★彡★彡★彡★彡★彡★彡★彡★彡★彡★彡★彡★彡★彡 // // // 処理[start_count.cpp] // //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // 作成者 矢吹一俊 // 作成日 11/20(水) //★彡★彡★彡★彡...
5a5d3e7b78af4a09ead8c32f611a73f3fd9dcba1
87a83700e16fac81ec92034c3685bd509bb564bb
/TAREA LAB SHELL/shell.cpp
8b17cf7da04090eef8c30103fde5981a970ce7f7
[]
no_license
italoucsp/OS
6f5f6a89626bdf5fdb1d2a343e58321453f23719
79b7937e964c72e42c0eded9605b889e68aae2b6
refs/heads/master
2023-02-07T16:45:33.300793
2020-12-18T01:14:11
2020-12-18T01:14:11
296,509,219
0
0
null
null
null
null
UTF-8
C++
false
false
2,188
cpp
shell.cpp
#include <iostream> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <readline/readline.h> #include <unistd.h> #include <sys/wait.h> #include<string> #include<vector> #include <queue> #include<fcntl.h> using namespace std; queue<string>historial; char **get_input(char *input) { char **comman...
c204eb9498f214937bada33c98a42a4928e3b30f
598de19e4412a9fefde788eb778cc4a0db2fc10f
/Uva_solutions/12502.cpp
1d4c5fd8acf4a454f35b29370a7f0197048ddf8d
[]
no_license
shovonAhmed/Programming_with_cpp
44fdcc55dc36dd03e60297365b9b522841760686
507dc02702e47b5fe7146dafcb7ec17995f4dadb
refs/heads/master
2021-04-14T08:23:53.185531
2020-08-14T07:43:58
2020-08-14T07:43:58
249,218,760
2
0
null
null
null
null
UTF-8
C++
false
false
221
cpp
12502.cpp
#include<iostream> using namespace std; int main() { int t,x,y,z,family_a; cin>>t; while(t--) { cin>>x>>y>>z; family_a=(z*(2*x-y)/(x+y)); cout<<family_a<<endl; } }
7014b2441dbfdea6d5d610d152cd165abb2ac535
ac943253176ff701a3a87016400a932f961d264e
/src/modules/rendering/opengl/internal/GlfwWrapper.hpp
eb4f9d49b1f4cf3ad931e1bb91ec092994cc62d4
[ "Apache-2.0" ]
permissive
luoxz-ai/glove
f47f46b205a475412c5ab6d687ee3667651431e9
392978d81b0bc109a3eb53c9f85ed48c2ebaa67e
refs/heads/master
2021-05-30T14:02:29.966200
2015-09-19T17:16:04
2015-09-19T17:16:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,634
hpp
GlfwWrapper.hpp
#pragma once #include <mutex> #include <GL/glew.h> #include <GL/gl.h> #include <GLFW/glfw3.h> #include <glove/log/Log.hpp> #include <glove/input/Keys.hpp> #include <glove/math/IntPoint.hpp> #include "subsystem/OpenGLRendererModule.hpp" using namespace BlueDwarf; namespace BlueDwarf { namespace gl { /// @ingroup ...
d396fa5084728a84f031803655eb3dd4c25b0df1
0f2c108bea58ae107b16cb8279636e85b233fce4
/src/logger/src/multithreaded_sink_backend.cpp
ea170f114422735137b1e30d08f072a738db9fba
[ "MIT" ]
permissive
stevenhoving/libaeon
0f52a5a7eb2896ba9e6d3332be04522ba29c93a9
4a9460ce160282d67a0a0a22c873d36517d947c1
refs/heads/master
2020-04-06T22:38:10.380273
2017-05-28T12:39:05
2017-05-28T12:39:05
92,675,601
0
0
null
2017-05-28T17:17:40
2017-05-28T17:17:40
null
UTF-8
C++
false
false
3,865
cpp
multithreaded_sink_backend.cpp
/* * Copyright (c) 2012-2017 Robin Degen * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, merge,...
3cad3e9b45b91cab05e5c8ce0a0cef53f47f6eb4
baf5117283e59e8725e820b3e67369f685419903
/src/product/ProductBase.h
c09743c8e5f51d1b54702810338e9810cafb20a5
[ "MIT" ]
permissive
gffs/PbF2Calo
5f771b89f33711e1e0d69771e94b959c1bfae697
87770ab7eec4e40b67bc551e1e6ddf85d01b09dd
refs/heads/master
2021-01-10T20:44:05.356892
2017-02-08T15:36:21
2017-02-08T15:36:21
18,250,783
1
0
null
null
null
null
UTF-8
C++
false
false
631
h
ProductBase.h
#pragma once #include "json11.hpp" #include "string" #include "unordered_map" class TFile; class ProductBase { public: ProductBase(const json11::Json&); virtual ~ProductBase() {} static ProductBase* init(std::string name, const std::string& conf_file_name, TFile& root_file); template<typename T> ...
4fcceb5d7f9d2e5073a90de916b8f9e81a740b67
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2464487_1/C++/jonathanasdf/a.cpp
cc45f214440fd07ed72deff5e330b2ee024cc64d
[]
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
3,605
cpp
a.cpp
#include <iostream> #include <vector> #include <algorithm> #include <cstring> using namespace std; typedef long long ll; #define iszero(t) (t.len==1&&t.s[0]==0) #define setlen(l,t) t.len=l;while(t.len>1&&t.s[t.len-1]==0) t.len-- const int maxlen=100; struct bigint { int len,s[maxlen]; bigint() {*this=0LL;} bigint(ll ...
c3de9cb728d51bf3baeea241bf72ee41c8f95689
62426493025bff2bdd773bcb3c3506c25e3b3af5
/动态规划/摆动序列.cpp
05f298160c9b651e613292da98f0b20027c5f257
[ "Apache-2.0" ]
permissive
nju-rookie/LeetCode
e225d3e682192088914bf8b6427cc51fdbf7892b
43971db4784384da17610c78eaed149a3a5d574f
refs/heads/master
2022-06-26T04:54:11.554148
2020-05-07T15:08:09
2020-05-07T15:08:09
240,482,363
0
0
null
null
null
null
UTF-8
C++
false
false
1,910
cpp
摆动序列.cpp
/* 摆动序列: 如果连续数字之间的差严格地在正数和负数之间交替,则数字序列称为摆动序列。第一个差(如果存在的话)可能是正数或负数。少于两个元素的序列也是摆动序列。 例如, [1,7,4,9,2,5] 是一个摆动序列,因为差值 (6,-3,5,-7,3) 是正负交替出现的。相反, [1,4,7,2,5] 和 [1,7,4,5,5] 不是摆动序列,第一个序列是因为它的前两个差值都是正数,第二个序列是因为它的最后一个差值为零。 给定一个整数序列,返回作为摆动序列的最长子序列的长度。 通过从原始序列中删除一些(也可以不删除)元素来获得子序列,剩下的元素保持其原始顺序。 示例 1: 输入: [1,7,4,9,2,5] 输出: 6...
39759e7080003483c2048b4352d1e20bf33f520b
3203bba440d9c4de9f93f9c9a6bb59808fb588c4
/src/cp/sliprules_wrap.cxx
5fb0102a109145e01b48c4ab6c33ab0b97c93c51
[ "MIT" ]
permissive
lynnmunday/neml
c2b8693349031024b489f1d50bb1352577639805
a6b90955ab76adf5a0cefe7706d2f65b4fbf04fa
refs/heads/master
2022-11-19T02:12:48.661518
2020-04-07T19:50:08
2020-04-07T19:50:08
265,648,760
0
0
NOASSERTION
2020-05-20T18:10:10
2020-05-20T18:10:09
null
UTF-8
C++
false
false
1,746
cxx
sliprules_wrap.cxx
#include "../pyhelp.h" #include "sliprules.h" namespace py = pybind11; PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>) namespace neml { PYBIND11_MODULE(sliprules, m) { m.doc() = "Crystal plasticity slip rate relations"; py::class_<SlipRule, NEMLObject, std::shared_ptr<SlipRule>>(m, "SlipRule") .def(...
6121ce0f201db7020621d7bc95b339bbdf57145c
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5652388522229760_1/C++/zhrq/a.cpp
9e4a81d12b1e8fa501daadeecaf900bfa3a29338
[]
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
642
cpp
a.cpp
#include<bits/stdc++.h> using namespace std; const int maxn=15; int a[maxn]; typedef long long ll; void Count(ll n,int &cnt) { while(n) { int l=n%10; if(!a[l]) a[l]=1, cnt++; n/=10; } } int main() { //freopen("A-large.in","r",stdin); //freopen("out.txt","w",stdout); int T; scanf("%d",&T)...
2fce2900b5ca1d72fc225c19a5f75c05a14f2988
d4fc6f72619dcaccf15f31bebc6fd01f72b19878
/interface.cpp
07570ce4f0b05d71117390a6757402177087ad8a
[]
no_license
alyssonnogueira/pdp-8
c644ddf7bcd1485e0f9cd16484a63df6ed028c3d
6ec873d1aa7310d287e64c89d9beb3e9c684dbc9
refs/heads/master
2021-01-21T14:40:17.002863
2016-07-17T14:18:41
2016-07-17T14:18:41
58,745,935
0
0
null
null
null
null
UTF-8
C++
false
false
1,657
cpp
interface.cpp
#include <fstream> #include <cmath> #include <string.h> #include <iostream> #include <stdio.h> #include <cstdlib> #include <stdlib.h> #include <time.h> #include "interface.hpp" Interface::Interface(){ gtk_init(&argc, &argv); win = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_container_set_border_width(GTK_CONTAIN...
16013632c42a1eb9b5fe167ce7b22ddf532df0a9
a4b959855991fbca07d5f2730d6c38072962f844
/source_files/Professor.h
0888bbfcd8e34851850985295d685508e87aec43
[]
no_license
syedsufyan1232/CIS22C-FinalProject
a9f2077e6a52119dda287f1695f0b3c95e8c447d
c5b872c3f282aa24a69a31737046ad5170add9fe
refs/heads/master
2020-05-28T02:29:36.684754
2017-03-26T01:32:39
2017-03-26T01:32:39
82,579,342
0
0
null
2017-03-23T04:56:12
2017-02-20T16:36:01
C++
UTF-8
C++
false
false
1,875
h
Professor.h
//Eric Chung #ifndef Professor_h #define Professor_h #include <string> #include <iostream> #include "LinkedList.h" #include "Rating.h" using namespace std; class Professor { private: string firstName; string lastName; string field; double avgScore; double avgDifficulty; double percentTakeAgai...
307a547cbbb9619115991b4bc160f53872eaf686
001c1c1a1e4044a0061ce8736d272842add9caff
/src/egli/detail/Grammar.h
cbd4bbf412789b294308b1445a1ef271d54385da
[]
no_license
moodah/PRO
c3a2f5c9f66d3549fb41f4fce330915870e309f3
5da689ab9a7e6167b4b50b0c100d05e03e91f7d9
refs/heads/master
2021-05-01T01:17:07.163039
2016-06-06T13:09:55
2016-06-06T13:09:55
52,285,580
0
1
null
null
null
null
UTF-8
C++
false
false
14,062
h
Grammar.h
/*! \brief Grammar used by the Parser * * \file Grammar.h * \author Patrick Champion * \date 19.04.2016 */ #ifndef EGLI_DETAIL_GRAMMAR_H_INCLUDED #define EGLI_DETAIL_GRAMMAR_H_INCLUDED #pragma GCC diagnostic push # pragma GCC diagnostic warning "-w" # include <boost/spirit/include/qi.hpp> # include <boost/spir...
56bd8f3836049768af5e87f2badf7019405eccd3
38f3306c05b4412725a5d01706317b73e95c3171
/subjek.cpp
51e9378c0142c960434f15eef81271e5ebaef11a
[]
no_license
dgpay/TBA1
d3041517bae5417a997655c8c11aff377e2cd807
b3ce450686231ebe11094673b01fc4b260e393a2
refs/heads/master
2021-01-16T10:37:30.858612
2020-02-25T19:35:19
2020-02-25T19:35:19
243,085,798
0
0
null
null
null
null
UTF-8
C++
false
false
1,292
cpp
subjek.cpp
#include <iostream> #include "subjek.h" using namespace std; //aku char Subjek(char a[],int k){ int i = 0; char q0=' '; q0 = Sq1(a,i); if(q0=='S'){ cout<<q0; } } char Sq1(char a[],int i){ if(a[i]=='a'){ i++; return Sq2(a,i); }else if(a[i]=='i'){ i++; re...
17f116bd7b4b2c50cd5f803d3394226e3a295f3d
a794b41a17047c710aa057a1340abe884750da64
/BearPair.cpp
94c82f0e1502d0751ba276b65b51e9b98b5a7db9
[]
no_license
ShrikantJadhav/CPlusPlus-repository
609947e9c469bd7a9d3e85feff3e2edf97eca05f
615e76431557778b45fe3beb4de0a24e761373ce
refs/heads/master
2021-01-17T08:18:29.302846
2018-07-22T06:24:08
2018-07-22T06:24:08
12,612,770
0
1
null
null
null
null
UTF-8
C++
false
false
824
cpp
BearPair.cpp
//Problem statement //https://community.topcoder.com/stat?c=problem_statement&pm=14130 #include<iostream> using namespace std; class BearPair { public: int bigDistance(string s) { int n = s.length(); int maxDiff = -1; for(int i = 0; i < n; ++i) { for(int j = 0 ; j < n; ++j) { i...
84d0793d3a2b2c595b5e9d8b705a9d2615b73297
8f9f7f425a710038c5f010ff1af4fc5602bc0ef5
/vc10/ComboSequenceDetector.cpp
9b0796acfdfc1b1431ea1790299ee0f1dc2b9539
[]
no_license
Anto09/Eight-Way
35129455a7765ca9554156aef712a5b9b4ac401f
a2b49f26f01405783817280b34c3af276696d52e
refs/heads/master
2020-09-03T13:22:03.757156
2019-11-04T17:28:56
2019-11-04T17:28:56
219,472,661
0
0
null
null
null
null
UTF-8
C++
false
false
2,654
cpp
ComboSequenceDetector.cpp
using namespace std; #ifndef ComboSequenceDecector_HPP__ #define ComboSequenceDecector_HPP__ /**** * * ComboSequenceDetector Class * * Copyright (c) 2013 Wilhansen B. Li This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any ...
e20ac5b4c05bf47eff02d0aaebecab554711acaf
fec7123ee985505904f75acbc932565c7f201d1c
/_Uva/Don't Get Rooked/Untitled1.cpp
7dd1022276b54c421be26b0bc1730c1f9148fb9d
[]
no_license
MohmedAly7/competitive-programming
fefb4e9800d61e1c46c25ecf50383302f6ff22df
0a23baf9a357d9074bf851b4dedd87a9067dc31b
refs/heads/master
2021-05-20T14:31:18.096912
2020-04-02T03:25:23
2020-04-02T03:25:23
252,332,984
1
0
null
null
null
null
UTF-8
C++
false
false
462
cpp
Untitled1.cpp
#include <iostream> #include<stdio.h> #include <algorithm> using namespace std; int n[100]; int nm; bool cmp { if (n[i]%2&&n[i]>n[i++]) return 0; else (n[i]<n{i++}) return 1; } int main { cin >> nm; for (int i =0 ;i<nm;i++) cin >>n[i] ...
b419afc226717f3cb87cf67726958763456909b4
1edbccef4189d5c78384244c6990b5babdace8eb
/Extensions/_3rdLib/JsonInterface.h
89af1fae7627f939b6f8819100102d3f1ef43203
[ "MIT" ]
permissive
defisym/OpenFusionExamples
d5e3cf76b40bb3634077704dd248b984d0fb9196
b6e4ce60b861e57f631bda2a8bc4864163087522
refs/heads/master
2023-08-31T07:38:49.384581
2023-08-30T14:32:25
2023-08-30T14:32:25
208,172,638
27
8
MIT
2023-09-04T02:12:10
2019-09-13T01:03:55
C++
UTF-8
C++
false
false
3,729
h
JsonInterface.h
#pragma once #include <WindowsCommon.h> #include "nlohmann/json.hpp" constexpr auto MakeJsonParseErrorString(const char* pBase, const char* pContent) { return std::string(pBase) + std::string(": ") + std::string(pContent); } using JsonData = nlohmann::basic_json<>; class JsonObject { public: JsonObject() =...
a1db181464bc545972bca5209739e147542952bb
706571f943af02631e32b60193ba358e5bceb94d
/line_manual_test/lines.cpp
3843a5947b7e4d7b34e4e31480ce52cbdd9e2d8f
[]
no_license
shanawaraziz/dcel
7628cf25722593df9af5d7817b7e4ee337cdc16f
0ab6ff1a4394c3d7fa6ce3560e61d53740fab3a8
refs/heads/master
2020-12-31T06:31:45.144700
2014-12-23T00:26:20
2014-12-23T00:26:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,364
cpp
lines.cpp
#include <vector> #include "line.h" #include <iostream> #include "orientation.h" using namespace std; using cg::leftTurn; vector<Line> lines; int getNearest(Line l) { for(int i=0; i<lines.size()-1; ++i) { if(leftTurn(lines[i].n, l.n ,lines[i+1].n)) { return i; } } if(l<lines[0]) return -1; ...
a2fd0cc8d02e4629c9ae823c7a361b48a1ee85da
0d4a4fb9c4cfbc45275dff6a399131d9aa8649f0
/src/build2d_9.cc
3cfc111d9830a1b5bd26ad79628b12ab01f1f834
[]
no_license
DrValani/Partition-functions
a922c9e18ef6985c642d37a9c81f54c3939a1907
65b33ad9235d2dd4c649fe3c03c397e3ae6296ef
refs/heads/master
2021-01-01T19:34:41.916503
2015-05-26T21:48:04
2015-05-26T21:48:04
5,490,709
0
0
null
null
null
null
UTF-8
C++
false
false
4,401
cc
build2d_9.cc
#ifndef build2d_9_CC #define build2d_9_CC #include "latticeSize.cc" #include "commonMethods.cc" #include "searchMethods.cc" #include "myTimer.cc" #include "Storage_y.cc" int forward_traverse_tree(int tree_index, int current_column, Storage_y svy, vector<Storage> &config_tree, vector<int> &deltaCounter) { int con...
dfdc0bd83a1bbe3b43aa98f11141072eb3c452d4
e0a77a8c14b343d34e567cda3264a81fb60c806e
/Chapter_3/ex04.cpp
219bb7cec11befc72fd0ea3d7cd70e2ae8859d05
[]
no_license
bxr99/Stroustrup_ppp
80db6b94c48fed2e63e32aa39f43169625b03f6e
031de1e7a97280d8db07c6530f342848a1642582
refs/heads/master
2021-01-10T12:54:10.014778
2015-10-29T01:08:16
2015-10-29T01:08:16
43,497,810
0
0
null
null
null
null
UTF-8
C++
false
false
713
cpp
ex04.cpp
#include "std_lib_facilities.h" int main() { int val1 = 0; int val2 = 0; cout << "Enter two integer values (separated by <space>): "; cin >> val1 >> val2; if (val1 < val2) { cout << "the smaller value is " << val1 << '\n'; cout << "the larger value is " << val2 << '\n'; } else if (val1 == val2) {...
56dc7876e237a916c0a5ae6c00bb4e8ed7b71f16
4ad6f4b4ef44f5d896e17d417000a334b3cfd30d
/Practice/16/C++/16/16.cpp
a7e91a569b454c048f451e913b431f4aaffaabe0
[]
no_license
terrepta/Programming
ad288cb4863933eef1d38884dbd8222d3c68483c
36d9e3e37a11a61e15202aaac43072bdfc13a5d7
refs/heads/main
2023-04-04T18:22:06.034177
2021-04-18T18:12:11
2021-04-18T18:12:11
296,228,471
0
0
null
null
null
null
UTF-8
C++
false
false
607
cpp
16.cpp
#include <iostream> #include <string> using namespace std; int main() { setlocale(LC_ALL, "russian"); int numb, exit = 0, i = 1; cout << "Введите количество билетов\n"; cin >> numb; cout << "Через пробел ведите номера данных " << numb << " билетов\n"; string ticket{}; for (i ; i <= numb; i++) { cin >> ti...
f323d14e65631d3cdb95c6cf9400391a02172df4
00268dff649fe3e9ee8ee27e0c454884de7287a8
/DXDestroyer/CLog.h
d45f407376dd7a116bff9b1a2407c8c7eab17c07
[]
no_license
ben93riggs/DX_Internal_Colorbot
3b1a42e72e6c0e38ffdc7570bf7d7253080395b3
00a91e598f39ab23f0388e8b7d2c627313fbadd1
refs/heads/master
2020-03-28T18:48:15.479667
2018-11-27T20:42:29
2018-11-27T20:42:29
148,913,713
0
0
null
null
null
null
UTF-8
C++
false
false
464
h
CLog.h
#pragma once #include <string> #include <ctime> #define LOG CLog() inline std::string GetTime() { time_t rawtime; tm* timeinfo = nullptr; char buffer[80]; time(&rawtime); timeinfo = localtime(&rawtime); strftime(buffer, sizeof(buffer), "%d-%m-%Y %H:%M:%S", timeinfo); return std::string(buffer); } class CLog...
572a4117dde75e71eed3dba02b83d0f782ee0591
1f8ef1e95ae470e36eaa4d9c4a70c84f8e2f8514
/Ejemplo/TP/trunk/TP_Taller1/src/Simulador/Cuerpos/Huevo.cpp
0af366e7e5ff9b8ce5825b326fb35bb67089173c
[]
no_license
nhuallpa/random-fiuba-game
0c00a1c652e1b459e723ab8b6c6d75446631ad7c
42bf9c0740393979dce9e146c65dc022abc201af
refs/heads/master
2021-01-10T19:55:46.285979
2014-06-25T22:41:30
2014-06-25T22:41:30
32,127,857
0
0
null
null
null
null
UTF-8
C++
false
false
2,643
cpp
Huevo.cpp
/* * Huevo.cpp * * Created on: 03/11/2013 * Author: stephanie */ #include "Huevo.h" #include "Sonido/Sonido.h" #include "Simulador/Constantes.h" #include <math.h> namespace simulador { #define VELOCIDAD_MINIMA_PARA_ROMPER_HUEVO 2 Huevo::Huevo(b2World* mundo, Modelo::EntidadWrapper entidad) : seRompio(fa...
38d30fb49c0aac37050bf5d4cb79136e13833092
3841f7991232e02c850b7e2ff6e02712e9128b17
/小浪底泥沙三维/EV_Xld/jni/src/EV_TileUtility_Java/wrapper/tilerule_wrapperjava.cpp
7469731a66ed3087e739d0a421661a0f34c2bce4
[]
no_license
15831944/BeijingEVProjects
62bf734f1cb0a8be6fed42cf6b207f9dbdf99e71
3b5fa4c4889557008529958fc7cb51927259f66e
refs/heads/master
2021-07-22T14:12:15.106616
2017-10-15T11:33:06
2017-10-15T11:33:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,839
cpp
tilerule_wrapperjava.cpp
/* This file is produced by the JNI AutoWrapper Utility Copyright (c) 2012 by EarthView Image Inc */ #include "tileutility/tilerule.h" #include <jni.h> #include "core_java/global_reference.h" #include "core_java/jni_load.h" #include <typeinfo> namespace EarthView { namespace World { namespace Spatial { exter...
cdc4ad08c5494ec1029dda3f903e9ed72699d060
8f3ae2eb83d2188bb1adcf97314a6adf8f403951
/src/triLegacy/rendering/tests/testTransformPoints.cpp
9d19f79c3e48c50e7532d2a0e2128075eaeea1cc
[ "MIT" ]
permissive
moddyz/Tri
ebe83fab1eb803b61a2a87765d367108c30b8a80
c99532b8f3f19e69dacc0da2bdcc2d6bd944f82b
refs/heads/main
2023-01-31T09:48:42.204496
2020-12-16T10:35:40
2020-12-16T10:35:40
288,415,399
0
0
null
null
null
null
UTF-8
C++
false
false
1,249
cpp
testTransformPoints.cpp
#include <catch2/catch.hpp> #include <gm/functions/setTranslate.h> #include <tri/rendering/transformPoints.h> #include <tri/memory/array.h> using PointsT = gm::Vec3f; using PointsTypes = std::tuple< tri::Array< PointsT, tri::Host >, tri::Array< PointsT, tri::CUDA > >; TEMPLATE_LIST_TEST_CASE( "TransformPoints",...
b16501592e2327a3e0831b5c873628758bac6379
41cba10790f27c72e451df91a1cf9df20f4e4bb7
/app/include/shared/Packet/DamagePacket.hpp
f628f33803dd050f9a394c8d53c0e85d258507af
[]
no_license
Shiranuit/RType
dfd169c796d63b5727bab421dc7e18fac480c8fb
a77db1dd55857b112099997a6f4913207c129717
refs/heads/master
2023-07-12T08:33:50.123128
2021-08-05T19:14:08
2021-08-05T19:14:08
393,146,090
0
0
null
null
null
null
UTF-8
C++
false
false
1,650
hpp
DamagePacket.hpp
/* ** EPITECH PROJECT, 2020 ** B-CPP-501-MPL-5-1-rtype-antoine.maillard ** File description: ** DamagePacket */ #ifndef DAMAGEPACKET_HPP_ #define DAMAGEPACKET_HPP_ #include "ABasePacket.hpp" class DamagePacket : public ABasePacket { public: DamagePacket() : ABasePacket() {} DamagePacket(size_t id...
581d43019cca8db683a1df3d4820518d03ae2bf4
dadc30d5a6a8cb9178b00061576c3f36b0a4643a
/source/SilentPatchAqua.cpp
bdc10004dab366a6a24b47dd194b08b3f0661484
[ "MIT" ]
permissive
CookiePLMonster/SilentPatchAqua
ceb3664c75d7e7d79b1eb223f093f8c2e73c32b9
8af532203c9b9509b673969264496d14076b8b89
refs/heads/master
2023-07-10T11:40:23.932664
2020-03-31T18:29:22
2020-03-31T18:29:22
247,495,345
15
0
null
null
null
null
UTF-8
C++
false
false
545
cpp
SilentPatchAqua.cpp
#include "Utils/MemoryMgr.h" #include "Utils/Patterns.h" void OnInitializeHook() { using namespace Memory::VP; using namespace hook; // Fix DirectInput buffer overflow being treated as failure // This is fixed in AquaNox 2 // jne -> jl pattern( "6A 14 50 FF 51 28 85 C0 75" ).count(3).for_each_result([] ( patter...
0c39e759033ec12695b6d3e5728e4e36f6125138
b0c66358ae5c0386db5887e2609929e753c38d18
/arch/cf/516/TaskA.cpp
24243bb21817e7bd228d238a8559874071450074
[]
no_license
michalsvagerka/competitive
e7683133ee5f108429135a3a19b3bbaa6732ea9f
07f084dff6c1ba6f151c93bf78405574456100e4
refs/heads/master
2021-06-07T14:54:35.516490
2020-07-07T08:17:56
2020-07-07T08:19:09
113,440,107
4
0
null
null
null
null
UTF-8
C++
false
false
214
cpp
TaskA.cpp
#include "../l/lib.h" // #include "../l/mod.h" class TaskA { public: void solve(istream& cin, ostream& cout) { int N; cin >> N; string S; cin >> S; sort(S.begin(),S.end()); cout << S << endl; } };
ed87fdec7698e2115e71c20463724bb21dba78d3
eedebf357f678c1418c50c236b4bad1ef254c5be
/util/ThreadTransferHistory.h
fb7e066dadc3ebb82409e9e3db192718231f7112
[ "BSD-3-Clause" ]
permissive
facebook/wdt
c915a71e42ea0d945015eff0140731856ab2d15d
3b52ef573129fb799319630bd438717761111f57
refs/heads/main
2023-09-05T07:25:03.544481
2023-07-11T18:42:54
2023-07-11T18:42:54
22,231,878
3,038
508
NOASSERTION
2023-04-16T13:37:33
2014-07-24T21:23:34
C++
UTF-8
C++
false
false
5,595
h
ThreadTransferHistory.h
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/SpinLock.h> #include <wdt/Protocol.h> #include <wdt/Reporting.h> #include <wdt...
037c2db04e8a24f0e2b3d70ca43770d555dbbe0e
7bcc91e5b5e4a095569f7a33eb323e36fbf11ada
/PrototypeVanSw/Source/PrototypeVanSw/AI/FollowPlayerAIController.h
2a21ab829344272f42f6334b71472b5f3651936d
[]
no_license
danruelop/PrototipoVanishingSword
55bfe09e446c8984a84cee7d8836c90c903c0758
de784363fd202f1608b876dcb5f741586518cc8c
refs/heads/main
2023-05-26T00:15:32.532173
2021-06-01T11:53:27
2021-06-01T11:53:27
344,095,718
1
0
null
2021-03-25T23:00:07
2021-03-03T10:59:17
C++
UTF-8
C++
false
false
678
h
FollowPlayerAIController.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "AIController.h" #include "FollowPlayerAIController.generated.h" /** * */ UCLASS() class PROTOTYPEVANSW_API AFollowPlayerAIController : public AAIController { GENERATED_BODY() private: ...
f820e59bfe0e4282d6b59121be58579a6021a666
50971d560c6c748aa5a23dfaa26fe807536c352b
/src/main.cc
bda83e3f9a78c12f5e4447d29787a18f9a2e94d9
[ "MIT" ]
permissive
mtawaken/fool2048
3487227ba7bac3168f6788969116353bd65a3f35
11b142637ddd6c2e1469d51ebf295505831e34d9
refs/heads/master
2021-01-15T18:13:53.579347
2014-05-18T15:11:39
2014-05-18T15:11:39
20,989,285
1
0
null
null
null
null
UTF-8
C++
false
false
517
cc
main.cc
/* * main.cc * * Created on: Mar 17, 2014 * Author: chncwang */ #include "log_util.h" #include "game/human_game.h" #include "game/new_game_builder.h" #include "game/auto_game.h" #include "board/board.h" using fool2048::board::Force; using fool2048::board::FullBoard; using fool2048::InitLogConfig; using foo...
7859fe804eb16eeaa52ad7dc9476ecce28297ecd
29cd8de734117b5fb81d4bc568ac9b45b4e2cd82
/134.cpp
dcd61d18f5cb55a9b0255dc87b5e6332c2ab58ee
[]
no_license
vedantpople4/problem_solving_cpp
386eacd11ea307e3e9bf2ce86b78043573d67b9c
ebe4599ad9eba332fccec9aec0b63ecad930813b
refs/heads/master
2022-07-28T22:21:17.659296
2022-07-11T13:10:20
2022-07-11T13:10:20
228,216,495
1
3
null
2020-10-25T15:58:32
2019-12-15T16:38:00
C++
UTF-8
C++
false
false
417
cpp
134.cpp
int canCompleteCircuit(vector<int>& gas, vector<int>& cost) { int n=gas.size(); int totalDiff=0,diff=0; int index=0; for(int i=0;i<n;i++){ diff+=gas[i] - cost[i]; totalDiff+=gas[i] - cost[i]; if(diff < 0){ diff=0; ...
1f0cec5ac8a7ed7672654786ec0660063c55e419
1f5f6e0bdfb875f674455749216bec1886a8b7e1
/examples/basic_config/ESPert_JSON.hpp
5eb3e31fd5b8b356f08fa9a81322417605172a7f
[]
no_license
cmmakerclub/CMMC-IoT
d515bc933a1694f9b9334b426b683b41ec8873f2
3b105855e84b95ce84d523287e857c651a0add65
refs/heads/master
2016-09-14T06:44:19.340235
2016-06-07T11:53:47
2016-06-07T11:53:47
58,912,731
0
0
null
null
null
null
UTF-8
C++
false
false
1,188
hpp
ESPert_JSON.hpp
#include <ArduinoJson.h> #include <Arduino.h> class ESPert_JSON { private: char* json; JsonObject* root; DynamicJsonBuffer jsonBuffer; public: ESPert_JSON(); bool init(String payload); bool containsKey(String key); String get(String key); void release(); void dumpSerial(); }; ...
7e4d518c9380a16edf92ba81629ad4a6b7e431a5
c2b059d7e908aaaa119acc98153ddce5c286896e
/Source/Hector/Utils/HectorDrawings.h
a9b623c4c829decdb37e8bd1702286d93665f8f3
[]
no_license
cyberniklee/SeMapping
63528e9c1c9bd7437e2397b227e6d01bae9b2b29
3e3c1d61ed0bc407a76a28344674d025c401c07f
refs/heads/master
2021-05-05T12:40:25.740340
2017-11-27T07:22:07
2017-11-27T07:22:07
104,874,175
1
8
null
null
null
null
UTF-8
C++
false
false
2,195
h
HectorDrawings.h
#ifndef _HECTOR_DRAWINGS_H_ #define _HECTOR_DRAWINGS_H_ #include "DrawInterface.h" #include "UtilFunctions.h" #include <Eigen/Dense> #include <DataSet/DataType/Pose.h> #include <DataSet/DataType/Vector3.h> #include <Console/Console.h> class HectorDrawings: public DrawInterface { public: HectorDrawings() { ...
a8ba02c52d702746fa4f9476f7a1cd14ade449b2
59411ce2f2eace921953309cf9c13aa5e30a788a
/Programming Questions/Day 7/Smart Thief.cpp
93bad68d3ec7fc4b5b47fa6f44aa0bc6f6ab23a2
[]
no_license
InternityFoundation/DS-Algo_Aman-Goyal
a17f0d47f20035237eabdb3338d32dad04f8245d
90156f96e27355b4933da58ca4c017b755dbe725
refs/heads/master
2022-11-14T19:29:03.407125
2020-07-08T14:03:22
2020-07-08T14:03:22
271,806,333
0
1
null
null
null
null
UTF-8
C++
false
false
1,142
cpp
Smart Thief.cpp
/*The robber is very smart and planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping thief from robbing each of them is that adjacent houses have security system connected and it will automatically contact the police if two adjacent houses were broken int...
b497b4b156547df7ec177f4e7494c32494829bf5
920ea7d9ac652716f9c1477ee1c63fc838140db2
/task5/mass_of_str.hpp
a4eba228331c50d090df2fdecd887679331d6986
[]
no_license
EkaterinaSukhanova/Examples-of-my-code
f6f6af5e3dbde4615df1f5b034b94f96d99b32ce
eeeb26f13529b7de539959e485b58da376ef2a07
refs/heads/master
2021-01-20T06:43:24.043372
2017-05-01T11:33:58
2017-05-01T11:33:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
568
hpp
mass_of_str.hpp
#ifndef MASS_OF_STR_HPP #define MASS_OF_STR_HPP #include <fstream> #include <iostream> using namespace std; class mass_of_str { public: mass_of_str(size_t size, istream &file); mass_of_str(mass_of_str &mass2); void print(); void print_number_str(int i); ~mass_of_str(); void concatenation(mass_o...
a123a32107a886c97ac5787b8240d5e0c0dec93a
23720a523bfedb854faead4f274568411a82df45
/Auxillary Files/read_mnist.cpp
01d4721b8c6f829f84bb9b1de162799bde10f88e
[]
no_license
Prahlad-K/Sudoku_Solver
42de7b7b7b5cbcd448c2b1abe010a1f1557d95c8
ed10ca70ba53b3cf41a13d9c1ced8fd1bbe8973e
refs/heads/master
2020-12-29T21:54:49.645223
2020-02-23T08:11:15
2020-02-23T08:11:15
238,746,330
1
1
null
null
null
null
UTF-8
C++
false
false
1,057
cpp
read_mnist.cpp
#include <bits/stdc++.h> using namespace std; int main() { fstream fin; // Open an existing file fin.open("./MNIST/mnist_train.csv", ios::in); // Read the Data from the file // as String Vector vector<vector<int>> training_vectors; vector<int> training_classes; string line,...
36fefe954d3407c5523c4c5cfa43a967eb01e8b0
6c64ee8eb6eb085cf9b872451e0391e7fcf870d2
/test/state/nextState_test.cpp
6ff6efc3f14f49a3b9dd3c481a7345747099a7b0
[]
no_license
yosrym93/elevator-controller
447355f0a1e26223293a37a295ea9ff4adf94b6b
d80f59b444fddd2348e6b2d7d5e39c7419a7265f
refs/heads/main
2023-05-27T13:52:47.089392
2021-06-09T00:06:25
2021-06-09T00:06:25
372,588,570
1
1
null
null
null
null
UTF-8
C++
false
false
18,392
cpp
nextState_test.cpp
#include <unity.h> #include <nextState.h> constexpr size_t NUM_FLOORS = 5; NextStopPlanningState<NUM_FLOORS> st; Input<NUM_FLOORS> in; inline void updateAndCheckState(void) { uint8_t _floor = st.currentFloor; st = st.getNextState(&in); in = ZERO_STRUCT; // shouldn't change the currentFloor TEST_AS...
69fd8abad0047be8831f0bed76600abc60e12e16
b179ee1c603139301b86fa44ccbbd315a148c47b
/engine/maps/tiles/features/include/NeutralAltarManipulator.hpp
b7b066d290fa99245b6be5b3cbc4d80b56b56ce5
[ "MIT", "Zlib" ]
permissive
prolog/shadow-of-the-wyrm
06de691e94c2cb979756cee13d424a994257b544
cd419efe4394803ff3d0553acf890f33ae1e4278
refs/heads/master
2023-08-31T06:08:23.046409
2023-07-08T14:45:27
2023-07-08T14:45:27
203,472,742
71
9
MIT
2023-07-08T14:45:29
2019-08-21T00:01:37
C++
UTF-8
C++
false
false
226
hpp
NeutralAltarManipulator.hpp
#pragma once #include "AltarManipulator.hpp" class NeutralAltarManipulator : public AltarManipulator { public: NeutralAltarManipulator(FeaturePtr feature); std::string get_creature_action_key() const override; };
ea76b5f732335948f0c64742948a110e21992a98
c85e2eb549dc2f3d777631fc2e3f6de946f61656
/boost/unpack_using_tie.cpp
ee4e69d800bf1bb574d7b3f0ae049e6a72a2b02b
[ "MIT" ]
permissive
uwydoc/the-practices
3bf5a8c85d35c708ab504166ab199b286cadeba7
61ea1d868017ac88fddf6c0e726f0e9adde3f80e
refs/heads/master
2021-01-13T01:41:31.482395
2015-09-09T08:18:51
2015-09-09T08:18:51
33,257,617
0
0
null
null
null
null
UTF-8
C++
false
false
457
cpp
unpack_using_tie.cpp
// unpack_using_tie.cpp // #include <iostream> #include <string> #include <boost/tuple/tuple.hpp> namespace test { boost::tuple<std::string, int, bool> make_cat() { return boost::make_tuple("cat", 4, true); } } int main(int argc, char* argv[]) { std::string name; int legs; bool with_tail; boos...
db2e167d98048cc55d5c6aa7ce326f69f243adc5
cc9b4df194935a28b424b635df01d1f22aa40c8a
/test_Maze_problem/test_Maze_problem/test.cpp
4c2d3873e3b1c2b708e8da221803ca37dab8680b
[]
no_license
Fmingcheng/my_git_c-
e336d3d806d88cd7d5983367254add29a63c276d
7d83f75f62c34db9b1840317781ca0d958a23888
refs/heads/master
2020-05-18T11:00:26.894170
2020-04-01T12:39:55
2020-04-01T12:39:55
184,363,451
0
0
null
null
null
null
GB18030
C++
false
false
2,074
cpp
test.cpp
//思路:回溯,碰到墙就返回 //0 1 0 0 0 //0 1 0 1 0 //0 0 0 0 0 //0 1 1 1 0 //0 0 0 1 0 #include <iostream> #include <vector> #include <string> using namespace std; vector<string>& mazes(vector<string>& ret, vector<vector<char>> vv, int row, int col){ int i = 0; int j = 0; //模拟走迷宫的动作 while (i != row - 1 || j != col - 1){ wh...
b693d291493e125b8658a6eda484c86965f3cc68
c0efc748dedc98c3cb6ef8d6704909a1f0718a07
/ModelViewer/source/sys/app_wndproc.cpp
2813cf75313f0bb5c055008174b3a5a1c0cacb4e
[ "MIT" ]
permissive
i-love-falcom/ModelViewer
3f78fc1c95c78738f97bc26f7781807113bf20cb
7498c363f6e2fb760415785dfc42a78e362b7bca
refs/heads/master
2021-06-30T10:06:33.076417
2019-01-31T00:30:06
2019-01-31T00:30:06
107,267,812
0
0
null
null
null
null
UTF-8
C++
false
false
2,797
cpp
app_wndproc.cpp
// ModelViewer.cpp : アプリケーションのエントリ ポイントを定義します。 // #include "stdafx.h" #include "app_wndproc.h" #include "app.h" #include <shellapi.h> LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_PAINT: { PAINTSTRUCT ps; HDC hdc...
8fdca5bb14fd1203d25f8df82f3bd1820d9a7a54
e8593fa66ba60a22170867163d917014aa91b899
/PFwCUDA/main.cpp
47a8506d48f3564754d6187a120935bd6ff03062
[]
no_license
milagorobets/loops-good-loops
e07d9d01c1803cba0315352733a9595e523c990e
ae560f1dde0f00e77e5d57511ea44c101c47fb78
refs/heads/master
2021-01-23T03:27:08.447397
2015-05-15T20:49:44
2015-05-15T20:49:44
34,143,716
0
0
null
null
null
null
UTF-8
C++
false
false
4,248
cpp
main.cpp
#include "common.h" #include "init.h" #include "cpuAlgoPixelFlow.h" #include "cpuAlgoPixelFlow_v.h" #include "cpuAlgoPixelFlow_v_1d.h" #include "ref_cpuAlgoPixelFlow.h" //#if (TEST_CLASS == GPU_UNOPTIMIZED) //#include "gpuAlgoPixelFlow.h" //#elif (TEST_CLASS == GPU_PTR) #include "gpuPF_ptr.h" //#include "cP...
70d395f6563e3b1338aaa8fb46d9cfdf53f8101e
6d52594a234a4278c701c14041824b27ba52ab4a
/src/MySQL_Generic_Ethernet.h
43ddf3ea72b313d80eeaae457708f2193459253b
[ "MIT" ]
permissive
freemanr7/MySQL_MariaDB_Generic
2daca00ee303c1868cb352006dd6dc60d5ad1d38
5001aa89fab89ead37fd9622218a79c429168d56
refs/heads/master
2023-08-15T06:58:15.542979
2021-10-12T05:51:05
2021-10-12T05:51:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,315
h
MySQL_Generic_Ethernet.h
/********************************************************************************************************************************* MySQL_Generic_Ethernet.h Library for communicating with a MySQL or MariaDB Server Based on and modified from Dr. Charles A. Bell's MySQL_Connector_Arduino Library https://gi...
2883e13d8d099293e1c5eef5a662c1c988e1d0d5
73f88b9d8055c1bc5ed408319ffed9fa72af628b
/include/Pomdog/Graphics/BlendFunction.hpp
970656e0c93f78628b92eb2d7956b4f703c3e8f3
[ "MIT" ]
permissive
Mourtz/pomdog
3841c015012f0bb8f4e45c3524a66ced11abd448
b3f678033b2b41ec5bbf9c5079810b1082aa293d
refs/heads/master
2020-12-25T04:01:47.810430
2015-09-10T11:57:25
2015-09-10T11:57:25
38,495,875
1
0
null
2015-07-07T09:48:00
2015-07-03T14:12:26
C++
UTF-8
C++
false
false
408
hpp
BlendFunction.hpp
// Copyright (c) 2013-2015 mogemimi. // Distributed under the MIT license. See LICENSE.md file for details. #ifndef POMDOG_BLENDFUNCTION_5A8D5F85_HPP #define POMDOG_BLENDFUNCTION_5A8D5F85_HPP #include <cstdint> namespace Pomdog { enum class BlendFunction: std::uint8_t { Add, Subtract, ReverseSubtract, ...
7a709363b79fd5681442147ee4e2653dd5d3030d
425963de819e446a75441ff901adbfe5f1c5dea6
/gpu/command_buffer/client/raster_implementation_gles.cc
8c6b37845ff0183f388803d178e2d19c3e51a03e
[ "BSD-3-Clause" ]
permissive
Igalia/chromium
06590680bcc074cf191979c496d84888dbb54df6
261db3a6f6a490742786cf841afa92e02a53b33f
refs/heads/ozone-wayland-dev
2022-12-06T16:31:09.335901
2019-12-06T21:11:21
2019-12-06T21:11:21
85,595,633
123
25
NOASSERTION
2019-02-05T08:04:47
2017-03-20T15:45:36
null
UTF-8
C++
false
false
6,202
cc
raster_implementation_gles.cc
// Copyright (c) 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gpu/command_buffer/client/raster_implementation_gles.h" #include <algorithm> #include <cstddef> #include <limits> #include <set> #include <...
1da860a8f0909b7892c9db73acf3aa307ba9b30d
70f3dda28c40630aad419187592ffcb9eb85bec9
/src/render.cpp
43687ec720923498da74daec01626e8020bb1fed
[]
no_license
DeeKayHT/IlluminEngine
8a5f12ae8e196f33ac58be54d6a5d8a76bafa9b3
6c8a6794fbf416991dcace2567a71a2a937a45e4
refs/heads/master
2020-09-23T08:18:32.365260
2020-07-15T06:30:26
2020-07-15T06:30:26
67,854,706
0
0
null
null
null
null
UTF-8
C++
false
false
11,449
cpp
render.cpp
#include <stdio.h> #define STB_IMAGE_IMPLEMENTATION #include "stb/stb_image.h" #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" #include "main.h" #include "light.h" #include "render.h" #include "shader.h" #include "camera.h" // ----------------------------------------...
d5f4a616e6aa438a94a2cbb02804c69442bfe2fa
479bb4756db1b29d745246c121f1a88d34990c20
/runningAverage/src/ofApp.cpp
4a715f95e658060522079ca64c8a91d9b5ff6101
[]
no_license
AndreasRef/chartCloudFace
8dbe08a6df374cab3b207cc4b2590ce4cf0a0dcc
28dd8a4bf06cf0b7b7e29c064552726450882a4d
refs/heads/master
2020-03-23T05:26:38.221002
2018-12-19T05:13:42
2018-12-19T05:13:42
141,143,590
0
0
null
null
null
null
UTF-8
C++
false
false
2,907
cpp
ofApp.cpp
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ storedValues.resize(100); } //-------------------------------------------------------------- void ofApp::update(){ timeEllapsed = round(ofGetElapsedTimef()); //cout << ofToString(timeEllapsed...
25c3b98d521a2b0b69212f6d568dceffdfedccae
efe8b9582ece9ff35375c3234c0f29eb0635fc9c
/MyTestClientHandler.h
902090831085f87d71c9a3479b626a010e62881c
[]
no_license
OrtalLankri/OurServer
7cec020f5327b95a56cc0eb3d90a599121c99781
ca8f4dff4f2d5410b0ba4fb277971e43ae2dc3f9
refs/heads/master
2020-12-10T12:09:06.756697
2020-01-27T11:49:57
2020-01-27T11:49:57
233,588,916
0
0
null
null
null
null
UTF-8
C++
false
false
643
h
MyTestClientHandler.h
#ifndef OURSERVER_MYTESTCLIENTHANDLER_H #define OURSERVER_MYTESTCLIENTHANDLER_H #include "ClientHandler.h" #include "Solver.h" #include "CacheManager.h" #include <unistd.h> #include <cstring> #include <sys/socket.h> using namespace std; class MyTestClientHandler: public ClientHandler { Solver<string,string>* so...
d112e1b9ad0799cf407bac6ec1358460d14309c5
28b6e95c13e3557618a6b58ff0dca0e7fa89c55f
/Assignment 2/9.4/main.cpp
926b0fc4a0d6b1232e9ac1e81b9b37f848637c17
[]
no_license
ppelayo1/Patrick-Pelayo-Homework-and-Projects
06e53d85ed1ae5543bbca2c6b970bbe70128baca
82392f6bb45e99d3f7466cab703027d9d19f65d4
refs/heads/master
2021-08-23T01:20:48.034549
2017-12-02T04:04:26
2017-12-02T04:04:26
107,751,392
0
0
null
null
null
null
UTF-8
C++
false
false
4,072
cpp
main.cpp
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: main.cpp * Author: Patrick * * Created on September 24, 2017, 5:36 PM */ #include <iostream> #include <iomanip> #i...
0cc3e7e1c7d7145ec66f70639c96833b5e7dc210
0ce69de361c56ffd82a213a782ad0604ca787141
/CSE329 Prelude to competitive coding/CSE329/3-Sept-2018/Prog2.cpp
b5caebd36ecda2a08a64b9821de98bc44a902233
[]
no_license
Sandipghosh98/My_Programs
842ac20134d1d0e6e9adb7d1613f8c82d0daa72a
a1a5041628b7d1a47223832c103c83c2a864af34
refs/heads/master
2020-06-13T02:33:18.381343
2019-06-30T10:26:16
2019-06-30T10:26:16
194,502,828
0
0
null
null
null
null
UTF-8
C++
false
false
427
cpp
Prog2.cpp
3// Queue Template Class. #include<bits/stdc++.h> using namespace std; int main() { queue<int>Q; stack<int>S; for(int i=1;i<=10;i++) Q.push(i); while(!Q.empty()) { S.push(Q.front()); Q.pop(); } while(!S.empty()) { Q.push(S.top()); S.pop(); } while(...
95d29ee7b86e9304d9083ba7ae8573a2bfdb99c2
8bb2518fb83d935188dcefaf3f41e9347ecb1482
/lib/IAEnemigo.cpp
70d0c80f3c2d28c137a0c1c219855c69fc2d7c32
[]
no_license
edufg88/muzz
f900809601bba0c0b7ff930cd25d70799c95c1a5
7d601aefb479607e70cb6b1cd92b2e9ef19a0ba3
refs/heads/master
2020-04-08T21:36:44.676878
2011-05-28T14:58:19
2011-05-28T14:58:19
32,288,317
0
0
null
null
null
null
UTF-8
C++
false
false
285
cpp
IAEnemigo.cpp
#include "IAEnemigo.h" IAEnemigo::IAEnemigo() { actitud = PASIVO; } IAEnemigo::IAEnemigo(int pActitud) { actitud = pActitud; } IAEnemigo::~IAEnemigo() { } int IAEnemigo::getActitud() const { return actitud; } void IAEnemigo::setActitud(int act) { actitud = act; }
65c2bdbbd324465d11cb12dbc762c80cb49abe31
3238b0496a7f18368df3b7f01f0607dc59196433
/src/Bindings/LuaNameLookup.cpp
e52d8dbdc6ebbe2523b7959472363a4caaa347c1
[ "Apache-2.0" ]
permissive
zeliard/MCServer
7d0715ab0867cb7145ca1ec122ff7cfcb4f1f2f5
2f185ed476fffdde069b07069ef3b8fa75aab23c
refs/heads/master
2020-12-03T05:20:32.180433
2015-05-19T20:27:28
2015-05-19T20:27:28
35,934,203
4
2
null
2015-05-20T07:57:08
2015-05-20T07:57:08
null
UTF-8
C++
false
false
1,845
cpp
LuaNameLookup.cpp
// LuaNameLookup.cpp // Implements the cLuaNameLookup class used as the cNetwork API callbacks for name and IP lookups from Lua #include "Globals.h" #include "LuaNameLookup.h" cLuaNameLookup::cLuaNameLookup(const AString & a_Query, cPluginLua & a_Plugin, int a_CallbacksTableStackPos): m_Plugin(a_Plugin), m_Ca...
96c312bc90e19fcbd623dfadc4a8eefd6fd5c9a3
85a12c4303cf3d120ef1a2f500814dff9821ed82
/code/Classes/Login.cpp
1db1fd405e55c680403c4e88b8bfa72afb4686cb
[ "Apache-2.0" ]
permissive
fawkesLi-lhh/Vagrant
3130ff2c7548157b85fff8ac694b41fc09af78ce
15adbf52fb55235f68b3d576c5a8433cf8ee5b41
refs/heads/main
2023-03-09T02:19:38.117187
2021-02-19T14:19:54
2021-02-19T14:19:54
340,261,095
3
0
null
null
null
null
UTF-8
C++
false
false
884
cpp
Login.cpp
#include "Login.h" #include <cstring> bool Login::doPost(HttpRequest &req,HttpResponse &resp){ MysqlRAII sql; char buffer[555]; sprintf(buffer,"SELECT name,passwd,nick FROM user where name='%s'",req.getParameter(String("name")).c_str()); if (mysql_query(sql.sql, buffer)) { printf("sql error\n"); ...
20344b055d2debca1fb011760005d823a9fdbc03
6c8121e767ab9dbdb31a17e7caee526bccff20c4
/src/position/include/matching.h
d4c37b8e73f0c41aa1363e3dda58ab0dd29e9874
[ "BSD-3-Clause" ]
permissive
dolmong/BackUp
bad77ae79cb46298bb4da78e2cbe40adc13e75e1
3b616a0761bfc50871a2e92d18ba7085c096572b
refs/heads/master
2020-03-26T15:16:13.229514
2013-12-24T01:30:12
2013-12-24T01:30:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,922
h
matching.h
#ifndef MATCHING_CLASS_MATCHING_H #define MATCHING_CLASS_MATCHING_H #include <malloc.h> #include <vector> #include <utility> #include <math.h> #include <float.h> #include <algorithm> #include "ros/ros.h" #include "sensor_msgs/Image.h" #include "global.h" #include "filesystem.h" class CMatching { p...
9e4821a499bcb83c4c73ecdf3198b83bc3ee7f63
3171f37856ccc3d69a6441579e64738b1334b73f
/SpellChecker/spellchecker.h
a10aa1a9958f7eee871b0a83cf22d3c1b7751d70
[]
no_license
jennaon/Data-Structure-and-Algorithms-II
87a4e7ba9fa809534f7766ad893e3366cdd671f1
2eced57dfa834f527d2223c21284f42a3cfd42ad
refs/heads/master
2020-04-06T07:05:45.437634
2014-10-19T01:52:48
2014-10-19T01:52:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
685
h
spellchecker.h
#ifndef SPELLCHECK_H_INCLUDED #define SPELLCHECK_H_INCLUDED #include "hash.h" class spellcheck{ public: spellcheck (const std::string &dictionary = ""); void spellchecker(const std::string & input , const std:: string & output ); private: hashTable *h = new hashTable(); /** Check whether the ...
e09c8c7d706b00bcb1ac6b7dd70691cb02668cb5
0dc828e297f0ba3defd6e4f16227414d3cfef354
/Kern-and-Rich/4.10addGetline/addGetl.cpp
3fc15f86db0c21be248bcdae76362884756c5e94
[]
no_license
eBenya/C_solution
6e48b780530f0e86f89ff619577bcac8c83e8d78
feb9b98b4802fe59a4e9283dedbd8c071c949dab
refs/heads/master
2022-05-26T17:45:32.228890
2022-03-28T07:55:05
2022-03-28T07:55:05
214,994,538
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
2,848
cpp
addGetl.cpp
/*Упражнение 4.5. Предусмотрите возможность использования в программе библиотечных функций sin, exp и pow. См. библиотеку <math.h> в приложении В (параграф 4).*/ #include <stdio.h> #include <tchar.h> #include <ctype.h> #include <stdlib.h> //atof #include <locale.h> #include <math.h> #include <string.h> /* strlen() ...
638cf328b7300375442902c5a6a8b1fcc8d947d0
3a750a0737aa86e8c1b443c9d6a4e2f7c3406128
/Pisicne/Day_10/ex03/Cure.cpp
5402bbb6da2e07d961c1dd3fe7757a43bfe3564a
[]
no_license
Ansou1/CPP
265b1525dbd79b62d269549d565aba6acd3d07e9
7dea68644bca826732d49c55d3efae29ee1b12f3
refs/heads/master
2020-05-30T12:26:56.376483
2016-12-13T21:10:16
2016-12-13T21:10:16
69,865,117
1
0
null
null
null
null
UTF-8
C++
false
false
565
cpp
Cure.cpp
// // Cure.cpp for Cure in /home/daguen_s/rendu/piscine_cpp_d10/ex03 // // Made by daguen_s // Login <daguen_s@epitech.net> // // Started on Fri Jan 17 16:34:25 2014 daguen_s // Last update Fri Jan 17 17:30:03 2014 daguen_s // #include "Cure.hh" Cure::Cure(): AMateria("cure") { } Cure::Cure(Cure const & cure) : A...
ddf580fa63ce68c281e059782a55f1abccbe34c3
518a46aa41ebc40ae20536bb9ba51bbe304fb802
/Customer List/list.cpp
572fa4efb779932e5b1094ab3e6ef7ff8687bbe1
[]
no_license
filipecamargos/C-Data-Structure-Abstract-Data-Types-Customer-Implementation
4fd3186c64ad31ab425abf6f27ae0d5eb89fef06
3d87853e67e15a87f0f3a89a30326d230f565bf8
refs/heads/master
2022-10-23T13:49:42.576359
2020-06-14T03:10:50
2020-06-14T03:10:50
272,123,703
0
0
null
null
null
null
UTF-8
C++
false
false
6,978
cpp
list.cpp
#include "list.h" #include <cstring> #include "unit_testing.h" using namespace custom; /******************************************************************************* FUNCTION IMPLEMENTATION /*******************************************************************************/ template <class T> void list<T>::insertAt(no...
fb339da34b48f8767ce8d84d8f5612c168575a96
d4433d8c51e9dc6e0c2904def0a524c9125555de
/Battle/AffectArea/AffectArea.h
4eb86fcfc3fc8c1e737219e2f5d973fd34445041
[]
no_license
54993306/Classes
3458d9e86d1f0e2caa791cde87aff383b2a228bb
d4d1ec5ca100162bd64156deba3748ce1410151d
refs/heads/master
2020-04-12T06:23:49.273040
2016-11-17T04:00:19
2016-11-17T04:00:19
58,427,218
1
3
null
null
null
null
GB18030
C++
false
false
2,748
h
AffectArea.h
/************************************************************* * * * Data : 2016.6.12 * * Name : AffectRange * * Author : Lin_Xiancheng * * Description : 技能效果范围 * * *************************************************************/ #ifndef __AffectRange_H_ #define __AffectRange_H_ #include "cocos2d.h" #include "Batt...
398cdeda16874b59cedd320a93bbf5c3cbb9715d
f53a79a1cee7e2ba44e06fe0a94d4032bb9ee43f
/BOJ/1162.cpp
96ebb2c3b2af29841253aab0e3c9f28c12b70a1e
[]
no_license
SOFTK2765/PS
f576a416da21034d5ebea60538fcd263b6d042f3
a9215bc9c41530ad6a1a7352716c64e6d73354a7
refs/heads/master
2021-06-21T00:39:34.065445
2021-01-01T12:45:51
2021-01-01T12:45:51
152,511,667
2
0
null
null
null
null
UTF-8
C++
false
false
1,194
cpp
1162.cpp
#include <bits/stdc++.h> #define INF 123987654321 using namespace std; int main() { int n, m, k; cin >> n >> m >> k; vector<vector<pair<int, long long>>> adj(n+1); for(int i=0;i<m;i++) { int tmp1, tmp2; long long c; cin >> tmp1 >> tmp2 >> c; adj[tmp1].push_back({tm...
d34ca6da336021ef1b40995466b3b6e8c5b1a0ef
17fe08a8e9fce9d0f71f1b6f28192cb7373ab88c
/zookeeper/server/ZooKeeperCriticalThread.hh
43db889fe4f6bf3a6fc3b0e98a7d5aeab325cb84
[ "Apache-2.0" ]
permissive
cxxjava/CxxZookeeper
dcf31c6638afc37c1ebe1ba4351b31c10d991364
149677c785627aff839b2102ab265c745882fa52
refs/heads/master
2021-01-25T13:23:45.102771
2018-10-25T17:33:33
2018-10-25T17:33:33
123,562,911
19
10
null
null
null
null
UTF-8
C++
false
false
1,387
hh
ZooKeeperCriticalThread.hh
/* * ZooKeeperCriticalThread.hh * * Created on: 2017-11-22 * Author: cxxjava@163.com */ #ifndef ZooKeeperCriticalThread_HH_ #define ZooKeeperCriticalThread_HH_ #include "Efc.hh" #include "ELog.hh" #include "./ExitCode.hh" #include "./ZooKeeperThread.hh" #include "./ZooKeeperServerListener.hh" namespace e...
380f45af3adf010d7d931467a9ff5e0a801276b8
6af589710852182a6bda06fd10c8c64e66a70b2f
/GPS_mini2/GPS_mini2.ino
72a45cbb33aeb5dd0d053234776140e2ca65c5f2
[]
no_license
AshirogiMaxx/test
c28c48dfed7bfebc7db187adc5eb45c6c992aef1
b7eeffee0d0b4a51a3991f667ca3dc19385b9e42
refs/heads/master
2020-03-17T12:25:37.334977
2018-06-01T03:34:28
2018-06-01T03:34:28
133,588,030
0
0
null
null
null
null
UTF-8
C++
false
false
1,332
ino
GPS_mini2.ino
#include <TinyGPS++.h> #include <SoftwareSerial.h> /* This sample code demonstrates the normal use of a TinyGPS++ (TinyGPSPlus) object. It requires the use of SoftwareSerial, and assumes that you have a 4800-baud serial GPS device hooked up on pins 4(rx) and 3(tx). */ static const int RXPin = 5, TXPin = 6; sta...
ea77ea8d25496e68799a0beb1c517c56784dadb0
28f94bbe94e503fd1aef422b0f1ccfb71fdf8e22
/item35/01.cc
6f8bb9ab2c61caa78598dea17b292c7fa6f5ae1e
[]
no_license
goodpaperman/effectstl
498ed6d04c0fe2291bae4c984eee42c9ce9a8d59
37aded17aefeaaa4a37939111a3f53eaee6fa3a6
refs/heads/master
2020-05-30T11:05:39.359940
2019-06-01T04:41:07
2019-06-01T04:41:07
189,691,051
0
1
null
null
null
null
UTF-8
C++
false
false
1,808
cc
01.cc
#include <iostream> #include <fstream> #include <vector> #include <list> #include <deque> #include <set> #include <map> #include <string> #include <iterator> #include <algorithm> #include <functional> #include <memory> #include <sys/time.h> #include "../hrtime.h" using std::ostream_iterator; using std::ost...