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
3846cf0cf84510c4bad43190ba836cdf8c9b37f4
d396ea52ed253c0053f580f2906c12b3408319d1
/Hmwk/Assignment2-3/Chapter2/Savitch_9thEd_Chap2_ProgProj9/main.cpp
f54ef2be59c23f78a32e4b09f046a823b95e03dc
[]
no_license
ty2437309/YostTaylor_CSC5_40718
9ef1cf1da502282f64774e730f64103bb9191e70
5ac5f5e41a4e86d8ee6c798ebe210776a46056be
refs/heads/master
2020-04-16T07:53:54.194178
2015-02-13T06:56:34
2015-02-13T06:56:34
28,896,949
0
0
null
null
null
null
UTF-8
C++
false
false
1,072
cpp
main.cpp
/* * File: main.cpp * Author: Taylor Yost * Created on January 15, 2015, 19:22 * Purpose: Assignment 2 Homework */ //System Libraries #include <cstdlib> #include <iostream> #include <iomanip> using namespace std; //User Libraries //Global Constants //Function Prototypes //Execution Begins Here! int main(in...
39c112a366388e65c21588a6d87b63c43afa3b9a
1bbf0f087abe2a2c1522f7a5aa422cb75bb6d319
/Tecnicas de programação 1/Programas TP/Lista 2B/4braba.cxx
599871a0fd1df8ca88ec56299fa1318a3c35fc95
[]
no_license
xfelipealves/SecondSemester
0f0839a40e08319f454d3e5f414df581b2614e25
0777d76dbbf7b6369963b09996d37f5a614cb101
refs/heads/main
2023-06-21T19:26:09.783376
2021-07-21T03:10:29
2021-07-21T03:10:29
387,977,596
0
0
null
null
null
null
UTF-8
C++
false
false
932
cxx
4braba.cxx
#include <iostream> using namespace std; string* func (char* s, char a, int* b) { int i=0; int cont=0; for (; s[i]!='\0'; i++) { if (s[i]==a) { cont++; } } //cont vai indicar quantos caracteres tem, logo ele vai determinar quantas strings serao alocadas string* ret=new string[cont+1]; char ind[cont+1]...
50edce409db63ec35493f54a2f5453baa5b0e7b9
e8a574873c2d0655bfb15cf3c43a62d8deae9761
/MVC/DownloadProgress/mainwindow.h
c99c093112638b879f61f7fca94ab838629e0c76
[]
no_license
lzdbh/qt-test
20687959be3eb82d9f48361d8429bb979d27e47b
cc6f6871b1a79ac114cad6716228d851b390505c
refs/heads/master
2020-05-18T05:40:44.699888
2014-06-11T10:22:20
2014-06-11T10:22:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,163
h
mainwindow.h
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QtNetwork> namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); void startRequest(QUrl url); QString getFileMd5(const QStrin...
ab5edf227eacbca5f75e69f162def327ced165c4
d86dee3a88a619603bd3b7ea265373d1f6fb71cc
/Codeforces/1245D.cpp
6dd8648de2df4709d79f3917ecabccaec0f82257
[]
no_license
vzsky/submissions
17ca8b096450170cc077b70a9efb4c7d7e21479d
78211da43e9b51b98bb7f42a294330507af92a65
refs/heads/master
2023-04-02T03:44:04.193078
2021-04-19T05:57:52
2021-04-19T05:57:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,311
cpp
1245D.cpp
#include <bits/stdc++.h> using namespace std; const long long N = 2000; long long n; pair<long long,long long> a[N]; long long b[N],c[N]; pair<long long,long long> res[N]; vector<long long> used; long long ans; vector<long long> built; vector<pair<long long,long long> > cnct; long long dist(long long x...
1cd96b9bcf635b188e7f4673c4ea203659cddbb7
2ae24f623e15dd329873eec6fb052dfc148fcfc5
/math.h
d78ab0fcabc8b4ef59f7f78bdce605f400283325
[]
no_license
wangscript007/vise3d
c66545f72e1c1decd02c894134fcb6940422740f
25242396b4f3db154db0c56af36d329bb1a7fe1b
refs/heads/master
2021-05-30T16:32:09.210681
2016-02-23T08:18:15
2016-02-23T08:18:15
null
0
0
null
null
null
null
GB18030
C++
false
false
8,100
h
math.h
/* Copyright (c) 2009 AxonEngine Team This file is part of the AxonEngine project, and may only be used, modified, and distributed under the terms of the AxonEngine project license, license.txt. By continuing to use, modify, or distribute this file you indicate that you have read the license and understand and acce...
9f209300cb73cbda27da62e84d38734bc1fcb140
df547195fccd7ae602b9db1ad9c9fd940b8e0576
/Kaynak Kod/grup19.cpp
8233fc84c85052c31d35eb818c6f6d4a6e275b04
[]
no_license
cambazm/imageToPuzzle
568ea58249fc135a9aee09206477a9ab86600e64
0efc616e0cab8179a0e871af2635149a19ae70b5
refs/heads/master
2020-08-12T16:27:12.593003
2019-10-16T16:21:04
2019-10-16T16:21:04
214,800,018
0
1
null
null
null
null
UTF-8
C++
false
false
1,179
cpp
grup19.cpp
//--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop //--------------------------------------------------------------------------- USEFORM("proje3.cpp", ResimAc); USEFORM("islem.cpp", Yapboz); //-----------------------------------------------------------...
2316949c5a4755e922fcb29291b14ce0cdd6f50c
b3500e7215b0c0c203e6dc84b4f1649579cee4eb
/MFC/CharsMap/CharsMap/CntrItem.cpp
4c51fd0bb0581db3e96e7dd87a60b95758eb98c4
[]
no_license
Sears-Tian/Laboratory
fd1530745202683629bbbc02f75522c1faa390d7
81455ac3a0944281e902f4853ead71f37ded28e2
refs/heads/master
2021-04-12T08:54:51.287198
2020-01-02T10:58:10
2020-01-02T10:58:10
126,679,969
0
0
null
null
null
null
UTF-8
C++
false
false
779
cpp
CntrItem.cpp
 // CntrItem.cpp: CCharsMapCntrItem 类的实现 // #include "stdafx.h" #include "CharsMap.h" #include "CharsMapDoc.h" #include "CharsMapView.h" #include "CntrItem.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // CCharsMapCntrItem 实现 IMPLEMENT_SERIAL(CCharsMapCntrItem, CRichEditCntrItem, 0) CCharsMapCntrItem::CCharsMap...
efb1c9ee29a5343cd1cd0255e88d141d3c182000
ca9b8cd510c72ef9c4d453d6f6a050c2d4994da7
/cpp 10.3_practice/cpp 10.3_practice/Teacher.h
8bd747538bbfd5db96017da99c81d4f04e384aeb
[]
no_license
younkyounghwan/cpp_in_lecture
823501a4fadbf6ac52e665cb493f4f31bf1188fc
3bade2002359509174587e47cb1f2d55f850bb33
refs/heads/master
2023-07-01T10:03:39.504969
2021-08-01T14:56:02
2021-08-01T14:56:02
347,647,314
0
0
null
null
null
null
UTF-8
C++
false
false
373
h
Teacher.h
#pragma once #include <iostream> #include <string> using namespace std; class Teacher { private: string teacher_name ; public: Teacher(string name_in = "No name") :teacher_name(name_in) {} void setName(string name_in) { teacher_name = name_in; } friend ostream& operator << (ostream& out, const Teacher te...
b74b23718d3cb48a507e1e346a1ec0d31a333eee
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chrome/browser/ui/webui/ash/edu_coexistence/edu_coexistence_login_handler_browsertest.cc
2922fd35e3bd9477c6c10c0b3b4df5e60c49c40f
[ "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
10,526
cc
edu_coexistence_login_handler_browsertest.cc
// Copyright 2020 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/ui/webui/ash/edu_coexistence/edu_coexistence_login_handler.h" #include <memory> #include <string> #include "base/functional/callback_helpers.h" #incl...
bcf20b93ea14ea0eb3bc35c93aef32853c2a5261
60b40b5d6b59235478786443bf8cbd144734303f
/lab6/src/Tablica.h
2f3c4a5e4a2728b48b4ef3452d7de111eb4b6a46
[]
no_license
226284/PAMSI
2b9fe96c8548634a535a8639235c17ddff419975
4a6b31a4a63b0357d930f8e307b1573ee5217ef8
refs/heads/master
2021-01-18T16:34:25.421953
2017-06-22T13:34:28
2017-06-22T13:34:28
84,352,575
0
2
null
null
null
null
UTF-8
C++
false
false
1,286
h
Tablica.h
/* * Tablica.h * * Created on: 17 mar 2017 * Author: michal */ #ifndef TABLICA_H_ #define TABLICA_H_ #include "IProgram.h" #include <iostream> #include <cstdlib> class Tablica: public IProgram { // tablica która może zmieniać swój rozmiar public: Tablica(int r = 10); // konstruktor - domyślnie rozmiar = 1...
6e926c7faf0746b4932699425887d4ce4650d81d
59f00d4f6fccb6b1103c5aa54f43a6e4d4f8bfc5
/src/common-lib/WindowManager/ListEditPanel.cpp
6e4f6925af906df3fe24dd367ed0dba5cc5ced84
[]
no_license
tomas-pluskal/masspp
9c9492443bb796533bcb27fe52a0a60e4ba62160
808bf095215e549e7eb5317c02c04dfb2ceaba15
refs/heads/master
2021-01-01T05:33:44.483127
2015-06-07T12:54:17
2015-06-07T12:54:17
33,917,190
0
1
null
null
null
null
SHIFT_JIS
C++
false
false
50,735
cpp
ListEditPanel.cpp
/** * @file ListEditPanel.cpp * @brief implements of ListEditPanel class * * @author S.Tanaka * @date 2007.09.03 * * Copyright(C) 2006-2014 Eisai Co., Ltd. All rights reserved. */ #include "stdafx.h" #include "ListEditPanel.h" #include "SettingsPageDialog.h" #include "ListTool.h" #include "RawDataFileDialog...
da5da1e5d07bec4f3df500b6482652d6e6990625
4470864361a86773c4526276eecd83bc2b9d3a79
/BallCatcher/Circle.cpp
4cdcd6f7fe44f6764e8a77fae0b8a0939af45eef
[]
no_license
ParimalPatel1/BallCatcher
c24d4441bdee8defecc345ae2f227e8ed2c4dd3b
dcb05617402e069e5c910941d946be71014933d4
refs/heads/master
2021-01-22T09:55:58.031195
2016-02-12T00:53:10
2016-02-12T00:53:10
37,103,692
0
0
null
null
null
null
UTF-8
C++
false
false
6,028
cpp
Circle.cpp
// Circle.cpp: implementation of the Circle class. // ////////////////////////////////////////////////////////////////////// #include "Circle.hpp" using namespace cv; using namespace std; #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif //////////////////////////////////...
fe4d55ec8a79f3648901fc75c083c20f819d0591
ad229db0a318a7e699640cc610773f90f29abe87
/playfield.h
e1a5a98c48418edc6f4e1f49a1062710d6d98fa5
[]
no_license
theCodeBench/csc300-MonsterDash
74cfe472164549e49b55c524eeacd1c3672a4b71
567f13cff70aff9a6ec9e65f0421a2442476f8d6
refs/heads/master
2020-04-15T19:04:24.481891
2019-01-09T20:57:19
2019-01-09T20:57:19
164,936,659
0
0
null
null
null
null
UTF-8
C++
false
false
828
h
playfield.h
#ifndef __PLAYFIELD_H #define __PLAYFIELD_H #include <iostream> #include <string> #include "site.h" using namespace std; class Playfield { bool **Room; // is v-w a room site? bool **Corridor; // is v-w a corridor site? int N; // dimension of dungeon Site* playerS...
9562608ab5fab702c916a048623894a237054fd7
86ef676c5e97fa34c5168aa3cd8cca94b1bd3705
/grammar/functor/functor.cpp
b85a2cb0b6bb7f87a81ce727444f7606d16b1fff
[]
no_license
kyn0v/basic-practice
3dfb17f572d11aac85dc4d0fe658ce6236719170
0b6673638701b9f966eff479f2afdd95f99db7a7
refs/heads/master
2023-03-05T12:47:19.529127
2021-02-16T08:15:31
2021-02-16T08:15:31
283,651,393
0
0
null
null
null
null
UTF-8
C++
false
false
586
cpp
functor.cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; template <typename T> class greaterCustom { public: greaterCustom(T x) { threshold = x; } bool operator()(T x) const { return x > threshold; } private: T threshold; }; int main() { int n, threshold, cnt; cin>>n...
93c5ecd4d7142ab08e24f152065897dc7d4fcfb3
f739df1f252d7c961ed881be3b8babaf62ff4170
/softs/SCADAsoft/5.3.2/inc/ecomlib/devicelistener.h
0f7b7fd445017b9cf3357ab33afc38b5b6ebe9ef
[]
no_license
billpwchan/SCADA-nsl
739484691c95181b262041daa90669d108c54234
1287edcd38b2685a675f1261884f1035f7f288db
refs/heads/master
2023-04-30T09:15:49.104944
2021-01-10T21:53:10
2021-01-10T21:53:10
328,486,982
0
0
null
2023-04-22T07:10:56
2021-01-10T21:53:19
C++
UTF-8
C++
false
false
709
h
devicelistener.h
/** @file devicelistener.h Allows the user of the ecomlib to define functions that will be called every time a specific operation on a device is performed. */ #ifndef __SCS_ecomlib_DEVICELISTENER_H__ #define __SCS_ecomlib_DEVICELISTENER_H__ #include <dac.h> #include <ecomlib/ecomlib_exports.h> namespace ec...
5d9edeba64d54fda5e3acbe8514cc91f7563fe13
fcb7ae81b94e4ca1622a50bac42c1f4123ba7eca
/Lemon01/HttpClient.cpp
688e718e8607179099db5e7d159dc203cd610dc5
[]
no_license
BigMouseFive/lemon01
4dd126cd8ef0a65c66f5599526d6f3a47177da3f
3ada0af2db7bd43379f055f2cd2f9ec91f4af8e4
refs/heads/master
2022-07-14T00:34:44.184880
2022-07-03T10:55:29
2022-07-03T10:55:29
144,717,391
0
0
null
null
null
null
GB18030
C++
false
false
9,677
cpp
HttpClient.cpp
#include "HttpClient.h" #include "qnetworkrequest.h" #include "qnetworkreply.h" #include "qdebug.h" #include "QJsonParseError" #include "QJsonObject" #include "QJsonArray" #include "QAuthenticator" #include "QHttpMultiPart" /* reply handle demo if (reply->error() != QNetworkReply::NoError){ //处理中的错误信息 qDebug() << ...
eecbc18c3addfa990d2e0a0f4428d1df81c0add6
bbd43f03357df3e669c710f03c3d6d1d39da9b7a
/globals.h
2c10e807983dc1f3d22cba56b5ab1b9e0789369a
[]
no_license
jclaar/zork
5d4f0c79b2df038038010c7f7d6e0a97d7a4a03a
05cd986e8eba8119c4e36f6730a8c5057d24fd93
refs/heads/master
2023-04-27T02:54:50.935535
2023-04-24T23:16:32
2023-04-24T23:16:32
108,916,481
36
8
null
2019-12-06T18:58:20
2017-10-30T22:43:15
C++
UTF-8
C++
false
false
1,730
h
globals.h
#pragma once #include <limits> #include <limits.h> #include <string> #include <bitset> #include <chrono> #include "defs.h" int score_max(); void inc_score_max(int inc); extern int eg_score_max; const int bigfix = INT_MAX; extern std::string inbuf; extern std::string inbuf1; extern std::chrono::steady_clock::time_poin...
94ade617d8f18b7804f762ddb41544ffe9d9d44c
d5123fdf9bbff1af09f839ca3f26fa03bd8ff9ed
/4-1/prac/4-23/4/4/소스.cpp
c8e2421f8d3226533992ad7c4c03da04bd1bf2d9
[]
no_license
wsm4287/SKKU
319ce04b2b4c5e6238efef7eacb96a69baef12fa
cc888f7b940de7c8e8b1e215cf3db987fcffdb2a
refs/heads/master
2023-07-04T10:09:58.137175
2021-07-31T05:09:31
2021-07-31T05:09:31
385,451,392
0
0
null
null
null
null
UTF-8
C++
false
false
1,830
cpp
소스.cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; int n, m, K; int a[11][11]; vector <int> tree[11][11]; int ans; int map[11][11]; int dx[] = { -1,0,1,-1,1,-1,0,1 }; int dy[] = { -1, -1,-1,0,0,1,1,1 }; void run(int k) { if (k == K) { for (int i = 0; i < n; i++) { ...
df22e1b62e8b0d0392db99ab1c4430c3ded44eda
190bdcd053c90f625d41de6b46536978046615f2
/radioapp/radiouiengine/src/radiomonitorservice.cpp
f60203182e183b849837a8f3aa86b8a0fdd5b19a
[]
no_license
SymbianSource/oss.FCL.sf.app.radio
bfd6b82e78d91ac33b342b0ad80a63521c4bcdee
ebab77d7c81b621c9404bfaa5ba50e95c11c5076
refs/heads/master
2021-01-11T01:03:54.491540
2010-10-15T13:26:27
2010-10-15T13:26:27
70,846,387
0
0
null
null
null
null
UTF-8
C++
false
false
11,162
cpp
radiomonitorservice.cpp
/* * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available * at the URL "http://www.eclipse.org/legal/epl-v10.h...
b26c1b6f0c1124500d4fb1d27d8058b6cc8b2e5d
8a8968d88a2928c5d4f0328dc4306a98832a0bcd
/(033)Search In Rotated Sorted Array/main.cpp
9089a0ef821ee2055d7c48924a624c7a635a69ae
[]
no_license
muzichao/LeetCode
accd0341777efcbd371792ed0575a718d7bbd795
4e54f2a17a4587fec503785dcaeb892f44048e99
refs/heads/master
2021-01-19T20:14:52.828069
2015-04-23T01:32:41
2015-04-23T01:32:41
26,360,415
0
0
null
null
null
null
UTF-8
C++
false
false
3,127
cpp
main.cpp
#include <iostream> using namespace std; int search(int A[], int n, int target) { int i = 0; for (; i < n; i++) { if (target == A[i]) return i; } if (i == n) return -1; } int searchOpt(int A[], int n, int target) { int i = 0; if (target >= ...
88dcc080f8796465b3d0a494be00fdbee6b5234a
44d9004ec1015aa812a820b94efaefa372d371bc
/courses/prog_base_3/project/coursework/witch/WitchBackCard.cpp
a88ef92b2ce7140a050f6e9758c311a705d29b2b
[]
no_license
ValeronMEN/pervii
77d605874405ea5f7320eae41ff249224ccaf8ca
2f86d97c57bfb529052497b136bc3c162c7b63a8
refs/heads/master
2021-08-13T23:58:27.985369
2021-08-07T00:25:21
2021-08-07T00:25:21
41,976,888
0
0
null
null
null
null
UTF-8
C++
false
false
1,870
cpp
WitchBackCard.cpp
#include "WitchBackCard.h" WitchBackCard::WitchBackCard(){ this->width = 139; this->currwidth = 23; this->height = 216; this->highlighted = false; } void WitchBackCard::setHighlighted(bool b){ this->highlighted = b; } bool WitchBackCard::getHighlighted(){ return this->highlighted; } bool Wit...
f3959675c52652702328db06ef248058a16fde0a
1af3ece40dbd345faebe934f1cf75d520647f1b9
/staple/crkit_build/crkit/release-1.5.2/tools/code/crlZeroImage.h
fe4d238c6d2177f8899eb55ea0a581e748423517
[]
no_license
ImageGuidedTherapyLab/ExLib
987fa9d7ac09b3664ad7f1edb0a47d6a3aff8772
b01e5347a624225a086c4c46ed59a0a303d95b18
refs/heads/master
2023-04-03T18:11:05.424078
2023-04-02T16:20:00
2023-04-02T16:20:00
13,075,319
7
1
null
null
null
null
UTF-8
C++
false
false
2,609
h
crlZeroImage.h
#ifndef _CRL_ZEROIMAGE_INCLUDED #define _CRL_ZEROIMAGE_INCLUDED 1 #include <itkImage.h> #include <itkImageFileWriter.h> #include <iostream> class ITK_EXPORT crlZeroImageBase : public itk::LightObject { public: typedef crlZeroImageBase Self; typedef itk::SmartPointer<Self> Pointer; typedef itk::SmartPointer<...
a6a6ed5b5610e9241045520ac2a0c825f921bd94
6442babb4e05d6a5d58e14d29ae25a7913180bbe
/CS3A - Object Oriented Programming/Final Hunter and Prey/HunterPrey/world.h
2ebf1eec77e0ad52f91f731d6f50fd4020a92c83
[]
no_license
SpencerYoungCS/CS-Projects
34859b29c663c5fa255917415711e17b12b612fd
8eaef5cc666a91be473d7c601c21bfbdb8f8fcf2
refs/heads/master
2020-03-07T21:55:55.227506
2019-10-30T00:45:36
2019-10-30T00:45:36
127,740,601
0
0
null
null
null
null
UTF-8
C++
false
false
340
h
world.h
#ifndef WORLD_H #define WORLD_H #include "ants.h" #include "doodlebugs.h" #include "wall.h" class world { public: world(); organism* NewWorld[MAX_j][MAX_i]; void randomize(); void step(); bool checkant(int j, int i); bool checkprey(int j, int i); void print(); void circle(); private: }...
b41f6099dc3ac3d77017514fc536be5e6ec641c0
15f5d66f6774b22b4b4951d0b193d1c015ab30eb
/gs_mysqlobject.cpp
13eaba6adc5c85495e64dd69114a2bc820c76fea
[]
no_license
fdwfjl/-
75ea44a0365a06784860d5d2d4e09f70d08097ac
d5028a924f6274b6fc514eef70413e96c35d2521
refs/heads/master
2021-04-15T23:17:02.272260
2020-11-17T02:44:47
2020-11-17T02:44:47
249,309,000
0
0
null
null
null
null
UTF-8
C++
false
false
5,888
cpp
gs_mysqlobject.cpp
#include "gs_mysqlobject.h" #include <QDebug> #include <QSqlQuery> #include <QTimer> gs_mysqlObject::gs_mysqlObject(QObject *parent) : QObject(parent) { m_iCount=0; m_pTimer1sStart=new QTimer(this); m_pTimer1sStart->setInterval(1000); InitSlot(); } void gs_mysqlObject::InitMySlot() { ...
f1211eb4e5936a80ab60d08c6b1a81cbef9750d7
21ac11baff59ea3deab4e390f8f4ba71fc1e32f5
/src/UrlFrontier.cpp
2fafe7c62923ae0a57caeaa60e946ce55443894a
[]
no_license
henrysdev/AddressHarvester
e0ede1c157ceaf61d117a71d842dfe4727c57966
d3d38a4c0c0310498dc0776bcf6a0d805523890b
refs/heads/master
2020-03-11T06:14:46.216476
2018-04-17T16:35:41
2018-04-17T16:35:41
129,825,394
0
0
null
null
null
null
UTF-8
C++
false
false
341
cpp
UrlFrontier.cpp
// // Created by crackerjacks on 4/16/18. // #include "UrlFrontier.h" UrlFrontier::UrlFrontier() { } bool UrlFrontier::is_empty() { return queue_ds.empty(); } void UrlFrontier::add_url(string url) { queue_ds.push(url); } string UrlFrontier::next_url() { string next = queue_ds.front(); queue_ds.pop(...
1c188197785a7cebeb5f1aaca9972352e5fa5681
e8e655cfc3aeb494f514995c838d23acb3631421
/gproxy/socket.cpp
145c225ee97c510211676655243e80260b91a477
[]
no_license
Karolson/gproxyplusplus
133218f90d5d3fcef5b280d3374f8177358efc26
91a64fa0ebb3463e32a4770613d5cf77bbf3a017
refs/heads/master
2021-06-30T14:08:05.479819
2021-06-25T15:31:08
2021-06-25T15:31:08
230,941,016
0
0
null
2019-12-30T15:47:50
2019-12-30T15:47:49
null
UTF-8
C++
false
false
16,554
cpp
socket.cpp
/* Copyright 2010 Trevor Hogan 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 agre...
d05a87cf6b501784fd381c5ab0ec89b06d62cab7
b2606b52eef17302387ea34e6298f19f2d1852c1
/Neuria.h
a13bffdab1634cdc577873e9f86a5dc8fba9b31e
[]
no_license
zhenyouluo/Neuria_old
e8f23b60b1d29417f2b384b922a18957e5a45f0d
90e1ea7b631a780fda43a0165867ac8fc87add79
refs/heads/master
2021-01-24T15:14:58.056810
2012-09-26T16:51:13
2012-09-26T16:51:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
162
h
Neuria.h
#pragma once //Neuria:20120905 #include "ByteArray.h" #include "network/Network.h" #include "database/DataBase.h" #include "utility/Utility.h" namespace nr { }
7198dc654b7b3c3cbe86eb628f822f61b16881b2
4cada364446c1ec28767f3febc666a4d59b3a0cb
/reliable-req-rep/paranoid-pirate-broker.cpp
8b4906a006d7467589307a605fef2d184a5a725a
[]
no_license
ugovaretto/zmq-scratch
40397cde5fc5fbb52f0a5104c6e7ea10934946a8
528af7359031e763d794e74be54c1a125d2f2862
refs/heads/master
2020-04-06T07:02:23.377191
2016-08-30T15:36:37
2016-08-30T15:36:37
11,503,247
0
0
null
null
null
null
UTF-8
C++
false
false
8,330
cpp
paranoid-pirate-broker.cpp
//Load balanced broker from Ch3/4 ZGuide, added support for <seq id, payload> //message format; in a real-world scenario use the functions in multipart.h //to avoid dealing with the message format detail. //Author: Ugo Varetto //use with *lazy* pirate client and *simple* pirate worker #include <iostream> #include <vec...
8f5df78547bb9681813b645a04cc22ca94013786
b24de71866f5768921eef27245bf12d51ebb635e
/CubePP/Rng.cpp
513d620c89d19638606992ab968c7048b18e657f
[ "MIT" ]
permissive
drblah/CubePP
df49d136f6cc4e071835924c8db00af314485c76
9a343e67a307523cbb1466067a591453d2de6509
refs/heads/master
2020-05-18T01:26:43.680656
2015-06-21T18:20:14
2015-06-21T18:20:14
37,668,884
0
0
null
null
null
null
UTF-8
C++
false
false
435
cpp
Rng.cpp
/* * Rng.cpp * * Created: 11/06/2015 20:03:06 * Author: drblah */ #include "Rng.h" unsigned short rngSeed; unsigned short rngCounter; // default constructor Rng::Rng() { rngSeed = 38; rngCounter = 0; } //Rng unsigned short Rng::NextNumber() { rngSeed = (43*rngSeed+rngCounter) % 255; if (rngCounter < 255) { ...
d1306ac397ec99b72d65c04e59045ba5eb8e238c
5af4757ce7238e80598be799116d2ec9aeaa01b5
/Lab 9/Lab_1.cpp
a734457da914f43692a254f6a00ff6fd87892c42
[]
no_license
Jhecks/ITMO-Algorithms-and-Data-Structures
8c6ed74f4c2ede2743a524b2bb2990baadf5c1bb
3bac17cf096e3e6b565c63224babf1a5e5ec7b8b
refs/heads/main
2023-06-18T01:16:59.586981
2021-07-07T13:14:32
2021-07-07T13:14:32
383,477,614
1
0
null
null
null
null
UTF-8
C++
false
false
1,236
cpp
Lab_1.cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; vector <vector <int>> Graph; vector <int> TopSeq; vector <char> Color; struct Pair { int first; int second; }; void BuildGraph() { Pair input; cin >> input.first >> input.second; Graph.resize(input.first); ...
ea4b2d9bb6b9f92b8db7a0c04b35797f70590470
185e1f5986dabf604e2824b4a636a127557ef32c
/src/io/input.hpp
c4642e9cb9b0495fcbb44729c091b680f8d7882b
[]
no_license
inxanedev/InxaneUtils
9c6d63d53d61a565eb70e1567879b3b66d47fe4d
cb7cb86b49bcbadcd681f6503b69efc840bbdec5
refs/heads/master
2023-03-05T22:58:43.963074
2021-02-19T22:09:31
2021-02-19T22:09:31
316,826,682
1
0
null
null
null
null
UTF-8
C++
false
false
663
hpp
input.hpp
#pragma once #include <string> #include <iostream> namespace inx { namespace io { template <typename T> T input() { T result; std::cin >> result; std::cin.ignore(); return result; } template <> std::string input<std::string>() { std::string result; std::getline(std::...
56c8b6b1dd3960379aabd63b7c1f7000162b8d49
28b09415f991b8edcff8b32d91e812e028497783
/src/main.cpp
5701b78219f304eee91ccabc5f03152811da4e92
[]
no_license
MalcolmWilliams/Umbrella
664876cbe9160259aad45d05d21b41e3a8e148e2
961902ca6c1226b77651cdbc1d163b4c2d8c99bc
refs/heads/master
2021-01-12T06:39:19.741796
2017-01-29T21:41:06
2017-01-29T21:41:06
77,405,569
0
0
null
2017-01-13T15:35:12
2016-12-26T20:31:40
Arduino
UTF-8
C++
false
false
1,835
cpp
main.cpp
/* * Only ESP plus small LED: * Average power consumption: 32.5mW * Max: 240mW */ #include "ESP8266WiFi.h" #include "BrightnessMap.h" unsigned long start_time; // = micros(); unsigned long end_time; // = micros(); int nets; int LEDpin = 0; void setBrightness(int val); void printScanResult(int networksFound); ...
2a497fcc9f2b92ce242a4d7668ec1eb9500b07ff
b77b470762df293be67877b484bb53b9d87b346a
/game/AObject.h
159c06347f8ae08865b4958bbf986a85bdf8e283
[ "BSD-3-Clause" ]
permissive
Sheph/af3d
9b8b8ea41f4e439623116d70d14ce5f1ee1fae25
4697fbc5f9a5cfb5d54b06738de9dc44b9f7755f
refs/heads/master
2023-08-28T16:41:43.989585
2021-09-11T19:09:45
2021-09-11T19:09:45
238,231,399
1
1
null
null
null
null
UTF-8
C++
false
false
4,626
h
AObject.h
/* * Copyright (c) 2020, Stanislav Vorobiov * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of ...
fcb02d60ae1b3eb32d249be34d993e93eeccbeb3
5648967e25d9604dd5fb87776c25b9da345c4a27
/EventHandler.h
53227c00cf915c680467d2ba473d698cc588edea
[]
no_license
AmirHosseinCH/EventHandler
83a03239fe9664c4ab2fdf26677d12966b9db00c
05f11565bce25f9f3a4f9088f4b3b27912870ea7
refs/heads/main
2023-06-14T22:46:04.087853
2021-07-14T11:27:00
2021-07-14T11:27:00
385,910,332
7
1
null
null
null
null
UTF-8
C++
false
false
2,494
h
EventHandler.h
#ifndef EVENTHANDLER_H #define EVENTHANDLER_H #include <map> #include <queue> #include <memory> #include <functional> #include <thread> #include <mutex> #include <condition_variable> #include <atomic> struct BaseHandler { virtual ~BaseHandler() {} }; template<typename... Args> struct Handler : public BaseHandler...
d8d80b3c971dfb4746c49f97661b1d7c34988e7a
fcae89324819ae90a1741dc11dd4a5fd6885142d
/inet-integration/src/physicallayer/radio/detailed/decider/Decider80211MultiChannel.cc
0f39bdf70c173d16c8a1468ff82055650d7de47d
[]
no_license
faridachy/INET
133d3b6654cbb21ea41a0ac5139abee1896fa94f
671933df6869d3ff5adaf8ded903754f490b1bff
refs/heads/master
2020-05-30T18:44:31.854050
2014-07-16T18:13:43
2014-07-16T18:13:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,084
cc
Decider80211MultiChannel.cc
/* * Decider80211MultiChannel.cpp * * Created on: Mar 22, 2011 * Author: karl */ #include "IRadio.h" #include "Decider80211MultiChannel.h" #include "DeciderToPhyInterface.h" #include "DeciderResult80211.h" #include "Ieee80211Consts.h" Decider80211MultiChannel::~Decider80211MultiChannel() { } DeciderResult...
ea5eb6b625386dc2fc6b3d3ed6f9bb440f3c6015
22e1c1147d5f935a00adb7e3b811f64d9f368cca
/zaino.hpp
5a02e9595bcfec0f8bf958e2e1ca8a0c2e40349d
[]
no_license
salvomob/Codemons
baa9566331bbaf2c3d513c3c114b4311daa1dec8
687f2cdf8b5f0bae3dae3d3c80d5b0918aeeaa84
refs/heads/master
2023-07-02T18:07:40.699599
2021-07-27T15:24:40
2021-07-27T15:24:40
368,429,245
1
0
null
null
null
null
UTF-8
C++
false
false
2,226
hpp
zaino.hpp
#ifndef ZAINO_HPP #define ZAINO_HPP class Zaino{ private: Codecube **cubes; Item **items; Itemb **itembs; int max; // max mi idrà quanti slot oggetto posso avere all'interno dello zaino, poi per settare il numero, devo usare i metodi relativi nelle classi relative //max deve essere ben decisa in un secondo mome...
fc918f7e82bd693aff7fd548b707acbc3d9e89cf
d2fcf9142c2a35065271848d0bf0b2ef38c7643b
/cf/1263/q3.cpp
5d9999f6ef7481e5eb461d5f5a445a6ce5086c79
[]
no_license
yashrsharma44/cp-archive
ede0e3cb67a388f760ef18907ad64b46e6223b9a
1baea4d1614fa637d9e4acf9dbaa261aec9f906e
refs/heads/master
2020-11-24T04:53:07.055089
2019-12-14T05:53:22
2019-12-14T05:53:22
227,973,288
0
0
null
null
null
null
UTF-8
C++
false
false
1,757
cpp
q3.cpp
#include <bits/stdc++.h> using namespace std; void SieveOfEratosthenes(long long int n) { // Create a boolean array "prime[0..n]" and initialize // all entries it as true. A value in prime[i] will // finally be false if i is Not a prime, else true. bool prime[n+1]; vector<long long int> ar...
97c193043fab3812fc57efa59a3aa2c5cacc44ea
bbdd63f4403ad2e15dce8dfd5ef35263d2f2bd86
/common/x64/dependency/include/coorTransfer/CTCommon.h
a9034eedd4142b1a01b887b0be950dd08d19476a
[]
no_license
MelodyD/pytest_API
a7d4dcb1bd8ba9b1981ca640080c27e2b5aaa0b7
77e11924e3fec6e3ddbf65f07d05cf77a4fe94ea
refs/heads/main
2023-07-18T10:02:15.382032
2021-09-11T12:57:08
2021-09-11T12:57:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,294
h
CTCommon.h
/** ******************************************************************************* * RoadDB Confidential * Copyright (c) Continental AG. 2016-2018, RoadDB 2019-2020 * * This software is furnished under license and may be used or * copied only in accordance with the terms of ...
846ed3c447de42e3756a0df7efe87aeb7af40f52
faabc5a481244aa56a2c5879e928c908531ae6be
/GameSources/Player.cpp
8edc66afc9c90b4087d027b2065280b2e915236c
[]
no_license
sanosuke3/SourceTreeSP
178ddc16b59fdc6f920ef684329534ced4087928
5024af0dc0a2e406741d39b50b80177ce4e0d805
refs/heads/master
2023-02-26T04:14:15.260894
2021-02-02T06:38:47
2021-02-02T06:38:47
335,173,233
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,347
cpp
Player.cpp
/*! @file Player.cpp @brief プレイヤーなど実体 */ #include "stdafx.h" #include "Project.h" namespace basecross{ void Player::OnCreate() { auto drawComp = AddComponent<PNTStaticDraw>(); drawComp->SetMeshResource(L"DEFAULT_SPHERE"); auto transComp = AddComponent<Transform>(); auto matrix = transComp->GetWorldMatrix(...
0d55b1b0380cd11e948412a9a8cbd411985a4b1a
34c81af880b0012bbe03d4fd99b3b012cacaf857
/V_Engine/PhysBody3D.cpp
94dc70099990f57f6b487eb23c873db66248f33d
[]
no_license
Vulpem/V_Terrains
f8783f60fe437cc446add5db107cd2fc4814ebac
d680d2f0373a0a545bf27d68809b3f986e0bd96d
refs/heads/master
2021-07-16T07:37:50.461246
2018-11-26T15:38:44
2018-11-26T15:38:44
109,832,995
0
0
null
2018-03-07T12:53:52
2017-11-07T12:30:34
C
UTF-8
C++
false
false
2,168
cpp
PhysBody3D.cpp
#include "PhysBody3D.h" #include "Bullet\include\btBulletDynamicsCommon.h" // ================================================= PhysBody3D::PhysBody3D(btRigidBody* body) : m_body(body) { body->setUserPointer(this); } // --------------------------------------------------------- PhysBody3D::~PhysBody3D() { delete m_b...
2d0a9e460cfc75eafb71021fe86bac0ab768e8d2
7f6670f6a2a5a37d27a6f4b13206c7323d852813
/disks.hpp
05b7875fa1e04ca674ce86d91797a5b390ba63da
[ "MIT" ]
permissive
Jenniferwyqq/Alternating-Disk-Problem
495b67a08bcb715006e08e081d357fe01cc581d1
485bd8fd2c7f5efe57b99df54f758cc430b7adc8
refs/heads/main
2023-04-06T00:10:28.515706
2021-04-21T21:26:45
2021-04-21T21:26:45
360,309,379
0
0
null
null
null
null
UTF-8
C++
false
false
5,729
hpp
disks.hpp
/////////////////////////////////////////////////////////////////////////////// // disks.hpp // // Definitions for two algorithms that each solve the alternating disks // problem. // // As provided, this header has four functions marked with TODO comments. // You need to write in your own implementation of these functi...
a1a975559cd17ddfa0d3bd34c6d632501be3a871
ec28bd88618c19e5ca1ea5fc406ab544e75742bd
/Neuron.cpp
4b26f9dbbc1421c2c8726f63915cd3d4dc40269f
[]
no_license
lukaszwek/soft-computing-1
66a54e7cf2864970a149023456eb86f255bc923e
7d8e431840e44065db88511074cfcf4b0364e4f1
refs/heads/master
2021-01-13T01:58:03.896036
2015-03-20T19:21:42
2015-03-20T19:21:42
32,144,627
0
0
null
null
null
null
UTF-8
C++
false
false
1,446
cpp
Neuron.cpp
// // Created by Michał Gutowski on 13.03.15. // #include "Neuron.h" Neuron::Neuron(ActivationFunction *func, int inputNumber, DataType defaultWeight, DataType learningRate) : function(func), inputWeights(inputNumber, defaultWeight), learningRate(learningRate) { } DataType Neuron::output(DataVector const &...
3c14e612917a17ca99cd2ab6823c16fe641dea36
4a6ad1761777f0257b8e9dc2f8baf37e5f5faa1c
/uva 13109 Elephants.cpp
0e397a004fb135c9a7effedc19e013e74d257167
[]
no_license
oporajita1/My-UVA-Solutions-
c1733ce65525352fdccd4ff50d46587849e8463d
00e27b5a8aaef22996e2ed726af18387d0ab7ba7
refs/heads/master
2020-06-10T06:58:19.702467
2016-12-09T01:22:01
2016-12-09T01:22:01
75,989,174
0
0
null
null
null
null
UTF-8
C++
false
false
577
cpp
uva 13109 Elephants.cpp
#include<iostream> #include<algorithm> #include<cstdio> using namespace std; int main() { int m,m1[100000],t,w,i; scanf("%d",&t); while(t--) { scanf("%d %d",&m,&w); for(i=0;i<m;i++) { scanf("%d",&m1[i]); } sort(m1,m1+m); int f...
97d50940abdb5f2ac23bb33ad1ac30a6ab56f9e6
b9d873f27991b5da6e98fcd7be858871e7a286b6
/CppModule/23-optimize-target/Sample4.cpp
a6d6ac605583801455100ceaea7a7df354769fea
[]
no_license
yishengma/C-Cpp-Sample
9eabbca68bcb47fb256f0271dcff09efb9d12d0e
37c24a308f9fd6bcab26cd92117102fe4df606c8
refs/heads/master
2022-11-08T08:08:37.130989
2020-06-28T12:00:06
2020-06-28T12:00:06
268,240,603
1
1
null
null
null
null
UTF-8
C++
false
false
3,879
cpp
Sample4.cpp
// // Created by 海盗的帽子 on 2020/6/16. // #include <iostream> #include <vector> using namespace std; //左值:有内存、有名字 //右值:没内存、没名字 class Text { }; class CMyString { public: CMyString(const char *str = nullptr) { cout << "CMyString(const char*)" << endl; if (str != nullptr) { mptr...
4b86ab48418b3e41000d9f55564038e4a9fc2442
456d0675848b8b11bfec8d052590bdf7eab3a20d
/codes/raulcr-p2196-Accepted-s488360.cpp
237f9c2ed2b55a3c7bc9e690741868a5b7fd26f9
[ "MIT" ]
permissive
iocodz/coj-solutions
7dfa34ec0b7c830cca00cb0171ee6de18e6553a5
b8c4d6009869b76a67d7bc1d5328b9bd6bfc33ca
refs/heads/master
2022-11-07T09:10:58.938466
2020-06-23T06:21:28
2020-06-23T06:21:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
346
cpp
raulcr-p2196-Accepted-s488360.cpp
#include <iostream> #include <string> using namespace std; int main() { string n; int a; cin >> a; while(a > 0){ cin >> n; a--; if (n[n.length() - 1] % 2 == 0){ cout << "even"<<endl; } else{ cout << "odd"<<endl; ...
2c876e2f83104be72e4590bc146e2e59cb1d8abf
5674a9f897c2aeff2706840c036cb8709800c45b
/ContinuumCrowds_1.0/Files/main.cpp
0a78e2e94e94038e7019e9e01ea8c03c11118deb
[]
no_license
sanoonan/ContinuumCrowds_1.0
133f23cd356cf08a87f654bd1c5c112102aea23d
48e2b112973c2ac52b75d5af8ed7aea974b74b67
refs/heads/master
2021-01-01T16:59:46.300625
2015-03-30T23:00:05
2015-03-30T23:00:05
32,598,130
1
0
null
null
null
null
UTF-8
C++
false
false
13,504
cpp
main.cpp
#define _CRT_SECURE_NO_DEPRECATE //Some Windows Headers (For Time, IO, etc.) #include <windows.h> #include <mmsystem.h> #include <GL/glew.h> #include <GL/freeglut.h> #include <iostream> // Assimp includes #include <assimp/cimport.h> // C importer #include <assimp/scene.h> // collects data #include <assimp/postproce...
26e328024fe4a6e634d71d96462b89685da979ad
df7e1d7ecd7fd831e5d64a61b3001630790ba5c2
/ui_agregar_venta.cpp
ff00765ee1c8b77144e9352e187106ab0a5ddc6d
[]
no_license
rodety/OpticalManager
003a2a9c21ccaa7ccabe5d44e1879f7413e27be0
16ce37f2e16454fe7ef2b71ebf566823966a5a5b
refs/heads/master
2016-09-09T20:36:35.945815
2013-01-07T17:50:55
2013-01-07T17:50:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,964
cpp
ui_agregar_venta.cpp
#include "ui_agregar_venta.h" #include "ui_ui_agregar_venta.h" #include <QMessageBox> #include <QDebug> ui_agregar_venta::ui_agregar_venta(QWidget *parent) : QDialog(parent), ui(new Ui::ui_agregar_venta) { ui->setupUi(this); model_actual=new QSqlQueryModel; //llena primero el table model_actual...
b33ed51a2d24f403235b493c0eb73b3df30289da
fbdef09b8a259674517906b69001b06d4b627e26
/cubo.h
32ecb1e7db4a756a64e0bd53ecc32d5ceed6ff14
[]
no_license
caballeroalba/Practica-1-Inform-tica-Gr-fica
df28007707ae2f3b77773f810998583a75d13c7f
18559718e61a3b608a50f8256637451c5871e409
refs/heads/master
2016-08-11T19:00:36.504050
2015-11-23T17:37:40
2015-11-23T17:37:40
44,237,267
0
0
null
null
null
null
UTF-8
C++
false
false
167
h
cubo.h
#ifndef CUBO_H #define CUBO_H #include <vertex.h> #include "objeto3d.h" class Cubo : public Objeto3D { private: public: Cubo(); }; #endif // CUBO_H
660d64e786046293361959d550bf933f843b2499
00b445b38ddce9d1d370e2dc0d16ad46b610b511
/urllineedit.cpp
51ff305d63ee5457ddb46d6e8d07344d803bccd8
[]
no_license
isahakv/ISOWebBrowser
90b8ea6f113a7697935baec85cff4985e24aa8e5
7824dc8efdd27f81eed3c559636317a83beb65e9
refs/heads/master
2020-12-03T03:44:45.791439
2017-06-29T10:36:29
2017-06-29T10:36:29
95,767,902
1
0
null
null
null
null
UTF-8
C++
false
false
5,740
cpp
urllineedit.cpp
#include "urllineedit.h" #include "webview.h" #include "browsermainwindow.h" #include <QApplication> #include <QtCore/QEvent> #include <QtGui/QPainter> #include <QtGui/QMouseEvent> #include <QtGui/QFocusEvent> #include <QtWidgets/QLineEdit> #include <QtWidgets/QLayout> #include <QtWidgets/QPushButton> #include <QtWi...
b91bc613c116258380e9db9c6ce6c735f67c99fe
83b1df1d1b1f725f655bde2c43cab58f5131f6d9
/test/compareoutput.cpp
f63aa3496c1de8afc005fd2cf1870f80eb68609d
[]
no_license
LazarusID/experiencetable
1fc1b24fcce0b8f36b55c36a6ade6d2e8d89fb10
3fc82f7c7127b8fddfd2cad175fbc0c28525174d
refs/heads/master
2023-06-09T17:31:30.734901
2021-07-04T00:18:50
2021-07-04T00:18:50
262,884,894
0
0
null
2021-07-04T00:18:50
2020-05-10T22:13:12
C++
UTF-8
C++
false
false
965
cpp
compareoutput.cpp
#include <fstream> #include <iostream> #include <string> #include <cstdlib> using namespace std; int main(int argc, const char **argv) { string actual; string expected; if (argc != 2) { cerr << "usage: program_under_test.exe | " << argv[0] << " expected.txt" << endl; return EXIT_FAIL...
0f2db54183bb151dfcac9369e7c17caefa445f29
9b143d707d19e821eac25076511248e47573ff24
/progcomp/maratona/B.cpp
fbb1f84c9118fe8020dc7901153da047e38a60d5
[]
no_license
Joao-Luz/graduacao
d43870959c59c8b82795ad44e79a43bf74180aff
17829b8a7c137d983e9364705ee3386ed6ee0171
refs/heads/main
2023-04-26T04:20:04.062711
2021-05-22T19:51:22
2021-05-22T19:51:22
322,866,507
0
0
null
null
null
null
UTF-8
C++
false
false
653
cpp
B.cpp
#include <iostream> using namespace std; int mat[10][10]; int main(){ int n; cin >> n; for(int i = 0; i < n; i++){ int d, l, r, c; cin >> d >> l >> r >> c; if(d){ if(c + l - 1 > 9 || c < 0) cout << "N" << endl; for(int j = c; j < c + l - 1; j++) mat[r][j]...
5efa6e963a0185beedad6066a5da2ff61fa0e621
d8c4fcdc8fd3d3081f50a64d805582bec6488464
/00_ari_V3/55_sensoriDistanza.ino
bc67312ea6dfbf7664611814516e47d6e4b67a7e
[]
no_license
stuffcube/02_fwArianna
4c1904d200b61280e70cf137a7d5d418d4bc1fd1
3825096a79cee0ff1bf07f45518262c57374ae3c
refs/heads/master
2020-04-18T04:56:02.754197
2019-03-10T11:08:34
2019-03-10T11:08:34
167,257,626
0
0
null
null
null
null
UTF-8
C++
false
false
2,223
ino
55_sensoriDistanza.ino
/** @brief riporta al controller la distanza letta dal lidar, la risposta ha formato "mis;" + distanza in cm". aggiorna anche la il valore "lidardist" ogni 250 ms. */ void testOstacoli(){ static int i; if (monitorDati) return; // if ((millis()-timeLidar) > 1000){ timeLidar = millis(); if (sensore_o...
acf676c6af2f100ae3859c02fba79ac82950dcd1
2c1e98a71a4763b091c41c9a2b86aa88cf55f1de
/ledPisca1-2-2-1/ledPisca1-2-2-1.ino
1425cfaf0a74fd4bac5d19a17a39fc0431265c17
[]
no_license
rafaelmfox/Arduino
7958c47d9755c9b3c3293581babd30f9bdae849d
18221ae2480eca4a774569fa3a4f46a3b4d19ab3
refs/heads/master
2021-09-02T15:13:01.713561
2018-01-03T11:27:31
2018-01-03T11:27:31
109,044,348
0
0
null
null
null
null
UTF-8
C++
false
false
684
ino
ledPisca1-2-2-1.ino
//Variavel Global int vLed1 = 10; //porta 10 int vLed2 = 9; //porta 9 int vDelay = 200; //delay entre eles int vPisca = 0; //variavel sendo uma bolean liga e desliga void setup() { // faz com que a porta fique como saida pinMode(vLed1,OUTPUT); pinMode(vLed2,OUTPUT); } void loop() { // chama o void Sirene...
809ef1cbeaaf8f6266e607a7de5aec101f9da2a3
fdca6afb1d25c8d00236cf6f6466c9dc03c8395a
/src/Utilities.h
97e4e81ba789c80374568eb5d8a81c0257922ba1
[]
no_license
dannyli0109/OpenGL_2D_Rendering_Boilerplate
246a988899f23a2a111412948c0d1bc3d2e82628
4ebf1d209c528ae5b35d928f29b4cce6fdeb1037
refs/heads/master
2023-03-26T09:32:40.235138
2021-03-25T10:05:45
2021-03-25T10:05:45
349,262,830
0
0
null
null
null
null
UTF-8
C++
false
false
141
h
Utilities.h
#pragma once #include <string> #include <fstream> #include <sstream> #include <iostream> std::string LoadFileAsString(std::string filename);
51d89b4270bd53f4e360eaeb1d51bbb0db52673c
9f16ceb7f674234889f796a5b99d342f9edf3399
/decodeWays.cpp
8bda12efb8284afde49243b1d1293afa431ee018
[]
no_license
Segfred/leetcode
382297025b790790a38f079d5938e158c3bd8260
b102c4d9abea9caad0b08b7df0d9e89bc6dbc115
refs/heads/master
2021-06-11T05:10:21.853331
2021-04-03T02:42:59
2021-04-03T02:42:59
87,050,255
2
0
null
null
null
null
UTF-8
C++
false
false
957
cpp
decodeWays.cpp
#include <iostream> #include <string> using namespace std; class Solution { public: int numDecodings(string s) { if (s.empty()||s[0]=='0') return 0; int w2 (1); int w1 (1); int w=w1;//w=w1+w2 but w2 is unvisible now,so w=0,w+=w1 for (size_t i=2; i<=s.size(); i++) {//begin from the third number ...
c6530664056e9c7a4e6068db634fa93d846f42bb
0f91c5db2cd3bb6d49d8de2a55bdf8b0d6f21b3f
/src/MultiActionInitialization.cc
14e9e24ad7f4b6338a04369da5550bb93f073cd0
[]
no_license
BetterWang/g4e
21b5268e0471a5d425ae13f3152c8f688ec74281
8975765867984cba814efe301789b481054b58fb
refs/heads/master
2023-04-21T15:36:05.128795
2020-10-08T17:54:17
2020-10-08T17:54:17
263,122,401
1
0
null
null
null
null
UTF-8
C++
false
false
4,193
cc
MultiActionInitialization.cc
#include <G4MultiSteppingAction.hh> #include <G4MultiTrackingAction.hh> #include <G4MultiEventAction.hh> #include <G4MultiRunAction.hh> #include "MultiActionInitialization.hh" #include <VolumeChangeSteppingAction.hh> /** * A C++ standard library function shall not directly or indirectly modify objects (1.10) accessib...
0bef225b0e112abf2a1c5ebb3b2c03537aaad21a
3ff7d2fe08b38a7a5dcf885e23a3acc673f8a11a
/tests/verilog_simple_modules_test.cpp
9d38cc058add3f871d2939427fb702e7934e264a
[ "MIT" ]
permissive
HardwareIR/netlistDB
eae65c470c12685f3c9ea577ecd66b65760318fd
2c52a1c88b7be712d6cdc9146f1a9dbf26441198
refs/heads/master
2021-06-12T17:21:53.085258
2021-03-17T13:10:16
2021-03-17T13:10:16
160,362,215
21
3
null
null
null
null
UTF-8
C++
false
false
5,065
cpp
verilog_simple_modules_test.cpp
#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MAIN #define BOOST_TEST_MODULE netlistDB_verilog_simple_modules_test #include <boost/test/unit_test.hpp> #include <functional> #include <iostream> #include <fstream> #include <stdint.h> #include <sstream> #include <netlistDB/netlist.h> #include <netlistDB/statement_if.h>...
0a84ac14d0552bd99c5dd1be3484e0c11831ee23
877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a
/app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir13714/file15015.cpp
e4c2bd08fa3a71c91d7875b250bf743183eb09e7
[]
no_license
tgeng/HugeProject
829c3bdfb7cbaf57727c41263212d4a67e3eb93d
4488d3b765e8827636ce5e878baacdf388710ef2
refs/heads/master
2022-08-21T16:58:54.161627
2020-05-28T01:54:03
2020-05-28T01:54:03
267,468,475
0
0
null
null
null
null
UTF-8
C++
false
false
115
cpp
file15015.cpp
#ifndef file15015 #error "macro file15015 must be defined" #endif static const char* file15015String = "file15015";
8560feffaf02d460fe6e318e5a1e66cf6a5b767d
3c3a77937d43706dfa4cc14ee82c83378968a57c
/Visual Studio 2013/Projects/Practice/Practice/C++11.cpp
d0483fee3333100232325da576d55eae6832fa1d
[]
no_license
KimBoWoon/HomeWork
221225411e08e184805af2f1742334639bb0db89
c5d9fc2e9b14812b85afbf8319395518f7ca0b0a
refs/heads/master
2021-07-21T10:24:30.769743
2016-10-04T06:58:05
2016-10-04T06:58:05
41,595,238
0
0
null
null
null
null
UTF-8
C++
false
false
99
cpp
C++11.cpp
#include <iostream> using namespace std; int main() { auto n = 3545846464l; cout << n << endl; }
31c1d6907faf7800a04eb078723312e38bad608a
2814ba8b4454c1d73d8caa1c1bd52abec8cb5326
/GUI/xppMenuLabels.cpp
51dd42314579f0708861fb077a500cddffe3dc74
[]
no_license
miscco/xppGUI
4ccdc3241358365fe280a22c102fe5a36053693f
825131c994c4b56e0ec2043504c93a576b853288
refs/heads/master
2021-03-16T05:32:09.539062
2016-08-19T08:22:08
2016-08-19T08:22:08
66,022,558
1
0
null
null
null
null
UTF-8
C++
false
false
10,774
cpp
xppMenuLabels.cpp
#include "xppMenuLabels.h" /******************************************************************************/ /* Main window */ /******************************************************************************/ xppMenu BoundaryValues = { .Title = "&Boundary values", .Labels = {"&Range", "&No sh...
af97f06595f026e09770e603520fe5eca0098f4d
756e08cef15ea31fefb0f358fce47d08f592afca
/Huffman/Huffman.cpp
ca2b915e9974d411bdb4e0ba9d1c7f7c0e63a638
[]
no_license
parz1/Algorithm
4de1a903bffcf2f59944fdc68f544b592a737d0d
db420782ed2ea8237e25eb3a2d28a7fcf813f284
refs/heads/master
2020-05-17T17:47:42.859835
2020-01-30T04:57:40
2020-01-30T04:57:40
183,865,157
1
0
null
null
null
null
UTF-8
C++
false
false
4,510
cpp
Huffman.cpp
#include "Huffman.h" #include <iostream> #include <fstream> #include <cstdio> #include <cstring> #define MIN 100000 using namespace std; void Huffman::Initialize() { ifstream in("hfmTree.txt"); int cnt[M]; char str[M]; if (in.is_open()) { int i = 0; int n; in >> n; f...
4e8cca94eb378650ee4eefd08d0605f7d2ba71e4
949ab1beaae33b35f6401cbc5bc870c3e80d4fcd
/EmitterBase.h
90fc1a6a21ffac3aa802977d704274c88a7baa43
[]
no_license
SH0756/PresentationFolder
edc0f4b973f085c985247d58933723412a70ec6f
45a944f43ce488b8eab47931d6161752258076b6
refs/heads/master
2021-01-01T18:07:24.274956
2015-04-10T10:44:30
2015-04-10T10:44:30
33,710,651
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
319
h
EmitterBase.h
namespace nel { //エミッタのベースクラス class CEmitterBase : public CEmitterFile { public: //コンストラクタ CEmitterBase(wstring filename) : CEmitterFile(filename) { FindAmountChange(); } //エミッタのパラメータ値の変化量を求めます void FindAmountChange(); }; }
164f79a74ef7774c6da4c9d36f265743ef57c089
3c16fa08b2fc072c506f476691a235490cb0b78a
/src/tickets_service/Logger.cpp
c8e16480b0d5caa39649625e3b6d361bad29b5f8
[]
no_license
samiavasil/verify_tickets
14481a9b5f2366707010b95cf1c68da45e80b275
dc8a5c8efeeddcbdeb0925ff9f047bdffa148593
refs/heads/master
2020-12-26T19:47:54.630306
2020-08-04T16:46:09
2020-08-04T23:50:31
237,620,491
0
0
null
null
null
null
UTF-8
C++
false
false
1,732
cpp
Logger.cpp
#include <QString> #include <QMqttClient> #include "Logger.h" #include "MqttManager.h" #include "Configurator.h" class PrivMsg{ public: static void myMessageOutput(QtMsgType type, const QMessageLogContext &, const QString & msg) { QString out_dbg; bool log = false; switch (type) { ...
1e63c809c8f8b6b0ceaaf363087d7de328f12843
db7cc99567345f2f7fc7af06ca4362afca63816c
/book.cpp
f9897fc9b0dbb9a3c9edc286d9732a442db258bb
[]
no_license
anishdhakal/novel_and_textbook
0b97b8ca2dc77c2375307264709e3cbb21c63a21
e0fe2a0d393a78be5b1fac659905c98ff0cee48c
refs/heads/master
2021-01-18T13:10:07.246089
2015-04-03T09:57:13
2015-04-03T09:57:13
33,357,547
0
0
null
2015-04-03T09:54:16
2015-04-03T09:54:16
null
UTF-8
C++
false
false
768
cpp
book.cpp
#include<iostream> #include "book.h" using namespace std; Book::Book(string bookName, Author authorName, int bookPrice) { name=bookName; author=authorName; price=bookPrice; } Book::Book(string bookName, Author authorName, int bookPrice, int bookQuantity) { name=bookName; author = authorName; ...
724580e095e3d222d7f08bb6080b8971cf01a82b
4a9900b0161e79315bb45acbf5c807544ad35150
/Affectation.h
072bc986a25be4252f3c2a951752ac6d08b00f55
[]
no_license
youssefOud/PLD_COMP_Hexa_4112
477f1b9744b6b9973c0246611d7d9a0cc1984710
695999de242488d5b8601dc53fb30b81e22ceec1
refs/heads/master
2020-04-28T03:39:45.002172
2019-04-12T21:56:12
2019-04-12T21:56:12
174,946,061
0
0
null
2019-04-12T21:56:13
2019-03-11T07:18:46
C++
UTF-8
C++
false
false
989
h
Affectation.h
#pragma once #ifndef PLD_COMP_AFFECTATION_H #define PLD_COMP_AFFECTATION_H #include <iostream> #include <string> #include "Instruction.h" #include <utility> #include <map> #include "Enum.h" using namespace std; class Affectation : public Instruction { public: Affectation(Instruction *e, LeftValue *l, string t...
2e2eca837514ed29a1e8b915271c5be5c38003cb
3f8b288711bb5adc2394171507f54c62dc60c601
/atcoder/abc/166f.cpp
7df84a6955178e9edcfc965a3641e167d48bb417
[]
no_license
pontsuyo/procon
65df6356f0ea1cfb619898d9e8cc6e326c0586e7
804aaeb526946172a8f41e0619712f5989b6b613
refs/heads/master
2021-06-15T15:13:04.441761
2021-03-20T05:26:54
2021-03-20T05:26:54
175,234,672
1
0
null
null
null
null
UTF-8
C++
false
false
1,959
cpp
166f.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> P; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define repr(i, l, r) for (int i = l; i <= (int)(r); i++) #define chmin(x, y) x = min(x, y) #define chmax(x, y) x = max(x, y) #define all(v) v.begin(), v.end() #define MOD (...
03106bec3509e34f9388ccce054f0004c7ec9628
c2b3b7bbf89ccd152fc92909b61624bdba3504a2
/src/gemini/epics/jms/JmsIntEpicsBuilder.cpp
b5fad637244cdb1e4d2d271ec4d7a5e78fc5f6c0
[ "BSD-2-Clause" ]
permissive
gemini-hlsw/giapi-glue-cc
9893ffaed0bfb7189c29d3e906f1dfc12ad02f41
17a76e216762af22826c31ef23cd418fbc49b604
refs/heads/develop
2023-05-26T02:20:26.785385
2023-05-18T21:45:18
2023-05-18T21:45:18
94,218,682
0
3
NOASSERTION
2023-05-18T21:45:20
2017-06-13T13:55:53
C++
UTF-8
C++
false
false
659
cpp
JmsIntEpicsBuilder.cpp
#include "JmsIntEpicsBuilder.h" #include <gemini/epics/EpicsStatusItemImpl.h> namespace giapi { JmsIntEpicsBuilder::JmsIntEpicsBuilder(BytesMessage *bm) : JmsEpicsBuilder(bm) { } JmsIntEpicsBuilder::~JmsIntEpicsBuilder() { } pEpicsStatusItem JmsIntEpicsBuilder::getEpicsStatusItem() { int size = _nElements * si...
daa61d5a6c9ff87ca0b16e0487320205ba4ce748
d350d6d6a959d2a134a66e31c1a841e0e04dbe21
/LibsCXX/Graph/include/private/Data.hpp
54fcb2796ace6b89d716a667ca3a21dcf11160ad
[]
no_license
luisfisherjr/cmake-project-template
5d04062bda3cb754f497841f5f267465ccbe4dc7
3f50d02f1207822ac5b3fb43f31c2b5cffa21424
refs/heads/master
2020-03-26T10:47:11.507856
2018-09-22T18:54:36
2018-09-22T18:54:36
144,815,414
0
0
null
null
null
null
UTF-8
C++
false
false
272
hpp
Data.hpp
#ifndef NODE_DATA_HPP #define NODE_DATA_HPP #include <string> class Data { public: virtual ~Data() {} virtual std::string toString() const = 0; virtual bool equals(const Data *obj) const = 0; virtual int hashCode() const = 0; }; #endif //NODE_DATA_HPP
e5b770af3712ac6a14d525e0f0a2617fc27a76fc
3686ee91b33cf71d6dfbc38cfe797a2a9b6653b0
/archive2/74.cpp
6c95aa75ac72cc3380ad4570e108162f2af0733c
[]
no_license
danleechina/Leetcode
e27e6c4ccb947bf87e200a47c4b3defb4643107a
95a25af7767e30bacc2ebfb7faffbba6d7bdc157
refs/heads/master
2020-03-26T21:56:15.199890
2019-05-22T02:42:30
2019-05-22T02:42:30
145,419,407
0
0
null
null
null
null
UTF-8
C++
false
false
705
cpp
74.cpp
#include <iostream> #include <vector> #include <map> #include <set> #include <stack> #include <string> #include <map> #include <algorithm> using namespace std; bool myfunction (int i,int j) { return (i<j); } class Solution { public: bool searchMatrix(vector<vector<int>>& matrix, int target) { int m = matrix.siz...
83539e9be5d00f55561421efc0732fa213db9015
9b8ed2eb05e40016395a069013402610361ee499
/Test/ServerGrp.h
271445c7c65e99dad936c0e5be5a7370f8bdba77
[]
no_license
singmelody/Test
6b74674cc0219189caaf365df120a4420b77cd6f
9f2d3d72627586bd07a66b2599a7106d7d6b1f1c
refs/heads/master
2020-04-07T02:50:03.334288
2017-12-31T22:26:46
2017-12-31T22:34:09
45,405,601
0
0
null
null
null
null
UTF-8
C++
false
false
1,154
h
ServerGrp.h
#pragma once #include "MySockAddr.h" #include <map> #include <string> class ServerInfo; class ServerManager; class PacketSender; typedef std::map< int32, ServerInfo*> SrvInfoMap; class ServerGrp { public: ServerGrp(void); virtual ~ServerGrp(void); void Init(ServerManager* pMgr, int32 nSrvType); ServerInfo* Cr...
820ad0051cd4969ddde64dbc5a8165da345d9025
35bf45df1af062cf0b37d032feb2940ee78fe722
/ClassForHelp/Add2Dlg.cpp
f9e6802d2c0ed804ea08fea52bde4b465131a21d
[]
no_license
zhang1320668499/ClassForHelp
adb1e0c8ed1f5125ed2d61bae1b835cb3f633c01
c851a60014682c6fe781d2ae009949732a8b46c9
refs/heads/master
2016-08-03T13:42:25.970231
2015-06-21T02:26:39
2015-06-21T02:26:39
37,793,917
1
0
null
null
null
null
GB18030
C++
false
false
1,593
cpp
Add2Dlg.cpp
// Add2Dlg.cpp : implementation file // #include "stdafx.h" #include "software.h" #include "Add2Dlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CAdd2Dlg dialog CAdd2Dlg::CAdd2Dlg(...
5ab6f177da8c8391506122459d2a1092dbc57dfe
35774866a6f846e2d54ea5e0755088f97db93fed
/task 13.cpp
61c451ed3baf1a434ad4b221511a2622c154cb52
[]
no_license
vaishnavi2699/CPP-Logical-programs
5d4f0c6e3684d74f5269a24774cb41d334faaf98
c0d63b86745bc1a15e41cac96149e278e1ebd583
refs/heads/main
2023-02-23T22:01:15.999441
2021-01-29T13:37:23
2021-01-29T13:37:23
334,154,397
0
0
null
null
null
null
UTF-8
C++
false
false
263
cpp
task 13.cpp
// WAP to find sum of all natural numbers between 1-n #include<iostream> using namespace std; int main() { int i=1,n,sum=0; cout<<"enter n number"; cin>>n; while(i<=n) { sum=sum+i; i=i+1; } cout<<"sum is: "<<sum<<"\t"; return 0; }
d2e9f5a839755034622b75fbaa01699b07e989e8
9ada6ca9bd5e669eb3e903f900bae306bf7fd75e
/case3/ddtFoam_Tutorial/0.002050000/HO2
fc4f8750031230e53a5d71116966065637bfc841
[]
no_license
ptroyen/DDT
a6c8747f3a924a7039b71c96ee7d4a1618ad4197
6e6ddc7937324b04b22fbfcf974f9c9ea24e48bf
refs/heads/master
2020-05-24T15:04:39.786689
2018-01-28T21:36:40
2018-01-28T21:36:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
74,408
HO2
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | ...
af129fbc4769ee28265c7e04400beabaf941da05
60a15a584b00895e47628c5a485bd1f14cfeebbe
/comps/general/Data/XmlDoc.cpp
a2801a505000e6ee9dbfbe92a4dc9e1dee187bf2
[]
no_license
fcccode/vt5
ce4c1d8fe819715f2580586c8113cfedf2ab44ac
c88049949ebb999304f0fc7648f3d03f6501c65b
refs/heads/master
2020-09-27T22:56:55.348501
2019-06-17T20:39:46
2019-06-17T20:39:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,001
cpp
XmlDoc.cpp
#include "stdafx.h" #import <msxml3.dll> #include "data.h" #include "ContentDlg.h" namespace{ MSXML2::IXMLDOMDocumentPtr dom; } void CContentDlg::OnExport2Xml() { CStringW strDataSourceName; if( m_nDataSource == 0 ) { m_ptrData = GetAppUnknown(); strDataSourceName = L"Shell.xml"; } else { IApplicationPtr ...
aeedde80e78b93c4469c4e27a52dc07f5323d1ce
4f65dfa1edc9af705bf72b780a23b2b948e71623
/05_interact_mem/code/02_screen_grab_img_balls_solution/src/ImgManipulation.h
1bc00b1a66c6341efd8c2da6c8b9923494dc9ba6
[ "MIT" ]
permissive
abrennec/sose20_cc2
a484d199f8f724aff780de2466acbf988a41f1bc
e609bbc2b2834dcd1998c7d044d80f8d325c9e52
refs/heads/master
2022-10-20T22:48:00.620259
2020-06-15T12:25:41
2020-06-15T12:25:41
241,618,301
0
0
null
null
null
null
UTF-8
C++
false
false
550
h
ImgManipulation.h
#pragma once #include "ofMain.h" // Any image manipulation should be executed inside of this class. // This includes also any data transfer from the ofApp object to // the image manipulation object and vice versa. class ImageManipulation { public: ImageManipulation(); ofImage processImage(const o...
a979e991016d18c81b939fae82914d9a9c279ddd
1bfcf8aa08418ee93a145afea7d86895fa1e78e0
/codegen/syntax_tree.cpp
35023a69e6c0dd9201dcf4329aea66ce5bee4aff
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-protobuf" ]
permissive
git-littlezhou/emoskit
064f6179c40c8619ebc3da8c3b5a21315af044ff
c2f1179186c969340d2a1d585e2d59cb355e482e
refs/heads/master
2021-01-23T16:22:27.975463
2017-09-15T07:36:19
2017-09-15T07:36:19
102,738,475
4
0
null
null
null
null
UTF-8
C++
false
false
2,938
cpp
syntax_tree.cpp
/* * * Copyright 2017 emsokit authors. * All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may * not use this file except in compliance with the License. You may * obtain a copy of the License at * * https://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law o...
04f3276ab69ebd6bc166c64bf57dddd73964f488
0d5a29efe0c04c22e6b6db74109a576ab9c8c5e2
/student_tests.cpp
79a85fec4de555a9759804a24cd62d3e5bb1438b
[]
no_license
bmsiegel/Polynomial
32ac4a93ecc7d077497e3bc47033feed71ac2bda
3a7cd4c4fbd05ae5eb59019762cbd33b015e98c6
refs/heads/master
2020-04-25T05:20:44.014023
2019-02-25T16:15:47
2019-02-25T16:15:47
172,539,522
0
0
null
null
null
null
UTF-8
C++
false
false
2,188
cpp
student_tests.cpp
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "Polynomial.hpp" TEST_CASE("Tests add") { std::stringstream ss1; Polynomial p; Polynomial q; p.insert_term(Term(2,3)); p.insert_term(Term(2,2)); p.insert_term(Term(2,1)); q.insert_term(Term(1,3)); q.insert_term(Term(3,2)); q.insert_term(Term(5,...
a6a3bd55f10cded90865595209b0b1ad9cd8f49f
fe96270037113fd5a44ec3adf0aebdeccd04430b
/quarre/interaction/quarre-interaction.cpp
53607d4fcd1fbbb35033f1f1fddba8361ffb7adc
[]
no_license
pchdev/score-addon-quarre
314452061381f192360cc36e6dd502f8eff2ae75
aba5fc38d3345aa5988fa09f9ae6fe9ff66d1614
refs/heads/master
2021-06-13T05:34:32.779319
2019-08-13T18:52:32
2019-08-13T18:52:32
113,207,264
0
1
null
null
null
null
UTF-8
C++
false
false
5,946
cpp
quarre-interaction.cpp
#include "quarre-interaction.hpp" #include <score/serialization/DataStreamVisitor.hpp> #include <score/serialization/JSONVisitor.hpp> #include <QFormLayout> #include <score/tools/IdentifierGeneration.hpp> using namespace score::addons; quarre::interaction::interaction( const Id<quarre::interaction> &id, ...
70555e16eb82457285b69382668d435ccfbdf07c
c31792ecc2f4558530aea33c2692773932e6cf50
/bulletgba/generator/data/code/daiouzyou/round_6_boss_2.hpp
66a65dc1d1565dfc5e1e3d4fb313b4adece732aa
[ "Unlicense" ]
permissive
pqrs-org/BulletGBA
f65e4e7b964b5bb021a8b95dd7727852e62a866c
a294007902970242b496f2528b4762cfef22bc86
refs/heads/main
2021-08-29T02:12:55.680153
2020-03-22T05:50:28
2020-03-22T05:50:28
249,121,625
12
0
null
null
null
null
UTF-8
C++
false
false
1,843
hpp
round_6_boss_2.hpp
#ifndef GENERATED_392821aa3e2b08ef77581d5e5c66d605_HPP #define GENERATED_392821aa3e2b08ef77581d5e5c66d605_HPP #include "bullet.hpp" void stepfunc_6a44bb20f393a4c1d9283abe159a2ec3_b26ebadaebd607f43b5d7cb9bf8a96f5(BulletInfo *p); void stepfunc_d91fbeb3c9cbc08c4af678982ad3c426_b26ebadaebd607f43b5d7cb9bf8a96f5(Bullet...
19305cb7cf7e4e853125728230e053e93437936b
0dc2640b666b02fc92dfde1660f5625157d4c2ca
/devel/cpp/src/numeric/Histogram.hpp
e903f2dc0669ff55b205149ff129f06a65d82a97
[]
no_license
staticimport/promotelib
878fb63b6697e3c5944c3f7b1c5ac8dc6d140e9f
742b4777919964ee62b52246f3df6c36af4d5e86
refs/heads/master
2021-01-01T18:42:09.152398
2011-09-20T03:55:01
2011-09-20T03:55:01
2,027,477
1
0
null
null
null
null
UTF-8
C++
false
false
3,398
hpp
Histogram.hpp
#ifndef PROMOTE_HISTOGRAM_HPP_ #define PROMOTE_HISTOGRAM_HPP_ #include <cmath> #include <cstdio> #include <cstdlib> #include "PoolQueueAllocator.hpp" #include "TreapMap.hpp" namespace promote { template <typename K> class Histogram { public: Histogram(); ~Histogram() { } // C...
baf2d6b4eb85448070e7aedbf52bbe8b79d60861
909ceff3349b6469c1c5be524bafb3fe8f7f54eb
/src/SerialCommunicator.cpp
c64bbc998bf17864bf6d4ddd13f29f7fe4f8e9b6
[]
no_license
swankun/pendulum
714893d6de99011523e0e0b1cc8556a802432275
35a50268ff07a7d093a3648d04a1b1d5b1f62c86
refs/heads/master
2021-06-20T05:13:35.583104
2017-05-25T01:12:49
2017-05-25T01:12:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,626
cpp
SerialCommunicator.cpp
#include "../include/SerialCommunicator.h" #include <iostream> //#include <cstdio> //#include <windows.h> //#define _USE_MATH_DEFINES // for C++ //#include <cmath> #include <thread> #define M_PI 3.14159265358979323846f #define LOOPRATE_MS 2 #define POWER_OFF 32767 #define BACKWARD_MAX 0 #define FORWARD_MAX USHRT_M...
fca55b1a8b2fa3f5e85722b251eed906bc104ca9
3d06f6d33f3f1cb17169dc603dcaed4ba0930307
/SFML_Game/enemy.cpp
d363a056303a36a2a979152684c759e76f23227c
[]
no_license
LukaszSielski/Programy
76f3196e325488b86e55471080316c2b8251d43d
89b2c34104363a4e118751698d12d3d534363435
refs/heads/master
2021-01-23T04:39:35.275216
2017-05-31T11:09:47
2017-05-31T11:09:47
92,937,214
0
0
null
null
null
null
UTF-8
C++
false
false
1,022
cpp
enemy.cpp
#include "enemy.h" Enemy::Enemy() { rect.setSize(sf::Vector2f(32,32)); rect.setPosition(0,0); rect.setFillColor(sf::Color::Red); sprite.setTextureRect(sf::IntRect(49*4,0,49,49)); } void Enemy::update() { sprite.setPosition(rect.getPosition()); } void Enemy::updateMovement() { if(direction =...
9b506bbbefc13d660e6be77ff2b9627f44d2eb21
24b8aef808a1722b29ee22dc26b2dec0447db427
/模拟考试/1152-1155(得分92)/1154 Vertex Coloring (25 分)/1154.cpp
da22c38038df7bbc5837cdf0a43449773aff4f39
[]
no_license
drincs/100-day-plan
63f080a5328a58cb6f1fe1e97677a13f05d50c45
ff06270f5d8d53fea3d34d990bb3ff336bb77557
refs/heads/main
2023-07-25T10:10:52.797163
2021-09-09T10:25:31
2021-09-09T10:25:31
359,845,885
0
0
null
null
null
null
UTF-8
C++
false
false
1,010
cpp
1154.cpp
#include <iostream> #include <vector> #include <map> #include <set> using namespace std; struct edge { int x; int y; }; vector<edge> edges; int main() { int n, m, k; scanf("%d%d", &n, &m); for (int i = 0; i < m; i++) { edge t; scanf("%d %d", &t.x, &t.y); if (t.x != t.y) ...
ec8955fb7f320f7d8a6d398c5028e97e1db8a718
4ff94a09467dcca356fa903508773d4707ecca2e
/akillimarketarabasi.ino
8c02cf35908b990a5e843366e6db148d7d24bc05
[]
no_license
ahmetanilsari/arduinoakillimarketarabasi
514f0adea26cadf32d63356c9c35cd303a0ebd22
b1f4f4768ac89152a1ec22ef40631955e1875953
refs/heads/main
2023-01-20T22:20:54.523108
2020-12-05T20:31:30
2020-12-05T20:31:30
318,880,891
1
0
null
null
null
null
UTF-8
C++
false
false
91,428
ino
akillimarketarabasi.ino
#include <hid.h> #include <hiduniversal.h> #include <usbhub.h> #include <avr/pgmspace.h> #include <Usb.h> #include <usbhub.h> #include <avr/pgmspace.h> #include <hidboot.h> #include "U8glib.h" U8GLIB_ST7920_128X64 u8g( 13,11,10,U8G_PIN_NONE); //U8G_PIN_NONE int dizi[100...
d6b3afe3d9f64428cca87eece8a25abca3986dc3
b6d2cb74a76194fd25fdc3607ef828e94d98039e
/Contests/Pacific Northwest Regional/2016-2017-Div.1/G.cpp
a4ab28cbbc0d84b244c7b9af1ff41d6eb7d48d27
[]
no_license
giovaneaf/CompetitiveProgramming
22d63481015ab45a03d527c866cae339cffeb5fb
863f6bc61497591cb98e50973aa23bfcb9879ab8
refs/heads/master
2021-06-07T20:28:45.116299
2021-05-25T00:38:16
2021-05-25T00:38:16
131,643,425
6
1
null
null
null
null
UTF-8
C++
false
false
2,743
cpp
G.cpp
#include <bits/stdc++.h> using namespace std; #define MAXN 200010 #define LOGMAXN 20 #define INF 1000000010 typedef pair<int, int> ii; typedef vector<ii> vii; typedef vector<int> vi; typedef long long ll; int n, m, nOfCs; string M[45]; bool visited[45][45]; int dr[] = {1, 0, -1, 0}; int dc[] = {0, 1, 0, -1}...
5799142f1e6714566150e04ad9aac4d7101d2ca0
c6c2672f74d8b32d2f7164b6296a33a2a16a28e7
/src/ActionRecognition/Dense.cc
fcc7365f64e8fa28c7c9b1edbc0100599b91fd68
[]
no_license
RaduAlexandru/Dense-Trajectories
31b3e3b1a7e67b7b36a932d0f27d23d979fe3372
b2a06f59e2b9fa46e572c0a39e50a98a407daf23
refs/heads/master
2021-01-21T07:13:53.795531
2017-05-24T19:13:37
2017-05-24T19:13:37
91,604,690
1
0
null
null
null
null
UTF-8
C++
false
false
34,088
cc
Dense.cc
#include "Dense.hh" #include <algorithm> using namespace ActionRecognition; const Core::ParameterString Dense::paramVideoList_("video-list", "", "dense"); // constructor Dense::Dense(): videoList_(Core::Configuration::config(paramVideoList_)) {} // empty destructor Dense::~Dense() {} void Dense::showVideo(con...
aff2be6c28c692175e40b8458af24e5ef5a3fd26
ad485ea0ef7e719f8ad8c8f698629cce88c2fec6
/main.cpp
79c42a665ec484c4223e88ffcce1971db60d769d
[]
no_license
konstantinoscs/Atiki_odos-Simulation
78ed69515a3a2476deadcde51ba2dc98ab8cc45c
a9651f56d225dd21546258ea65a2497ff0dec94b
refs/heads/master
2021-01-21T10:34:09.063857
2018-04-06T21:51:10
2018-04-06T21:51:10
83,453,062
1
2
null
null
null
null
UTF-8
C++
false
false
1,176
cpp
main.cpp
/* * File: main.cpp * Author: konstantinos(Lead) / Giannis(Support) * * Created on January 4, 2016, 2:37 AM */ #include <cstdlib> #include <iostream> #include <ctime> #include "Highway.h" using namespace std; inline int args_to_var(int &N, int &NSegs, int &K, int &Percent, int argc, char **argv); int main(in...
b4a614aec32e46a862ef7f7598b3a523a8ee983d
a10fecaa7a8639123331caaae42e5b8ea27c8959
/Lab1-3/MatrixOperations.cpp
aa4a99397dc4925062970a7a6d1603e8f127d273
[]
no_license
7kia/OOP
140cb7efa8dc59dfd8c3638cddcacdd7d5417998
4cf00a5432aa727a56c9540167b35fceb0ae9fdb
refs/heads/master
2021-01-21T21:47:32.142695
2016-05-25T12:46:33
2016-05-25T12:46:45
51,295,296
0
0
null
null
null
null
UTF-8
C++
false
false
2,995
cpp
MatrixOperations.cpp
#include "stdafx.h" #include "MatrixOperations.h" double MatrixOperations::GetDeterminate(const Matrix &matrix) { double determinate = 0; size_t sizeMatrix = matrix.size(); if (sizeMatrix > 2) { int countForDegree = 2; for (size_t i = 0; i < sizeMatrix; i++) { determinate += matrix[0][i] * pow(-1 , countF...
e147e2acedeeb16c9e66c814bdfd61cb35608b73
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/httpd/gumtree/httpd_repos_function_2482_httpd-2.4.17.cpp
c93ea40e42768f8bb9721ce89d8147fe198a0ee5
[]
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
573
cpp
httpd_repos_function_2482_httpd-2.4.17.cpp
static const char *h2_add_alt_svc(cmd_parms *parms, void *arg, const char *value) { if (value && strlen(value)) { h2_config *cfg = h2_config_sget(parms->server); h2_alt_svc *as = h2_alt_svc_parse(value, parms->pool); if (!as) { return "unable to ...
efd134d3ff51896539351ba3e429771d5e38cff4
c79dc016ca85e461e89393ab59a4ebce80160161
/Ice Climber Clone/DebugPhysicsScene.cpp
8dfcccc5b05deb66635f32e7aadbbc41eaa408c0
[]
no_license
janplaehn/Ice-Climber
e37d6e112aeb6e8164e1d8cab60036e5d896c3e2
1d0dcfc7aaa234aa0f9152d90c43ab285dd4398b
refs/heads/main
2023-06-28T08:01:55.388763
2021-07-27T18:06:53
2021-07-27T18:06:53
331,251,484
0
0
null
null
null
null
UTF-8
C++
false
false
1,294
cpp
DebugPhysicsScene.cpp
#include "DebugPhysicsScene.h" #include "Random.h" void DebugPhysicsScene::Load() { const int OBJECTCOUNT = 15; for (int i = 0; i < OBJECTCOUNT; i++) { GameObject* go = new GameObject(); go->_transform->_position = Vector2D(Random::Range(0, Screen::_width),Random::Range(0,Screen::_height)); SpriteRenderer* sr...
9ddebf116453b953ba736bc76902211a55441467
d7a1f879a11ae73088207d0b219fc460b057c0ed
/SuperTagEditor/DlgUnifyChar.cpp
7ed332ddd49781e0dd1123768f87af7897e7c6f1
[]
no_license
leiqunni/STEP_Unicode
d34dfdc773ce6576475a1be0beab6c9b284e163f
da43176a6dc9719d4da2c1fb086bcd56eb6a33f5
refs/heads/master
2021-01-22T12:12:04.291267
2014-05-20T04:20:04
2014-05-20T04:20:04
19,245,061
1
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,528
cpp
DlgUnifyChar.cpp
// DlgUnifyChar.cpp : インプリメンテーション ファイル // #include "stdafx.h" #include "supertageditor.h" #include "DlgUnifyChar.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDlgUnifyChar ダイアログ CD...
1986202570f6f2d79560d893b5ee0317a62d40b8
d844890a5fc447d405aa710b6912a00cb58fe104
/EudoraEngine/application.h
19f6e40409e0e995e114abd27e395930fd55e059
[]
no_license
hasinaxp/opengl_render_engine
30bd1dfe4096f70c03ca1d6de2d84230bfee142e
e5c0c6112396bc1760e28d27797b3920313f83f7
refs/heads/master
2022-04-24T11:35:34.814502
2020-04-26T04:18:00
2020-04-26T04:18:00
192,807,059
0
0
null
null
null
null
UTF-8
C++
false
false
2,137
h
application.h
#pragma once #include "api.h" #include "display.h" #include "deps/glad.h" #include "eventSystem.h" #include <string> namespace sp { //base class for application layer // must be implemented(inherited) with two methods: // init(), update(float dt); class SP_API ApplicationLayer { private: float _dt; //time in...
ad9a97e20a6683267c8166b14adc1d8cc891da6a
fc8b9a876ecb1c62ca85f2f4de57a51299164fc0
/src/matris.h
ecfa30286be8bcc73e401fa26c3f5485fce21a2c
[]
no_license
meertuysaal/162106102004_MertUysal_Genel
84297d998dc471ae6eee46b7fdfbb5cc580556d4
d29dda6ba6d00668167d2cc9a515539c62221f95
refs/heads/master
2023-02-17T11:48:55.860610
2021-01-18T18:57:36
2021-01-18T18:57:36
330,753,512
0
0
null
null
null
null
UTF-8
C++
false
false
3,382
h
matris.h
#ifndef MATRIS_HPP #define MATRIS_HPP #include <iostream> // std::cout #include <iomanip> // std::setprecision() #include <math.h> // std::pow(), std::sqrt() #include <cstddef> // NULL #include "matris.h" #include <string> class Matris { public: Matris(); Matris(const int satir_sayisi, const int sutun_say...
7080df8deb6ec90834ac051d22d9a12e8a568fdb
80ebce13244410af3a3818304de9b3b2a9dfc93c
/hardware/qcom/media/mm-video/qdsp6/vdec/src/omx_vdec_inpbuf.cpp
d9c0dbfcf3bc407d4f16c425b6ac46509328359d
[]
no_license
hongyunnchen/qiss-me-bsp
4d53d6f0bf242521a104024c2a72b8f290873fdb
342f7464d58479abe9e64917deb0281582bc25dc
refs/heads/master
2021-01-10T10:03:52.319213
2012-12-12T02:26:39
2012-12-12T02:28:43
49,120,250
2
0
null
null
null
null
UTF-8
C++
false
false
7,357
cpp
omx_vdec_inpbuf.cpp
/*-------------------------------------------------------------------------- Copyright (c) 2009, Code Aurora Forum. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code mu...
14fe29dc60d9fcd087df0653c17de051ac403309
90d253b075c47054ab1d6bf6206f37e810330068
/USACOcontests/bronze/2016.12/cowsignal.cpp
95c2908f2e79a1dc4b1628b65e36b1ef78269cb5
[ "MIT" ]
permissive
eyangch/competitive-programming
45684aa804cbcde1999010332627228ac1ac4ef8
de9bb192c604a3dfbdd4c2757e478e7265516c9c
refs/heads/master
2023-07-10T08:59:25.674500
2023-06-25T09:30:43
2023-06-25T09:30:43
178,763,969
22
8
null
null
null
null
UTF-8
C++
false
false
1,174
cpp
cowsignal.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<int> vi; typedef pair<int, int> pii; template <typename T1, typename T2> ostream &operator <<(ostream &os, pair<T1, T2> p){os << p.first << " " << p.second; return os;} template <typename T> ostream &operator <<(ostream &os, vector<T> ...
28aa12138e297249e47594e2cfd311822f3815b4
2672b41f905c0561c816cbb969d1c57752863420
/UVA/UVA 11995.cpp
f2a572ed4430fede1067f0fb27c44772540c4129
[]
no_license
MohamedFathi45/Competitive-programming
a9a6b8b3e8be5924ef4774b90b81a5149cfc0332
3ed5bdd0c698c5c4273455828f6d74ff13374902
refs/heads/master
2021-01-25T14:46:57.008806
2020-12-22T03:35:54
2020-12-22T03:35:54
123,729,376
0
0
null
null
null
null
UTF-8
C++
false
false
2,397
cpp
UVA 11995.cpp
#include<iostream> #include<algorithm> #include<string.h> #include<string> #include<vector> #include<math.h> #include<set> #include<map> #include<iomanip> #include<queue> #include<deque> #include<bitset> #include<stack> #include<list> #define Mohamed_Fathi ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); typedef long lo...
f8aa4c3a70f2fb6f29c4a34cf3293810ecfebd81
29aea75942aa113f9e2d96d0dff3da1b3e8ab319
/src/navigation/navigation.h
fb3dc1fdaf12b3853f89934b4672954f0fcd6781
[]
no_license
saikm200022/cs393r_particle_filter
6d39fbdcad45361723c27d2561f8be655e7b1c3d
94ffd57b0d45113aa98f62711056fe8806f77abf
refs/heads/master
2023-08-14T11:02:09.107830
2021-10-11T21:52:50
2021-10-11T21:52:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,388
h
navigation.h
//======================================================================== // This software is free: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License Version 3, // as published by the Free Software Foundation. // // This software is distributed in the hope that it...
1fa4eacbc6ba284874fdc80ea857a52649e644c6
717c70331e83947539c4a68dd63d1863bbed32e0
/textga/textga_cmd/tags/ver1.0.0/src/local/Merge.hpp
92d181c2c3dfd3621127a72ab0348c591d3c6554
[]
no_license
hoboaki/oldcode
5907bdd01af84d6d2d779e26d6e4dbd3be1a028c
2c2aa0b20dc3f48656011dd5eb197d79fa3266cf
refs/heads/master
2020-12-03T03:51:03.125931
2017-06-29T13:44:19
2017-06-29T13:44:19
95,781,642
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
492
hpp
Merge.hpp
/** * @file * @brief アルファチャンネルをマージする関数を記述する。 */ #pragma once //------------------------------------------------------------ namespace local { class ArgumentDataIterator; /// アルファチャンネルをマージする関数。 class Merge { public: static bool execute( const ArgumentDataIterator& ); ...
ff843458564922e4be25fb6bb504e87f915eaa00
346c17a1b3feba55e3c8a0513ae97a4282399c05
/MMVII/src/SymbDerGen/Formulas_ImagesDeform.h
ad1296f24ca2158bb30690c5ee0ae376b7a20e1f
[ "LicenseRef-scancode-cecill-b-en" ]
permissive
micmacIGN/micmac
af4ab545c3e1d9c04b4c83ac7e926a3ff7707df6
6e5721ddc65cb9b480e53b5914e2e2391d5ae722
refs/heads/master
2023-09-01T15:06:30.805394
2023-07-25T09:18:43
2023-08-30T11:35:30
74,707,998
603
156
NOASSERTION
2023-06-19T12:53:13
2016-11-24T22:09:54
C++
UTF-8
C++
false
false
5,144
h
Formulas_ImagesDeform.h
#ifndef _FORMULA_IMAGES_DEFORM_H_ #define _FORMULA_IMAGES_DEFORM_H_ #include "MMVII_TplSymbImage.h" #include "MMVII_util_tpl.h" /** \brief class to generate code for images transformation by mimnization */ // #include "ComonHeaderSymb.h" using namespace NS_SymbolicDerivative; namespace MMVII { /** Game exa...
2c2aeded6cfbb046e35113514e67dbbe9ba84e1d
8dfaae5a6ce1a913440f3ee7610e753a6b3f7e65
/abc.cpp
23ed532f5e1b835da9ffc963280ed5f2b353befc
[]
no_license
parthchatta/1BM17CS057_ADA
780604704b004c298fd2b0c00875eb68e1c27db9
f6037e0064e2299f0301bc7b6b43921774639d5d
refs/heads/master
2020-06-30T23:50:19.908142
2019-11-20T07:14:53
2019-11-20T07:14:53
200,986,905
0
0
null
null
null
null
UTF-8
C++
false
false
1,044
cpp
abc.cpp
#include<bits/stdc++.h> using namespace std; int bs(int a[],int n) { int l=0,h=n-1; while(l<=h) { int mid=(h+l)/2; //cout<<"<"<<mid<<">\n"; if (mid<h && arr[mid]>arr[mid+1]) { return mid; } if (mid>l && arr[mid]<arr[mid-1]) { return mid-1; } if (arr[l]>=arr[mid]) { return findPivot(...