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
9ba662024933ee46b9bfff36ae1a54e3a6caf905
7107aab2ec6eb72a79c51d4574ba2fdabf73e936
/itr_1/Stage_qt/include/stage/theme/field/AbstractField.h
74631d27a57ec55c1a44ca0702daf8c1b0abdeb8
[]
no_license
automat/NEXT-Berlin-Stage-Identity
e011071e46893a85c57acced9dae3e8b924056d7
60021c719c0154ce94e169738bd828869a49a1cf
refs/heads/master
2021-01-19T03:20:25.948499
2014-10-28T16:54:45
2014-10-28T16:54:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,310
h
AbstractField.h
// // AbstractField.h // grid_00 // // Created by Henryk Wollik on 28/03/14. // // #ifndef grid_00_AbstractField_h #define grid_00_AbstractField_h #include <boost/assign/std/vector.hpp> #include <OpenGL/OpenGL.h> #include "cinder/gl/gl.h" #include "cinder/Vector.h" #include "cinder/Matrix44.h" #include "cinder/Ra...
c2a708dd50320c027e618a482d2ae98c4a088c5f
d8c43a380b4941db8b35d920fafd3c67d322d18f
/src/mainwindow.h
2469e1e02f37b29b7faa12d2041a3810421155b4
[]
no_license
in-league-with-satan/music_player
f8bf27db0d4ce465092aef670705e26cd67acffc
fb017d4f95cdb11b29bcf3d5414204dcae202374
refs/heads/master
2020-04-09T03:46:02.090618
2020-03-15T15:18:03
2020-03-15T15:18:03
159,995,665
0
0
null
null
null
null
UTF-8
C++
false
false
2,227
h
mainwindow.h
/****************************************************************************** Copyright © 2018-2019 Andrey Cheprasov <ae.cheprasov@gmail.com> 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...
43ca4ce73fe31e4c06a54c17068063c16ee0a4d9
a7764174fb0351ea666faa9f3b5dfe304390a011
/src/Graphic3d/Graphic3d_CView.cxx
bf2326a871058dd37c30714b1dfec58cfb7fc9d2
[]
no_license
uel-dataexchange/Opencascade_uel
f7123943e9d8124f4fa67579e3cd3f85cfe52d91
06ec93d238d3e3ea2881ff44ba8c21cf870435cd
refs/heads/master
2022-11-16T07:40:30.837854
2020-07-08T01:56:37
2020-07-08T01:56:37
276,290,778
0
0
null
null
null
null
UTF-8
C++
false
false
224
cxx
Graphic3d_CView.cxx
#include <Graphic3d_CView.hxx> const Handle(Standard_Type)& TYPE(Graphic3d_CView) { static Handle(Standard_Type) _atype = new Standard_Type ("Graphic3d_CView", sizeof (Graphic3d_CView)); return _atype; }
ae946c56ee49ce432faa1dc38354a02be04fdabd
3b9b4ce22b8c9cb2b24b358aabb45c57f3faca54
/test/yukicoder/2744.test.cpp
40063409788c7e990c225f3384fcea66e9a6af9d
[]
no_license
beet-aizu/library
9a9f1b177236b36bf1ee8c2b3db0497d227745f0
4f26a088ff995dd9fc2612dbbafef9b56bdb0c61
refs/heads/master
2023-05-28T23:17:22.804903
2023-05-05T14:53:55
2023-05-05T14:53:55
62,494,730
157
49
null
2023-05-05T14:53:56
2016-07-03T12:05:57
C++
UTF-8
C++
false
false
841
cpp
2744.test.cpp
// verification-helper: PROBLEM https://yukicoder.me/problems/2744 #include<bits/stdc++.h> using namespace std; #define call_from_test #include "../../mod/mint.cpp" #include "../../convolution/fastfouriertransform.cpp" #include "../../convolution/arbitrarymod.cpp" #include "../../combinatorics/enumeration.cpp" #inclu...
3a268605072eeb77238cfb400ae411b3e9d7b015
4ea7ad6e3c5c1ba5839edae3a08db0ca371520ca
/Codeforces/706B.cpp
f10c2ae4f3e19273c8bd7eaa0a07f538ec39bc1a
[]
no_license
nawZeroX239/competitive-programming
144eac050fafffc51267c67afb96e60316ae2294
f52472db0e1e6fe724e9a7456deac19683fa4813
refs/heads/master
2021-03-10T12:30:42.533862
2020-12-24T00:32:01
2020-12-24T00:32:01
246,452,848
0
1
null
2020-10-02T18:22:05
2020-03-11T02:10:17
C++
UTF-8
C++
false
false
1,020
cpp
706B.cpp
#include <algorithm> #include <array> #include <bitset> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <deque> #include <forward_list> #include <iomanip> #include <iostream> #include <iterator> #include <list> #include <map> #include <queue> #includ...
1c77e6f4103174911d03a9ea962ac7719e2b6663
584c1d18eb83d0a3ea4876c0d28623b42d5df3a2
/Buffer/buffer_template.cpp
8304b255d815a975436d3e2900232fbf71edc7e6
[]
no_license
tiefeand/buffer
e93503a159cbfe13ee3b72bc9efcf1ee8532d2c4
b7c1326a8deed61c4ee4a69f7634a48ff3e002aa
refs/heads/master
2020-08-28T16:58:15.798516
2019-10-26T22:31:52
2019-10-26T22:31:52
217,746,093
0
0
null
null
null
null
UTF-8
C++
false
false
5,170
cpp
buffer_template.cpp
/***************************************************************************** PURPOSE: BUFFER routines defines the templates @author Andreas Tiefenauer *****************************************************************************/ #include <cstdlib> // calloc, malloc //#include <algorithm> // std::copy #includ...
f8ca15d937bbbc4cf50f25ae505df693d9eac924
446b7135f57072e170abca2100beb1e76d939706
/GHT.cpp
9220310022639a84679fa7ab51a10f3883e8e3b1
[]
no_license
WilliamProzac/Generalized-HT
7fb4e8df20fffa2f89591aeffcb46a447fc9e4f2
8a4091e3c1d716a50bc3a354bb5f632b4e6393ec
refs/heads/master
2023-08-28T15:35:15.280758
2021-09-13T08:28:17
2021-09-13T08:28:17
401,596,473
0
0
null
null
null
null
UTF-8
C++
false
false
4,550
cpp
GHT.cpp
/* * @Description: * @Version: * @Author: William * @Date: 2021-06-12 14:44:46 * @LastEditors: William * @LastEditTime: 2021-09-01 17:32:46 */ /* * @Description: * @Version: * @Author: William * @Date: 2021-06-12 14:44:46 * @LastEditors: William * @LastEditTime: 2021-09-01 16:15:33 */ #include "GH...
a05cc0446154e1fdd6dabdf00dea3b62afdcc7c0
e2c1afd6cc08593c73fa4ebb68e7a9363a46d24d
/1001总和问题/1002/源.cpp
f89ff22d613ef0aba0639e48f0c650f12ad2a19c
[]
no_license
Month7/hduOj
59ea2f78f776440438af66debab2a4f5f7962697
fc5985ae8362df0fc9960b6b5c82b5e5eeddcce5
refs/heads/master
2021-09-05T14:00:23.553129
2017-12-25T10:51:50
2017-12-25T10:51:50
110,206,641
0
0
null
null
null
null
UTF-8
C++
false
false
377
cpp
源.cpp
#include <stdio.h> #include <vector> #include <iostream> using namespace std; int main() { int a, b; vector <int> array; while ((~scanf("%d",&a))) { int sum = 0; for (int i = 1; i <= a; i++) { sum += i; } /*array.push_back(sum);*/ printf("%d\n", sum); printf("\n"); } /*for (int i = 0; i < array.siz...
f3a756b6eecc455233e25574ea1b0c53322a67b2
dd6fee79066e2dfa74371bd82c87a563dc0c47fd
/OJ/UVA/11994.cpp
cf250b22783b4729a2fe56c14ecb42e390046ed9
[]
no_license
mzry1992/workspace
404c31df66a3b15a60dc0f07fff397bf50bcc1dc
9a181419f0d7224e37baa729feaf3bb656544420
refs/heads/master
2021-01-19T12:39:17.854501
2012-12-24T11:13:22
2012-12-24T11:13:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,585
cpp
11994.cpp
#include "iostream" #include "cstdio" #include "cstring" #include "algorithm" using namespace std; const int MaxN = 60000; struct Node { int size,key; int msk,lazy; Node *c[2]; Node *p; } mem[MaxN], *cur, *nil, *pos[MaxN]; Node *newNode(int v,Node *p) { cur->c[0] = cur->c[1]...
4544cc31b6da58fd362de7e79c5338ae80f3b702
2a1a57358ffb13a9f951523e1a81bdd06a25efbd
/actionlist.hpp
8be939f7f238fd890f58da0915b36a20269f820b
[]
no_license
BadPractice/hitbox
3e82b9d6a5ae3d2cbd2c1f07257c016632066a5a
c36a3c10f0ea4b59b4db6851a94807e60a120ec1
refs/heads/master
2020-12-24T15:31:52.818594
2012-09-16T15:50:50
2012-09-16T15:50:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
452
hpp
actionlist.hpp
#ifndef ACTIONLIST_HPP #define ACTIONLIST_HPP #include <vector> #include "dataobjects/rotation.hpp" #include "dataobjects/position.hpp" #include "interfaces/actionable.hpp" #include "actions/forward.hpp" #include "actions/backward.hpp" #include "actions/leftward.hpp" #include "actions/rightward.hpp" using namespace std...
12e790ca1fe92423cd914437103b6d413238d18b
43a57ee05516a6b720fa9a82a96525f3dd072f5e
/idp/idp.cpp
05571847ea3a65a1fa59fe01fe3ce689e25788f1
[ "Zlib" ]
permissive
espressif/inno-download-plugin
81b58f6f400d09a0db16b9a005bd4667f98ceb72
cbcb721dbe2c40a0b9ab71a98d689c8f613b8341
refs/heads/master
2022-01-15T01:01:02.889743
2016-11-08T15:38:52
2016-11-08T15:38:52
293,750,393
0
2
Zlib
2020-09-08T08:35:57
2020-09-08T08:35:56
null
UTF-8
C++
false
false
14,042
cpp
idp.cpp
#include "idp.h" #include "trace.h" HINSTANCE idpDllHandle = NULL; Downloader downloader; Ui ui; InternetOptions internetOptions; void idpAddF(_TCHAR *url) { downloader.addFile(STR(url)); } void idpAddFile(_TCHAR *url, _TCHAR *filename) { downloader.addFile(STR(url), STR(fi...
27782cec886b0b2cc171b9913c9dcad18e48e12c
293c515d6a1eda87a05221ec570ad6dceabc68ac
/permute.cpp
a84b9f301e3746da602e6a924a96acb945038661
[]
no_license
OnlyCheng/MyCorner
adf24542c44e4f362a35e373104221e66e5ba319
78af65bf03032036052fc771e70c36348bd520de
refs/heads/master
2018-10-16T04:07:07.495296
2018-08-31T13:25:21
2018-08-31T13:25:21
118,054,727
0
0
null
null
null
null
UTF-8
C++
false
false
892
cpp
permute.cpp
class Solution { public: vector<vector<int> > permute(vector<int> &num) { vector<vector<int> > res; int size = num.size(); if(size == 0) return res; vector<int> flag(size,-1); vector<int> temp(size); _permute(res,flag,num,temp,0); return ...
9f079a594498a29a5a1256084143ebf889886290
94fb1d81ac3f004db045053621df542b0fdbd748
/garbage/RangeValue.cpp
27e8438c2107e1872e7be8340405059e8b9ac9cd
[ "BSD-3-Clause" ]
permissive
WenJieLiHnu/gStore
5e292d69400297939784b8ae0b4ab172564a45b6
b4b836e3256ae4b2c3357da1c4f20f6fa10fb541
refs/heads/master
2020-05-26T17:57:04.870294
2019-05-23T09:28:55
2019-05-23T09:28:55
188,328,198
1
0
BSD-3-Clause
2019-05-24T01:00:27
2019-05-24T01:00:27
null
UTF-8
C++
false
false
1,540
cpp
RangeValue.cpp
/*============================================================================= # Filename: RangeValue.cpp # Author: syzz # Mail: 1181955272@qq.com # Last Modified: 2015-04-26 16:42 # Description: achieve functions in RangeValue.h =============================================================================*/ #include...
0e16aa33d74131a70b460fb94585b781ba9ed11b
b537671f12e80b3e5eb966644e766a1eb4d30375
/-old/cpu/address.h
c59df200d45e2834556c2357b6a84757d60225d7
[ "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference" ]
permissive
shuixi2013/ReaverASM
b0ee438f9a5e2b3ac6693ff1d748153adda9f4c7
39893e4d8db69ebed49a7904b66884b1360a148a
refs/heads/master
2021-01-18T02:54:44.963461
2014-01-27T21:18:43
2014-01-27T21:18:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,166
h
address.h
/** * Reaver Project Assembler License * * Copyright (C) 2013 Reaver Project Team: * 1. Michał "Griwes" Dominiak * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission...
22033e4fe2ffae4f5c684dbe8e8b70f573678c5f
a9994594a815a834cbfd16cca684c5c060f85f39
/BOJ/5917 Roadblock.cpp
6f4acb362eb371d5ffbc00e936e7c81cd878c612
[]
no_license
KyungminYu/Algorithm
25af17819b01e5e0a78a6e8edb45738d3f9ee4ec
405f30434ddca419330e7db12a44d091cf90b41c
refs/heads/master
2023-04-08T13:01:59.725887
2021-04-03T09:06:57
2021-04-03T09:06:57
94,004,576
0
1
null
null
null
null
UTF-8
C++
false
false
1,463
cpp
5917 Roadblock.cpp
#pragma GCC optimize("O2") #include <stdio.h> #include <string.h> #include <vector> #include <queue> #include <algorithm> using namespace std; const int INF = 1e9; int origin[101][101], adj[101][101], dummy[101][101]; int path[101][101]; int n, m; void Floyd(int mat[101][101]){ for(int k = 1; k <= n; k++){ ...
58acb53fb66b8b20182bec478c9494520786d0cd
2ce21e8fabf7642deff0d390138ed37250c9f39c
/SerialCom/src/SerialCom/common_sensor.h
67c45348f8d8b4e14f67c75cbfc3d680eb8851b2
[]
no_license
fanzhuyuan/faw
4ac58c4d229ae16b1f61dcee769f991e03268059
b077c50bd7f54c7a61a8db7df445d0cea44d0230
refs/heads/main
2023-01-19T04:54:35.534144
2020-11-26T08:26:49
2020-11-26T08:26:49
316,162,625
0
0
null
null
null
null
UTF-8
C++
false
false
838
h
common_sensor.h
#pragma once #include <QObject> #include <QSerialPort> #include <thread> #include <QSerialPortInfo> #include "Sensor.h" class CommonSensor : public Sensor { Q_OBJECT private: CommonSensor(); ~CommonSensor(); public: static CommonSensor* instance(); virtual bool open(); virtual void close(); ...
dc64fc74d7e9bddb8eb1a44f9d7ce87b14e02438
5636eaa75a27451e1362517fe192243f12c01ad0
/Stack/kNumStacks.cpp
8d3c548ec779b998603e0fdc43f490336a95f5ed
[]
no_license
lekhamohan/algorithms
b1803a27076d4210938c3588511abaa4afebe2db
f1a42d4bac375cf001702770c22b94bd28dacfd1
refs/heads/master
2021-01-24T09:08:46.699783
2016-10-14T17:22:41
2016-10-14T17:22:41
69,825,363
0
0
null
null
null
null
UTF-8
C++
false
false
1,715
cpp
kNumStacks.cpp
#include<iostream> #include<stdio.h> using namespace std; class KStacks { int *top; int *prevTop; int *array; int arrNum , stNum, free; public: KStacks(int stNum, int arrNum); void push(int stNum , int num); bool isFullArray(); void showArray(); }; KStacks::KStacks(int k, int n) //k - st...
e972812238f2a2204c6605859f6abce22a29d11c
0150d34d5ced4266b6606c87fbc389f23ed19a45
/Cpp/SDK/W_TeamSelect_functions.cpp
5a71c865e1594f6e5fbce9b8c5b75f890c22a935
[ "Apache-2.0" ]
permissive
joey00186/Squad-SDK
9aa1b6424d4e5b0a743e105407934edea87cbfeb
742feb5991ae43d6f0cedd2d6b32b949923ca4f9
refs/heads/master
2023-02-05T19:00:05.452463
2021-01-03T19:03:34
2021-01-03T19:03:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,910
cpp
W_TeamSelect_functions.cpp
// Name: S, Version: b #include "../SDK.h" #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Functions //--------------------------------------------------------------------------- // ...
aff4d175dd9f80630807ea729c0b6f389f86825c
88ae8695987ada722184307301e221e1ba3cc2fa
/chrome/browser/vr/elements/controller.cc
64129c11ce2ad9a83891e8e29421bd87c5c258b8
[ "BSD-3-Clause" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
C++
false
false
13,875
cc
controller.cc
// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/vr/elements/controller.h" #include "base/numerics/math_constants.h" #include "base/trace_event/trace_event.h" #include "chrome/browser/vr/ui_element_r...
e79d34a2913b3a501b0970e6d9b7cf704b87a602
448be4c45518ec3a426c08f69ce12090406588b6
/eliminateduplicate.cc
3e86ccb04e6d5053ba4920769ce775776f8f94ef
[]
no_license
arjunsoota/Linked-List
2171cd99f2e99adfdb4061298d5d3a6e417cb1e1
c928530cb0a27b40d6b888a6b65a95460c0c5235
refs/heads/master
2020-07-24T04:14:40.144385
2019-09-11T11:44:40
2019-09-11T11:44:40
207,798,250
1
0
null
null
null
null
UTF-8
C++
false
false
967
cc
eliminateduplicate.cc
#include<bits/stdc++.h> using namespace std; class node { public: int data ; node * next; node(int d) { data = d ; next = NULL; } }; void insertLL(node *& head , int n ) { node * tail = NULL; while (n--) { int x; cin >> x; node * n = new node (x); if (head == NULL) { head = n; tail = n; ...
924532544fecb0ecd62301dacb97342e5c23f2e1
e7dc9c390827d518bc7a865bdeb546e539a34ec1
/MultiPlatformFramework/Common/CommonFileWriter.cpp
d7652ed8aca4f06157cdf25f3d31c7b44d6da867
[]
no_license
dcracker/daphihae-new
d1ef3dbe01bf685518003496b873a8a139582f2c
65c57471abf231f9235e664a8220328842d52926
refs/heads/master
2021-01-10T19:54:58.120803
2014-08-15T11:08:39
2014-08-15T11:08:39
17,931,526
1
0
null
null
null
null
UTF-8
C++
false
false
572
cpp
CommonFileWriter.cpp
#include "stdafx.h" #include "CommonFileWriter.h" #include <stdio.h> CommonFileWriter::CommonFileWriter( const char* fileName, FILE* file ) : mFile( file ) , mFileName( fileName ) { } CommonFileWriter::~CommonFileWriter() { Close(); } const char* CommonFileWriter::GetFileName() const { return mFileName; } void...
83925c02f109b58d5f79597933aef0c8d817e5f0
fad0304cd1fdc6f4dbee03623f676054593b407d
/list/hash.cpp
79285444db9f18f2c90478d4995516c3376f9e67
[]
no_license
zyhuf/data-structures-and-algorithms
40e8f48ab11300613f8439c318285281094878f3
54a91ccb85a7c3f931196c20135eff80a51f892d
refs/heads/master
2021-05-16T20:19:56.456537
2020-06-05T07:24:24
2020-06-05T07:24:24
250,455,321
0
0
null
null
null
null
UTF-8
C++
false
false
3,486
cpp
hash.cpp
/** * Note: The returned array must be malloced, assume caller calls free(). */ #define HASH_SIZE 10000 typedef struct HashNode_ { int index; int nums; struct HashNode_ *next; struct HashNode_ *prev; } HashNode; typedef struct HashRow_ { HashNode *head; HashNode *tail; } HashRow; //global h...
9ce65634d2211ae145bde962f11cbc948147b593
9bcd21226d750b0d161d801d980bb0e57c6b7b5a
/src/texture/bcdecode.cpp
1eb548ab59ef2c063d2f4c213b814fbfce18779d
[ "ISC" ]
permissive
CommitteeOfZero/impacto
64370cb0b82cff0f9f4bd165246d6ea245252c5b
a60d60e68f08c32ccbdca2cfd526b59fb2b65fd6
refs/heads/master
2023-09-01T09:27:53.733744
2023-08-28T19:21:50
2023-08-28T19:21:50
236,348,450
74
19
ISC
2023-07-28T02:43:32
2020-01-26T17:29:17
C++
UTF-8
C++
false
false
28,456
cpp
bcdecode.cpp
/* * decoder for DXTn-compressed data * * Format documentation: * http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_compression_s3tc.txt * * The contents of this file are in the public domain (CC0) * Full text of the CC0 license: * https://creativecommons.org/publicdomain/zero/1.0/ * * To test:...
7d6d8c9b57e0f4dec4a20f45ff1e46d73be411aa
76bdea87d5df7add7ff9498e6075577a35832ddf
/OJ/1500.cpp
c16d30ac6bb12db672884018fc6181a0bcb4a752
[]
no_license
ouxu/CppRecord
fc730747ded98377c364d6edae58241ed3fef45a
7656c9502d47d71859a6216ba2767860b237ccca
refs/heads/master
2020-04-16T02:39:28.314941
2019-01-11T08:05:49
2019-01-11T08:05:49
60,455,388
2
0
null
null
null
null
UTF-8
C++
false
false
136
cpp
1500.cpp
#include <iostream> using namespace std; int main() { cout<<"Hello World Hello zcx hello ccc hello zts hello ljc"<<endl; return 0; }
07df3486c88376fa6bf0f55c4133ddfea002ee41
6e6572c33e1df416d9c52e8e133b9b1dab669f86
/src/gui/control_node_widgets/parameter_serialization.h
501d81a191d4656cab26790f2ff928b681b51f9c
[ "BSD-3-Clause" ]
permissive
aliefhooghe/Gammou
8ca95a7a00b5209e808924e993fbf4b3d4a4bd30
d6c16e4cda7ca9cc49a06bd842bb3d551affc4a8
refs/heads/master
2023-04-14T03:52:10.970039
2023-03-19T12:19:26
2023-03-19T12:19:26
103,522,695
53
4
null
null
null
null
UTF-8
C++
false
false
286
h
parameter_serialization.h
#include "synthesizer/synthesizer.h" #include <nlohmann/json.hpp> namespace Gammou { synthesizer::parameter parameter_from_json(const nlohmann::json& json, synthesizer& synth); nlohmann::json parameter_to_json(const synthesizer& synth,const synthesizer::parameter& param); }
f813ccb4293dd9cdfdeaeb5c2edfd14fcda6cc42
b915b1940cb3f9a4f8b2db231ea73a75ae283513
/PQ/PQ.h
295474d62452ed8a9ad5f3d9c09da5ee0b71d55c
[]
no_license
hblee12294/algorithm-prc
bc3259106ec7f4fe30289146d0fa126c038502ef
8ceaa7ac00b619f3be23e2c1dd6d90aa848c0e58
refs/heads/master
2021-06-08T21:12:27.516054
2016-12-03T14:00:02
2016-12-03T14:00:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
180
h
PQ.h
template <typename T> class PQ { public: virtual int size() = 0; bool empty() { return !size(); } virtual void insert(T) = 0; virtual T getMax() = 0; virtual T delMax() = 0; }
1b39532c720cc32d6659b5cb6aad4df470ced8a9
bedca1d2505a52d1f7cf2adcb1fb4df0b35e2c12
/526.cpp
a1403d58bcce6497a2dcf54f4f20f205d430940b
[]
no_license
tongninghu/My-Leetcode
21b58ce14250efac67e965ec10e52f0ca97d80a7
68f018c0d5d2c0197dae77f8ef279816e0b54777
refs/heads/master
2020-03-30T01:55:29.755487
2017-08-25T23:08:43
2017-08-25T23:08:43
41,389,582
0
0
null
null
null
null
UTF-8
C++
false
false
1,526
cpp
526.cpp
Suppose you have N integers from 1 to N. We define a beautiful arrangement as an array that is constructed by these N numbers successfully if one of the following is true for the ith position (1 ? i ? N) in this array: The number at the ith position is divisible by i. i is divisible by the number at the ith position. ...
a710ddd00567b39b6abb244282a0c1f7ec473419
4218cc8ea49bd0244c78db7282b792d54488d0f2
/Pelatda/ribbon_cutting.cpp
06a03b83408a161704e9164eada89e851647911c
[]
no_license
irff/cp-codes
436678ce0d1939e6103c983eb1907078df391808
5c0c3a7710fff48751b4307f3ad0f135d25ea180
refs/heads/master
2020-03-29T14:36:34.904213
2014-10-19T18:27:02
2014-10-19T18:27:02
25,435,733
1
0
null
null
null
null
UTF-8
C++
false
false
563
cpp
ribbon_cutting.cpp
#include <cstdio> #include <algorithm> using namespace std; #define R(i,_a,_b) for(int i=int(_a);i<int(_b);i++) #define RV(i,_a,_b) for(int i=int(_a);i>=int(_b);i--) const int INF = 2000111222; int n, c[5]; int dp[5000]; int main() { scanf("%d%d%d%d", &n, &c[0], &c[1], &c[2], &c[3]); R(i,0,n+1) dp...
a55ac57518bd0f7a745f76a02cf88fcecce53575
88678d6377075eb1589fb53e59c908dbc7f26071
/lib_angelFramework/src/Angel1.1/Code/Angel/InputManager.h
9d6da3b997479c496a1de02820551da638dd9413
[]
no_license
chrishaukap/GameDev
89d76eacdae34ae96e83496f2c34c61e101d2600
fb364cea6941e9b9074ecdd0d9569578efb0f937
refs/heads/master
2020-05-28T11:23:41.750257
2013-08-08T21:59:30
2013-08-08T21:59:30
2,401,748
1
0
null
null
null
null
UTF-8
C++
false
false
1,436
h
InputManager.h
#pragma once #include "Console.h" #include "StringUtil.h" #include <hash_map> class InputBinding { public: void SetKeyDownCommand( const String& keyDownCommand ); void SetKeyUpCommand( const String& keyUpCommand ); void OnKeyDown(); void OnKeyUp(); private: String _keyDownCommand; String _keyUpCommand; }; en...
80ee5ea53b2efae160a5f6cc405f352cb56b4c68
e7ab5b1a970e68c7e714a5550bb491d8d8a262ea
/OOP_Study/Classes/Inheritance/indexed.cpp
7630b6b0f34b99610e65286e1b8f1b1fc7658b4a
[]
no_license
Rado0297/repo
aeefeae2847913af5f249a95c236a55cbc80ee7c
f4d4d0855837d493b59396addc9062f8054b0534
refs/heads/master
2022-07-05T23:49:30.498845
2020-09-08T21:47:00
2020-09-08T21:47:00
94,101,271
0
0
null
null
null
null
UTF-8
C++
false
false
3,077
cpp
indexed.cpp
#include <iostream> #include <stdlib.h> using namespace std; class Indexed { private: int* array; int size; public: Indexed(int = 1); Indexed(const Indexed&); Indexed& operator=(const Indexed&); ~Indexed(); double& operator[](int); int getSize() const; void addBefore(int, int); void addAfter(int, int); ...
05d34529eefd6f5ba2a242e88ebb756e7110467d
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2645486_1/C++/iloahz/b.cpp
e4ca72d81ce36c5e010eaa086d96872a6167e1d2
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,590
cpp
b.cpp
#include <map> #include <set> #include <cmath> #include <vector> #include <cstdio> #include <string> #include <cstdlib> #include <cstring> #include <algorithm> using namespace std; const int MAXN = 10005; const int INF = 1 << 29; const long long MOD = 55566677ll; const int dx[] = {-1, 0, 0, 1, 1, 1, -1...
76ee54610ca9c939a37aa576264ea87b8a980140
a9d25c9d7077ba1083752ed034c911527951f9a1
/divideconquer.cpp
20584075f8c56413643059791cf82bf9b3c24a89
[]
no_license
akshatakparti/Convex-Hull-Implementation
487fc5bc67ae35ce38c370a3820575fb6b1695b3
624534bf433f47aedeb91b3b33934ede5b80def1
refs/heads/master
2021-01-21T06:46:12.496191
2017-05-17T14:35:02
2017-05-17T14:35:02
91,585,638
0
0
null
null
null
null
UTF-8
C++
false
false
5,216
cpp
divideconquer.cpp
#include <iostream> #include <algorithm> #include <string> #include <vector> #include <fstream> #include "poi2D.h" using namespace std; //comparator function bool compareX(const poi2D &poi1, const poi2D &poi2){ double x1 = poi1.x; double x2 = poi2.x; return x1 < x2; } //sees if the slope has increases from p2 to ...
285725b67c7ae5d1fc1c141b86be17544a2f2131
5b82ae0fc89614d2c656b4d5ce171d1493f8a5fb
/SyntaxChecker.h
fa54b273badf73cc32e5c25e4b96696d08d46717
[]
no_license
mamba72/Assignment3_SyntaxChecker
39e7637048ad176ceea94d0107dedaa842cb90e4
9b9c0304bc2df60db16eeb0e1d7e0a9a0b7e8efe
refs/heads/master
2020-08-07T02:08:11.942169
2019-10-15T17:17:33
2019-10-15T17:17:33
213,254,131
0
0
null
null
null
null
UTF-8
C++
false
false
948
h
SyntaxChecker.h
/* Stephen White Student ID: 002323381 Assignment 3 Data Structures Syntax Checker */ #include <iostream> #include "GenStack.h" #include "Delimiter.h" #include "CustomExceptions.h" using namespace std; class SyntaxChecker { public: //this is used to contain the information about the syntax problem struct ProblemRepo...
fb24023f0f2fd69fe7823daabab955671c0229e1
e00dba072f579ef4324fc6d0aac6ef5a981711d6
/AdvancedLevel_C++/pat_advanced_1085.cpp
b7a84ef891b7aa2bc59f8f8635715a8a8d1dc803
[]
no_license
XinArkh/PAT_Codes
90626feca41209645d760f2083f05b035aa79ec3
029e15b236157b576dce78930eb02ac5fadf2a79
refs/heads/master
2021-04-06T01:25:12.783982
2019-08-29T10:40:52
2019-08-29T10:40:52
124,538,227
0
0
null
null
null
null
UTF-8
C++
false
false
463
cpp
pat_advanced_1085.cpp
#include<cstdio> #include<vector> #include<algorithm> using namespace std; int main(){ int N, p; scanf("%d %d", &N, &p); vector<long long> a(N); for(int i=0; i<N; i++){ scanf("%lld", &a[i]); } sort(a.begin(), a.end()); int ans = 1; for(int i=0; i<N-1; i++){ int j = upper...
c868f92650fd2d21304057203798955fab9b850d
7ed69523710270df576b9093ec4de53e092a2571
/src/Core/CMath.h
ff2c8868018a09b764a9f0299aa98d7f2c1cb505
[ "MIT" ]
permissive
aquach/facebook-grapher
486701f87e2534f2154f94378def0987c95adf8a
b5f99b26fc8bc743d5d1e4e700415ce68ce03e50
refs/heads/master
2020-12-02T08:45:42.980508
2012-09-28T02:45:31
2012-09-28T02:45:31
1,839,905
1
0
null
null
null
null
UTF-8
C++
false
false
3,128
h
CMath.h
#pragma once #include "C2Vector.h" #include <cmath> #include <cstdlib> #include <ctime> const real32 c_pi = 3.14159265f; const real32 c_e = 2.71828182845f; const real32 c_deg2rad = 3.14159f / 180; const real32 c_rad2deg = 1 / c_deg2rad; class CMath { public: static real32 Distance (real32 x1, re...
013623ead5fdea3d400eb79ce4b8bcbb161be6c4
9c08d568af35aa43267a21ec132fce70f1588cf7
/BlockParty/BaseGame.h
c5e93226ec41a92916c97ca2e8e90ffcd2ad0431
[]
no_license
runjumpdev/SifteoGameJam
aa2f6ea43ec64eab0c494d6a4576da2f59b3b9d6
319b13698199eb3ade275fdf1275b20732c1cb4a
refs/heads/master
2020-03-31T01:58:56.272232
2012-12-13T04:20:04
2012-12-13T04:20:04
6,950,321
1
0
null
2012-12-13T04:20:04
2012-12-01T04:44:05
C++
UTF-8
C++
false
false
705
h
BaseGame.h
#ifndef BASEGAME_H_ #define BASEGAME_H_ #include <sifteo.h> #include "BaseGameCube.h" using namespace Sifteo; class BaseGame { public: virtual void init(unsigned CubeCount, VideoBuffer buffers[]); virtual void start(); virtual void stop(); virtual void cleanUp(); virtual bool update(TimeDelta timeStep);...
5b08697c86b694a4d4223bd4faf814439c422f82
2b1b459706bbac83dad951426927b5798e1786fc
/zircon/kernel/object/bus_transaction_initiator_dispatcher.cc
a81c0e9b0b57f11e5aa666838b256a63373ab4e7
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
permissive
gnoliyil/fuchsia
bc205e4b77417acd4513fd35d7f83abd3f43eb8d
bc81409a0527580432923c30fbbb44aba677b57d
refs/heads/main
2022-12-12T11:53:01.714113
2022-01-08T17:01:14
2022-12-08T01:29:53
445,866,010
4
3
BSD-2-Clause
2022-10-11T05:44:30
2022-01-08T16:09:33
C++
UTF-8
C++
false
false
8,013
cc
bus_transaction_initiator_dispatcher.cc
// Copyright 2017 The Fuchsia Authors // // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT #include "object/bus_transaction_initiator_dispatcher.h" #include <align.h> #include <lib/counters.h> #include <lib/debuglog.h> #...
a8671b488998e99b0db0806569277ad3369f172e
fb9c3b1bc952af124f2d4b24788473d0af7ce75b
/hecuba_core/src/api/IStorage.cpp
ecaf21bf386cab932285fc31f2a411886ad3f209
[ "Apache-2.0" ]
permissive
eflows4hpc/hecuba
d438211c5eabec993b2e79dc4336898486d10652
b6d51b754de68e8409e609f2a2e46ab68ee59732
refs/heads/master
2023-04-18T21:45:16.663394
2023-02-08T13:39:50
2023-02-08T13:39:50
595,521,604
0
0
Apache-2.0
2023-02-08T13:39:52
2023-01-31T08:54:52
null
UTF-8
C++
false
false
25,179
cpp
IStorage.cpp
#include "IStorage.h" #include "UUID.h" #include <regex> #include <boost/uuid/uuid.hpp> #include "debug.h" #define ISKEY true /*** d = //dictionary [int, float]:[values] for (keysIterator s = d.begin(); s != d.end(); s ++) { (*s) <== buffer con int+float (*m_ptr) (s) <== Iterad...
ca7781698fe48d6c2487964c13f280c6a023a922
d41944cd7abe5a1c1d597ca2f398bda99c6a3956
/count_freq.cpp
830cae13610c3ab000418332b894eeea4f487f45
[]
no_license
shubhika-gupta/geeksforgeeks
2e23453c365c196631a0375553cf6236302e7350
3af1e4daf87bc4cd3e6f99dcf76a657f48ea5553
refs/heads/master
2022-11-22T16:11:07.159686
2020-07-30T21:08:15
2020-07-30T21:08:15
276,420,888
0
0
null
null
null
null
UTF-8
C++
false
false
462
cpp
count_freq.cpp
//w4e3d1x1e1 #include<stdio.h> #include <string.h> int main() { char s[1000]; int i,j,k,count=0,n; scanf("%s",s); for(j=0;s[j];j++); n=j; for(i=0;i<n;i++) { count=1; if(s[i]) { for(j=i+1;j<n;j++) { if(s[i]==s[j]) { ...
a9a72a2e8199ba8e9a8b8fe457991ebfc185bf65
efc274717a75120162d9d631063d2341b60bbaf4
/GEPGameEngine/Hadouken.cpp
9e762e0ae0b49e097c9b09527ef12c0c2785755f
[]
no_license
lappn99/GEPGameEngineFramework
7053d4120849e26775c2f3c0545e9b28f6634f5c
a1fea091f75974859eead629e6ffdc369d5cc3b3
refs/heads/master
2023-01-07T03:22:23.602661
2020-11-07T19:44:32
2020-11-07T19:44:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
974
cpp
Hadouken.cpp
#include "Hadouken.h" Hadouken::Hadouken(SDL_Texture* tex, double x, double y,int dir) : SpriteExAnimated(tex, x, y, 0) { spriteSrcRect = { 0,350,70,80 }; spriteDestRect = { (int)(m_X - 50),(int)(m_Y - 50) ,70,80 }; m_velX = 3.0f; m_DY = 0.1f; m_dRadius = 20; AddAnimState("Moving", AnimStateDe...
d10cf1c0222a692483de7af5c58cf9cb325bc5fa
9d851f5315bce6e24c8adcf6d2d2b834f288d2b2
/chipyard/tools/chisel3/test_run_dir/ParameterizedVendingMachineTester/2020030622451517300229654449927853/VParameterizedVendingMachineTester.cpp
49847ada39850e4bbcfd2d05e1640f68be6baade
[ "BSD-3-Clause" ]
permissive
ajis01/systolicMM
b9830b4b00cb7f68d49fb039a5a53c04dcaf3e60
d444d0b8cae525501911e8d3c8ad76dac7fb445c
refs/heads/master
2021-08-17T22:54:34.204694
2020-03-18T03:31:59
2020-03-18T03:31:59
247,648,431
0
1
null
2021-03-29T22:26:24
2020-03-16T08:27:34
C++
UTF-8
C++
false
false
48,180
cpp
VParameterizedVendingMachineTester.cpp
// Verilated -*- C++ -*- // DESCRIPTION: Verilator output: Design implementation internals // See VParameterizedVendingMachineTester.h for the primary calling header #include "VParameterizedVendingMachineTester.h" // For This #include "VParameterizedVendingMachineTester__Syms.h" //-------------------- // STATIC VARI...
e4d424c5b3dc5006d5d0ee4620e3ea8c00fd8cd5
55d8ae43f175c381e6846208f904916d4d365908
/SDKPackage_OGLES2/Demos/Navigation/OGLES2/Content/Streets_meshes.cpp
8afdd5c390031e8ba434a5945dd920e7b12128a9
[]
no_license
anonymousjustice/pvr-pi
404b1c73b6f83e4e6bf25432ed913e8a198beb8c
fbc9b6daaa44fe07c0bd6f897d7f7a87fe08f669
refs/heads/master
2016-08-06T20:43:44.778663
2013-02-14T10:31:26
2013-02-14T10:31:26
5,461,385
7
2
null
null
null
null
UTF-8
C++
false
false
688,769
cpp
Streets_meshes.cpp
// This file was created by Filewrap 1.1 // Little endian mode // DO NOT EDIT #include "../PVRTMemoryFileSystem.h" // using 32 bit to guarantee alignment. #ifndef A32BIT #define A32BIT static const unsigned int #endif // ******** Start: Streets_meshes.nav ******** // File data A32BIT _Streets_meshes_nav[] = { 0x1,...
a5fa6f5e160a2d681b50009da8e59b28d273d9b2
d20cf7de868dfb2c53578a70d0dda21306167d72
/data/raw/train/student_23/1540/1539/Zombie.cpp
e2a3d79132568eddd78ef49fabcaff7176de665e
[]
no_license
bulacu-magda/Alemia
905a84ca79157fb657eb424e337b0303fd3323bd
0fd019c4517064d300399feb94dbcb0f467e8d48
refs/heads/main
2023-03-01T17:41:08.788500
2021-02-05T08:00:35
2021-02-05T08:00:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
19
cpp
Zombie.cpp
#include "Zombie.h"
7e0910830650e25587f216e138ed5c4da5b769e4
37a7732ce1f30349aaa36955c892dd8c2626bae4
/pea3/Mutation.h
52cfeb1505523b8fbc7819eb15291f0cfea0c6d4
[]
no_license
tomekflorczuk/TravellingSalesmanProblem
4a3f275ab772676ac337fefc3715ac82dcc836f8
6c3896426fd59bb9b4da651483b74a4ab4440030
refs/heads/master
2020-05-24T05:35:11.360123
2019-05-17T01:08:22
2019-05-17T01:08:22
187,119,896
0
0
null
null
null
null
UTF-8
C++
false
false
131
h
Mutation.h
#pragma once #include <vector> using namespace std; class Mutation { public: static vector<int> Mutate(vector<int> vertexes); };
e39c33da3d16fc54efba150bfb4688175da7ff13
52d318f91055c16b6cc8a29d1b71ffc32c695f2d
/Tools/DDTools.h
ef3058e6e7cfc1b98747bd20dcd59bcd1fcfa83c
[]
no_license
itsmattkc/LEGO1Disassemble
5fd2ce90acd71ad4bcb2684c6d7af0e3bfc327a1
da3a44bfc1b56413bd3ed64c5d8450b31027fb3c
refs/heads/master
2020-07-31T21:53:00.238536
2019-09-25T08:17:50
2019-09-25T08:17:50
210,765,750
35
2
null
null
null
null
UTF-8
C++
false
false
20,935
h
DDTools.h
/******************************************************************************* File Name : DLL Decompile Tools Author : Zhixian Lin Date : 2017 Description : The tools for decompile work. Copyright : www.dll-decompiler.com, all rights reserved. E-mail : support@dll-decompiler.co...
5f584cf3f96eed497d2bce04770b6c241f046bd1
6d98c93d1ea7abac7f1dec9ae39d26cf352d8313
/b_dokushu_cpp/ch05/list_5.14/main.cpp
e815fa4e18fb6043ba7bdb2a828d4dd8dd2d5e4c
[]
no_license
cl-kn/cpp_study
df4fc6e4ee3acf38f19e9f0b123f6835dc2039df
423e62cfc42b3e607caa028900c2c83f4fb0153b
refs/heads/main
2023-04-16T16:25:17.981571
2021-04-26T00:56:19
2021-04-26T00:56:19
315,309,601
0
0
null
null
null
null
UTF-8
C++
false
false
883
cpp
main.cpp
//*************************************************** /** 21/3/9 * 「引数を持つコンストラクタ呼び出しの例」 */ //*************************************************** #include <iostream> #include <string> class A { int m_v; std::string m_n; public: A(int, std::string); A(float); }; A::A(int v, std::string n) : m_v(v), ...
cd3f932db2437e37be913b28fe090ed2d2c293f2
43e9ceece978228be0c9859fb43edfd3a4c266a0
/cytosim/src/play/play_draw3.cc
8e80656581c9b2b8b81c0892db5d74316adacc36
[]
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
33,515
cc
play_draw3.cc
//RCS: $Id: play_draw3.cc,v 2.19 2005/04/22 12:28:11 nedelec Exp $ #include "globjects3d.h" using namespace glObjects3d; //the "real" radius of mts is ca 12nm //to go from mtwidth and mtsize (2 pixels) to 12nm we devide by 167 //const real sizeFactor = 167.; const real sizeFactor = 80.; // pointers to quadric ob...
56b049e3be5632255b26de98ce7743c5bca21565
23569407af0610d2655e7edbcabd5c306c7f928e
/src/supervisor/supervisor.h
07b29898f42187edb95661640448e24aa69af750
[ "MIT" ]
permissive
xxxyyyzzz3984/NormaChain
b1a1b6b3b9ee3d8a36391d98b6bea10d77a4f2b5
6060502636814a25d288881f165aa06f7873a413
refs/heads/master
2023-08-04T09:07:38.857294
2019-01-24T23:31:35
2019-01-24T23:31:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
666
h
supervisor.h
#ifndef SUOERVISOR_H #define SUOERVISOR_H #include <boost/archive/text_oarchive.hpp> #include <boost/archive/text_iarchive.hpp> #include <boost/serialization/vector.hpp> #define BOOST_SPIRIT_THREADSAFE #include <boost/property_tree/json_parser.hpp> #include <boost/property_tree/ptree.hpp> #include "agent/agent.h" #i...
0b46b2d1875d290c32ee1e2d342bf890a202301e
c432cf3a7db8cd558c7d8b66f9a7be62064ae5a8
/C++/00_general/40_time_class/include/timing_cls/timing_cls.h
4c0b283c00a4d7f8c9f709a4f88440b369d15a8d
[]
no_license
babakpst/Learning
19867acf37145fed8acfd1321ec49b7eba217042
945ffb6136b4cb7944810834db1366d8ee5128ad
refs/heads/master
2023-08-09T06:57:49.476966
2023-08-04T13:48:02
2023-08-04T13:48:02
158,579,987
4
0
null
2020-08-28T21:07:05
2018-11-21T16:53:53
C++
UTF-8
C++
false
false
459
h
timing_cls.h
// libraries #include <chrono> #include <iostream> // classes #ifndef TIMING_H #define TIMING_H class measure_time_cls { // objects private: public: std::chrono::steady_clock::time_point starts; std::chrono::steady_clock::time_point ends; std::chrono::steady_clock::duration elapsed_time; // methods privat...
65da8b2eb2cacc8f9f518db711d987bb776eb858
e3fcc90870b59af0ed179585ea5342b9b05e5441
/src/thread_group.hpp
5506d44c4087b85ff72be42c7a3d03a8b42da06d
[ "MIT" ]
permissive
shibing/lance
b38b120cec07018c7a2b2eda909c6b6847bb3a3d
b82f7a5d46c882eab0deb098dc89b8a01c3ca0f8
refs/heads/master
2020-12-22T23:27:12.723867
2016-06-29T11:14:12
2016-06-29T11:14:12
62,219,709
0
0
null
null
null
null
UTF-8
C++
false
false
469
hpp
thread_group.hpp
#ifndef __THREAD_GROUP_HPP #define __THREAD_GROUP_HPP #include <functional> #include <thread> #include <vector> namespace lance { class thread_group { public: thread_group(); explicit thread_group(size_t thread_num); void run(std::function<void ()>); void join(); size_t...
7a9fd4a8986415b3718a9ec03ca37cd125f5689c
e3e5133c15af9a650472e000d5e07a2ed25067c7
/listaB_Exe1.cpp
426297a815a189a712a3be83f584dd93b2f46e6b
[]
no_license
VianaPedro/TPR-LISTA-B-Linguagem-_-C-
a2b0c0b5ad3ae045dbdc7b907e6c1c24f9c757a4
25785393c2657cb27ab456fc87ed7c5596f98bf4
refs/heads/master
2020-09-15T08:15:29.390867
2019-11-22T11:39:46
2019-11-22T11:39:46
223,390,907
0
0
null
null
null
null
UTF-8
C++
false
false
508
cpp
listaB_Exe1.cpp
#include <stdlib.h> #include <stdio.h> #include <math.h> main (void) { float x1,x2,y1,y2,d; printf ("Programa calcular distancia\n"); printf ("Digite os valor de x1\n"); scanf ("%f", &x1); printf ("Digite os valor de x2\n"); scanf ("%f", &x2); printf ("Digite os valor de y1\n"); scanf ("%f", &y1)...
41f3b89860bef84acc7c24832b9c7a5c1a8a6e95
85ad6ef3ff24f277c7e373ad76c9211b310e2f56
/hotplug.cpp
c419c43a6ccbe58c8f6df8a2622d4a52aa46674f
[]
no_license
chP6/Konzept_ErstesBeispiel
bba27be1e0c6998d7379dbfdf1df52263fa3695e
b401c79f13c3276e1b7575bf097ecde0ab902438
refs/heads/master
2020-05-02T06:34:36.878479
2019-10-26T08:15:47
2019-10-26T08:15:47
177,798,605
0
0
null
2019-10-26T08:15:48
2019-03-26T13:53:51
C++
UTF-8
C++
false
false
1,586
cpp
hotplug.cpp
#include "hotplug.h" #include <unistd.h> #include <sys/socket.h> #include <string.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <linux/input.h> Hotplug::Hotplug(const char* sockName) { m_sockName = sockName; } Hotplug::~Hotplug() { close(m_fd); } /*Setup loop...
f8305823ca8bd125cecd0607af3f470e20f025a2
5999f535bfebd94353496bca76235ff8822df1fb
/mainframe.cpp
d261bec41b3b40adcf6cb480f99d5cb04fe9b79f
[]
no_license
wo164756189/Source_CraneSystem
f9993d8732b139cce0de23b22034bc8404fa73e0
614a498f17857cb0f9b5a92d14d4c0f77ee639df
refs/heads/master
2020-01-23T21:58:42.800343
2016-11-28T04:03:03
2016-11-28T04:03:03
74,721,188
0
0
null
null
null
null
GB18030
C++
false
false
986
cpp
mainframe.cpp
#include "mainframe.h" #include <QPainter> #include <QTimerEvent> #include <QDateTime> MainFrame::MainFrame(QWidget *parent) : QWidget(parent), m_times(0) { ui.setupUi(this); QDateTime time = QDateTime::currentDateTime();//获取系统现在的时间 QString str = time.toString("yyyy-MM-dd hh:mm:ss ddd"); //设置显示格式 ui.label_time->s...
16c481c3c38c8a9de9dd4979e80b66e7cf41097f
d803d11c68c26f182222b21a626ab8fe65ec7189
/project/ui/infopanel.h
3c08a34004e2de2249931f4a0675cb3a06a6e0e7
[]
no_license
wyegelwel/snow
ff9b810ade9e59dee2bb5cc64764df71998f231e
b504448296e6c161f25098d12c4b5358220e767a
refs/heads/master
2021-01-21T11:44:58.299267
2016-04-10T17:47:12
2016-04-10T17:47:12
18,417,674
53
9
null
null
null
null
UTF-8
C++
false
false
1,455
h
infopanel.h
/************************************************************************** ** ** SNOW - CS224 BROWN UNIVERSITY ** ** infopanel.h ** Author: mliberma ** Created: 10 Apr 2014 ** **************************************************************************/ #ifndef INFOPANEL_H #define INFOPANEL_H #include <QFont> ...
178eacafbd683acfe6b6825dd7b3461b1952f939
0b2794e85d7aa2158d59bbd3dd581a50cd2781d1
/CrevoLib/src/Vision.cpp
5f677fce9e0b16e8739c2efc23d011fc0d24115c
[]
no_license
CrevolutionRoboticsProgramming/CrevoLib
ec6657debae268770f2b3ec6b999bf2391c9bed4
31bc19e6d4fbf5a767da2d4db694f2e22e463246
refs/heads/v7
2021-01-13T03:28:06.981062
2017-03-02T13:23:44
2017-03-02T13:23:44
77,540,598
1
1
null
2017-03-14T02:44:17
2016-12-28T14:58:53
C++
UTF-8
C++
false
false
2,475
cpp
Vision.cpp
/* * Vision.cpp * * Created on: Jan 17, 2017 * Author: Martin Smoger */ #include <Vision.h> Vision::Vision() { // TODO Auto-generated constructor stub } Vision::~Vision() { // TODO Auto-generated destructor stub } void Vision::startStream(void) { //cs::UsbCamera camera2 = CameraServer::GetInstance()...
f7fe472095b008757070a4756ec9167a39e9ef2b
e6319b317129708b54c963e335e6add74d565f0a
/CalenizerLib/DateTime.h
8ef038491e8ffb27a6820f211d3dd86a578e85cf
[]
no_license
tanshuyan/cs2103jan2014-f12-4c
3c6013b4c63c2566d5634d4d4f93be566cf478d2
2566c5c1cc6be39b13e834d269753b84b2334993
refs/heads/master
2021-01-10T02:48:21.953268
2014-06-11T10:34:33
2014-06-11T10:34:33
36,336,562
0
0
null
null
null
null
UTF-8
C++
false
false
1,197
h
DateTime.h
//@author A0101843R //DateTime.h #ifndef DATETIME_H #define DATETIME_H #include <QDateTime> #include <QString> #include <string> #include <QRegExp> class DateTime{ private: QDate _date; QTime _time; public: DateTime(); DateTime(QDate date, QTime time); //returns false if date is invalid ...
0dc3ffb25f45fea9f52035e5d27b25dba991f724
955a126b06fab8e91b3aca356a6ecb971849c84d
/src/Geometry/headers/FigureGeometrique.hpp
8516922875119219969625e5debb652512e8921d
[]
no_license
Noker21/CPP_TP05
c70597075d60647271870afdf47eb3beeefd1bdc
8dd3915cf0d6a606a073da25600602f6d11fc7eb
refs/heads/master
2021-05-20T12:06:52.687087
2020-04-01T22:12:38
2020-04-01T22:12:38
252,287,935
0
0
null
null
null
null
UTF-8
C++
false
false
402
hpp
FigureGeometrique.hpp
#ifndef FIGUREGEOMETRIQUE_HPP_ #define FIGUREGEOMETRIQUE_HPP_ #include "../../Struct/struct.hpp" #include <gtkmm.h> class FigureGeometrique{ protected: Couleur _couleur; public: FigureGeometrique( const Couleur & couleur); virtual ~FigureGeometrique(); const Couleur & getCouleur() const; virtual void ...
865fd6777be164b7f68d80d25e3617ddf3038608
76ce3eb14a4d4d9845101cf096280a6bd1dd3fcd
/ThreadPoolBackTimer.h
0db180f4518d6663b1a96be2fd597646b122057b
[ "BSD-3-Clause" ]
permissive
qixianbd/NewVersionCpp
1bec3104c21e3102f193574feb0a09e4788f26bc
7a52e768d7b11f1215ae115d3b9557fb3c44a288
refs/heads/master
2021-01-09T22:39:20.718987
2014-11-21T12:45:41
2014-11-21T12:45:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,001
h
ThreadPoolBackTimer.h
/* * ThreadPoolBackTimer.h * * Created on: 2014年11月18日 * Author: keyming */ #ifndef THREADPOOLBACKTIMER_H_ #define THREADPOOLBACKTIMER_H_ #include <chrono> #include <thread> #include <vector> #include <mutex> // std::mutex #include <condition_variable> // std::condition_variable_any #include <...
e5e0011bed4b5a6b70a8fe0fdc1fda0f520b6f18
c5b21c89564f839bae84ee07d7f177e556c9dfb5
/source/ECGUIManager.cpp
74c24a86697a3194a30adc910018d499059ac82a
[]
no_license
uwsbel/vehicle_environment
690ad3a1ff58cf8f73202821e75d0a43b44ab59a
90a0baf6d638a11b630c5c40bd87c8faf5a82057
refs/heads/master
2021-01-22T01:05:44.567748
2014-10-17T02:09:40
2014-10-17T02:09:40
21,624,139
1
0
null
null
null
null
UTF-8
C++
false
false
2,367
cpp
ECGUIManager.cpp
#include "ECGUIManager.h" namespace EnvironmentCore { ECGUIManager::ECGUIManager(Ogre::SceneManager* SceneManager, EC_SDL_InputManager* InputManager) { m_pInputManager = InputManager; m_pSceneManager = SceneManager; m_pOverlaySystem = new Ogre::OverlaySystem(); SceneManager->addRenderQueueListener(m_pOverlay...
81932042b5bb99d2c6baccf23a9b4e7048cc6194
8bf6fa2e41892ed67e2725bbd199f6d2980cca8c
/Sources/GameServer/DevilSquareFinal.h
dd6dcb248b0a988e7f06a774cd2bc6b6c4a6816b
[]
no_license
Shinronz/AluxiaMu
90cecbf0a04432113d9fde8e4990180ebf3c08da
5f5dcd621e1c4ecbabca95b978dd5529e09f1a56
refs/heads/master
2021-01-20T01:29:13.185992
2017-05-18T01:22:48
2017-05-18T01:22:48
89,285,116
1
2
null
null
null
null
UTF-8
C++
false
false
10,262
h
DevilSquareFinal.h
////////////////////////////////////////////////////////////////////// // DevilSquareFinal.h #ifndef DEVILSQUAREFINAL_H #define DEVILSQUAREFINAL_H #include "user.h" struct DSF_TIME_RULE_INFO { void Clear() { this->BeforeEnterMinute = 0; this->AfterEnterMinute = 0; this->EachRoundMinute = 0; this->AfterRound...
5ff29c8ec0b6a3b5836adb755e121510b5e50be8
517d5f0454fa766e8614ae54263cba25933978fd
/Hand.cpp
84b26e157fe2c203c874b98cc68d6ec7d3f7ebc0
[]
no_license
csgodwin/BlackJack
028884642e5ce651eb5f2d467dec8285cee3ec6c
f868beb5a6650f7a2964269d4041ba77feadb18a
refs/heads/master
2020-05-29T19:04:03.016114
2019-05-30T00:51:33
2019-05-30T00:51:33
189,319,517
0
0
null
null
null
null
UTF-8
C++
false
false
621
cpp
Hand.cpp
#include "Hand.h" #include "Card.h" //constructor, empty hand/empty vector Hand::Hand() : cards() {} void Hand::add(Card & c) { this->cards.push_back(c); } void Hand::clear() { cards.clear(); } int Hand::getPoints() const { int total = 0; bool havingAce = false; //go through all the ...
38f7aa2ebb89e7cdd5fda0269c783ae441efae5e
b3bfe2c53a9a93a4b7241c7db50d2dc593cfb3cb
/ps/base/rank_hasher.h
37cf41c9d1d0e2579483fe5cbf4c282083211110
[ "MIT" ]
permissive
sweeterthancandy/CandyPoker
6bd6b0078747daba609b835b0c094694df432d9c
37b502ce6ea8733ce0b70476fcf32930961923a8
refs/heads/trunk
2022-03-21T15:57:53.220055
2022-03-20T18:02:14
2022-03-20T18:02:14
87,330,380
12
1
null
2019-02-03T19:38:50
2017-04-05T16:08:40
C++
UTF-8
C++
false
false
6,878
h
rank_hasher.h
/* CandyPoker https://github.com/sweeterthancandy/CandyPoker MIT License Copyright (c) 2019 Gerry Candy 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 li...
87408b34268196874d33d99a8009766328d6e81d
6f40de67648684c5f5112aeb550d7efb5bf8251b
/Codeforces/Practice/682D. Alyona and Strings.cpp
ef5b9056113d265e72435df3e91e90c33c9c3186
[]
no_license
Mohib04/Competitive-Programming
91381fa5ba2ff2e9b6cf0aeee165f7cf31b43d0d
529f7db770b801eff32f2f23b31a98b1b9f35e51
refs/heads/master
2021-10-21T07:53:03.645288
2019-03-03T14:53:47
2019-03-03T14:53:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
918
cpp
682D. Alyona and Strings.cpp
#include<bits/stdc++.h> using namespace std; int n,m, k; string a,b; int dp[1010][1010][12][3]; int f(int i, int j, int k, int c) { if(i == n || j == m || k < 0) { if(k == 0) return 0; return INT_MIN; } if(dp[i][j][k][c] != -1) return dp[i][j][k][c]; int ans = INT_MIN; if(c == 0...
aaf3b6765a6469fa86ed98a0dfa2af1874eea014
3ba342eb120abf9a1a1c6bc1bc7a3be04e308770
/Source/VaOceanDemo/VaOceanDemoPlayerController.cpp
515321214dfef0cb6b28fd269afc429e4f9ee679
[ "MIT" ]
permissive
maderix/VaOcean-Demo
1e8e0945d353033d5b64753d20ee9a4ca70a5a37
eb5ba4b64c346f07dd9c96e8e93af5e8683eb4f6
refs/heads/master
2020-12-25T04:35:35.457077
2015-02-26T16:48:36
2015-02-26T16:48:36
31,371,485
0
0
null
2015-02-26T14:42:31
2015-02-26T14:42:30
null
UTF-8
C++
false
false
262
cpp
VaOceanDemoPlayerController.cpp
// Copyright 2014 Vladimir Alyamkin. All Rights Reserved. #include "VaOceanDemo.h" #include "VaOceanDemoPlayerController.h" AVaOceanDemoPlayerController::AVaOceanDemoPlayerController(const class FPostConstructInitializeProperties& PCIP) : Super(PCIP) { }
b34bbf3335a81cd760c32e5179469e5e71d6d38d
08b8cf38e1936e8cec27f84af0d3727321cec9c4
/data/crawl/git/hunk_4369.cpp
4bd78e7f9b4371e19ece1b0237e0dd7bdf31098e
[]
no_license
ccdxc/logSurvey
eaf28e9c2d6307140b17986d5c05106d1fd8e943
6b80226e1667c1e0760ab39160893ee19b0e9fb1
refs/heads/master
2022-01-07T21:31:55.446839
2018-04-21T14:12:43
2018-04-21T14:12:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
215
cpp
hunk_4369.cpp
die_errno("Full write to remote helper failed"); } -const char *remove_ext_force(const char *url) +static const char *remove_ext_force(const char *url) { if (url) { const char *colon = strchr(url, ':');
fb9f5da4fbbdf6ff76da02effaeebbb60d1f4031
89a265738abb54a3d20590d8fae2913ed22a5bb5
/app/src/main/cpp/evaluatealphabeta/test_evaluator.h
a31837feb0786091cbc49150117e5fb50d5591db
[ "Apache-2.0" ]
permissive
borassi/othello-sensei
c9c2e599170ad8ab4323abe139b39074188496c8
9dd580017b916028f9b6b8409b6fa42f25f91f5c
refs/heads/main
2023-08-09T15:15:16.433346
2023-08-05T14:29:26
2023-08-05T14:29:26
191,031,826
0
0
null
null
null
null
UTF-8
C++
false
false
1,537
h
test_evaluator.h
/* * Copyright 2023 Michele Borassi * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
2078df14ecd766e621d2e8530a42b46447476051
b6072900cc9286527d0d5d0cbafbf3af4d33a285
/LW_ML/supervisedLearning/cvdtree.cpp
131ab2cd217d8ba4786a1e81a6f1a628a1009436
[]
no_license
myctu1138/Samples
99a2e1eddf603fc2349fb82e249c40743f324b22
9a8b5b92e77bd4c87c32766bee296a521f053036
refs/heads/main
2023-08-29T14:02:08.617578
2021-09-24T14:30:21
2021-09-24T14:30:21
409,993,114
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
4,332
cpp
cvdtree.cpp
#include "cvdtree.h" using namespace cv; /* // Функция обучения дерева решений. // // API // void trainDTree(const cv::Mat & trainSamples, // const cv::Mat & trainClasses, // const CvDTreeParams & params, // CvDTree & dtree) // // ВХОД // trainSamples - матрица вход...
3d00c99ea2e232674f19d5b85968fe50b028cb04
61c8152fdb5389940557c4982e63848723b3a8d5
/Visitable.cpp
5d7e0d14e4b889eb32e2d275e3ba60f407238b4b
[]
no_license
ttpro1995/GoodManager
df09ef4e3fdd8d1d6d29bc2a0c15aaf4bf15bd85
7271162aa11129aeb3e855a000f5250d4e1c0270
refs/heads/master
2016-09-06T02:36:06.915929
2014-12-13T15:43:57
2014-12-13T15:43:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
164
cpp
Visitable.cpp
#include "Visitable.h" //Group 9 - APCS 13ctt - a example of visitor //This source code is avaiable at my github account https://github.com/ttpro1995/GoodManager
6d5a9021f936e0c852498c74c0f545c21f6af098
0b69a011c9ffee099841c140be95ed93c704fb07
/problemsets/Codeforces/C++/A747.cpp
c1b408dbe91185f147686ae3333160661059ef9e
[ "Apache-2.0" ]
permissive
juarezpaulino/coderemite
4bd03f4f2780eb6013f07c396ba16aa7dbbceea8
a4649d3f3a89d234457032d14a6646b3af339ac1
refs/heads/main
2023-01-31T11:35:19.779668
2020-12-18T01:33:46
2020-12-18T01:33:46
320,931,351
0
0
null
null
null
null
UTF-8
C++
false
false
274
cpp
A747.cpp
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; for (int i = sqrt(n+1); i >= 0; i--) if (i*(n/i) == n) { cout << i << " " << n/i; return 0; } }
98386ea86be7a4a9be7b1821bbd3c592cc21158b
0e6a1d839e9e18299016e5950667924310bdb7be
/code_VS/flappybird/flappybird.cpp
5ee3fef18d71c2f35eebf854d0a9c8af55f5028c
[]
no_license
StevenChenZJU/Flappybird-C-EasyX
bc613336cb1100b461981a44d49dc588fe4c09d4
aa50ed87d98855e409ce2c17618e9ec3572abac2
refs/heads/master
2020-05-03T13:27:45.601100
2019-04-28T12:48:04
2019-04-28T12:48:04
178,653,278
0
0
null
null
null
null
GB18030
C++
false
false
6,360
cpp
flappybird.cpp
//the pictures is stored in D:\\sources\\ //place a tube every 50 //have not figure out why the flashing happens //to do list: //1.get setting at the entrance #include <graphics.h> #include <conio.h> #include <stdlib.h> #include <stdbool.h> #include <time.h> #include "Queue.h" #include "flappybird.h" //Global Va...
8f84c342be3e63ebea04d6fd8661e4486baa1a73
4d6d41914eb4c02fea16d4395a3319d70fa83d33
/tests/filesystem/rmdirtree.cpp
d1b479b4fa3cb0a8d0a403da8963716aae651d48
[ "MIT" ]
permissive
sugawaray/filemanager
1cfa4d116d9175fffefa5a1fa3c813682fb0441e
3dcb908d4c1e0c36de0c60e1b2e1291eec986cb1
refs/heads/master
2016-09-06T04:18:38.703700
2015-07-26T06:10:10
2015-07-26T06:10:10
37,470,176
0
0
null
null
null
null
UTF-8
C++
false
false
2,336
cpp
rmdirtree.cpp
#include <cerrno> #include <stdexcept> #include <filesystem.h> #include <tests/fixture/filesystem.h> #include <tests/fixture/process_dir.h> #include "rmdirtree.h" #include <utils_assert.h> namespace { template<class T> inline void A(T expr) { utils::Assert<std::logic_error>(expr); } } // unnamed using fs::Absolute...
4b16fad8f603b822875800aba700be8117bca01a
d4e28cc624ecc902298d4cefec2ed36817ee9cee
/FGEngine/MyGame/BaseEnemy.h
8a53ceed58b7ec7c99707e5bc844506d3f7bf405
[]
no_license
yunisAlBreihi/BulletHell_Repo
f718a2a2831f47a9324d9e6b2828d8193e17ce41
c746bbd5062cc98f5fa340adddd433bea7c7923d
refs/heads/master
2020-09-08T00:46:28.907639
2019-12-02T08:51:50
2019-12-02T08:51:50
220,959,464
0
0
null
null
null
null
UTF-8
C++
false
false
2,076
h
BaseEnemy.h
#pragma once #include "Entity.h" #include "Vector2D.h" #include "BezierPath.h" #include "BezierCurveManager.h" const float healthBarHeight = 0.15f; class BaseEnemy : public FG::Entity { public: enum MovementType { MoveStraight = 0, MoveCircular = 1, MoveSweep = 2, MoveWave = 3, MoveDoubleWave = 4, }; e...
30ed71b3b82c3dc4a571c66ccdd2bb4040145dba
bb16db1f002eb4b745e46cf957a8c44bfc25cc71
/k1160pro/qcleanform.cpp
5f79ed988eecec3c267f89d91946a45b46cae941
[]
no_license
jjzhang166/K1160
90ded5beae07f2e320f1453aaa93fbd529b00409
fb9716bb7bead7b38df54b7b17925822bbbe1691
refs/heads/master
2021-07-05T05:26:39.774344
2017-09-26T09:37:15
2017-09-26T09:37:15
104,993,094
1
0
null
null
null
null
UTF-8
C++
false
false
15,426
cpp
qcleanform.cpp
#include "qcleanform.h" #include "ui_qcleanform.h" #include "qmainscreen.h" QCleanForm::QCleanForm(QWidget *parent) : QWidget(parent), ui(new Ui::QCleanForm), m_pSerialClean(NULL), m_bFlag(true) { ui->setupUi(this); m_ptc = QTextCodec::codecForName("UTF-8"); m_bjieshoubei = true; m_b...
4da6d7c4801703297943ee4c480b64277506c2a3
826a58aa6f4cbefc03b44b0f8da2631e6ab632b6
/Platform.h
cb22ca979e4297bf47d5ade307deb65e75ace4da
[]
no_license
gbrls/2dGame
0f1ac792149d02b303cf54007e05ab1eadd9a561
7cc65313cccb307a980211dee5dace9430ad0c75
refs/heads/master
2021-09-05T13:06:18.418228
2018-01-27T22:41:38
2018-01-27T22:41:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
161
h
Platform.h
// // Created by gabriel on 24/01/18. // #ifndef MARIOLIKEV1_PLATFORM_H #define MARIOLIKEV1_PLATFORM_H class Platform { }; #endif //MARIOLIKEV1_PLATFORM_H
8a417e40e17b0b25655ee52f81637b0be075a4ee
af19e490c4445baeb40a02e51c4c15cce1e8686e
/37. Sudoku Solver.cpp
0891949f61369f059c9829c490b4c732b3fe2534
[]
no_license
daviscoder/Leetcode_2016_Pass1
5ddefefa9178cf67c4e24c14a5ea69df86325085
bc1c2196f930a4505317e828eb64da63039ec263
refs/heads/master
2021-01-24T22:07:04.143664
2017-05-05T06:08:21
2017-05-05T06:08:21
66,132,727
1
1
null
null
null
null
UTF-8
C++
false
false
1,864
cpp
37. Sudoku Solver.cpp
class Solution { public: bool isValidSudoku(vector<vector<char>>& board, int x, int y) { // check box. vector <int> cnt (10, 0); for (int k = 0; k < 3; k++) { for (int l = 0; l < 3; l++) { if (board[y / 3 * 3 + k][x / 3 * 3 + l] != '.') { int ...
0bd4d3eb85cfe8fd2e130c0c9860a0137ec2c4a4
623ba918b95e6fbb2df7c13fa1906acfd85aa676
/Animator.h
a93de3a31557314e4a07b2a525dbcfb8283bdf26
[]
no_license
charliewheate98/Capsule-3D-Game-Engine
8e33855d1da36130606871868dad42b52bc7843b
795dff2abe5ca1d45a4210b3204f880e34240082
refs/heads/master
2022-08-01T10:26:21.773235
2019-07-05T21:40:33
2019-07-05T21:40:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,632
h
Animator.h
#ifndef _ANIMATOR_H_ #define _ANIMATOR_H_ #include <iostream> #include <vector> #include <glm/glm.hpp> #include <glm/gtx/quaternion.hpp> #include "Object.h" #include "Actor.h" #include "Camera.h" namespace Animator { // linear interpolation between two points inline void lerp(glm::vec3& dest, glm::vec...
cab7ca38f63dfcb938589068437d76fbe1cb9d1c
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/ui/shell_dialogs/select_file_dialog_linux.cc
4b540a7fcdf077640e6eab0249f23ccb35a0fcb1
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
1,186
cc
select_file_dialog_linux.cc
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // This file implements common select dialog functionality between GTK and KDE. #include "ui/shell_dialogs/select_file_dialog_linux.h" #include "base/files/file_util.h" #in...
4f4c6099b3ff0df997f937b48c6974e05ab2a1fb
6b025999f3df5c9d0ce42cb1ab750372f8d903bb
/BlackJack/BlackJack/Card.cpp
3992572d8f0ddc09c36dfca660ee6591550628c7
[]
no_license
danicaweiler/BlackJackCPP
79db985c2b3cf2c366f3bf3c76243f6566abd223
c8e5d2aab603c107eb985d8fc8e3f23286305038
refs/heads/master
2020-08-07T10:44:10.291145
2020-02-04T18:49:19
2020-02-04T18:49:19
213,417,066
0
0
null
null
null
null
UTF-8
C++
false
false
2,123
cpp
Card.cpp
#include "Card.h" Card::Card() { this->cardNumber = 0; this->suit = 0; this->dealt = false; } Card::Card(char cardNum, char suit) { this->cardNumber = cardNum; this->suit = suit; this->dealt = false; } Card::~Card() { } void Card::SetDealt(bool dealt) { this->dealt = dealt; } bool C...
37717ce9df7eede582d4213c71bd3bf1f213878b
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1485490_0/C++/bietz/C.cpp
dbf3647b11ed0c5f06a6e520e53f1c6348a79c40
[]
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
819
cpp
C.cpp
#include <iostream> #include <algorithm> using namespace std; int N, M, T; long long a[100]; int A[100]; long long b[100]; int B[100]; long long solve(int i, int j) { if (i >= N || j >= M) return 0; long long res = 0; if (A[i] == B[j]) { if (a[i] == b[j]) return a[i] + solve(i+1, j+1); if (a[i] > b[j]) ...
b596e90b102340a242e909defe2a226c28ce92e6
36a8f5e1f3ffcd7d2b3f717e03c4cee4e0af535f
/include/F2.h
f32d8c2876c89be9c5eed31c2262d52b4faa0240
[]
no_license
artur-amorim/gggpScatteringIHQCD
6b365c6a0712d8dda3ab8e5d3d0f5b11ef134fba
3166700e5399855f58f55cc49617e07f2d326b7c
refs/heads/master
2023-06-25T17:10:24.127798
2021-07-25T09:04:45
2021-07-25T09:04:45
241,358,768
0
0
null
null
null
null
UTF-8
C++
false
false
336
h
F2.h
#ifndef F2_H #define F2_H #include <vector> #include "DeepInelasticScattering.h" class F2 : public DeepInelasticScattering { public : F2(std::string file_path = "expdata/F2_data.txt"); // Constructor double IzN(const std::vector<double> &kin, const Reggeon &...
f0e856a75b0305fc942d3f60765a4341b3f55adf
b668ffd1b625b7a5b30b69ce2df39e4adb9aadc9
/cpp04/ex01/PowerFist.hpp
a829002182e8e125e2aba3885dfa57e7da7992dd
[]
no_license
felixoff/C_plus_plus_by_Felx
4c1e6cd1c2da5ecb15b5f302b4bc7221c3973c4d
005cb015aaf2d296b3785527af9d63192840947c
refs/heads/master
2023-04-19T16:41:16.965742
2021-05-23T12:05:29
2021-05-23T12:05:29
356,531,959
0
0
null
null
null
null
UTF-8
C++
false
false
226
hpp
PowerFist.hpp
#include "AWeapon.hpp" class PowerFist: public AWeapon { public: PowerFist(); PowerFist(const PowerFist &other); PowerFist &operator =(const PowerFist &other); virtual ~PowerFist(); void attack() const; };
45cb5a93d85a5609fc70d3b6879e640fe2a06a9a
774d22fedf1e96ac4429a74a68e273a40d3b479e
/EyeTracker/PSEye/PSEyeGetter.cpp
c7763fa984119c12212a3f4d8bc2384552060444
[]
no_license
BADAL244/robotarm
11489cf3a73c1ef3362f61b829f36e37ceb66f23
4f5113ad127308cd17ca3dd867479ead32c6307a
refs/heads/master
2023-03-17T20:19:40.112620
2016-05-28T15:30:07
2016-05-28T15:30:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,256
cpp
PSEyeGetter.cpp
#include "../../MEngProjectFiles/PSEye/PSEyeGetter.h" PSEyeGetter::PSEyeGetter() { IsReady = false; } PSEyeGetter::PSEyeGetter(CLEyeCameraColorMode ColourMode, CLEyeCameraResolution Resolution, float FrameRate) { IsReady = false; FindCam(ColourMode, Resolution, FrameRate); } PSEyeGetter::~PSEyeGetter() {...
f6dffa5a0ce698e343d855c5246fc9c7d823d99b
9f63b75a1ac13e181ca99d558580e3527a45c0c6
/2.LINKED_LIST/5.Delete_entire_ll.cpp
d89d44aca8264194c86a04dd6776949f06a03ead
[]
no_license
smritipradhan/Datastructure
3934cfb27406d84b6840955645026e7b7595f8ea
74ecf07496fc571f9d676efe95dcdb796dc069e3
refs/heads/master
2023-07-11T11:58:33.515265
2021-08-11T14:26:11
2021-08-11T14:26:11
322,194,016
1
0
null
2021-08-11T14:26:12
2020-12-17T05:46:07
C++
UTF-8
C++
false
false
851
cpp
5.Delete_entire_ll.cpp
//program to delete the entire linked list #include<bits/stdc++.h> using namespace std; class Node { public: int data; Node* next; }; void push(Node** head_ref,int data) { Node* new_node = new Node(); new_node->data = data; new_node->next = (*head_ref); (*head_ref) = new_node; } void delete_(Node** head_ref) { ...
7e26b62a63acdbd376d764824b287fe073afeb26
e5d063c36aa0568c78112416c9bbe3a472a22c52
/server/test/testmathfunctions.h
295b509a30933ecd242d6ac0a892a9c35fb13fa6
[]
no_license
amiryanj/cyrus_ssl
6cb440787b7359f72ed1b13784b80beaeaa48939
c17d1e715cc280c0373f56c99be64bbdeafb40d5
refs/heads/master
2020-05-30T05:11:12.254254
2019-02-11T17:39:54
2019-02-11T17:39:54
39,081,920
0
0
null
null
null
null
UTF-8
C++
false
false
3,335
h
testmathfunctions.h
#ifndef _TESTMATHFUNCTIONS_H #define _TESTMATHFUNCTIONS_H #include <iostream> #include "vector2d.h" #include "vector3d.h" #include "linesegment.h" #include "generalmath.h" #include "../soccer/sslgamepositions.h" #include "../debug-tools/networkplotter.h" #include "../soccer/sslskill.h" #include <Box2D/Collision/b2Coll...
52199f662b8dc34e39a141f39b9b3ae4e4c67a94
0b2eb0455c00efaba3501af887a94c20de5ebdcd
/WS05/at-home/Fraction.cpp
bc129bfe048e861656aa82d851d22589142a1a14
[]
no_license
C067/OOP244_WS5
3655778fb796f319132d8bef3b749c1864adabab
54a6a42192ce5398aa104a92ed2d0897b88c2802
refs/heads/master
2020-03-28T16:40:15.860430
2018-09-14T01:34:51
2018-09-14T01:34:51
148,717,459
0
0
null
null
null
null
UTF-8
C++
false
false
3,514
cpp
Fraction.cpp
//Name: Callum Dodge //Date: June 14, 2016 //Workshop: Workshop 5 - In Lab //Section: D // TODO: insert header files #include "Fraction.h" // TODO: continue the namespace #include <iostream> using namespace std; namespace sict { // TODO: implement the default constructor Fraction::Fraction() { numerator = 0; d...
1a023848c7286de5cd663c548daa10699fdb8bac
e0f269b153db5b1400d843220768b0a8ddcac878
/include/mpl/syserr.hpp
edf772ab7d9bbea57c9e41911ad3699238ccddd9
[]
no_license
BerkeleyAutomation/mplambda
4e35781950aa8e45c0cca5de9b9791ee75e8c4e4
c31d9f0de66cf65707f534a0fa31c0c851dc53c7
refs/heads/master
2022-11-30T23:27:38.143591
2020-08-18T15:07:48
2020-08-18T15:07:48
204,769,753
1
4
null
null
null
null
UTF-8
C++
false
false
259
hpp
syserr.hpp
#pragma once #ifndef MPL_SYSERR_HPP #define MPL_SYSERR_HPP #include <system_error> #include <sys/errno.h> namespace mpl { inline auto syserr(const std::string& msg) { return std::system_error(errno, std::system_category(), msg); } } #endif
a43bc62d78d5eda6af533ef79577faaab3e4c203
f10ff692b11d2e90fa1d84d195b8a7db1e967e8f
/CLionProjects/Framework/createInstance/handlesInput.cpp
38a37eaf99213595ad8260d20d519c260fb492a4
[]
no_license
Youssefasem/ICAlgoritmos
35e1fadedf8ebf88d770641804c001e5f36ba240
823f594bfa41366f98da514add29e24837367bcf
refs/heads/master
2023-03-16T13:10:46.728357
2020-08-25T14:09:56
2020-08-25T14:09:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,470
cpp
handlesInput.cpp
// OUTPUT FILE FORMAT: // #Facilities = m #Clientes = n // f1 f2 ... fm // c11 c12 ... c1m # custo de conexão de cada cliente // .. // cn1 cn2 ... cnm // #Scenarios = S // p1 p2 ... pS // s1d1 s1d2 ... s1dn # quais clientes estão em quais cenários (vetor binário 0 1) // s2d1 s2d2 ... s2dn // .. // sSd1 sSd2 ... sSdn //...
87e96214d8f684cfaf31084933a8412deaa64cd1
0591290759ada2c0c493c2c0070bc619b4719543
/aoc/2021/aoc2.cpp
6378863cbf6fcbdac57736d792f093811be5da05
[]
no_license
DrFrankenstein/prompts
4a3f23aefc18832b549ecf866ac0e432b03efa09
4a7f2aaecda3a87faba0b44c02d29fc763b18eba
refs/heads/master
2022-12-12T07:06:41.808721
2022-12-03T05:22:04
2022-12-03T05:22:04
58,821,393
0
0
null
null
null
null
UTF-8
C++
false
false
1,621
cpp
aoc2.cpp
#include <algorithm> #include <exception> #include <iostream> #include <iterator> #include <string> #include <string_view> #include <utility> using std::cin, std::cout, std::for_each, std::istream, std::istream_iterator, std::runtime_error, std::string, std::string_view; enum class Direction { FORWARD, DOWN, UP }; st...
6c95a078a64db74df7aa60f5ca225820e66c699b
75fd4ed3ec162b69bcf2cbbc3353f6916ae1df9a
/dp/dp_poj3628.cpp
ecfb743c61b82dd6b78a991c15901d0b7b94e305
[]
no_license
yahaa/Cpp
026d1cff59fff7dfdf31d1014b3832952d24a2b0
7c9f870d461d82b5b90f531530ee430aee707d92
refs/heads/master
2020-04-04T04:02:00.357463
2016-09-25T03:31:27
2016-09-25T03:31:27
49,128,462
0
0
null
null
null
null
UTF-8
C++
false
false
941
cpp
dp_poj3628.cpp
/************************************************************************* > File Name: dp_poj3628.cpp > Author: yahaa > Mail: yuanzihua0@gmail.com > Created Time: 2016年05月05日 星期四 18时54分10秒 ************************************************************************/ #include<iostream> #include<cstdio> #include<vect...
0f23790ce059ef825508a31a37fe3d7275236933
78b5bb555bd3aa90b036c6b194a76799f2eec2a9
/4.27/LastVersion/TypewriterPlugin/Source/TypewriterPlugin/Private/TypewriterTextComponent.cpp
52aff97613fd4730b0180bc4288a3a460ff0ee02
[]
no_license
SixLineStudio/TypeWriter
7de2f9504b70f85b26ac1f4792aecf9c871b4082
f9395607fcf7f14d03c7a31be921fd6ffcc44b8c
refs/heads/main
2023-08-21T00:14:00.032023
2021-10-25T16:53:01
2021-10-25T16:53:01
400,658,773
0
0
null
null
null
null
UTF-8
C++
false
false
4,616
cpp
TypewriterTextComponent.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "TypewriterTextComponent.h" #include "Components/AudioComponent.h" #include "Kismet/GameplayStatics.h" #include "TimerManager.h" #include "Kismet/KismetTextLibrary.h" #include "Components/TextBlock.h" #include "Components/RichTextB...
d16f07b656a6b0ae7218d951b301822f52f78223
0cfdb5e6804d06278b87d9d9d9e2055001ce0ddb
/src/server.cpp
ff2c3e826eb2745e27bc5ce17347aa9ddba4abd2
[]
no_license
euugenechou/secure-walkie-talkie
a556e26ce45b6c949da89a24eaf86ecb0ed5b830
c99bf2f2d1b38346c9a3cf0a872901ce868c2355
refs/heads/master
2022-12-13T01:10:53.935656
2020-08-10T03:12:08
2020-08-10T03:12:08
286,363,881
3
0
null
null
null
null
UTF-8
C++
false
false
2,828
cpp
server.cpp
#include "server.h" #include <fstream> #include <iomanip> #include <sstream> #include <sys/stat.h> #include <sys/types.h> TCPServer::TCPServer(int port) { if (!TCPSocket::create()) { throw TCPSocketException("Could not create server socket."); } if (!TCPSocket::bind(port)) { throw TCPSocketException("Co...
9a08d1e9f5aa0819c69e08e89998e22a89624663
5b36c629df399989df0a7e2dd3a055008d57a2f8
/SchedulingAlgorithms/FCFS.cpp
67727a399b9a02a347e1241deeb99ec5338ba91d
[]
no_license
VelisariosF/Algorithms
2b3861e75f7d06ffdcbc69228c84e94e571be750
9c73cdcfcbe640fa2feb1d4edc22bba9544aa479
refs/heads/master
2022-12-24T14:48:40.115777
2020-09-26T07:34:38
2020-09-26T07:34:38
298,761,711
0
0
null
2020-09-26T07:30:36
2020-09-26T07:30:36
null
UTF-8
C++
false
false
2,085
cpp
FCFS.cpp
/* Scheduling Algorithm FCFS created by Velisarios */ #include <iostream> using namespace std; class FCFS{ public: static int* calcWaitingTime(int* burstTime, int quantum, int burstTimeSize){ int* waitingTime; waitingTime = new int[burstTimeSize]; int sum = 0; ...
8b5166b5b0e1828bdf885f9693fe4502b5ee941f
0f09e7229e7a3d67e6299d7d154ac10d2a9249d4
/database/driver/mysql_driver.h
52cfdf11a9e563ff9603122ed031cbd2655eccbf
[]
no_license
zhouyujt/daxia
eb8de340dc4deafa7409d531650881120c2700b7
cb5682cb9acd00cff1738a5cff0f2bf9aff953ff
refs/heads/master
2022-01-22T21:03:02.522397
2022-01-11T06:21:22
2022-01-11T06:21:22
156,683,547
2
2
null
2021-06-08T16:53:10
2018-11-08T09:38:49
C++
GB18030
C++
false
false
1,426
h
mysql_driver.h
/*! * Licensed under the MIT License.See License for details. * Copyright (c) 2021 漓江里的大虾. * All rights reserved. * * \file mysql.h * \author 漓江里的大虾 * \date 八月 2021 * * mysql 驱动 * */ #ifdef __DAXIA_DATABASE_DRIVER_USE_MYSQL #ifndef __DAXIA_DATABASE_DRIVER_MYSQL_H #define __DAXIA_DATABASE_DRIVER_MYSQL_H #include <mysql...
23e4a9d7a4e147b60a0b82af0e628b24c05e7ead
db5126e5c8d8d353541861eaf23186c536c3f6f0
/Pandora/k4GaudiPandora/src/Utility.cpp
819fa15d4771c80d65e6437d22ebd46120d311de
[]
no_license
key4hep/k4Pandora
6162048205296572ff791744b92b5f243e8d2ec6
583288153bf6e6f1ea94a0d5b1bcb515628b7a4d
refs/heads/master
2023-08-07T12:43:48.787281
2023-07-18T20:04:13
2023-07-19T06:16:12
281,028,831
1
5
null
2023-07-19T06:16:13
2020-07-20T06:05:42
C++
UTF-8
C++
false
false
133
cpp
Utility.cpp
#include "Utility.h" std::string Convert (float number){ std::ostringstream buff; buff<<number; return buff.str(); }
0a30666ec419e6cd39d98c9da148b40b6f5f6a9f
0c9dd00624cfa095d2c8c0999a8a389ae58ec3a7
/CS8/string_1/stringtoken.h
f77ee9ed44ece843b3bc1f70a08f2aff435fae66
[]
no_license
zefengqiu1/buildupSQLdatabase
564e0de3ad4e748734019eb348b023889d48720b
7d8aab91ea61b29f08badd8d54c1af0f3ba6ee0c
refs/heads/master
2022-07-16T04:32:26.004278
2020-05-15T00:10:37
2020-05-15T00:10:37
264,053,017
0
0
null
null
null
null
UTF-8
C++
false
false
5,054
h
stringtoken.h
#ifndef STRINGTOKEN_H #define STRINGTOKEN_H #include "token.h" #include "table_function.h" #include <iostream> #include <string> //const int MAX_COLUMNS=256; const int MAX_BUFFER=200; const int MAX_ROWS=30; const int MAX_COLUMN=256; //#define MAX_ROWS 30 class STokenizer { public: STokenizer(); STokenizer(...
32728c24014547fe880c4d9f8c53afac56fdd7a3
9c4fdbd20182e1d7cb36ad1f51439d4a9b690ed9
/Part3/TokenType.h
10a037f80d760030c9b51a836fee8a88d8d2f7b1
[]
no_license
hectorlugo/CS236
310cd4f79d253e37dee1941e50d345cf1521844a
bcf5c56e5588cebda85d3683173e9f9669e77bb4
refs/heads/master
2021-01-10T11:39:05.233841
2016-03-15T03:00:51
2016-03-15T03:00:51
53,910,090
0
0
null
null
null
null
UTF-8
C++
false
false
315
h
TokenType.h
#ifndef TokenType_h #define TokenType_h #include <string> using namespace std; //declares token types enum TokenType { COMMA, PERIOD, Q_MARK, LEFT_PAREN, RIGHT_PAREN, COLON, COLON_DASH, SCHEMES, FACTS, RULES, QUERIES, ID, STRING, eof, NEWLINE, SPACE, POUND }; string TokenTypeToString(TokenType tokenType); #endif
2036368443f56f26442a595745b27104cf07b7e7
2392f620da275444647d03dff31af1e167c7f3fa
/zserver/calcunit.h
75e59928b4be2aaad869c9ff7f227f6ab2a8cf8b
[]
no_license
tesla64k/lightdistribute
3ecd06e4e8e7df71fe0e5bb8ebbc50f28324074d
fac3dbafc5073967d5d045c337f266908242139b
refs/heads/master
2021-01-10T02:28:14.491789
2015-11-17T18:24:11
2015-11-17T18:24:11
46,133,583
0
0
null
null
null
null
GB18030
C++
false
false
954
h
calcunit.h
#pragma once #include "zmq.h" #include <string> #include <map> #include <deque> #include <vector> #include <time.h> #include <set> #include "dispatch.h" typedef __int64 i64; typedef unsigned int u32; namespace zparallel { struct calcresource_t { int coreNum; int idle; int memResource; inline void SetCoreReso...
bb43d41af9ce2334c6b77cf7c8de28e76b4107f5
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/CMake/CMake-gumtree/Kitware_CMake_repos_log_659.cpp
4a211e672ad4827177a7cee292e0b679ee5a083c
[]
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
86
cpp
Kitware_CMake_repos_log_659.cpp
archive_set_error(&self->archive->archive, ENOMEM, "Can't allocate input data");
09538d70b358b4a2ec0d444915ab66abc38f73c1
56a4cb943d085a672f8b0d08a8c047f772e6a45e
/code/server/GameServer/Server/IRank.h
aa1fe71d01c718790f88cc079d54c78008b49a13
[]
no_license
robertveloso/suddenattack_legacy
2016fa21640d9a97227337ac8b2513af7b0ce00b
05ff49cced2ba651c25c18379fed156c58a577d7
refs/heads/master
2022-06-20T05:00:10.375695
2020-05-08T01:46:02
2020-05-08T01:46:02
262,199,345
3
1
null
null
null
null
UTF-8
C++
false
false
343
h
IRank.h
#pragma once #include "../../System.h" namespace GameServer { namespace Server { class IRank { public: virtual ~IRank() {} virtual void SetRankTick( CINT nTick ) = 0; virtual CINT GetRankTick() = 0; virtual void SetRank( CSTRING & strRank ) = 0; virtual CSTRING * GetRank() = 0; }; } /* Server */...
0ade58a66f8f2f438ebfcc6dff1f5147814abc00
9f0c723216f6a514591fc654a47be9a259ee6f83
/递归/用递归实现阶乘.cpp
6e3e2165f31745640887ecf4c13f6bbd8cc054b9
[]
no_license
Deha1/DataStructure-Algorithm
3aae7509e8aa29a04c696f55816d269fb9674c94
7b229404a70ce274db59dfee97e2794ea7112eea
refs/heads/master
2020-04-17T21:25:11.341461
2019-09-06T08:16:51
2019-09-06T08:16:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
422
cpp
用递归实现阶乘.cpp
#include<stdio.h> long fac(int x); int main(void) { int n, x; printf("plz input(q to quit):"); scanf("%d", &x); n = fac(x); if (n) { printf("%d", n); } } long fac(int x) { long ans; if (x > 0) { ans = fac(...