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
472cd08af6a0458af975d707b2bc60142ed44923
760612b50a5caf501068114b5dfd8c41616a193e
/tests/unit_tests/fn/test_fn_neighbor_table.cpp
3d1abe94fced09f5c33402a39d34ddc9d974a1cb
[ "BSD-3-Clause" ]
permissive
GridTools/gridtools
3577d9d80c1cabfb61fd8aeaf0a72fb313f57eb3
cef49ed3694b6f83684fab67a6008fc64b0cc50a
refs/heads/master
2023-08-24T18:17:07.059533
2023-08-16T13:44:56
2023-08-16T13:44:56
13,854,866
55
25
NOASSERTION
2023-08-16T13:44:58
2013-10-25T08:01:33
C++
UTF-8
C++
false
false
987
cpp
test_fn_neighbor_table.cpp
/* * GridTools * * Copyright (c) 2014-2023, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #include <gridtools/fn/neighbor_table.hpp> #include <array> #include <tuple> #include <gtest/gtest.h> namespace gridtools::fn {...
f05d2a68fc166a76f133be886464f166c1336f2c
e4cd71a2180e731bdb72a301c27020ad571657c0
/1284/1284.cpp
26c8c415b70d5efa4afd3df5d5b7785a85ee6d71
[]
no_license
EEAIC/Baekjoon-Online-Judge
65923fffeb09aefd6fcb5aa1defc03135d543efb
c736578c19df54ee86bf95de4ac73babb3ab3538
refs/heads/master
2023-01-23T19:33:14.018225
2020-12-06T10:25:32
2020-12-06T10:25:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
403
cpp
1284.cpp
#include <iostream> #include <string> using namespace std; int main() { string N = ""; int rst; while (cin >> N && N != "0") { rst = 1; for (string::iterator it = N.begin(); it != N.end(); ++it) { switch (*it) { case '1': rst += 2; break; case '0': rst += 4; break; default: ...
536903b92a1e471b29420ff86021434dd40ee4b4
9b7f8b025d3932939b333ff62f88159f9ff0b490
/leetNgeeks/450/linked_list/addone.cpp
e3593b6d7b7612aa38c5d69dc9772a3ec7e46ddd
[]
no_license
afAditya/Competitive-Coding
b43b64e2ab12a3839a9822e1ec4d9b38620ee251
378fe8b8a95cb1419953052857291cc3afbe3fe4
refs/heads/master
2023-08-21T19:47:31.385873
2021-10-19T05:50:54
2021-10-19T05:50:54
418,787,747
0
0
null
2021-10-19T05:47:47
2021-10-19T05:47:46
null
UTF-8
C++
false
false
2,377
cpp
addone.cpp
// Add 1 to a number represented as linked list void add_(Node *tmp, int &carry) { if(tmp == NULL) { return; } add_(tmp->next, carry); if(tmp->next == NULL) { // last node tmp->data += 1; carry = tmp->data / 10; tmp->data = tmp->data % 10; } else{ tmp->data += carry; carry = tmp->d...
ce23e3787052649742d9b0ac6fafd07dded81017
07fe910f4a2c7d14e67db40ab88a8c91d9406857
/game/mga/Visitor.cpp
cf03b3186e0a7e2017418d274757614e275dc80b
[]
no_license
SEDS/GAME
e6d7f7a8bb034e421842007614d306b3a6321fde
3e4621298624b9189b5b6b43ff002306fde23f08
refs/heads/master
2021-03-12T23:27:39.115003
2015-09-22T15:05:33
2015-09-22T15:05:33
20,278,561
1
0
null
null
null
null
UTF-8
C++
false
false
130
cpp
Visitor.cpp
// $Id$ #include "stdafx.h" #include "mga.h" #include "Visitor.h" #if !defined (__GAME_INLINE__) #include "Visitor.inl" #endif
042047f4dd93fe13b88c8fccf32578d7b6249714
f83b84a510e62620048d919219218f015ab6540f
/Term 5/MIA (Algorithm Implementation)/2/D/main.cpp
4472d08bfb611f3bb9d7d068760b1746448d3443
[]
no_license
MatMarkiewicz/University
951a45048c3e2fb27886df0c3d80d0aa184d2b46
df21207bf556f6f327742060c6ec18fae04b50ac
refs/heads/master
2022-12-04T00:58:33.312712
2022-11-23T22:15:11
2022-11-23T22:15:11
223,774,183
3
0
null
null
null
null
UTF-8
C++
false
false
2,494
cpp
main.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector <int> vi; typedef pair <int, int> pi; typedef pair <ll, ll> pl; typedef vector < pl > vpl; #define SIZE (3 * 1e5 + 42) vpl Graph[ int(SIZE) ]; ll dist[ int(SIZE) ], ancestor[ int(SIZE) ]; set < pi > BAD; ll max_ll = 1e18; void Dijk...
2f07a79f0b431821e961c56be8483deea0c0aa76
b8517ba5faa0e9fb28522838a77093e5a8db3075
/sum_odd_and_even.cpp
0b1ba0954c9a85dd0f011301dc0339d1664f9351
[]
no_license
shah5995/Arrays-coding-practice
43a3487aa8695cdd2755d43666c3c88507a9118b
40df78e71a5857b0d91c79d3e07d5dcbfee6a364
refs/heads/master
2020-04-29T07:11:40.846334
2019-03-29T18:59:30
2019-03-29T18:59:30
175,943,147
1
0
null
null
null
null
UTF-8
C++
false
false
385
cpp
sum_odd_and_even.cpp
#include<iostream> using namespace std; int main() { int i=1; int n; cin>>n; int sum_odd,sum_even; sum_odd=sum_even=0; while(n>0) { if(i%2!=0) { sum_odd=sum_odd+n%10; } else { sum_even=sum_even+n%10; } n=n/10; ...
500fcef7a80d61b84af5b3f455c357aa667c790a
681e33f76b789b0fc6ac6e83594bd3e22a14bd59
/src/FiveOrMore.h
937dc1f8f80b5449118f0573f7529727ce4ed18b
[]
no_license
tsalmon/LOA
88f1bdf9219e25f6035af2cb75212ba2035668f1
8609014afaa57aeef27700a622ec32cfcff97dd4
refs/heads/master
2021-01-01T17:28:11.333877
2014-01-21T10:31:00
2014-01-21T10:32:59
15,285,754
0
0
null
null
null
null
UTF-8
C++
false
false
957
h
FiveOrMore.h
// // FiveOrMore.h // Projet // // Created by Владислав Фиц on 20.01.14. // Copyright (c) 2014 Vladislav Fitc. All rights reserved. // #ifndef __Projet__FiveOrMore__ #define __Projet__FiveOrMore__ #include <iostream> #include <stdlib.h> #include <time.h> #include <stdlib.h> #include "Plateau.hpp" #include "Parti...
c9d872d6d39ff80e7a516c940407c01984381058
de522cdc45c45127b074ff4adb206cbb9148f47b
/src/libautom8/include/autom8/device/device_system.hpp
12b6caf460be1b958e3b2facda3740fcee2b290b
[ "BSD-3-Clause" ]
permissive
clangen/autom8
135c8d73a0256d4b2120e19157e07723ed0af0ab
8add227ffc7b37d7623624a130af6857c404a3a0
refs/heads/master
2023-07-13T11:15:28.326418
2023-05-03T21:38:31
2023-05-03T21:38:31
66,224,538
3
0
NOASSERTION
2020-07-15T21:42:12
2016-08-21T22:58:00
Java
UTF-8
C++
false
false
909
hpp
device_system.hpp
#pragma once #include <memory> #include <autom8/device/device_base.hpp> #include <autom8/device/device_model.hpp> #include <f8n/sdk/ISchema.h> namespace autom8 { class device_system; using device_system_ptr = std::shared_ptr<device_system>; using schema_ptr = std::shared_ptr<f8n::sdk::ISchema>; class...
2766de674eb7f6929ee6c2eec660de4de2ecc1ea
93bf3d52ca3bcf955a6cc559ea5cda9c1bd0418d
/src/hkxclasses/behavior/hkbfootikdriverinfo.h
1c45d09d6f350cdd9f267a7bf112e0faabfd0db6
[ "MIT" ]
permissive
Source-Scripts/Skyrim-Behavior-Editor-
f24b52b9b505ea21f8270d8bcaff38567b379140
7b7167cb18e28f435a64069acbf61eca49a07be3
refs/heads/master
2023-05-11T02:37:26.527654
2020-10-03T01:36:03
2020-10-03T01:36:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,281
h
hkbfootikdriverinfo.h
#ifndef HKBFOOTIKDRIVERINFO_H #define HKBFOOTIKDRIVERINFO_H #include "src/hkxclasses/hkxobject.h" class hkbFootIkDriverInfo final: public HkxObject { friend class FootIkDriverInfoUI; friend class FootIkDriverInfoLegUI; public: hkbFootIkDriverInfo(HkxFile *parent, long ref = 0); hkbFootIkDriverInfo& op...
dcf0b2968422c4029e7c58c596f9d923f5cedde7
b1c0b5a3106d9ac8b8710e0499aa748dd837775a
/xs/src/mw/dbop/mftableviewcontainer.cpp
168a652454d58072170fe03b47d2028b64ef0091
[]
no_license
likefruit/---xs-
49ef47e2f8c57282e27b53902fbd3074f08168a5
c3f42205980a04c6da08ed3df2fe632fc5888a0f
refs/heads/master
2021-01-09T06:40:33.977365
2017-02-06T04:14:45
2017-02-06T04:14:45
81,046,774
0
0
null
null
null
null
UTF-8
C++
false
false
5,866
cpp
mftableviewcontainer.cpp
#include "mftableviewcontainer.h" MFTableViewContainer::MFTableViewContainer(QString tableName, QString md, QWidget *parent) : MFWorkArea(_workFilter = new MFWorkFilter(tableName), _table = new MFTableView(tableName), parent) { _md = md; connect(_workFilter, SIGNAL(addFilter()), this, SLOT(addFilter())); ...
65327ff750a31e2d1f576a95ed839d705a6f664e
0f233ef194fc28dfc84def0ec296f6ed060b2f13
/PRO1/P8/P8_Prod/P37390.cc
5367265b50f841665572ef03603c3bd3da04001a
[]
no_license
joanmaller/UPC-FIB
5a0d5d89f01b243f502cbef730ac4f7f3a77b846
27419df3f3cc78c307aba47fe39c785f843c067c
refs/heads/main
2023-01-22T11:45:48.598902
2020-11-13T13:18:17
2020-11-13T13:18:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
857
cc
P37390.cc
#include <iostream> #include <vector> using namespace std; typedef vector< vector<int> > Matrix; Matrix product(const Matrix& a, const Matrix& b) { int n = a.size(); Matrix result (n, vector<int>(n)); for (int i = 0; i < n; ++i) { for(int j = 0; j < n; ++j) { for(int k = 0; k < n;...
e20fa14b5fea348ee52a4e66349a289dc97ff502
2b6f0d5fb2dfa70186a95afa66d26f3eff29c964
/day05/ex01/main.cpp
264d469a1df993aa976f5936d8594957c758bc8f
[]
no_license
skarryhi/cpp_module
f72260d26bb21a46d70931e1441a3d9a81f5dfc6
a6bd2b1af687c4e571ddae04a03645e916eee618
refs/heads/master
2023-03-26T02:03:26.080942
2021-03-26T13:59:05
2021-03-26T13:59:05
315,029,204
0
0
null
null
null
null
UTF-8
C++
false
false
703
cpp
main.cpp
#include "Bureaucrat.hpp" #include "Form.hpp" int main() { Bureaucrat mike("Mike", 100); std::cout << mike << std::endl; Form lu17("lu17", 100, 10); std::cout << lu17 << std::endl; std::cout << "TEST 1" << std::endl; try { Form lu18("lu18", 180, 10); std::cout << lu18 << std::endl...
98e63b2e0b9f4e98f0f3ea2b0df8d22113357b97
f6b50ee91dee0f9ce68992244ed0cf694c520834
/src/libslic3r/SLA/IndexedMesh.hpp
a923383a7bc4b95ec9dadfeeeca8520bb57e117c
[]
no_license
Megidd/cpp-service
a43d1c0910da0919222f449d2e5c9370db2ce1b0
08b0d632d324227c6e87e3014167244ddcb0d161
refs/heads/master
2023-08-13T23:03:58.585422
2021-10-03T07:43:49
2021-10-03T08:39:59
408,093,949
0
0
null
null
null
null
UTF-8
C++
false
false
4,889
hpp
IndexedMesh.hpp
#ifndef SLA_INDEXEDMESH_H #define SLA_INDEXEDMESH_H #include <memory> #include <vector> #include <Eigen/Geometry> #include "libslic3r/libslic3r.h" #include "libslic3r/Point.hpp" // There is an implementation of a hole-aware raycaster that was eventually // not used in production version. It is now hidden under follo...
3e7594112427a03ef167609bcbf3420681dc9f3d
91a882547e393d4c4946a6c2c99186b5f72122dd
/Source/XPSP1/NT/admin/wmi/wbem/winmgmt/marshalers/coreprox/wmierobj.h
d9ea134aa232380939a3e1096d74aafe86416dbe
[]
no_license
IAmAnubhavSaini/cryptoAlgorithm-nt5src
94f9b46f101b983954ac6e453d0cf8d02aa76fc7
d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2
refs/heads/master
2023-09-02T10:14:14.795579
2021-11-20T13:47:06
2021-11-20T13:47:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,259
h
wmierobj.h
/*++ Copyright (C) 2000-2001 Microsoft Corporation Module Name: WMIEROBJ.H Abstract: CWmiErrorObject Definition. Standard definition for _IWmiErrorObject. History: 18-Apr-2000 sanjes Created. --*/ #ifndef _WMIERROBJ_H_ #define _WMIERROBJ_H_ #include "corepol.h" #include <arena.h> #include "wrapo...
984648a5d42451466d210508ecb32c7a5645ebdd
dafef17b227db4d9ce6e5f0b38e25445b2784bd4
/platformFactory.cpp
7c399c0459d272e51a3dbc154ecec43d45258ef6
[]
no_license
Florane/sdl_game
ba3c2e643a3e7ff17e290bfbbbc1f2667a48e11a
c02b2cbe3040c6edbbfd099e2a4fd2f66387fa08
refs/heads/master
2023-05-08T16:35:07.207973
2021-05-28T11:47:27
2021-05-28T11:47:27
359,912,601
0
1
null
2021-04-22T15:41:17
2021-04-20T18:22:34
C++
UTF-8
C++
false
false
1,357
cpp
platformFactory.cpp
#include "platformFactory.hpp" #include <stdlib.h> #include <stdio.h> void initPlatformFactory(PlatformFactory& factory) { factory.platforms = nullptr; factory.size = 0; } void freePlatformFactory(PlatformFactory& factory) { if(factory.platforms != nullptr) free(factory.platforms); } void loadPl...
ec940eeebf99e5076f3a7ed167cad65075791151
97e762f16065b61082a2b37d8c26d7171daca3bb
/sem_2/ds_lab/problemsheets/ps2/ps2_01.cpp
61d96b94c81801eb38f4bd385384ebc2be012013
[]
no_license
Sheerabth/lab_main
5abd7445e0007bcdba5548357e086ba2bbf48697
6571c0e1b8f18a2900457f472f9ac30fd1c5ccd4
refs/heads/master
2021-09-08T23:29:50.813594
2021-09-06T23:52:48
2021-09-06T23:52:48
224,866,661
0
2
null
null
null
null
UTF-8
C++
false
false
3,015
cpp
ps2_01.cpp
#include<iostream> #include<stdlib.h> using namespace std; int ins(int *ar,int &len,int pos,int ele) { if(pos<1||pos>len+1) { cout<<"Invalid position\n"; return 0; } len++; ar=(int *)realloc(ar,len*sizeof(int)); for(int i=len-1;i>=pos-1;i--) ar[i]=ar[i-1]; ...
432df5597b563ee8e3bcba1363a6cfa50a23d6b4
201bee295c6f96008c8099707f03eff35056b55b
/direct3d.cpp
2202c90975f50f03f45b8579919670e84d7a2d29
[]
no_license
hamildy/Direct-2-Box
9c252939c178f050d982cd91d24139c562d24abd
84d84fecd72ead709ff168cd636cd5bf4f525165
refs/heads/master
2021-01-17T11:58:49.151371
2014-09-01T03:53:19
2014-09-01T03:53:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,614
cpp
direct3d.cpp
#include "direct3d.h" direct3d::direct3d() { direct3d_device = NULL; direct3d_object = NULL; } direct3d::~direct3d() { if(direct3d_device != NULL) { direct3d_device->Release(); direct3d_device = NULL; } if(direct3d_object != NULL) { direct3d_object->Release(); direct3d_object = NULL; } } bool direct...
efbdc935250393c9e2443e1e57c0494ad769774c
d8db27c5e7d8f82e9de20f1e4fca2b0efa2ce327
/morpheus/core/xml_functions.h
c512427b3e53484c2028b263b5c8507d9af525bc
[ "BSD-3-Clause" ]
permissive
lacdr-tox/morpheus-pseudopodia
5217dcb3664b371d5c661e7ed1896ac9f0c0b161
8d4e09863067195f6ddc0aa84d62bf25289abbfd
refs/heads/master
2023-04-15T01:14:10.949236
2017-07-30T17:52:00
2017-07-30T17:52:00
404,118,882
0
0
null
null
null
null
UTF-8
C++
false
false
3,568
h
xml_functions.h
////// // // This file is part of the modelling and simulation framework 'Morpheus', // and is made available under the terms of the BSD 3-clause license (see LICENSE // file that comes with the distribution or https://opensource.org/licenses/BSD-3-Clause). // // Authors: Joern Starruss and Walter de Back // Copyright...
adf6a826272ebc486997cd563fc8d770d1e622d3
17a69a605d20b5e1df953236d4d54ec721a97f80
/mcmc.cc
30d7ede87f68065574290127a36a35a1be119beb
[]
no_license
arnesonr/cstuff
4da628675515de82eb858ae8c2a84c075ebf5108
dc1135524cf9de0ec7b5fe45da38b827b8199cb3
refs/heads/master
2021-01-23T02:06:27.055131
2017-09-05T04:15:41
2017-09-05T04:15:41
102,435,266
0
0
null
null
null
null
UTF-8
C++
false
false
1,057
cc
mcmc.cc
#include <cstdlib> #include <iostream> #include <fstream> #include <cstdio> #include <vector> #include <cmath> #include "mcmc.h" MCMCFile::MCMCFile(const std::string filename){ std::ifstream ifs(filename.c_str()); double n; while(ifs >> n) { _vec.push_back(n); } } double MCMCFile::getNumColumns() const...
f68aa1fe7817f6f7feac7d01f4554c6498cc29ab
10c5bb86a3a322420ddfb4288f05eb26dd6747f0
/queue_stack/leetcode_503.cpp
257fd41c69b06cc050028fd813b32c8fbc8bf38a
[]
no_license
s911335/leetcode
e96d92ba7d8e6bf9328852afc3daf9f0ad7b1b0e
1d8e4a0cc1dc0ba48cfc3742c4e9d98ee30466f3
refs/heads/master
2023-04-08T05:50:36.500427
2021-04-23T01:30:38
2021-04-23T01:30:38
352,994,550
0
0
null
null
null
null
UTF-8
C++
false
false
904
cpp
leetcode_503.cpp
#include<iostream> #include<vector> #include<stack> using namespace std; class Solutions { public: vector<int> nextGreaterElement(vector<int>& nums) { int n = nums.size(); vector<int> result(n,-1); stack<int> st; for(int i = 0; i < n * 2; ++i) { int num = nums[i % n...
47ea4a72cfa5e386b20fee12b413e831aa845bfb
86ff86763884be9df8796c20250e18ae84ff0bfb
/http_server/http_server_handler.cc
669745d58d14cf452cc8c1b7ca7e042c9be6dd66
[]
no_license
caixuanting/trading_system
e598933aa5195b5f00ba191ef51be3161352cf97
408245b12ac7b5c9a746c4906f7628dced901b07
refs/heads/master
2020-03-22T23:15:49.716392
2018-07-14T06:49:59
2018-07-14T06:49:59
140,799,247
5
4
null
null
null
null
UTF-8
C++
false
false
12,682
cc
http_server_handler.cc
// Copyright 2016, Xuanting Cai // Email: caixuanting@gmail.com #include "http_server/http_server_handler.h" #include <string> #include <unordered_map> #include <vector> #include <boost/algorithm/string.hpp> #include <boost/filesystem.hpp> #include <boost/network/uri.hpp> #include <glog/logging.h> #...
abbe1f58413cba3ea5f4cf95e3d8c208bfc054c7
9ed65d06644977f0873e2880ec654cd9988ac5f0
/Assignment 3/Assignment 3/FileReader.h
5265f0ea5a5eb591ce19ff16051242bc88a53ab7
[]
no_license
rNdm74/CPlusPlus
72ddc37f1b217e7472d8ad3c119741b69660b555
2e762b08eee58d5ec6d48e0497345ff5b250dc70
refs/heads/master
2021-01-22T16:45:14.141887
2013-11-10T10:57:25
2013-11-10T10:57:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
560
h
FileReader.h
#pragma once #include "Constants.h" using namespace System; using namespace System::IO; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; /// <summary> /// Summary for FileReader /// /// ...
9def80703b5ebed12ba2f6a79227175ff70a3397
e3505cfd86c57b1869c2885a3a44550af552d483
/source/testing/cxtestCatchImpl.cpp
e40c43ce040461a349420a405c7eddcce5137d41
[ "BSD-3-Clause" ]
permissive
leettran/CustusX
afb6a3bc6607bf28fa1c94f94b66cf9979728cd5
b4e64e0db364da189ee9eafa54ce0ab258f5105a
refs/heads/master
2021-07-14T03:33:55.038281
2017-02-09T09:29:57
2017-02-09T09:29:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,683
cpp
cxtestCatchImpl.cpp
/*========================================================================= This file is part of CustusX, an Image Guided Therapy Application. Copyright (c) 2008-2014, SINTEF Department of Medical Technology All rights reserved. Redistribution and use in source and binary forms, with or without modification, are per...
3089b8f69498bf09ebadae71de5d3e842c89e010
80b98d629f432d2224bd9888fb2450ea312a98a6
/retrace/glws.cpp
f89f980c5f8094928f0a5d8db391d78db792508b
[ "MIT" ]
permissive
juhapekka/apitrace
a0139771bbe28ad6bb2f4366cf1c95aa8a1bab85
fbe75280a74915428259a5f153bcaf07923a23a7
HEAD
2016-09-06T00:59:00.973569
2013-08-12T09:56:22
2013-08-12T09:56:22
12,052,758
3
1
null
null
null
null
UTF-8
C++
false
false
3,174
cpp
glws.cpp
/************************************************************************** * * Copyright 2011 Jose Fonseca * All Rights Reserved. * * 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 wit...
7d11593cc70d1f8d9cadb9fb4859c737778be8c0
63c0a2b1eb2efdcd73083bb01a58e4c194304f37
/docktest/docktest/docktest/desktop.h
5838baba76431434e278001098ac327bcf7debc5
[]
no_license
zhanxiangqian/myproject
79b7c69417081c993a79048bd3f12fcb96600f88
a4fb7ea2300cae471ef5413ed21ca1a718e69b9a
refs/heads/master
2021-01-19T14:13:46.186750
2017-04-20T03:03:49
2017-04-20T03:03:49
87,530,513
0
0
null
null
null
null
UTF-8
C++
false
false
430
h
desktop.h
#ifndef DESKTOP_H #define DESKTOP_H #include <QtWidgets/QMainWindow> #include "ui_test.h" #include "modeldata.h" class DeskTop:public QMainWindow { Q_OBJECT public: DeskTop(QWidget *parent = 0); ~DeskTop(); ModelData* m_pdata; private: Ui::MainWindow ui; void initUI(); public slots: void setradiobtn(); void o...
5e2b17ec954e70cd73f4fdc15f8a71e30984757f
c5e783c92a45b0f7540b31ef0e2b8e86907ba602
/core/include/projectile.hpp
9b8673961aed44fd09fb5b43bd5f17c0c68d78a5
[]
no_license
Aarhus-University-ECE/SOFACE-assignment-12
b10a19fbb629f483af77ae215297a340a498213e
415bf5efc9a1242cc7097ee7ab7e0fdea4f15844
refs/heads/master
2023-04-20T15:00:41.049869
2021-05-07T11:56:48
2021-05-07T11:56:48
365,217,821
0
0
null
null
null
null
UTF-8
C++
false
false
118
hpp
projectile.hpp
#pragma once class Projectile { public: int damage; Projectile(int damage) : damage(damage) { } };
adbb6be329b1651ce22a091bf1b0b8ae557e0996
c4307c5dbd8504f746fb17b72659b3efc98b934f
/src/main.cpp
2ea0e72ae703a6befb6c94abb79dd9e758434951
[]
no_license
sippeangelo/wlanauto
411128b92bcfd32d776dda65d255cbf497c86913
37961e6c5f3e122604a3c850be35dbd68c701951
refs/heads/master
2021-01-19T06:42:39.267460
2011-05-31T09:43:20
2011-05-31T09:43:20
1,803,220
1
0
null
null
null
null
ISO-8859-1
C++
false
false
8,899
cpp
main.cpp
#include <Windows.h> #include <WinSvc.h> #include <stdio.h> #include <wlanapi.h> #pragma comment(lib, "wlanapi.lib") #include <iostream> #include <string> #include "log.h" #include "NetworkAdapterFactory.h" #include "NetworkAdapter.h" // Visual Leak Detector //#include <vld.h> std::string StringFromGUID(GUID guid) { ...
d0ae5a50238de18b2c4b1dea6553239a062cad10
5f3e499510173815d802fab0004166e62725fb4b
/ENCORE/src/renderers/Renderer.h
f58bfed0cba871fec85cbaccaa7f392014940d78
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
digideskio/ENCORE
191c710c5123804c8de7603442c0434ab141d880
8ede6dcf19d02851118ba5a85dd70d1548b905c8
refs/heads/master
2020-05-02T09:26:30.616898
2013-12-08T05:38:54
2013-12-08T05:38:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,090
h
Renderer.h
////////////////////////////////////////////////////////////////////////// // ENCORE PROJECT // // Project description and license goes here. // // Developed By // Chen-Hao Chang: chocobo7@WPI.EDU // Brandon Light: brandon@alum.wpi.edu // Peter Lohrman: plohrmann@alum.WPI.EDU /////////////////////...
5270935b333c18dc114e5da6c739b02c1bd75c28
31db379dd9b76cdcb9fd63a30b9911a75ed479f3
/project1-resources/run-grid-coarse-KVLCC2-SA-stampede2/constant/triSurface/kvlcc2_line1b-mirrored.eMesh
426d86dfc1c66300fe4ba743f1c975cd27831f21
[]
no_license
kjmaki/na423-2020
fe2e236ea680ee48c5aeac0f4b72fcfca3ac2eff
b4971f7101cdfa78b048610d5c1321eb90089e48
refs/heads/master
2023-01-28T23:05:28.464870
2020-12-08T20:50:59
2020-12-08T20:50:59
298,060,453
1
0
null
null
null
null
UTF-8
C++
false
false
17,621
emesh
kvlcc2_line1b-mirrored.eMesh
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.4.x | ...
ab499eea8bdcb14e84d4a26dabf34cf06629529a
44c64a65a1148728b9f33c1f8dd6c8de5b7af95e
/tests/osg_widget/OSGWidget.h
ab5a998c5d37752b689b445871e8dcdcd9b06dfd
[]
no_license
wangfeilong321/test_osg
0a36381f53095f47f79f807483ce75e3ec6572e5
0c20e55b870f5069665122ec8118a542607200d3
refs/heads/master
2021-01-14T13:07:11.522705
2015-12-30T18:38:32
2015-12-30T18:38:32
48,838,585
0
1
null
2015-12-31T07:04:14
2015-12-31T07:04:14
null
UTF-8
C++
false
false
1,388
h
OSGWidget.h
#ifndef OSGWidget_h__ #define OSGWidget_h__ #include "visual/visual_widget.h" #include <QPoint> #include <QOpenGLWidget> namespace visual { class VISUAL_API OSGWidget : public QOpenGLWidget , public visual_widget { Q_OBJECT public: OSGWidget( QWidget* parent = 0, Qt::WindowFlags f = 0 );...
06b67f7c220459b6f4306ea2f9d1b249f93a64a9
93deb00f6967a21639a97d788932fa8b9386802d
/ThayXuan/[_VuAnhHuy][INCPOS].cpp
7edf6421e8d474f5ab9395ef8fe8377920a67a36
[]
no_license
yakuza-h/cpp
54f07d4e3a44ec1eb3ac34f778bc224d1f12c2ab
48e09ac64b1ea8ed3051fa8e7b776d8ba8505b90
refs/heads/master
2022-03-29T14:27:11.608876
2020-02-03T05:48:56
2020-02-03T05:48:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
420
cpp
[_VuAnhHuy][INCPOS].cpp
#include <bits/stdc++.h> using namespace std; long N, Q, l, r; long long x; long long A[2000001]; int main () { cin >> N >> Q; long cnt = 0; for (long i = 1; i <= N; i ++) cin >> A[i]; for (long i = 1; i <= Q; i ++) { cin >> l >> r >> x; for (long j = l; j <= r; j ++) A[j] += x; for (long j = 1; j <...
0ed536100834a981c3f73d2e20c8739d7c36ec29
b4ba3bc2725c8ff84cd80803c8b53afbe5e95e07
/Medusa/MedusaCore/Core/Event/Poll/SelectPoller.h
a01bf1c5219b493e53d7d08269f205be7becae7f
[ "MIT" ]
permissive
xueliuxing28/Medusa
c4be1ed32c2914ff58bf02593f41cf16e42cc293
15b0a59d7ecc5ba839d66461f62d10d6dbafef7b
refs/heads/master
2021-06-06T08:27:41.655517
2016-10-08T09:49:54
2016-10-08T09:49:54
null
0
0
null
null
null
null
UTF-8
C++
false
false
648
h
SelectPoller.h
// Copyright (c) 2015 fjz13. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. #pragma once #include "MedusaCorePreDeclares.h" #include "IPoller.h" #ifdef MEDUSA_WINDOWS #include <WinSock2.h> #endif MEDUSA_BEGIN; class SelectPoller :public IP...
228db171950bbbe9e58f056853df664af6d9ca24
3a85ce2e7564d71f00aee149ecbcd373002de0b1
/esp01_lgt8f328p_clock/esp8266_mini_ds1307_ntp_set_read_time_xiugai/esp8266_mini_ds1307_ntp_set_read_time_xiugai.ino
269bd330164b26277ff252003559a55701ffd78f
[]
no_license
cnc4less/arduino_esp8266_lgt8f328p
3d4ad0d6bc61bff2f95d7a8466a20f383617f640
7b758ac9d686707d338a361ed7d14360fe596807
refs/heads/master
2023-06-02T01:07:14.002724
2021-06-24T06:15:09
2021-06-24T06:15:09
397,990,537
1
0
null
2021-08-19T15:30:26
2021-08-19T15:30:26
null
UTF-8
C++
false
false
10,878
ino
esp8266_mini_ds1307_ntp_set_read_time_xiugai.ino
/*********************************************************************** // ESP8266 网络同步时间后设置DS1307时间 //用到的库 // Grove - RTC DS1307; //这个应该是可以不断的NTP的,原来那个到底是编译器BUG还是写的问题,不知道了。。。。 因为用的ESP01 使用RX TX做I2C,而开发板使用的d1 mini的模板,所以 从这里改下定义 .arduino15/packages/esp8266/hardware/esp8266/2.6.3/variants/d1_mini/ 改成如下的:...
ae49d2b51e50e32438b6e9e0d7a1dae1380cebe1
3b97b786b99c3e4e72bf8fe211bb710ecb674f2b
/TClient/Tools/TConfigMP/TConfigMPDlg.h
317f3cb83dc1a5a37fba132c2dc68ba27dcda061
[]
no_license
moooncloud/4s
930384e065d5172cd690c3d858fdaaa6c7fdcb34
a36a5785cc20da19cd460afa92a3f96e18ecd026
refs/heads/master
2023-03-17T10:47:28.154021
2017-04-20T21:42:01
2017-04-20T21:42:01
null
0
0
null
null
null
null
UHC
C++
false
false
1,542
h
TConfigMPDlg.h
// TConfigMPDlg.h : 헤더 파일 // #pragma once #include "afxwin.h" #define TMAX_CHECK_CODE_SIZE ((BYTE) 7) #define TMIN_CHECK_CODE_SIZE ((BYTE) 3) #define TESSPROC_COUNT (2) // CTConfigMPDlg 대화 상자 class CTConfigMPDlg : public CDialog { // 생성 public: CTConfigMPDlg(CWnd* pParent = NULL); // 표준 생성자 // 대화 상자 데이터 ...
7f014031911eceb8422613b7631e9120af993cfb
98ef9f82f45320df070f670eac258c8365113642
/algorithm/two_pointer/680. 验证回文字符串 Ⅱ.cc
030b9b5d7d2b1b69a679f0471ca6e4fa0e274d3d
[]
no_license
FrankWork/LeetCode
abbf6125b57e143073f89daf5cbcbd8ff67bb78b
6ec0c0d43cf4e8ef968051a4d125c4965d58e4f5
refs/heads/master
2021-01-22T07:27:43.963950
2018-11-12T08:44:18
2018-11-12T08:44:18
39,978,490
1
0
null
null
null
null
UTF-8
C++
false
false
664
cc
680. 验证回文字符串 Ⅱ.cc
#include "template.h" class Solution { public: bool validPalindrome(string &s) { /* 若在 l, r两个位置不构成回文,继续验证 s[l+1, r], s[l, r-1] */ int n=s.length(); int c=0; int l=0,r=n-1; while(l<=r){ if(s[l]==s[r]){ l++;r--; }else{ ...
868e29896ea338f21604b164bcc2a7b550559e0b
f83274377bc795a7968fc5c7403e656b27b12dc4
/library/jni/bgjs/BGJSJavaWrapper.cpp
a3f549932a30cf20eb3bb32a97b36ccea9baa7a7
[ "MIT" ]
permissive
mcanthony/ejecta-v8
ee35be47ffdaaa0e4eddfa4ab35a34c109cd26ae
cb8de89e5d6bbca4b51584f01982e46766919235
refs/heads/master
2021-01-14T12:26:00.169457
2014-06-18T13:05:27
2014-06-18T13:05:27
44,303,048
1
0
null
2015-10-15T08:12:50
2015-10-15T08:12:50
null
UTF-8
C++
false
false
22,092
cpp
BGJSJavaWrapper.cpp
#include "BGJSContext.h" #include "BGJSJavaWrapper.h" #include "mallocdebug.h" #include <assert.h> using namespace v8; /** * BGJSJavaWrapper * Helper class to wrap v8 objects in Java objects * * Copyright 2014 Kevin Read <me@kevin-read.com> and BörseGo AG (https://github.com/godmodelabs/ejecta-v8/) * Licensed u...
a1c342bcff283201d017eab4912d5f3f30638293
dab868c6eb63f1b1434b105a04c473769ebd6890
/02_sdl_basics/14_15_sdl_button/main_scene.h
4296e8feda7d2914f835e55d155e67c0a47b261c
[ "MIT" ]
permissive
Relintai/programming_tutorials
53878b1cb6bdd76703fc08b6f59abdf726af5a9a
5176b9fef8dbeff4ac38f0abb47c361fc8b7616c
refs/heads/master
2023-06-17T03:29:06.665253
2021-07-06T10:09:19
2021-07-06T10:09:19
355,824,431
1
1
null
null
null
null
UTF-8
C++
false
false
555
h
main_scene.h
#ifndef MAIN_SCENE_H #define MAIN_SCENE_H #include "scene.h" #include "image.h" #include "texture.h" #include "sprite.h" #include "camera.h" #include "button.h" class MainScene : public Scene { public: void event(const SDL_Event &ev); void update(float delta); void render(); //ver a static void on_first_button...
9194a80bb541c74765639b373103e3710a5b1600
ee7591fe5d9eed38ca9a9738d89ce49f029e3438
/include/commands/MoveForward.h
70e2c0e9983ca10e1dc50db1f4b896a22cfa00d7
[]
no_license
user160244980349/course-work-opengl
c1a90278595386d0858c7019d945a509a7d88d09
6fa84acfee05877e753b403116937999be88d424
refs/heads/master
2022-11-20T05:08:02.386627
2020-07-21T23:14:52
2020-07-21T23:14:52
267,571,948
0
0
null
null
null
null
UTF-8
C++
false
false
272
h
MoveForward.h
#ifndef OPENGL_MOVEFORWARD_H #define OPENGL_MOVEFORWARD_H #include "BaseInputCommand.h" class MoveForward : public BaseInputCommand { public: explicit MoveForward(IControlable &object); void execute(SDL_Event event) override; }; #endif //OPENGL_MOVEFORWARD_H
26a5587fb6304a46c34d5dc6697f429c0c2318b5
455d11cb473c4cb14144e787765648334a22ca3c
/windows/cpp/samples/LockMedium/main.cpp
9683435af8a9860555d5839b9927224e2c2d80fc
[ "MIT" ]
permissive
primoburner/primoburner-samples
5f7b01af7eac6dd44df38c29ec1ce0883cf8fac7
4b5e30ffec23569a21f07d4cb8200459273f7a0c
refs/heads/main
2022-12-28T01:16:12.537654
2020-10-08T03:38:58
2020-10-08T03:38:58
302,222,862
0
0
null
null
null
null
UTF-8
C++
false
false
3,540
cpp
main.cpp
#define _CRT_NON_CONFORMING_SWPRINTFS #define _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES 1 #define _BIND_TO_CURRENT_CRT_VERSION 1 #include <tchar.h> #include <conio.h> #include <stdio.h> #include "PrimoBurner.h" using namespace primo::burner; void PrintError(const ErrorInfo...
7c9a8bf1b6a9c461af113b8e25e9237ec37cf133
f2348fd37cc7a48a406a1bac5d26ba04f01e93b8
/viewer/src/common/application.cpp
909812dfd26396bd3f0b17a7badf46e60d8040c0
[]
no_license
huisedenanhai/YASL
5b3010e4aeca426bb01dc102f00dcbb8036d7b76
de1ebd654b0e1414f356f14b271cc4a12a5d4767
refs/heads/main
2023-08-13T16:33:58.478791
2021-10-11T10:39:22
2021-10-11T10:39:22
374,130,074
0
0
null
null
null
null
UTF-8
C++
false
false
6,538
cpp
application.cpp
#include "application.hpp" #include "data.hpp" #include "utils.hpp" #include <GL/glew.h> #include <GLFW/glfw3.h> #include <ctime> #include <glm/gtc/matrix_transform.hpp> #include <imgui/imgui.h> #include <imgui/imgui_impl_glfw.h> #include <imgui/imgui_impl_opengl3.h> #include <iostream> #include <sstream> #include <stb...
ec4563f022fa632bf13f4bc65b64140e0a106a77
745b06ecfe965db5e107a802e6d8f0eb3113e4b8
/src/main.cpp
f3a11f1c63426783437c33b9044995b9542e2ae8
[]
no_license
lvyong1943/EPNP-Eigen
dac0bbf50fbed9af006600756c59374098c57205
cd64db4347783d0287885e6b987628711daebdac
refs/heads/master
2021-08-12T06:29:37.865844
2017-11-14T14:07:57
2017-11-14T14:07:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
254
cpp
main.cpp
#include "pnp_solver.h" int main() { PnpSolver solver; solver.set_internal_parameters(320,240,800,800); solver.set_maximum_number_of_correspondences(10); solver.add_correspondence(Eigen::Vector3d(1.0,1.0,1.0),Eigen::Vector2d(1.0,0.0)); }
4229227bd03eaa24e8e003729fea8939f69b8f57
532da9a6ae38ec3597980024386415c1277d3235
/寒假集训/2018/UESTC 2018 Winter Training #3 /i.cpp
4703fa394474eb917d75c59a72355e86e8745f9e
[ "MIT" ]
permissive
emengdeath/acm
3ce1b787760a717f1c1a763ce41081966ce05c6b
cc1b0e067464e754d125856004a991d6eb92a2cd
refs/heads/master
2021-09-13T16:27:23.245566
2018-05-02T08:33:11
2018-05-02T08:33:11
113,721,894
0
0
null
null
null
null
UTF-8
C++
false
false
1,487
cpp
i.cpp
#include<iostream> #include<cstdio> #include<algorithm> #define N 100001 using namespace std; int a[N]; bool f[2][21][21][2][2]; bool help[2][21][21]; int n,m; int turn(int x){ int y=1,z=1; bool sig=1; while (y*10<=x)y*=10; while (y){ if (x/y%10!=x/z%10){ sig=0; break; } y/=10; z*=10; } int sig2=2; ...
c98e69b4e33c1ee5334e5edd6e903c6b342764cc
3179943d68996d3ca2d81961be0ac207300b7e4a
/pa2-algorithmbase/cy0201-POJ2748-2.cpp
8b7a5cd9775dca7a78bc42f5b45850efa76e4551
[]
no_license
xucaimao/netlesson
8425a925fa671fb9fd372610c19b499b0d8a6fc2
088004a9b758387ae6860e2a44b587b54dbbd525
refs/heads/master
2021-06-07T06:24:35.276948
2020-05-30T07:04:02
2020-05-30T07:04:02
110,668,572
0
0
null
null
null
null
UTF-8
C++
false
false
885
cpp
cy0201-POJ2748-2.cpp
/* 程序设计与算法(二)第二周测验 全排列 POJ2748 write by xucaimao,20171121 此处的方法就是采用回溯法,只对不含重复元素的数据正确 程序简洁,运行速度更快 */ #include<cstdio> #include<cstring> const int maxn=6+1; char src[maxn]; char tar[maxn]; int vis[maxn]; void permutation(int len,char * src,char * tar,int pos){ //生成原始字符串src的全排列,放在tar中 //tar[0..pos)是全排列的前半部,后半部放在tar[pos...
3f3aabaec4bbaa3ad19262872c5dd3e581eaee7d
cdf8d92734d468bf6eed1187adb215b62304c9db
/GuardianTrainer/Guardian/SendPacket.cpp
b5785625cd2649811f5c2e2a792b6c4e301e493f
[]
no_license
TheDarkX/Guardian-Trainer
1461d5ba8b3b9a301bc3bd2530dd77ff1eb0986d
666c326f5fa45927367803abbfa8171ea2da18c9
refs/heads/master
2021-06-03T01:09:39.608277
2020-03-01T03:32:06
2020-03-01T03:32:06
72,711,832
0
0
null
null
null
null
UTF-8
C++
false
false
2,723
cpp
SendPacket.cpp
#include "SendPacket.h" unsigned long ulFakeReturnAddy = SendAddy - 9; typedef void (__fastcall* lpfnSendPacket)(LPVOID lpvClass, LPVOID lpvEDX, COutPacket* pPacket); typedef void (__fastcall* lpfnRecvPacket)(LPVOID lpvClass, LPVOID lpvEDX, CInPacket* pPacket); lpfnSendPacket MSSendPacket = reinterpret_cast<lpfnS...
2125cea6933a77853961ee1ab3ad728ebabf4ae6
35cbc0049d0c88cd9282a3c82980500bc2093cf2
/2019-1-31/D.cpp
744252581f1c58c164490b0298122f9f97c73622
[]
no_license
ciwomuli/NOIP2017exercise
9f96026a7c88548a0d2783374b0a9582012acf33
e13a818f14da49b3ec94626e7f664301a9da985e
refs/heads/master
2023-01-22T14:02:02.850686
2020-12-04T14:21:08
2020-12-04T14:21:08
108,097,370
0
0
null
null
null
null
UTF-8
C++
false
false
1,252
cpp
D.cpp
#include <algorithm> #include <cctype> #include <climits> #include <cmath> #include <cstdio> #include <cstring> #include <set> #include <iostream> #include <queue> #include <stack> #include <vector> #define LL long long #define P pair<pair<int,int>,int> #define MP make_pair using namespace std; template <typename T> in...
58a97647e54a4629185f9fcaa8f0fa3dd86cef3c
613648e67a71f02bc0806b9a27ae99fced735f7f
/Laporan 9 Struktur/contoh/Untitled5.cpp
2c92c119fc7fd19b712f6c2edd6d1acd489aeac8
[]
no_license
Dwirinas/Pemrograman-Terstruktur
c85c5379032b4f5fa39af985c551ef15eba11189
401f83aba45884c14105d9144687549dd3b2fdf8
refs/heads/master
2020-09-10T05:45:34.837773
2019-11-14T10:09:04
2019-11-14T10:09:04
221,663,527
0
0
null
null
null
null
UTF-8
C++
false
false
743
cpp
Untitled5.cpp
/* File program : cetak1.c Melewatkan elemen struktur sbg parameter fungsi scr nilai */ #include <stdio.h> void cetak_tanggal(int, int, int); main() { struct date { /* definisi lokal dari tipe date */ int month; int day; int year; } today; printf("Enter the current date (mm-dd-yyyy): "); sc...
a0b0c42878fe5c542679352365f07a3bcc96330f
60205812b617b29713fe22dcb6084c4daed9da18
/00-Keypoint_in_WangDao/Chapter_05-Tree/00-Binary_Tree/00-Basic_Binary_Tree/00-BiTree_typedef/01-BiTree_typedef_with_LinkList.cpp
2bad6af259b8ec360f7b14bec63e1749b60e95dd
[ "MIT" ]
permissive
liruida/kaoyan-data-structure
bc04d6306736027cb5fc4090a2796aca7abbbaa4
d0a469bf0e9e7040de21eca38dc19961aa7e9a53
refs/heads/master
2023-04-02T19:57:49.252343
2021-01-03T07:20:11
2021-01-03T07:20:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
123
cpp
01-BiTree_typedef_with_LinkList.cpp
typedef int ElemType; typedef struct BiTNode { ElemType data; struct BiTNode *lchild, *rchild; } BiTNode, *BiTree;
9f05225dc237ff97cbe8dcd5a8b2625cf17c35c0
c4e1b2fad57e164b1ec250d7ef58ca6b325be916
/UVa/10200/10200.cpp
fb4826eeda94b7693b4d9c8f983f0bea37104a12
[]
no_license
xSeanliux/CompetitiveProgramming
ab8030fdb0dc9c4e29e4cc8c52e020e6eb564372
011c7ad152d7090fa3e9143a27119a2192d68144
refs/heads/master
2023-06-08T11:00:48.826892
2023-05-25T22:58:43
2023-05-25T22:58:43
158,057,461
0
0
null
null
null
null
UTF-8
C++
false
false
1,280
cpp
10200.cpp
#include <iostream> #include <vector> #include <math.h> #define N 20000 using namespace std; bool isPrime[N + 45]; vector <int> primes; int a, b, arr[N + 5]; int f(int n){ return n*n + n + 41; } void getPrimes(){ for(int i = 0 ; i < N; i++){ isPrime[i] = i % 2; } isPrime[1] = false; isPri...
c62ef16d05109b70d7c52b7b87e67a2f26d64804
a0ae9c6051b9ec567583cacb4e6b03258956fcc6
/CPlusPrimer/IntroductionToAlgorithm/FindMaxmumSubarray.cpp
6b1d5035b4aa7dfa0e0ab7fa7c0d8843473866fe
[]
no_license
Shangsrs/CPlusPlus
7560ea327d62e0bacceeb183105536ca58273006
3d55a04c693fd15e6eb901c33f3f5f65c2410458
refs/heads/master
2020-05-25T12:44:56.712736
2019-12-25T13:36:58
2019-12-25T13:36:58
187,806,536
0
0
null
null
null
null
UTF-8
C++
false
false
3,576
cpp
FindMaxmumSubarray.cpp
#include <iostream> using namespace std; int randomCreate(int seed, int range) { int flag = 1; srand(seed); srand(rand()); srand(rand()); if(rand()%2==0) flag=-1; srand(rand()); return flag*rand()%range; } int randomCreate(int range) { int flag = 1; srand(time()); if(rand()%2==0) flag=-1; srand(rand()...
f6c0dc0d02c7de1373e8bf2c53d24780155ad3ea
cd470ad61c4dbbd37ff004785fd6d75980987fe9
/Codeforces/1466G Song of the Sirens/std.cpp
e8360a552ab725047d515b2060a028344669fc31
[]
no_license
AutumnKite/Codes
d67c3770687f3d68f17a06775c79285edc59a96d
31b7fc457bf8858424172bc3580389badab62269
refs/heads/master
2023-02-17T21:33:04.604104
2023-02-17T05:38:57
2023-02-17T05:38:57
202,944,952
3
1
null
null
null
null
UTF-8
C++
false
false
1,635
cpp
std.cpp
#include <bits/stdc++.h> const int P = 1000000007; std::vector<int> KMP(std::string s) { int n = s.size(); std::vector<int> fail(n + 1); fail[0] = -1; fail[1] = 0; for (int i = 1, j = 0; i < n; ++i) { while (j && s[j] != s[i]) { j = fail[j]; } if (s[j] == s[i]) { ++j; } fail[i + 1] = j; } retur...
1e8692c47371152dca73fc69bbb3501660e9e4f4
b0c66358ae5c0386db5887e2609929e753c38d18
/arch/atcoder/agc020/AMoveAndWin.cpp
915feeaab86ef615969148b9aa8172fb41124c25
[]
no_license
michalsvagerka/competitive
e7683133ee5f108429135a3a19b3bbaa6732ea9f
07f084dff6c1ba6f151c93bf78405574456100e4
refs/heads/master
2021-06-07T14:54:35.516490
2020-07-07T08:17:56
2020-07-07T08:19:09
113,440,107
4
0
null
null
null
null
UTF-8
C++
false
false
264
cpp
AMoveAndWin.cpp
#include "../l/lib.h" class AMoveAndWin { public: void solve(istream& cin, ostream& cout) { int N, A, B; cin >> N >> A >> B; if ((A+B)%2 == 0) { cout << "Alice\n"; } else { cout << "Borys\n"; } } };
3959c777f2f9b9a773c1967e940a4337dabf441d
e2e556a03becdc64ac55150d2260683f806f3fab
/UVA/accepted/acm10940.cpp
d995fdd07e09f86ab189939ce9c0e2ec717bd145
[]
no_license
sumsuddin/ProblemSolving
bdf9bd9639d072c18946e82817593df660031cf2
832ca60cfe66fb35562b7877e8b33fa5e8d8b6ea
refs/heads/master
2020-06-17T10:37:49.326394
2016-11-28T20:48:46
2016-11-28T20:48:46
75,012,514
1
0
null
null
null
null
UTF-8
C++
false
false
408
cpp
acm10940.cpp
#include<stdio.h> #include<math.h> long i,n,get,st,d; int main() { while(scanf("%ld",&n) && n) { get=i=d=0; st=1; while(n>1 || (n==1 && d)) { if(get==0) st=st+(long)pow(2,i); if((get==0 && n%2==0)) get=0; else if(get==1 && n%2) { get=0; n++; } else ...
d434f248581f35b3bceaa5f20e0c0b8594ae84f1
6ef5abd25e55aa137afe98527e8d8d32005f3acc
/glox/token.cpp
625b4622e96714ecda9ae485704d731981ea2a6a
[]
no_license
goksuguvendiren/glox
7abada4ebd598cf38f823ff08febc27388d91e56
5618f529cd9d4dad5585629cac774dcaa2551813
refs/heads/lexer
2023-08-07T18:08:49.659825
2021-09-06T07:12:23
2021-09-06T07:12:23
396,217,873
1
0
null
2021-09-06T07:12:24
2021-08-15T04:44:43
C++
UTF-8
C++
false
false
3,097
cpp
token.cpp
// // Created by Göksu Güvendiren on 8/14/21. // #include "token.hpp" #include <utility> #include <iostream> namespace glox::scanner { std::ostream &operator<<(std::ostream &os, const token &dt) { os << dt.type << " (" << dt.lexeme << ")"; return os; } token::token(token_type type, std::string lexeme, int l...
9023a1eacaa26a2e1f5fcb18e6cb1d690370c415
fb0f9abad373cd635c2635bbdf491ea0f32da5ff
/src/coreclr/nativeaot/Runtime/windows/PalRedhawkCommon.cpp
fd8cdbfe75264527f579b2f042e6fb6c36d1eeab
[ "MIT" ]
permissive
dotnet/runtime
f6fd23936752e202f8e4d6d94f3a4f3b0e77f58f
47bb554d298e1e34c4e3895d7731e18ad1c47d02
refs/heads/main
2023-09-03T15:35:46.493337
2023-09-03T08:13:23
2023-09-03T08:13:23
210,716,005
13,765
5,179
MIT
2023-09-14T21:58:52
2019-09-24T23:36:39
C#
UTF-8
C++
false
false
5,922
cpp
PalRedhawkCommon.cpp
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // // Implementation of the portions of the Redhawk Platform Abstraction Layer (PAL) library that are common among // multiple PAL variants. // // Note that in general we don't want ...
f9eeee9e704f5d4f84a8f357d08c7c0d38efaad6
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_5530.cpp
e258f554a462527b4aec220ba039167028c43bd5
[]
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
205
cpp
Kitware_CMake_repos_basic_block_block_5530.cpp
{ gss_delete_sec_context(&gss_status, &gss_context, NULL); gss_release_name(&gss_status, &gss_client_name); gss_release_buffer(&gss_status, &gss_send_token); return CURLE_OUT_OF_MEMORY; }
a6689fe12c196833f2f7f25cac025c92ce3187fc
fd7a379cb5ab6bacb88b088180f6ce6791b9ee98
/LOJ/drunk.cpp
fbf223b7e7d47c8fd1fd75572931c13692708d21
[]
no_license
heheh13/Programming
504b0dbfca9b6c6ec9150a170e2f358037e99702
f652d924504106aa6b7e654643cf527c8616d152
refs/heads/master
2021-07-17T15:33:20.862070
2020-06-23T20:11:19
2020-06-23T20:11:19
182,564,847
0
0
null
null
null
null
UTF-8
C++
false
false
1,515
cpp
drunk.cpp
#include<bits/stdc++.h> #define read() freopen("C:\\Users\\Mehedi\\Desktop\\input.txt","r",stdin) #define write() freopen("C:\\Users\\Mehedi\\Desktop\\output.txt","w",stdout) #define debug(x) cout<< #x<<" = "<<x<<endl; #define dbg(x,y) cout<<#x<<" = "<<x<<" , "<<#y<<" = "<<y<<endl; #define optimizar ios_base::sync...
55f7e5ad0208115965143062d8fdd5feb4f51014
ad74f7a42e8dec14ec7576252fcbc3fc46679f27
/FastTrackGift/ConnectionModuleStatusData.h
bc1c9b045ce2594a066f4ffc18e88146ff24277c
[]
no_license
radtek/TrapperKeeper
56fed7afa259aee20d6d81e71e19786f2f0d9418
63f87606ae02e7c29608fedfdf8b7e65339b8e9a
refs/heads/master
2020-05-29T16:49:29.708375
2013-05-15T08:33:23
2013-05-15T08:33:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
849
h
ConnectionModuleStatusData.h
// ConnectionModuleStatusData.h #pragma once #include "SupernodeHost.h" #include "ProjectStatus.h" //#include "ProjectKeywords.h" class ConnectionModule; class ConnectionModuleStatusData { public: // Public Member Functions ConnectionModuleStatusData(); ~ConnectionModuleStatusData(); void Clear(); void ClearCoun...
6789277786d5445ed64b80fb9a3111cab8b1d66f
c69cdcda091177bc713778c0059d5da49a02aa5a
/DynamicProgramming/BOJ-9461-solved.cpp
c8e1701b432e72ecdc5718077e98b4887224a028
[]
no_license
h-dyeon/Algorithm
a5e04dfefd39aec19821812a5fe1a347ac7e9a94
56ef5e3b88283ef5b6117bca25fc5e310949c96d
refs/heads/master
2022-05-18T06:57:32.584377
2022-04-22T13:31:24
2022-04-22T13:31:24
225,291,511
0
0
null
null
null
null
UTF-8
C++
false
false
306
cpp
BOJ-9461-solved.cpp
#include <iostream> #include <algorithm> long long dp[101] = { 0,1,1,1,2,2,3,4,5,7,9 }; using namespace std; int main() { int t; scanf_s("%d",&t); for (int i = 11; i < 101; i++) { dp[i] = dp[i - 1] + dp[i - 5]; } while (t--) { int n; scanf_s("%d", &n); printf("%lli\n", dp[n]); } return 0; }
7880c465dd907308320ea7e49129eff8ec174df9
65f9576021285bc1f9e52cc21e2d49547ba77376
/LINUX/android/vendor/qcom/proprietary/vam/vam_sim/inc/VASimConfig.h
9d23f5aaf05b5866138ef2004894410e866f7f2f
[]
no_license
AVCHD/qcs605_root_qcom
183d7a16e2f9fddc9df94df9532cbce661fbf6eb
44af08aa9a60c6ca724c8d7abf04af54d4136ccb
refs/heads/main
2023-03-18T21:54:11.234776
2021-02-26T11:03:59
2021-02-26T11:03:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,190
h
VASimConfig.h
/* * Copyright (c) 2016, Qualcomm Technologies, Inc. * All Rights Reserved. * Confidential and Proprietary - Qualcomm Technologies, Inc. */ #ifndef _VASIMCONFIG_H_ #define _VASIMCONFIG_H_ #include <vector> #include <map> #include <string> #include <ConfigBase.h> class VASimConfig: public ConfigBase { public: ...
93e60ace8087e07d2741a3c67be993f7da8776ea
687d23de58969b8dc0431269ad3fb64485ce567f
/SimulationRevendeur/NouvelEmployee.h
2bc05f34aeaa98af5609066f8e691cec6c8db821
[]
no_license
Wizer21/SimulationRevendeur
fc320c67fc308039fcb5a56ec05f816dc5c9bc90
35320907c42ce79b15c1c05adab5c9135ad975ec
refs/heads/master
2023-03-03T12:30:53.329614
2021-02-12T22:15:37
2021-02-12T22:15:37
306,905,477
0
0
null
null
null
null
UTF-8
C++
false
false
768
h
NouvelEmployee.h
#pragma once #include <QWidget> #include "stdafx.h" #include "Employe.h" #include "AcceptFire.h" #include "StaticRandomizer.h" class NouvelEmployee : public QDialog { Q_OBJECT public: NouvelEmployee(QWidget* parent, std::vector<Employe>& getEmploye); ~NouvelEmployee(); public slots: void virerEmploye(); v...
3d28127e9011fca173df6a7908e99af7dca321d2
d7c8eef037c29bfc28fdae98776413d2022db612
/877. 石子游戏.cpp
98a50688266c76b7f221591a724150fabdf8c947
[]
no_license
Stayaccept/LeetCode
0d3e83240ab9a3e51e8e153a2fd33f4f6ca43e8a
1b5a3afd54583ea9945342832fde1d8b053ad96c
refs/heads/master
2020-03-29T15:22:22.544462
2019-12-23T15:25:19
2019-12-23T15:25:19
150,060,048
3
0
null
null
null
null
UTF-8
C++
false
false
467
cpp
877. 石子游戏.cpp
class Solution { public: int dp[505][505]; int INF=0x3f3f3f3f; bool stoneGame(vector<int>& piles) { int i,j,l,n; n=piles.size(); for(i=0;i<n;i++) dp[i+1][i+1]=piles[i]; for(l=2;l<=n;l++){ for(i=1;i+l-1<=n;i++){ j=i+l-1; dp[i...
91047b8d68920c3347696f306f8123023c539e81
3640c09f334b0354612231167e95b302d9b7f82b
/block.cpp
69d500cad0820bb203d4e1a440376a4788599d11
[]
no_license
karas245/blockchain
8bfe8e7109bf22f171abdee7dceb3fd6bb691f81
3b4c8f8b141263bc794d87430c808620e4dd90ce
refs/heads/master
2020-08-12T02:27:34.572997
2019-10-24T19:30:55
2019-10-24T19:30:55
214,671,240
0
0
null
null
null
null
UTF-8
C++
false
false
61
cpp
block.cpp
// // Created by volun on 2019-10-12. // #include "block.h"
86e5d543b6da7f62a75f92c3edc3459baedd70a4
71f6db036af52f4ff3dc7795d286ec6856057c33
/src/mainui.cpp
bd943441f03c7a174da86de500304aaca6933c8d
[]
no_license
Starkiller645/angelv2
87b36a7cdf9b6656f520bd9b4b9632fbe64fd51d
164dcfeff333c10f3c8653da8094dc5d81b3515b
refs/heads/master
2023-02-27T09:13:36.880063
2021-02-09T14:57:00
2021-02-09T14:57:00
322,057,845
0
0
null
null
null
null
UTF-8
C++
false
false
30,730
cpp
mainui.cpp
#include "mainui.h" #include "subredditwidget.h" #include "submissionwidget.h" #include "filejson.h" #include "redditasyncrequest.h" #include "authworker.h" #include <maddy/parser.h> #include <QWidget> #include <QHBoxLayout> #include <QVBoxLayout> #include <QAbstractSlider> #include <QMetaType> #include <QPropertyAnim...
697606c604d9b27f1ff1b02387b9f357452f00cf
abed45024a0d0486ba454fb7fe5b1e45cd1925e3
/include/RigidBody.h
488b723a8b98fca15d0a9e1710a916f7e75c6ee0
[]
no_license
stevo2588/Physics-Engine
790e38e0f5876553d9feb21814f8b4d856ebf5fc
eace796fcddf61b1a348082d14b6a97ac59f2f1a
refs/heads/master
2021-01-01T05:05:04.263079
2016-11-21T14:20:38
2016-11-21T14:20:38
58,648,734
0
0
null
null
null
null
UTF-8
C++
false
false
1,590
h
RigidBody.h
#ifndef RIGIDBODY_H #define RIGIDBODY_H #include <Physical.h> #include <Utility.h> class Force; class RigidBody : public Physical { public: typedef std::unique_ptr<Force> ForcePtr; typedef std::unique_ptr<CollidableObject> CollObjPtr; typedef std::unique_ptr<Physical> PhysPtr; typedef std::reference...
46c1ac35e1f9f2d6eeedb3591c13a30fa2c7fabc
bbcda48854d6890ad029d5973e011d4784d248d2
/trunk/win/BumpTop Settings/include/wxWidgets/wx/palmos/gauge.h
dfb6b489a4bc488c18a89253142db98a1a824464
[ "LGPL-2.0-or-later", "WxWindows-exception-3.1", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
dyzmapl/BumpTop
9c396f876e6a9ace1099b3b32e45612a388943ff
1329ea41411c7368516b942d19add694af3d602f
refs/heads/master
2020-12-20T22:42:55.100473
2020-01-25T21:00:08
2020-01-25T21:00:08
236,229,087
0
0
Apache-2.0
2020-01-25T20:58:59
2020-01-25T20:58:58
null
UTF-8
C++
false
false
1,944
h
gauge.h
///////////////////////////////////////////////////////////////////////////// // Name: wx/palmos/gauge.h // Purpose: wxGauge class // Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 // RCS-ID: $Id: gauge.h 36891 2006-01-16 14:59:55Z MR $ // Copyright...
c141ff7531c59bff3a31431bf5b76ecba9b44626
24bc4990e9d0bef6a42a6f86dc783785b10dbd42
/chrome/browser/web_applications/commands/manifest_update_data_fetch_command.cc
3a04b2f36b1af71819a6a5f391ebfffc2a09e99b
[ "BSD-3-Clause" ]
permissive
nwjs/chromium.src
7736ce86a9a0b810449a3b80a4af15de9ef9115d
454f26d09b2f6204c096b47f778705eab1e3ba46
refs/heads/nw75
2023-08-31T08:01:39.796085
2023-04-19T17:25:53
2023-04-19T17:25:53
50,512,158
161
201
BSD-3-Clause
2023-05-08T03:19:09
2016-01-27T14:17:03
null
UTF-8
C++
false
false
22,932
cc
manifest_update_data_fetch_command.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. #include "chrome/browser/web_applications/commands/manifest_update_data_fetch_command.h" #include <map> #include <memory> #include <utility> #include <vector> #include "base/...
3b533923c67b83c150a494a36d378152254eeea2
1b07783e77875488d56b531b238b0cba6e1890e1
/KU/posn2/14&15_3_CPP STP/2.cpp
531ebd9e5b4a45d783ca8e773b276c519e78ef76
[]
no_license
aslupin/posn123_docs
c27b05f7a85550ef57b27938a5c57be3d55406d5
276524612a1298ef7671b16d92ada0215b5f9161
refs/heads/master
2020-03-27T21:40:19.856395
2018-09-03T07:20:48
2018-09-03T07:20:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
676
cpp
2.cpp
#include <iostream> #include <cstdio> #include <iomanip> using namespace std; template <class T> class vector { T* v; int sz; public: vector (int s) { v = new T [sz = s]; } ~vector () { delete[] v; } T& operator[] (int i) { return v[i]; } int get_size() { return sz; } int print_array(){ for(int i=0;i<sz;i+...
7dd0701fcc48ef49587746537366ec2acb119296
13bc1bef1e25f84cb240677f0fbf5d4b1b6f8463
/terrain/variable_lod/voxel_lod_terrain_update_task.h
5deb3a235054cc73903f833f27cad1d1116ed3b3
[ "MIT" ]
permissive
Zylann/godot_voxel
8486e8de2e36c48b94f254927c09b16e5ddb5829
5be2ec8243bf26b1efc2cb2488c7a4617126fad4
refs/heads/master
2023-08-17T04:27:37.356056
2023-08-11T20:42:51
2023-08-11T20:42:51
57,851,492
1,935
243
NOASSERTION
2023-08-02T19:08:34
2016-05-01T21:44:28
C++
UTF-8
C++
false
false
3,400
h
voxel_lod_terrain_update_task.h
#ifndef VOXEL_LOD_TERRAIN_UPDATE_TASK_H #define VOXEL_LOD_TERRAIN_UPDATE_TASK_H #include "../../engine/ids.h" #include "../../engine/priority_dependency.h" #include "../../util/tasks/threaded_task.h" #include "voxel_lod_terrain_update_data.h" namespace zylann::voxel { struct StreamingDependency; struct MeshingDepend...
606d7ce842ba47b6eb3bb93de0a64910327058a4
b7a1a31155d9543ab68eefb07b42094efc29ef0e
/src/globalFunctions.hpp
3641858199677f4dd0e34f88e1f82ee4fdb8523b
[ "MIT" ]
permissive
DLancer999/mandelbrotExplorer
0419c407ec0672532d3dc760a2cd935af25a9f93
a605eadac0fcd9bb3dc81c1a1f9bb5e8c61ae4da
refs/heads/master
2020-12-28T19:34:11.242919
2017-02-02T17:04:17
2017-02-02T17:04:17
80,746,095
0
0
null
null
null
null
UTF-8
C++
false
false
736
hpp
globalFunctions.hpp
/*************************************************************************\ License Copyright (c) 2017 Kavvadias Ioannis. This file is part of mandelbrotExplorer. Licensed under the MIT License. See LICENSE file in the project root for full license information. Description lonely glob...
4a19274c8710b60e9ade15996294ab86610147b3
902aab58f902a488a4f0f0e8e0d6b0bab8334240
/InProgress/te_gurney/case/0.69/p
b18599c4906c890e6598ca9e231cfbacaa5d2db5
[]
no_license
Foadsf/OpenFOAM_Tutorials_
d32d5ef6583f276018f2314a78fe66c730c47109
4b914e5112863f2660e15b899dfddfc0ec04f90c
refs/heads/master
2021-09-12T08:19:21.666536
2018-01-24T17:31:13
2018-01-24T17:31:13
118,747,914
1
0
null
2018-01-24T10:10:08
2018-01-24T10:10:08
null
UTF-8
C++
false
false
130,078
p
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | ...
894d1fe8e6047439189a5615d3cfcb72834e3ed2
bb556ca39e13d46a02a2be363438bc1e7e14436a
/Sorting_and_Searching/Reading-Books.cpp
44db150a367738ae5b6887d8683f23ed6a988258
[]
no_license
ImperishableMe/CSES
d2e5459e8289334c59f9538b032abe521225fdba
59c69c9b763eafce7f0bcd3476c573e939fc758d
refs/heads/master
2023-07-17T00:31:55.414200
2021-08-13T10:21:03
2021-08-13T10:21:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
340
cpp
Reading-Books.cpp
#include <bits/stdc++.h> using namespace std; using ll = long long int; int main(){ ios::sync_with_stdio(0); cin.tie(0); int n; cin >> n; vector<ll> v(n); ll tot = 0; for (auto &x : v) cin >> x, tot += x; sort(v.begin(), v.end()); if (v.back() * 2 > tot) { cout << 2 * v.back() << "\n"; } else cout << tot <...
6c9128b9e71aa1b4dbdafb009494a1bf823d5e29
ee20ea2269d67ea6b5477bea4b6666cde66dea62
/Source/backup/CharacterMenu.cpp
22a0374bf7c484023e8a7a5886835bfb9b909842
[]
no_license
Lunarsong/DungeonGame
0a9cc07db00791547461d4a3ad47e3fc23b30275
c7ce4f42a83e7e8893eac90aadbdb88e980a59e8
refs/heads/master
2016-09-05T14:44:15.197596
2014-02-27T18:53:04
2014-02-27T18:53:04
15,470,218
1
0
null
null
null
null
UTF-8
C++
false
false
5,195
cpp
CharacterMenu.cpp
#include "CharacterMenu.h" #include <Engine.h> #include "Weapon.h" using namespace Engine; CharacterMenu::CharacterMenu(void) { m_pCharacter = NULL; m_pMenu = Engine::UserInterface::AddScreenFromFile( "CharacterMenu", "CharacterMenu.xml" ); m_pMenu->SetVisible( false, true ); // Stats m_pLabelCustomSTR = (UILa...
6b93e5d0f4552bf307f3b18c91b29fa2e8950649
04c6e943555b757b9f63c1fae7ee9119050aa1e3
/minimum_time_diff.cpp
f97d2b2dfb951c010c4fdf45e44447365703d941
[]
no_license
elefant/coding-questions
dfaf2c9bff331633596cc4fd5c0f2d019876ee89
dc8f262553e83b03e87b7c18a6ed64385c593bcc
refs/heads/master
2020-06-19T11:04:11.045885
2017-06-14T12:47:09
2017-06-14T12:47:09
94,187,848
0
0
null
null
null
null
UTF-8
C++
false
false
702
cpp
minimum_time_diff.cpp
class Solution { public: int findMinDifference(vector<string>& timePoints) { vector<int> times; for (auto t: timePoints) { times.push_back(toMinutes(t)); } sort(times.begin(), times.end()); int len = times.size(); for (int i = 0; i < len; i++) { ...
a709e07e6b1a71055b6aa6e36987167838fe8c2d
52103f13257ccf0cdd79eac297056c2144c88450
/week2/ColorSwitcher/ColorSwitcher (2).ino
9b6f6d46513d4b5de713f2bd8aec365db9caa2cd
[]
no_license
parmcoder/iot-T3-2020
e28798cbe8792d6d02fd8be28b2c8d9ec32385d9
51aca42955b1fedb601641135f9d5390645aa691
refs/heads/main
2023-07-23T09:36:06.717873
2021-09-04T22:46:29
2021-09-04T22:46:29
364,955,200
0
0
null
null
null
null
UTF-8
C++
false
false
1,798
ino
ColorSwitcher (2).ino
/* Button Turns on and off a light emitting diode(LED) connected to digital pin 13, when pressing a pushbutton attached to pin 2. The circuit: - LED attached from pin 13 to ground - pushbutton attached to pin 2 from +5V - 10K resistor attached to pin 2 from ground - Note: on most Arduinos there is al...
53d67088540794ff51492de1932cad34e03c4699
875897e39036d7b46b67c876f874e150e994df04
/Group E/EurCallOption.cpp
28ce653965d04dd5f0aa7a060c18439e1a2c20c6
[]
no_license
muru-raj10/Excel-visualisation-of-Options
c1f1347acc4ebbb589ad8ff07479f3cc2031ae08
fd8e9161df0c81400b87430a9933337aa2618cc5
refs/heads/master
2021-01-13T08:44:34.421529
2017-02-12T15:26:58
2017-02-12T15:26:58
81,654,680
0
0
null
null
null
null
UTF-8
C++
false
false
2,429
cpp
EurCallOption.cpp
//EurCallOption.cpp //To declare functions from EurCallOption.hpp #ifndef EurCallOption_cpp #define EurCallOption_cpp #include <iostream> #include <string> #include <cmath> #include "stdlib.h" #include "EurCallOption.hpp" #include "EuropeanOptions.hpp" #include "Global.hpp" #include "OptionData.hpp" u...
7dab3174b51d9858dc52085414551a0018abf128
8583b5bfc594b994f51d24d012e92ae66bf2e5ea
/src/BabylonCpp/include/babylon/inputs/click_info.h
60923c9ab460bb9c26aef50198faa5cfa99ee432
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
samdauwe/BabylonCpp
84b8e51b59f04a847681a97fa6fe0a5c554e9e1f
3dad13a666299cbcf2e2db5b24575c19743e1000
refs/heads/master
2022-01-09T02:49:55.057544
2022-01-02T19:27:12
2022-01-02T19:27:12
77,682,359
309
41
Apache-2.0
2020-11-06T12:16:17
2016-12-30T11:29:05
C++
UTF-8
C++
false
false
1,091
h
click_info.h
#ifndef BABYLON_INPUTS_CLICK_INFO_H #define BABYLON_INPUTS_CLICK_INFO_H #include <babylon/babylon_api.h> #include <babylon/babylon_common.h> namespace BABYLON { /** * @brief Hidden */ class BABYLON_SHARED_EXPORT ClickInfo { public: ClickInfo(); ClickInfo(const ClickInfo& otherClickInfo); ClickInfo(ClickInfo...
ec7ee932668ad0b37bd5cf336eb9cff403256154
afa7a9d880345ac7d55ba1c1111a1fa01a9e5e9d
/ACcode/Codeforces/contest1207G.cpp
d8805ece07fa502e0103b7fe2b49840daf3a0712
[]
no_license
Sanzo00/ACM
a67bd40a75f14f58eed2b0af520a6a67487c609b
cdc05e9d5daa26c76bbb7448c8c61d2ab2a059d5
refs/heads/master
2022-01-11T10:01:31.787847
2019-12-20T05:08:20
2019-12-20T05:08:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,731
cpp
contest1207G.cpp
#include <bits/stdc++.h> using namespace std; const int maxn = 5e5 + 5; int n; char s[maxn]; int ans[maxn]; vector<pair<int,int> > Q[maxn]; struct Bit{ int c[maxn]; void init() {fill(c, c+maxn, 0);} int lowbit(int x) {return x & (-x);} void add(int x, int d) { while (x < maxn) { c[x]...
f16fbb54465f88dc7a90f8e9825cc5a7e61fa74a
12a5aefe568c3b9f2ba77aa5112b7232bbc13cdf
/编程习题/习题/单链表逆转.cpp
bd95ff208df559eeeb1fdce8ad96b02abf7154e1
[]
no_license
xuefengsi/atom-C-algorithm
2b29b81855efebc929d603f1000362cee8ce5740
fd7432f1edc170f3c6e1f4c28f3a76b07045a092
refs/heads/master
2021-05-15T14:28:05.566336
2017-10-17T03:42:56
2017-10-17T03:42:56
107,207,629
0
0
null
null
null
null
UTF-8
C++
false
false
1,047
cpp
单链表逆转.cpp
#include<iostream> #define N 5 using namespace std; typedef int DataType; typedef struct node { DataType data; struct node *next; } LinkedNode,*LinkList; LinkList createList(DataType a[]) { LinkedNode *headList = new LinkedNode(); headList->data = a[0]; headList->next=NULL; for(int i=N-1;i>=1;i--) { LinkedNod...
a6432bc73c3a1e72a6d493d13c69e15c9a83060e
5b06ce4c8a7ad8c6ee18ca93c36967e866e56acc
/model/web/soundcloud/soundcloud_view.cpp
38ba549cc4c7e1c403ad260a4b8cdd33eb880eb7
[ "MIT" ]
permissive
jeyboy/palyo2
e9faa460244c011d18749c28000a92e5504e411c
5c68194bedbd1e1d987e01e2082f498183b59af7
refs/heads/master
2020-05-16T23:43:28.442110
2014-12-22T18:45:17
2014-12-22T18:45:17
17,384,657
1
0
null
null
null
null
UTF-8
C++
false
false
474
cpp
soundcloud_view.cpp
#include "soundcloud_view.h" #include <QDebug> SoundcloudView::SoundcloudView(QWidget *parent, CBHash settingsSet, QJsonObject *hash) : TreeView(dynamic_cast<Model *>(new SoundcloudModel(QString::number(settingsSet.value("uid")), hash)), parent, settingsSet) { } SoundcloudView::~SoundcloudView() {} QJsonObject S...
954d857ce2b94a42083b2f58ec73f24bfeabbc2d
b61ce3a2d7b47b393f572b9a0bd13760dc497fca
/Program14.cpp
17335b7a90455bd620a46f73a1df70c088ae9472
[]
no_license
shribadiger/EffectiveC-
fd598c502dd9e0a35f32f152f9cd397819aa61b1
0eceeb4347cd9c1b2411cd70f99d95882bad2088
refs/heads/master
2021-01-16T15:54:16.066700
2020-09-18T11:52:16
2020-09-18T11:52:16
243,175,363
0
0
null
null
null
null
UTF-8
C++
false
false
515
cpp
Program14.cpp
/* initializer list for input params */ #include<iostream> #include<string> using namespace std; int PrintParam(std::initializer_list<string> params) { for(auto i:params) { cout<<"\t"<<i; } cout<<"\n"; return 0; } int main() { string str1="shrikant"; string str2="shruti"; string str3="Gauthami"; PrintParam(...
fde9dd63e0c198fdd521d2e39e089bce823ccf2f
6817a52f464463794647cc23fdfc3c47d55ad108
/MultiTask/Helper.cpp
51ef39315558176630e2c2d8b48914cd3a36ac87
[ "MIT" ]
permissive
Sazareshi/MultiTaskCpp2
4614107ab43bb856e5adf44ff293cf97384d0476
7d6de90981eea9b8847c728b314d86ed04ec517d
refs/heads/master
2021-07-25T21:54:00.863865
2021-01-22T10:02:48
2021-01-22T10:02:48
195,515,780
0
0
MIT
2021-01-22T10:02:49
2019-07-06T08:20:44
C
SHIFT_JIS
C++
false
false
5,449
cpp
Helper.cpp
#include "stdafx.h" #include "Helper.h" CHelper::CHelper(){} CHelper::~CHelper(){} /***************************************************************************** string型をwstring型に変換します - 引数 const std::string &src:変換前入力 , std::wstring &dest:変換後出力  - 戻り値 NA *************************************************************...
21e79da9b3d0fa911eccbb629517a83ef902c3af
bcc9f4b536305f8509a54c5f264cc781cdaa09e8
/RFonline-PC源码/ithermometerx.cpp
d9fce909f0d2cd479388414659cb59b38edf4c4c
[]
no_license
chaorantu/Smart-Home
6f677cb7dea845ddef288bb2bbb46df0c2e683ee
cb94ad1cdf74e516f3ed40052276cc83615c4d09
refs/heads/master
2020-03-25T05:35:26.507499
2018-08-03T17:36:39
2018-08-03T17:36:39
143,455,353
0
0
null
null
null
null
UTF-8
C++
false
false
34,257
cpp
ithermometerx.cpp
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the contents of this file. If this class is regenerated by // Microsoft Visual C++, your modifications will be overwritten. #include "stdafx.h" #include "ithermometerx.h" // Dispatch interfaces referenced by th...
3b206624717f170ebee272f9d167e1cb8508182c
9030ce2789a58888904d0c50c21591632eddffd7
/SDK/ARKSurvivalEvolved_DmgType_Melee_Dino_Carnivore_Medium_Flyer_CorpseRegen_classes.hpp
3dc33a0207d264ebbe955c7b738903a72fd12e0f
[ "MIT" ]
permissive
2bite/ARK-SDK
8ce93f504b2e3bd4f8e7ced184980b13f127b7bf
ce1f4906ccf82ed38518558c0163c4f92f5f7b14
refs/heads/master
2022-09-19T06:28:20.076298
2022-09-03T17:21:00
2022-09-03T17:21:00
232,411,353
14
5
null
null
null
null
UTF-8
C++
false
false
1,450
hpp
ARKSurvivalEvolved_DmgType_Melee_Dino_Carnivore_Medium_Flyer_CorpseRegen_classes.hpp
#pragma once // ARKSurvivalEvolved (332.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_DmgType_Melee_Dino_Carnivore_Medium_Flyer_CorpseRegen_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-------------------...
f831795ce03c11390e3a7176d3aa1e7ed73acc0c
79a634d9357a750cbd0efea04d932938e1b7f632
/Contest/ACM/2009/HangDian2009SummerVocation/HIT09/2888.cpp
066cd5dfc4b6682f93bedd999f41d58734fb7e4f
[]
no_license
hphp/Algorithm
5f42fe188422427a7762dbbe7af539b89fa796ed
ccbb368a37eed1b0cb37356026b299380f9c008b
refs/heads/master
2016-09-06T02:24:43.141927
2014-05-27T00:49:44
2014-05-27T00:49:44
14,009,913
1
0
null
null
null
null
UTF-8
C++
false
false
1,847
cpp
2888.cpp
//09-11-01--08:46 #include <stdio.h> #include <math.h> #define N 301 #define LOG 10 #define Max(a,b) ((a)>(b)?(a):(b)) int rmq[N][LOG][N][LOG]; int n,m; int i,j,ki,kj,tmpi,tmpj; void dp() { int limi = (int)(log(n*1.0)/log(2.0))+1; int limj = (int)(log(m*1.0)/log(2.0))+1; for( i=1;i<=n;i++) for( kj = 1;kj<=limj;kj...
f00de8a41cac93391069e0eec72e8c0511916b94
57e7b4f7cdfa01ed1b53049ae3811147171b1989
/Win32xx/samples/FormDocView/src/FormDoc.h
0610ca9b1115bf7dcd246d6a82a874d0785bb460
[ "Unlicense" ]
permissive
mufunyo/VisionRGBApp
d083f34982de903a06c4f928817fdddb78ebb193
c09092770032150083eda171a22b1a3ef0914dab
refs/heads/trunk
2023-03-03T01:49:03.164808
2021-02-09T20:35:08
2021-02-09T20:37:05
324,387,638
2
1
Unlicense
2020-12-28T10:21:03
2020-12-25T15:34:00
C++
UTF-8
C++
false
false
927
h
FormDoc.h
/////////////////////////////////////// // FormDoc.h // Based on code provided by Lynn Allan #ifndef SDI_DOC_H #define SDI_DOC_H // Declaration of the CFormDoc class class CFormDoc { public: CFormDoc(); virtual ~CFormDoc(); void LoadDocRegistry(LPCTSTR keyName); void SaveDocRegistry(LPCTSTR keyNa...
2543f5add073becc4fb5dc1c5f1f8a9098cce456
aa0719773efe4f715e9b8bef94f94ec55009adde
/2020/object-oriented-technology-and-methods/exp-3/main.cpp
1b96e70780cb29fa3bc3d54d2d1b9005a86b25d7
[ "MIT" ]
permissive
Hyperzsb/bit-cs
64959de4d86d289e6d32e33e304e6a9c8d92450b
de85cb74523d63b22b0118c26c65f854b7d2df86
refs/heads/master
2023-07-10T19:09:49.414454
2021-08-23T13:14:27
2021-08-23T13:14:27
223,711,239
23
3
null
null
null
null
UTF-8
C++
false
false
1,569
cpp
main.cpp
#include "copy.h" using namespace std; int main(int argc, char *argv[]) { if (argc == 1) { Copy::HelpInfo(); return 0; } else { Copy copy = Copy(); bool loaded_source_file = false; bool loaded_destination_file = false; for (int i = 1; i < argc; i++) { ...
1b1fe84f30de576dd68754a2f44d4f251f5a04c8
a3fbc183cfbe1d4424ad15c6018a173ae6a96db0
/q20.cpp
1defe39761cd46862414299486e9e24b215edfd4
[]
no_license
Hradini/LAB-3
7e6ce3d9e55cdcfd38241eac2dce3223b814c68c
fed105ae654b05c7a7c7d5084cd3a8f6d217c83b
refs/heads/master
2021-01-22T00:52:46.679057
2017-09-14T21:47:58
2017-09-14T21:47:58
102,198,331
0
0
null
null
null
null
UTF-8
C++
false
false
372
cpp
q20.cpp
#include <iostream> using namespace std; int main() { float bs; cout << "enter your basic salary\n"; cin >> bs; if (bs<= 10000){ cout << "your gross salary is" << bs + .2*bs + .8*bs ; } else if (bs >10000 && bs <= 20000){ cout << "your gross salary is " << bs + .25*bs + .9*bs; } else{ cout <<"your gross sa...
0e3d54a35c18a04917171f7b45fda90b384f9ec8
0a70cf01bf16fc0cd1a696e08f657739eb4fd87c
/misc/NOI2014/forest.cpp
e85e4492938db6d221a40a92a308ad8dbaa6cf98
[]
no_license
erjiaqing/my_solutions
ca63b664cb6f7ecb7d756a70666fdf3be6dc06b3
87bf90af4aca2853f30a7c341fe747d499728ba3
refs/heads/master
2022-09-05T17:45:19.902071
2022-08-13T02:18:30
2022-08-13T02:18:30
20,209,446
10
7
null
null
null
null
UTF-8
C++
false
false
1,867
cpp
forest.cpp
#include <algorithm> #include <iostream> #include <cstring> #include <cstdio> #include <vector> #include <queue> using namespace std; const int maxn=50005,maxm=100005; struct edge { int u,v,a,b; edge(){} edge(const int &_u,const int &_v,const int &_a,const int &_b): u(_u),v(_v),a(_a),b(_b){} }e[maxm*2]; int te,h[m...
631d2abb9051715b3497a2ef64e1e36f679881e5
f985d34d46fac03ef5daafa9241e6cba6f0a7d82
/Computational Geometry/Laborator 2/main.cpp
40e08f5d393c904a32ae8e865297b211221bfc0c
[]
no_license
eusuntoly/BSc
ced1eaa36c30c1c3dcfbeb5453755d0edd6f7738
09d6f6c8070e1d318c82222eab635d91ce110f32
refs/heads/master
2020-03-10T09:16:37.184003
2018-06-04T11:37:59
2018-06-04T11:37:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,916
cpp
main.cpp
#include <iostream> #include <algorithm> #include <queue> using namespace std; struct point { int x, y; }v[5]; int n = 4; struct cmp{ bool operator()(const point &a, const point &b) const { if(a.x < b.x) return true; if(a.x == b.x) if(a.y < b.y) ...
8c5facd1194e308a74749ab683c16f326a93982e
8eae6774231f4a313e7aa8ac30d5c678dc1c2a42
/GY/P4170.cpp
99ecb52e5759905fc08d60a7eecbc0cea1f19442
[ "MIT" ]
permissive
windcry1/My-ACM-ICPC
c97b203e5e54d355168ed14db888f4a1b3e6c363
b85b1c83b72c6b51731dae946a0df57c31d3e7a1
refs/heads/master
2021-09-06T20:47:56.525749
2021-08-22T14:06:10
2021-08-22T14:06:10
231,622,263
0
0
null
null
null
null
UTF-8
C++
false
false
1,023
cpp
P4170.cpp
#include<cstdio> #include<cstring> #include<cmath> #include<cstdlib> #include<cctype> #include<ctime> #include<iostream> #include<string> #include<map> #include<queue> #include<stack> #include<set> #include<vector> #include<iomanip> #include<list> #include<bitset> #include<sstream> #include<fstream> #include<complex> #...
39924cd46464c6c8c9915e8f1ad40afe9aa438df
9f40183208badba61ed3fadfc8e02636adc17d25
/tp3/src/Point.cpp
5cf49c32a432c2f0026ff147b0a9cd63e7204911
[ "MIT" ]
permissive
ctrlMarcio/feup-cal
051eede5e65162b2f06387ec835f936ed6de73fc
ba9004e2c5d0612c1d4eda93f00ce126cce091d2
refs/heads/master
2021-01-06T17:00:09.345757
2020-04-28T16:33:39
2020-04-28T16:33:39
241,407,146
0
0
null
null
null
null
UTF-8
C++
false
false
731
cpp
Point.cpp
/* * Point.cpp * * Created on: 4 de Mar de 2011 * Author: ap */ #include "Point.h" #include <cmath> Point::Point() { // TODO Auto-generated constructor stub } Point::~Point() { } Point::Point(double x, double y) { this->x = x; this->y = y; } Point::Point(int x, int y) { th...
aaef2550edfc51de89b1e1cd4a4aa4c37899a969
172c67be0050eebfbf6bac65d7e35093796826c9
/简单数学/多项式的值.cpp
4f7a5ebff2675a5e68bdb1e87c72ce798c13f7aa
[]
no_license
chenyur0ng/codeup
bf7015caa64fcaa59ba4726322f2fa650a7a9cdd
b323c25e0e40d1149e55b86781b9f87d913db5c3
refs/heads/master
2021-04-09T10:41:16.541321
2018-03-06T14:28:41
2018-03-06T14:28:41
125,391,208
1
0
null
2018-03-15T15:52:42
2018-03-15T15:52:41
null
UTF-8
C++
false
false
548
cpp
多项式的值.cpp
#include<cstdio> int fun(int i,int x) { int product = 1; while(i > 0){ product *= x; i--; } return product; } int main() { int m,n,co[12],x; int i; while(scanf("%d",&m) != EOF){ while(m--){ int sum = 0; scanf("%d",&n); for(i = 0;i <...
edbc42e3c77849a5587941c6a731b6158acaa40f
63b9fdeef1a6cd629994254f00a5a36061639adc
/src/Application/application.hpp
e5a6fd6626cd9b672f303552a87d28f3bb4a8166
[ "MIT" ]
permissive
antoinecordelle/BigBrother
fc043b42338d0b132bcb842f107c2792f0af85e1
d20722eefac9754a6f2f2d1f6c269c30bebc3825
refs/heads/master
2020-04-07T09:43:09.222673
2019-09-09T22:46:09
2019-09-09T22:46:09
158,262,582
1
0
null
null
null
null
UTF-8
C++
false
false
2,572
hpp
application.hpp
#ifndef APPLICATION_HPP #define APPLICATION_HPP #include "../Website/website.hpp" #include "../Dashboard/dashboard.hpp" #include "../Alert/alertHandler.hpp" #include <vector> #include <thread> /// Class managing the websites and interface launch, and the link between the two /** * @brief Runs the threads of the webs...
f9514d52a7c55fd7d921c5ae3b906d46f019807e
2248720bc8323da7d410d38e29f23e9cb4e2be8f
/977.cc
4ec43b261ffa2d6c76d4711d2dc73999810f8d09
[]
no_license
zhangke96/leetcode
4b317f8bcf26ac2731dd9a630b5da45671f9fb85
3a43b1b36bf0cf5547993302db8cdc5a42a8d9b3
refs/heads/master
2023-08-27T19:45:26.644655
2021-11-07T13:12:33
2021-11-07T13:12:33
423,063,491
0
0
null
null
null
null
UTF-8
C++
false
false
1,326
cc
977.cc
// Copyright [2021] zhangke // https://leetcode-cn.com/problems/squares-of-a-sorted-array/ #include <iostream> #include <vector> #include <cmath> using namespace std; vector<int> sortedSquares(vector<int>& nums) { int index = 0; vector<int> result; result.reserve(nums.size()); for (int i = 0; i < nums.size()...
ba9e35ae96eba3fccec32898b059c2866053f15e
3540c77ead5acaf4d685726bfc79969c1a576649
/src/zombieManager.hpp
725667b7a05fccfa6a0b4bce771034ed82d1393d
[]
no_license
markrepedersen/zombified
62559c574b6e06c8b20c2a97da81295e72264d61
169e8ca465befd25cca3d596574f9c105042e13e
refs/heads/master
2021-04-23T20:02:27.383637
2020-03-25T13:47:05
2020-03-25T13:47:05
249,988,990
0
0
null
null
null
null
UTF-8
C++
false
false
1,798
hpp
zombieManager.hpp
#pragma once #include "common.hpp" #include "viewHelper.hpp" #include "zombie.hpp" #include "player1.hpp" #include "player2.hpp" #include "toolboxManager.hpp" #include "MapGrid.h" #include "JPS.h" #include <map> #include <algorithm> class ZombieManager { public: bool init(vec2 screen, const std::vector<vec2> &m...
6866831e656df2f6277e6e69d902878da7d8934c
27515c7b60b71f4fabf86c1e080b66d6b10cca03
/J03/ex03/FragTrap.cpp
ffb09e7207821dd73a9e83d7129df2f549b24fdb
[]
no_license
bvan-dyc/CPPPool
ff6e4a054385c6506f8bdf1d0fb5ea9758982bbf
67057d3717b4794dfe2729bc0966e52f32563006
refs/heads/master
2021-05-08T22:36:38.304435
2018-02-28T13:11:09
2018-02-28T13:11:09
119,678,302
0
0
null
null
null
null
UTF-8
C++
false
false
750
cpp
FragTrap.cpp
#include "FragTrap.hpp" FragTrap::FragTrap(std::string newname){ name = newname; hp = 100; maxhp = 100; ep = 100; maxep = 100; level = 1; matk = 30; ratk = 20; def = 5; std::cout << "FragTrap: Are you god? Am I dead?" << std::endl; } FragTrap::~FragTrap(void) { std::cout << "Go on without me!" << std::endl...
adc98864427e47a735f4b0a371e7cb7ab7feac1c
d6f26749553abdb20c176166d1712a17fe44237e
/definitions.cpp
cb2162addf091a9f771002a6505dc7cb18aae2fc
[]
no_license
gavinmrenken/calculating-HW-scores
d3ae721178d023d508655f0ad7ffa1335ad66513
161a9536b8c7746846428617d49e310985c7c5f5
refs/heads/master
2020-12-12T13:30:52.997489
2020-01-15T17:47:38
2020-01-15T17:47:38
234,137,682
0
0
null
null
null
null
UTF-8
C++
false
false
1,726
cpp
definitions.cpp
#include "HomeworkList.h" #include<vector> #include<algorithm> #include<numeric> #include<stdexcept> HomeworkList::HomeworkList() {} // the default constructor will create an empty collection of homeworks void HomeworkList::addScore(int score, int maxPossible) { // insert the score and max homeworkScores.push_bac...
f2f9f7b4f16fc402c397ffd5cb013aee4c743d72
3a4080fb1ca1ac5b9f57c29ab9bc7ad660ba16b3
/C_C++/C++/TextQueries/textQueries.h
001a31e05f253ee6f94683fa9476296437b3f932
[]
no_license
changmu/Practice-code
0646d2fd580d2103f3ef8985b2b3ca3c0862716f
c5d87c787ea0e28001240cd4f49270ea07d4f1e4
refs/heads/master
2022-08-03T15:05:34.514213
2022-07-27T03:14:45
2022-07-27T03:14:45
48,113,031
2
0
null
2022-06-18T09:11:54
2015-12-16T13:50:08
C
UTF-8
C++
false
false
1,025
h
textQueries.h
#pragma once #include <string> #include <algorithm> #include <vector> #include <memory> #include <iostream> #include <fstream> #include <sstream> #include <map> #include <set> using std::vector; using std::set; using std::cout; using std::cin; using std::istringstream; using std::ifstream; using std::ostream; using s...
19c4ef072320dd091ec7e5be3bfe7c8ac6d6bce6
859d516729af56f10eb541711d56e66ca80ea4e0
/pythonscript/py_script.cpp
7e0f94385fee54862c4adc288fc35c92af4eb6f7
[ "MIT" ]
permissive
monokrome/godot-python
066d20613c1c3e21b3966f5dfc8cb80831d9f13c
12a234ef2c0994f9f391366d57dedf5d4bd25cf9
refs/heads/master
2021-01-16T18:26:39.854345
2017-07-24T21:07:18
2017-07-24T21:07:18
100,081,823
2
0
null
2017-08-12T01:41:32
2017-08-12T01:41:32
null
UTF-8
C++
false
false
23,546
cpp
py_script.cpp
// Godot imports #include "core/os/file_access.h" // Pythonscript imports #include "cffi_bindings/api.h" #include "py_instance.h" #include "py_script.h" #include "pythonscript.h" #if DEBUG_ENABLED #define __ASSERT_PYSCRIPT_REASON "Cannot retrieve Python class for this script, is you code correct ?" #define ASSERT_PYSC...
b983bfa5570ab8e168d438b166b8f7f0df3b1014
c7ad1dd84604e275ebfc5a7e354b23ceb598fca5
/src/app/prot_match/update_prot_id.cpp
202fbee32d675ceebc4f515ce069b372f26770b8
[]
no_license
svn2github/ncbi_tk
fc8cfcb75dfd79840e420162a8ae867826a3d922
c9580988f9e5f7c770316163adbec8b7a40f89ca
refs/heads/master
2023-09-03T12:30:52.531638
2017-05-15T14:17:27
2017-05-15T14:17:27
60,197,012
1
1
null
null
null
null
UTF-8
C++
false
false
6,372
cpp
update_prot_id.cpp
/* $Id$ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act...