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
492b1e8bdde1762a9152318664f0970993302840
4fb31b7135d2f9189d407757ec8e3aa0adfa86bc
/LPM Code/LPM_Ground.cpp
9470e4365a9441b928a785328bbf8348ef506c5f
[]
no_license
JCCervera/LPM
ed446a6d74c6581ec32ca52cde894035d3aa07a6
9b917f28d2d92121284a3bd48a746488f5375bd9
refs/heads/master
2021-01-10T16:32:53.315274
2015-10-27T20:31:12
2015-10-27T20:31:12
45,003,040
0
0
null
null
null
null
UTF-8
C++
false
false
1,486
cpp
LPM_Ground.cpp
#include "LPM_Ground.h" #include "CApp.h" //Construct the ground! LPM_Ground::LPM_Ground(){ //Intialize surface Surf_Ground = NULL; Type = 'N'; //Make the X slightly offset for interesting reasons X = 0.0f; } //Load some files into my surface bool LPM_Ground::OnLoad(char* File){ //Bette...
746350bb9e49af9e89f27bfabef468a14a4d25e0
78a4058945ff7bf52e41285309022642987c037a
/DataStructures/Structures/SegmentTree.cpp
79e64e2719265e74b780f9c18fa6467a3da62cb1
[]
no_license
tyamgin/DataStructures
538241d2ac399d7f7888d33c5ae2b174c418d769
a9aa22406bda243017cd5e2e20072d13051d2aff
refs/heads/master
2021-01-17T04:45:46.902120
2016-04-23T15:16:15
2016-04-23T15:16:15
11,029,207
1
0
null
null
null
null
UTF-8
C++
false
false
2,592
cpp
SegmentTree.cpp
#define TESTING 0 #pragma comment(linker, "/STACK:500000000") #include <functional> #include <algorithm> #include <iostream> #include <string.h> #include <stdlib.h> #include <sstream> #include <ctype.h> #include <stdio.h> #include <bitset> #include <vector> #include <string> #include <math.h> #include <time...
dafd726056a75b75d4a08b1b6d08055146d369ad
dc8bc853c4536da633c420f5f91ad52d0f13f33b
/src/predictorANT.cc
19d19cb644eaff835ad6da659acc562e9cd8e00f
[]
no_license
marzelinger/Tournament_Branch_Predictor
945eb5a1da8fd228c3517e3a3958152caaf94e31
1b8a4f058516516eb4d40b6e35887859f1e5353d
refs/heads/master
2020-04-08T14:34:12.703677
2018-12-01T22:46:15
2018-12-01T22:46:15
159,442,635
0
0
null
null
null
null
UTF-8
C++
false
false
303
cc
predictorANT.cc
// A very stupid predictor. It will always predict not taken. // prediction::prediction(int numBits){ // predictionBits = new int [numBits]; // } void init_predictor () { } bool make_prediction (unsigned int pc) { return false; } void train_predictor (unsigned int pc, bool outcome) { }
37ea79fabc411e7f5ad1fc1a44ddad2031b163e2
209779c03feff329fcc7e0898854c4ba0c6d4d16
/luogu/codes/P2257.cpp
14ab8f8117b58d88bd17a201b705485e4db16e65
[ "MIT" ]
permissive
TonyCrane/OI
76b90833a495bf491377b91e88b944e2113bc49b
562f5f45d0448f4eab77643b99b825405a123d92
refs/heads/master
2022-11-08T20:00:37.196582
2020-06-27T14:51:54
2020-06-27T14:51:54
161,732,784
3
0
null
null
null
null
UTF-8
C++
false
false
1,288
cpp
P2257.cpp
/************************************************************* * > File Name : P2257.cpp * > Author : Tony * > Created Time : 2019/05/12 16:30:54 **************************************************************/ #include <bits/stdc++.h> using namespace std; const int maxn = 10000010; bool vi...
db5c47150c0ee22bfc965347849def80c3e3e890
37c906fd39b12519bb4760b8bf4da8d91890d8d9
/DS/299_TrainSwap.cpp
ebdf166b6ea3fcbdf3273996dc1e2e6b88e3b8d0
[]
no_license
karan-saroya/UVACode
866c272271155419d2065b95c51f4bb95f49baa2
db92031559ffd1ce682dbc47503ca108fa7a7289
refs/heads/master
2021-01-16T19:23:26.526171
2014-01-30T22:41:52
2014-01-30T22:41:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
609
cpp
299_TrainSwap.cpp
#include<stdio.h> #include<stdlib.h> #include<string.h> int main() { int num_cases =0; scanf("%d",&num_cases); for(int i=0;i<num_cases;i++) { int len=0; scanf("%d",&len); const int length=len; int array[length]; for(int j=0;j<length;j++) { scanf("%d",&array[j]); } int count = 0; for(int j=...
92dd0abd42d4a23df80fda8c53cd8ceeadf280c5
da680607e2a3e8f05329ab65bbe052d8ef62a8df
/src/b_setup.hpp
38e64337d7aa677b929e468c038792f83bdf67fb
[ "MIT" ]
permissive
M3larry/OpenAstroTracker-Firmware
5be08e06f1a31f7f93412448ca8524e467212734
79cdca37552fcd0f6f22236596245b04b06512a4
refs/heads/develop
2023-05-27T07:07:44.139682
2021-06-08T02:13:13
2021-06-08T02:13:13
375,840,086
1
0
MIT
2021-06-10T22:00:47
2021-06-10T22:00:46
null
UTF-8
C++
false
false
17,991
hpp
b_setup.hpp
// Create the LCD menu variable and initialize the LCD (16x2 characters) #pragma once #if defined(OAT_DEBUG_BUILD) PUSH_NO_WARNINGS #if BOARD < 1000 #include "avr8-stub.h" #else #error "Debugging not supported on this platform" #endif POP_NO_WARNINGS #endif #include "InterruptCallback.hpp" #includ...
da4f55453119c9ef57ae61414992fcfd0c2dc5e6
85ba4e6e293b61908abee97cf12fc6f04fa5b99a
/dali/rfs/rfs.h
ac04cc1bf53332d66ca338a4addd6676cefef009
[ "Apache-2.0" ]
permissive
praveenmak/HPCC-Platform
6021a561c01d9706aaf5b86bbaa059284b9f6190
30cb9026779310921567106e9d5b090e81065b33
refs/heads/master
2021-01-14T11:48:56.585472
2014-04-02T14:20:09
2014-04-02T14:20:09
18,383,693
1
0
null
null
null
null
UTF-8
C++
false
false
6,332
h
rfs.h
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems. 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 ...
b1fe75e5991f2f0d496ba52c677915e9afb335a8
c46863e61fbcade0ed9344c69896573461c5b931
/c++/src/mcmc/random.cc
b131486192f2483f6569fd8f145883ec98e3b003
[]
no_license
ielhelw/MCMC_FOR_AMMSB
54b759060a2097092f57496644c0b908c29a159b
4526094553d21ab7b1a25d2173e34ef1030578ce
refs/heads/master
2021-01-19T08:12:19.663018
2018-01-08T17:14:40
2018-01-08T17:14:40
20,097,439
0
1
null
null
null
null
UTF-8
C++
false
false
18,067
cc
random.cc
#include "mcmc/random.h" namespace mcmc { namespace Random { #ifndef MCMC_RANDOM_SYSTEM /* tabulated values for the heigt of the Ziggurat levels */ static const Float ytab[128] = { 1, 0.963598623011, 0.936280813353, 0.913041104253, 0.892278506696, 0.873239356919, 0.855496407634, 0.83877...
b7c7678b5ba92eb4446c9635c58bbfa17e48ecb4
418977e32d146aa8f1a39101e6f0e097086a5962
/LiveArchive/5804.cpp
d9e336fe2113659318e205b5a82c6c3d0e05b9f7
[]
no_license
WaleedAbdelhakim/Competitive-Programming
7ded88dbedbb5cfe5546a1d1def95e020e6a275d
45b73d3d1581e39321d7a4cdfa5b2a297b3d4ee9
refs/heads/master
2021-07-13T12:27:43.447255
2020-07-11T22:32:07
2020-07-11T22:32:07
170,042,819
6
1
null
null
null
null
UTF-8
C++
false
false
2,819
cpp
5804.cpp
#include <bits/stdc++.h> using namespace std; // O(EV^2) struct edge { int to , cap; }; const int N = 1e3 + 10; // make sure is greater than max_node will ever be int dist[N] , p[N] , src , max_node , snk; // don't forget to set src and snk vector<edge> edges; vector<int> network[N]; // adjacency list for maxflo...
8384ad5f96cfa28ab2ab0de95bcf50189757a016
bd001356fb96f17bc1d72e98e11994af242e0922
/P2921.cpp
739e1bb04a3bf6fc7cafa4c820ea2a05702ea3b6
[]
no_license
lyzqs/luogu
fb058cd5f80fb87f49753470af81779a1d719744
e7966588eb8d9e7a6359ab9d3b534649ea0a13e2
refs/heads/master
2020-04-14T02:40:26.874306
2018-12-30T13:18:48
2018-12-30T13:18:48
163,588,512
1
0
null
null
null
null
UTF-8
C++
false
false
1,334
cpp
P2921.cpp
#include <bits/stdc++.h> #define Max 100006 #define il inline using namespace std; int n,tot,ans[Max],dfn[Max],s[Max],ins[Max],top=1,cnt,clr,c[Max],sz[Max],low[Max],head[Max],nxt[Max]; struct node { int t,nt; }e[Max<<1]; il int read() { char c=getchar(); int x=0; while(c>'9'||c<'0') c=getchar(); while(c>='0'&&c<='...
b77899f13d7cdcfe97f2dc7a694a1fae78d3e2b1
3c3f398acb3e8fb32d3170bc2be2a5824fd670ed
/训练赛/LCT/模板.cpp
39c3a83c072c8bed93d12fd8ecdecbd2687595d5
[]
no_license
im-cy/ACM-code
07d808adae18e900cd6021363bcf40a5726381d5
5b766ced1636212da4427bc1d5bac7174f73f3af
refs/heads/master
2022-11-23T20:56:37.786086
2020-07-20T15:06:18
2020-07-20T15:06:18
281,143,765
0
0
null
null
null
null
UTF-8
C++
false
false
226
cpp
模板.cpp
#include<bits/stdc++.h> #define ll long long using namespace std; const int sz = 2e5+9; int v[sz],sum[sz]; struct LCT { #define ls c[x][0] #define rs c[x][1] int f[sz],c[sz][2]; bool rev[sz]; } int main() { return 0; }
92dc4726fc0376f5dae6ed91aa3d0608fd50130e
daa691c28a149e6716732765fc42ec9117ac7716
/Destructo/CGameObject.h
018fd4802a0dfd1702f900b385c7aff5e17e03d2
[]
no_license
skyteks/Destructo
d7321525eec7d518a564069df832157f0fa5cec1
37fcb2d492a182b1216f9854f1e015e7e7daf3ce
refs/heads/master
2021-07-09T10:34:11.528072
2020-09-02T16:47:24
2020-09-02T16:47:24
85,068,819
2
0
null
null
null
null
UTF-8
C++
false
false
524
h
CGameObject.h
#pragma once #include "IComponentManager.h" #include <vector> class CGameObject : public IComponentManager { public: //#define GetTransform() GetComponent<CTransform>(); CGameObject(); CGameObject(std::string& a_name); virtual ~CGameObject(); void Update(); //const CGameObject* GetRoot() con...
795b761f8759f7a52a53f94cf211c413a435c3c3
b1d0de001dd7c20e8606a968eaa1c188169dcaae
/src/c_mortal.cpp
99a121d602aba3b1ae6554118ac4fc38e7a19528
[]
no_license
msecret/space-gun
3cfb7cc40489e9dad6b6b68341228e2eb415cf0f
f2ff0d26136bc4bcfcfbfb7304d348b3c01e3fde
refs/heads/master
2021-01-23T10:48:47.981768
2016-10-18T22:19:42
2016-10-18T22:19:42
39,282,490
0
0
null
2016-10-18T20:57:08
2015-07-18T01:33:56
C++
UTF-8
C++
false
false
341
cpp
c_mortal.cpp
#include <string> #include "lib/units.h" #include "c_mortal.h" namespace spacegun { using std::string; extern const string COMPONENT_TYPE_MORTAL; const string Mortal::getType() { return COMPONENT_TYPE_MORTAL; } void Mortal::addDeath() { deaths_ += 1; } int Mortal::getDeaths() { r...
c7ab44e859e9cc195bbb71483144034e25c5d8b7
b2c070e09bff49241fcff98bcde825cfa96e93ca
/Coding Club India/Interview Questions/Split2CircularLL.cpp
6c7edc3102b16b5254cdb4098f6d9c9627b49aaf
[ "MIT" ]
permissive
Beryl2208/CI-2
dcb1b923f9c4f1f8b167c36c8b22a80522322c53
f671292dad2695e37458866442a6b951ba4e1a71
refs/heads/master
2022-12-26T19:11:28.559911
2020-10-06T06:27:51
2020-10-06T06:27:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,033
cpp
Split2CircularLL.cpp
void splitList(Node *head, Node **head1_ref, Node **head2_ref) { Node *slow_ptr = head; Node *fast_ptr = head; if(head == NULL) return; /* If there are odd nodes in the circular list then fast_ptr->next becomes head and for even nodes fast_ptr->next->next ...
6a97a57f41b2d5e3d608f93840d8c4bcb334db82
2e19c0e736bc5dcabc7e585bfa0b775465b17f9b
/~ProgChallengesCode/StringProblems/PrintCharsWithOddFrequencies/main.cpp
fdf0bdd2b8781e68b8601dcf705d3d05a5dd029d
[]
no_license
mukesh-fis/PracticeRepo
792703000afa6f7c777073c3cc906398c91f2725
52dac511f8901e20ff2bcb2054dca747ab559b0a
refs/heads/main
2023-04-16T22:26:54.482232
2021-05-01T16:10:16
2021-05-01T16:10:16
349,652,830
0
0
null
null
null
null
UTF-8
C++
false
false
1,270
cpp
main.cpp
#include "PrintCharsWithOddFrequencies.h" #include "PrintCharWithPrimeFrequency.h" #include "PrintCharsWithTheirFrequencies.h" #include "BinaryTree.h" int main() { std::cout << "Finding characters with odd frequency in order of their occurrence!\n"; string input = "geeksforgeeks"; cout << endl; cout << "Printing ...
39ac529bc313ddd35182acfe8605b6af61371837
ce0fa1cacf941f34b78bf38e1e1921d1f9db67ce
/PentagoAI/PentagoAI/NNTrainer.h
d96c863354306eeafe8b6be6b8dc3db4719674e0
[]
no_license
pad918/PentagoAI
bfde1056bfe8e972b18e73078ebccd12826950a6
88775bdd3076462c385421516d86d5b8259f4768
refs/heads/master
2023-03-23T06:26:08.659298
2021-03-13T07:17:47
2021-03-13T07:17:47
296,047,355
0
0
null
null
null
null
UTF-8
C++
false
false
486
h
NNTrainer.h
#pragma once #include <iostream> #include <stdlib.h> #include <chrono> #include <Eigen/Dense> #include "Pentago.h" #include "Minimax.h" #include "MyMath.h" #include "PlayGame.h" #include "Hash.h" #include "NeuralNetwork.h" #include "Dataset.h" class NNTrainer { private: double getLearningRate(int epoch); public: vo...
31d153fe5e6134bbe16c52855fd5cba504b3344a
2c232e51b27dc23d204a0b65e29536a72efd5b83
/Source/Simulation/BehaviorTree/Behaviors/RGDomain.cpp
10fd6f10dc0e685650b036378b067713be281dce
[]
no_license
Bakuipje/CitySim
16613d719306f9f67b4209b271fb60874aa3cff4
9dd11e663f0971aa421c539a4717c82c214ffe35
refs/heads/master
2020-03-14T13:50:28.483830
2018-04-30T20:27:19
2018-04-30T20:27:19
131,641,075
0
1
null
null
null
null
UTF-8
C++
false
false
1,420
cpp
RGDomain.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "RGDomain.h" #include "BehaviorTree/RGBehaviorTreeBase.h" #include "BehaviorTree/RGCondition.h" #include "BehaviorTree/RGBehaviorTreeComponent.h" URGDomain::URGDomain() { } /* URGDomain::URGDomainURGDomainURGBehaviorTreeComponent...
580d94bec0881d8778c013676c8ae08b332b976f
3ff1fe3888e34cd3576d91319bf0f08ca955940f
/dbbrain/include/tencentcloud/dbbrain/v20210527/model/DescribeSqlFiltersRequest.h
46a9d7bd4fc252b9b770b02b4ec68acb5f0eab85
[ "Apache-2.0" ]
permissive
TencentCloud/tencentcloud-sdk-cpp
9f5df8220eaaf72f7eaee07b2ede94f89313651f
42a76b812b81d1b52ec6a217fafc8faa135e06ca
refs/heads/master
2023-08-30T03:22:45.269556
2023-08-30T00:45:39
2023-08-30T00:45:39
188,991,963
55
37
Apache-2.0
2023-08-17T03:13:20
2019-05-28T08:56:08
C++
UTF-8
C++
false
false
8,382
h
DescribeSqlFiltersRequest.h
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
76fd1520b8662803d732df140376abdb85324936
da6b0aac69330596d61d7257be8b3f06d2975b83
/ResearchEngine/SunExamples/LensFlareSunDemo.hpp
68aabc217b07b9711c18155e52a294f6f22bbb6a
[]
no_license
veldrinlab/researchEngine
6293bfbe09f5d1fc6b35e571a6219d975b77fde0
7ee4623ef2077785537efdd9dbbe2fcee24ebf40
refs/heads/master
2020-06-06T19:26:18.529683
2013-09-18T16:25:47
2013-09-18T16:25:47
12,928,240
1
0
null
null
null
null
WINDOWS-1250
C++
false
false
1,290
hpp
LensFlareSunDemo.hpp
/* * Projekt C-Way * Efekt nieba, chmur i słońca w grze 2D z widokiem z boku * Szymon Jabłoński * pod kierunkiem Tomasza Martyna * Instytut Informatyki * Politechnika Warszawska */ #ifndef LENSFLARESUNDEMO_HPP #define LENSFLARESUNDEMO_HPP #include <boost/lexical_cast.hpp> #include "../Engine/ResearchEngine.hp...
913a8024084909f26fce6f0ea917f98cf887e4d8
33f4a10a52a542d7c87a0b6f151091db914ff993
/477_laoche/common/landmark_map.cpp
b7aba22c1e727fe7a84d6a3ad7420b6a81c2c3d5
[]
no_license
liwenguang211/my_slam
def8def7b05f3994de2a475bae9fa7db0ec536f1
72803c862d0fb436e76cae3de86c908a39f30df3
refs/heads/main
2023-04-08T17:28:12.918392
2021-04-20T06:26:36
2021-04-20T06:26:36
359,584,456
0
1
null
null
null
null
UTF-8
C++
false
false
6,236
cpp
landmark_map.cpp
#include "landmark_map.h" #include "configuration.h" #include <stdio.h> void LandmarkMap::set_mapinfo(MapInfo &i) { info = i; points.clear(); has_init = true; } void LandmarkMap::insert(double x, double y) { if(!has_init) { return; } int x1 = info.global_x_to_map_x(x); int y1 = in...
c2fb677718553c4935e4ea72cecdd0066d4ad415
60d35a2e95b9cde604320f20ab225272e1ed8882
/src/AlarmSetup.h
45f36db09ceea027f0181fa0732d5e4ab56d8ba8
[]
no_license
Richou/alarm-clock-iot
17a7f80a9a09de04a4be2676111d8f229674fe1a
aad280858cd4c7fb506f1367d36940fbd4eb9077
refs/heads/master
2020-03-11T05:35:37.567364
2019-01-06T22:03:48
2019-01-06T22:03:48
129,807,002
0
0
null
null
null
null
UTF-8
C++
false
false
298
h
AlarmSetup.h
#ifndef ALARM_SETUP_H #define ALARM_SETUP_H #include <Arduino.h> // Class to Init the Alarm Clock IoT (bluetooth pairing, with security password) class AlarmSetup { private: long _generated_password; public: void initialize(); void handle_alarm_setup(); }; #endif
a661ac93132eebd4e8527875c4c568d3c5f1d26f
82e6375dedb79df18d5ccacd048083dae2bba383
/src/jive/y/jive/lexical/plugin/multi-lines-comments.hpp
4d17f769c0c723093a8ef2ae385ff09e646aff6d
[]
no_license
ybouret/upsylon
0c97ac6451143323b17ed923276f3daa9a229e42
f640ae8eaf3dc3abd19b28976526fafc6a0338f4
refs/heads/master
2023-02-16T21:18:01.404133
2023-01-27T10:41:55
2023-01-27T10:41:55
138,697,127
0
0
null
null
null
null
UTF-8
C++
false
false
2,310
hpp
multi-lines-comments.hpp
//! \file #ifndef Y_JIVE_LEXICAL_PLUGIN_MULTI_LINES_COMMENTS_INCLUDED #define Y_JIVE_LEXICAL_PLUGIN_MULTI_LINES_COMMENTS_INCLUDED 1 #include "y/jive/lexical/plugin.hpp" namespace upsylon { namespace Jive { namespace Lexical { //___________________________________________________...
e59eb692ce2f68318be0c1d200699c5592561895
66d13f6a4313baa32c6d430da1dec41c27a4b39c
/BOJ(Baekjoon Online Judge)/BOJ_16234_인구 이동.cpp
8251c3b8e5cedd89e5b06fccd481157f9bdf065c
[]
no_license
IDdmseo/Online-Judge-Algorithm-
442cad71a0f154be8284bcd497165c3dc2f1ef92
0441123a70fafe5b8a0fb27c00587e37c5bb36bd
refs/heads/master
2021-04-07T01:40:49.817577
2020-09-02T04:14:58
2020-09-02T04:14:58
248,632,338
0
0
null
null
null
null
UTF-8
C++
false
false
1,585
cpp
BOJ_16234_인구 이동.cpp
#include <iostream> #include <algorithm> #include <cstdlib> #include <cstring> #include <queue> using namespace std; int n, l, r, ans, sum[2501], cnt[2501], board[51][51], checked[51][51]; int dx[] = { 1,0,-1,0 }, dy[] = { 0,1,0,-1 }; typedef struct { int x, y; } pos; queue<pos> q; int bfs() { while (1) { int region...
34488d42ee2534663997c5a36af7e5369b4aa357
1f7741e56ab58d743763b98aa935bd8089897280
/game/CGDefinitions.h
80ed6a5ebcc7e3bbb5deafd14739f45470592201
[]
no_license
kklmg/DirectX9-2DRPGDemo
09542e8d7c8fa4d3ca899bcf11187459275d4d3a
8ad2094b4c5176d0780e61ab2b0d324ab3d09d7f
refs/heads/master
2021-10-28T13:08:16.097588
2019-04-23T23:16:43
2019-04-23T23:16:43
178,705,328
0
1
null
null
null
null
UHC
C++
false
false
7,433
h
CGDefinitions.h
#pragma once #include <crtdbg.h> //***************************************************************************** //* * //* Definitions * //* ...
06ee445ba037bd8eba8055cfa2f1730e49492b4c
093afc51ddd4dabadaafe855bc808edd1b42ac3f
/sys/membuffer.cpp
2837bbd93130500c78a7a8f6c7fdaf3dd70dbdd0
[]
no_license
huangsusjtu/framework
daf0f0616c65f7a646b3b6ff6f05a2b44a517450
e0ab48d7703ad4095ba9a5bc57517f1610ec23f9
refs/heads/master
2020-12-25T19:14:32.088461
2014-09-14T13:09:42
2014-09-14T13:09:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,686
cpp
membuffer.cpp
#include <string.h> #include "membuffer.h" namespace sys{ MemBuffer::~MemBuffer() { if(_data) delete []_data; } MemBuffer::MemBuffer():_begin(0), _end(0) { _data = new char[default_bufsize]; _size = default_bufsize; } bool MemBuffer::operator==(const MemBuffer& T)const { return T==*this ||(T._data == this-...
f6b30d5757316fdacb7a33d9c2e33e952e1ea019
24b9a93d46dd2dde0125631e11b52a3d01a268b2
/MegamanX3/MegamanX3/Background.h
880ae93c2632b045ff4440fe99eece9e017a42eb
[]
no_license
TuanAnhNguyen69/MegamanX3
dff0ce5947175e323ff2126e7bd0e036c04a4fbd
6b2c6a2e1d55b6f0d1a0872cc5ef986931a8c3cd
refs/heads/master
2021-07-15T13:27:31.356311
2019-02-15T02:41:40
2019-02-15T02:41:40
153,568,057
0
0
null
null
null
null
UTF-8
C++
false
false
732
h
Background.h
#ifndef _MAP_H #define _MAP_H #include "QuadTree.h" #include "Sprite.h" #include <map> #include <list> #include <fstream> #include <iostream> #include <sstream> #include <random> #include "Tile.h" #include "Camera.h" class Background { public: Background(); ~Background(); void Initialize(LPCTSTR filePath, int sc...
33e500f02dc7f053dd815942a724773370a76660
75ae2e16b483f34c86538a2015416e03c563ae06
/code/windows/书上知识实践/c++ data_structure/main3.cpp
229d31c6e3613b75b8bad6a6d4201e9f82408fcb
[]
no_license
nijiahe/code
962d61efced0e4b7af0fcb93f158a489ed9237b0
4ac258c2e968d9bdfea7ffb76d1da4d79d6de94a
refs/heads/master
2021-02-08T00:49:28.074815
2020-03-01T05:32:44
2020-03-01T05:32:44
244,090,411
0
0
null
null
null
null
UTF-8
C++
false
false
782
cpp
main3.cpp
#include "List.h" #include <iostream> using namespace std; int main3() { List<int> list; list.insertAsLast(3); list.insertAsLast(2); list.insertAsLast(5); list.insertAsLast(7); list.insertAsLast(9); list.insertAsLast(8); list.insertAsLast(4); list.insertAsLast(9); list.insertAsLast(8); list.insertAsLast(4...
f0bf003051a4298a68c447f8cfb43cc4d69bc71c
cbb35583d5489432bb3219fa7f956f2b6c86e875
/Calculator/Calculator/Paint.cpp
31b95eca88b63dd1c8f2712fd59cc0e2722f5e24
[]
no_license
hsh1234/object-oriented
5916c1455d473bc80b1d7825932efee56f9f394f
dc28906b558e65e7fd76c754b93cad3c31930a50
refs/heads/master
2021-01-21T13:57:39.428776
2017-09-10T03:15:44
2017-09-10T03:15:44
50,335,017
0
0
null
null
null
null
GB18030
C++
false
false
479
cpp
Paint.cpp
#include "Paint.h" #include "Scan.h" #include <iostream> #include <string> #include <queue> #include <stack> #include <fstream> using namespace std; extern queue <string> Que; extern stack <double> Num; extern stack <string> Str; extern int flag; extern string ssss; extern ofstream fout; void Paint::Printqueue() { i...
c52c8767f2d53c9631767b61ea9a5c63e9518840
13f3e1539055b30370af6ae62e1f806bf5726e77
/Romain/Existant/src/Mesure.cpp
facb67275fbe212eb8958da57fc9bef0b1fab319
[]
no_license
rgranjon/InitCube-Vol
c5149ca0e635be1b446cb62671c53a23ae643a07
b90b731f3a896304955a9e1ec2cf8bf631eb7b44
refs/heads/master
2020-12-22T09:35:07.274578
2020-06-25T13:30:53
2020-06-25T13:30:53
236,740,264
2
0
null
null
null
null
UTF-8
C++
false
false
380
cpp
Mesure.cpp
#include "../defs/Mesure.h" Mesure::Mesure() { unit = "Celsius"; } Mesure::~Mesure() { } Mesure::Mesure(float valeur) { value = valeur; } void Mesure::setDateHour(string dateHour) { this->dateHour = dateHour; } string Mesure::getUnite() { return unit; } string Mesure::getDateHour() { return da...
7ecfc803082682175a76d40fe22e0e29638651de
fd9b61d96d667aac250f13526d88337c1b09245e
/main.cpp
d61146c352949a85a81c2ef7e5ff4e5c9a6605a8
[]
no_license
khangkhang/codeblock
148fdcf0edbab4361dd16d9520247515d4c2c128
30c901925b7f45bcee20834190b3851c4c20bf36
refs/heads/master
2021-01-06T20:46:54.558042
2015-07-26T04:44:39
2015-07-26T04:44:39
39,711,548
0
0
null
null
null
null
UTF-8
C++
false
false
311
cpp
main.cpp
#include <iostream> using namespace std; int main() { int x; cout << "Hay nhap gia tri duong cheo thu 1: " << endl; cin >> x; cout << "Hay nhap gia tri duong cheo thu 2: "<< endl; int y; cin >> y; cout << "Dien tich hinh thoi la:" << (x * y) / 2 << endl; return 0; }
92a89f08588da2430289ad6b81498ad2e7645d6d
32bbe1241771a4bb40f847515e938a8af156f66d
/Source/WebKit/blackberry/Api/DumpRenderTreeClient.h
fc14cd01fe6825b23ce4d0177adcccb43c3be8d1
[ "BSD-2-Clause" ]
permissive
rogerwang/WebKit_trimmed
0499bb5337da3ab6b9844f408182bc83e31389a1
a8fa531992383dbb37dd28c3fd6fe3233bee0f04
HEAD
2016-09-05T09:07:55.025714
2013-04-26T05:52:09
2013-04-26T05:52:09
6,499,769
4
0
null
null
null
null
UTF-8
C++
false
false
4,098
h
DumpRenderTreeClient.h
/* * Copyright (C) 2009, 2010, 2011 Research In Motion Limited. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your...
2a2ea258459ec19bed520287cae7f98367bbe833
f66a58d15321429a305a138f5387e82f56a7a4f3
/DIYDOOM/Notes010/src/DIYDoom/DoomEngine.h
fb841d56013bc2ff652ef7e197a5b59a1741a581
[ "MIT" ]
permissive
amroibrahim/DIYDoom
dde52b99a42226820bdd48ca3f2a2d8a2ac93a02
68427a5cd7e02092056a8dac4149f9912e32302b
refs/heads/master
2022-08-27T13:04:00.284247
2021-11-25T06:48:14
2021-11-25T06:48:14
191,222,216
502
30
MIT
2020-01-29T18:07:28
2019-06-10T18:16:07
C++
UTF-8
C++
false
false
793
h
DoomEngine.h
#pragma once #include <SDL.h> #include <string> #include "Map.h" #include "Player.h" #include "WADLoader.h" class DoomEngine { public: DoomEngine(SDL_Renderer *pRenderer); ~DoomEngine(); virtual void Render(); virtual void KeyPressed(SDL_Event &event); virtual void KeyReleased(SDL_Event &event);...
790e167b0694d3c60dcfe6f5b81a1104c3dc456f
0c73c273143d2f4cca76537b1f215ac937cd5eeb
/2017/AOC10.cpp
f4a95cc29960850b742f8757a934b69b916ddf93
[]
no_license
TheTryton/AdventOfCode
3144c1f23698983d4d49aa611f3f15732d229c8b
389c0fddc4e56c159377d4171b02464631cf45db
refs/heads/master
2022-12-26T17:34:25.762119
2022-12-09T17:09:33
2022-12-09T17:09:33
113,601,857
0
0
null
null
null
null
UTF-8
C++
false
false
2,864
cpp
AOC10.cpp
#include <iostream> #include <string> #include <vector> #include <sstream> using namespace std; int fromString(string val) { stringstream ss(val); int out = 0; ss >> out; return out; } void reverse(vector<int>& array, size_t start, size_t len) { for(size_t i=0;i<len/2;i++) { swap(arra...
eb96ff4a751ba74fe77230350f8f6beec5e7a06e
b0fa6a9dd581676e727a507a292662afeaff7b2b
/include/Plus/Audio.hpp
5f2d9c77a3e6a3e478209b45a778b0695a67401f
[]
no_license
gabteles/RGSSPlus
d3ba72ada72a16699353fdac136ebc56ac826550
4e5a44003158525b98b4f73c0651310b96226f84
refs/heads/master
2021-05-16T02:51:42.577238
2018-01-01T21:00:56
2018-01-01T21:00:56
7,790,329
1
0
null
null
null
null
UTF-8
C++
false
false
877
hpp
Audio.hpp
#ifndef PLUS_AUDIO_HPP #define PLUS_AUDIO_HPP namespace Plus { class _MAudio { public: void setupMidi(); void bgmPlay(std::string filename, unsigned char volume, unsigned char pitch, long pos); void bgmStop(); void bgmFade(long time); ...
4c5e9a97b765c52764f75607faf354bf940f5517
86cf43b623ba45164d46d265f419cb4538b3a1d1
/cat/snsrgtwy/radio/messages/LowPowerRadioCommsSpecMessage.cpp
8f788f00fd1e6f49f2d55351b5be65eb51f31842
[]
no_license
CentreForAlternativeTechnology/SensorGateway
d00bb897e53c291f44c2755a756c11163e2d377d
3152381ed7b949a7f50d9b8c3c02dc0764c787a8
refs/heads/master
2021-01-01T19:38:21.240330
2015-05-20T09:23:37
2015-05-20T09:23:37
35,937,536
0
0
null
null
null
null
UTF-8
C++
false
false
4,780
cpp
LowPowerRadioCommsSpecMessage.cpp
#include <stdexcept> #include <RF24Network/RF24Network.h> #include <cat/snsrgtwy/radio/RF24Handler.hpp> #include <cat/snsrgtwy/radio/messages/LowPowerRadioCommsSpecMessage.hpp> #include <iostream> namespace cat { namespace snsrgtwy { namespace radio { namespace messages { /** * @see cat/snsrgtwy/radio/messages/L...
49ccd918649460ea9ebc15f135fc728572174681
8cfa91da8f4096e8dd75247df72116f7c89d605d
/Stupid1/Motor.ino
c56c5c3c4666d0a5365ffd04656f9586575261d6
[]
no_license
Orpon-chanda/RFID_4
ade14851643ff81be4a6707c9d133766ee4c9c48
43999f5b2a9493d7f737ad3bb977c42ab777fbe9
refs/heads/main
2023-04-24T00:13:06.183194
2021-05-11T17:54:33
2021-05-11T17:54:33
366,469,144
0
0
null
null
null
null
UTF-8
C++
false
false
374
ino
Motor.ino
void motor(int a, int b){ if (a >= 0) { analogWrite(lmf, a); analogWrite(lmb, 0); } else if (a < 0) { a = -a; analogWrite(lmb, a); analogWrite(lmf, 0); } if (b >= 0) { analogWrite(rmf, b); analogWrite(rmb, 0); } else if (b < 0) { b = -b; analogWrite(rm...
3cef7f06221c052f9a94069d0d70427fc570fa04
6f9a004679d9655d70bddff9d5f9522e970ce78a
/main.cpp
81bd6eb4e3cae4fe69fa728e1e8c59e0841d83ed
[]
no_license
vortex314/esp8266_serial2mqtt
a91e58d4ec915cb94f6e895d834247f0154012bc
669c65031c5873dc55e831e4d5b2a03e09e1df6c
refs/heads/master
2021-01-12T03:39:46.595152
2021-01-01T13:27:17
2021-01-01T13:27:17
78,248,566
3
3
null
null
null
null
UTF-8
C++
false
false
3,480
cpp
main.cpp
#include <Arduino.h> #include <ESP8266WiFi.h> #include <pins_arduino.h> #include <Sys.h> #include <Wifi.h> #include <LedBlinker.h> #include <WiFiUdp.h> #include <ESP8266mDNS.h> #include <mDNS.h> #include <ctype.h> #include <uart.h> #include <Udp.h> #include <ctype.h> #include <cstdlib> #include <Base64.h>...
1dc89d6317b6cad9a6fb9cf398b660b6881415a7
0c619682d82e155047ff1c9adcdecf5e9c4cc17a
/20190519/testB/SourcB.cpp
9bfbfea38f2b584dd402909cdc3dfca56bd424d9
[]
no_license
kasataku777/atcoder_solution
822a6638ec78079c35877fadc78f6fad24dd5252
8838eb10bf844ac3209f527d7b5ac213902352ec
refs/heads/master
2023-01-23T06:36:59.810060
2020-12-03T02:02:40
2020-12-03T02:02:40
247,486,743
0
0
null
null
null
null
UTF-8
C++
false
false
389
cpp
SourcB.cpp
#include<iostream> using namespace std; int main() { int S; cin >> S; int kami = S / 100; int simo = S % 100; if (1 <= kami && kami <= 12) { if (1 <= simo && simo <= 12) { cout << "AMBIGUOUS" << endl; } else { cout << "MMYY" << endl; } } else { if (1 <= simo && simo <= 12) { cout << "YYMM"...
f40bef7571bda39163f3c7f6cd007a8d3e1fe1b7
bda8b1d9757cfd177795242430f8d32367194d2d
/libs/Celer/src/Celer/OpenGL/Shader.hpp
0b821e66d16199a2a7b56662d81cb3922ed4a3bc
[]
no_license
felipeCeler/irescutaway
29f93188ebaf3198d036da6dd5daebd6a4893d80
08becff61c76a9f424102a3b21dbd5b4b63e7567
refs/heads/master
2020-06-08T18:14:25.729729
2020-04-10T02:58:15
2020-04-10T02:58:15
45,313,999
0
0
null
null
null
null
UTF-8
C++
false
false
2,948
hpp
Shader.hpp
#ifndef SHADER_HPP_ #define SHADER_HPP_ //- Celer/OpenGL/Shader.hpp - Shader Module definition ----------------------// //- Celer Graphics // Copyrights (c) 2008-2013 - Felipe de Carvalho // // The Celer OpenGL Framework // // This file is distributed under GNU General Public License as published ...
4cba75b4c980ccf6f1fba8be4fc69680d0de3516
074372638522c8af37c4e4ceb2d3e5b3cafccbc8
/BackPropNN.cpp
fcad8c2f378c12fad49dc3975991bbfb2225a3f9
[]
no_license
lrei/SigRecNN
4110a3ba741072e2d5b1815d347178a6c5ae9c88
1464cccf9b1c840afae82499c3f6926099a5b45e
refs/heads/master
2018-12-28T12:54:05.045330
2012-02-18T23:57:58
2012-02-18T23:57:58
3,482,072
2
0
null
null
null
null
UTF-8
C++
false
false
8,384
cpp
BackPropNN.cpp
/* * A Backpropagating Multilayered Feedforward Neural Network * Adapted from code by Tejpal Chhabra (http://indore.sancharnet.in/tejpal/) */ #include "BackPropNN.h" /* * constructor - allocates memory and initializes the neural network * INPUT * nl - number of layers * sz - array containing the size of ea...
a18003d60b3c6a25e33c7c33503757d20fffbb0e
3bfeff338f634234a7367554e3dd1323adca2f1b
/src/1 Graph/8 Stoer_Wagner.cpp
8df7ffebf99484a5a2592eaab3c81fc48a365209
[]
no_license
ailyanlu1/ACM-ICPC-Reference-Material
0e022364175eeb88a3455d1fb92e2f54fd87176f
4ede8958932f9682b94ce0af4788de96f6c4dad4
refs/heads/master
2020-04-30T14:43:37.161690
2017-02-28T06:53:33
2017-02-28T06:53:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
778
cpp
8 Stoer_Wagner.cpp
<TeX>无向图全局最小割。调用前建立邻接矩阵G,跑完后会破坏G。可记录点集。$O(n^3)$ </TeX> int Stoer_Wagner(int n) { int mincut = 0x7FFFFFFF; int id[MAXN] = {0}; int b[MAXN] = {0}; for(int i = 0;i < n;i++) id[i] = i; for(;n > 1;n--) { memset(b,0,sizeof(b)); for(int i = 0;i < n-1;i++) { int p = i+1; for(int j = i+1;j < n;j++) { b[id[j]]...
8d6babb537bdca99144484a3f20a12eb49ff1c64
341c50648f6514a8a502471fa3bb10245e232528
/modules/nebulas/protobuf/transaction.pb.cc
33f390a980a0de1e56843c1a11043f43e3b5247e
[ "MIT" ]
permissive
chiguireitor/nebulas-godot
fd1a31bce1e0f1f8c2ae13c498e34d18f9468284
fd0fb567240cefc1d357b4ce934adfe6a2a7eed7
refs/heads/master
2022-11-21T14:02:44.580949
2020-07-29T17:27:44
2020-07-29T17:27:44
275,258,965
3
0
null
null
null
null
UTF-8
C++
false
true
37,237
cc
transaction.pb.cc
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: protobuf/transaction.proto #include "transaction.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/descriptor...
3ca5c77d0be8cdbe4d0caa9945685e634682b188
8fe3abe018611aa9f3df4cf41c1f9e0e372cd38d
/Element.cpp
29a79066fd5c0b277d7169ab0b351267fad6d337
[]
no_license
NathanielKintner2/Cells
7fa2c3adb00b59b9117e16130951845b83c20369
1ed67beb3d5719df48c1e74d14881bf9938903fd
refs/heads/master
2022-09-25T19:56:47.826880
2020-06-04T23:23:29
2020-06-04T23:23:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
558
cpp
Element.cpp
#include "Element.h" #include <cstdlib> int Element::GetInstability() { int bonddiff = green - currentGreen; bonddiff = 10 * bonddiff * bonddiff - 5 * bonddiff; // if bonddiff is positive, i.e. less bonds than desired, cost is //slightly softened. diff is negative and there are too many bonds, cost ...
3322d9bdc5af75dc90c99667ae6f7eb4558500f6
34292976e1b8c38b61a4edf507ca5c8ad6ea2ca3
/src/mazegame.hpp
fa51747edaf56f5727af387ec07021e3094759f2
[ "MIT" ]
permissive
popsUlfr/a-maze-o-matic
a0dc323675a222ca1680df3dc20bb58e4168f93a
d60193491e5b3f9b50bc76e4bd6e382001f641ee
refs/heads/master
2021-01-13T02:08:01.307840
2014-07-09T15:53:36
2014-07-09T15:53:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,367
hpp
mazegame.hpp
/* * Copyright (c) 2014 Philipp Richter * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, pu...
e2adf432a03b829346a9becc1eb39e6a7af0da0c
c7b06ce5697c8f7dfc137e607890f6f7216dbaae
/P19.cpp
05704cc84a75e7d052306223bbcce87ab6878a9b
[]
no_license
gauravsharma21/college
b6fd58f63975cc8d5ed7f1efa8b33c8da59a9296
0a957c24bb49d5f7c1e021d59cb47e1e345977ac
refs/heads/master
2020-07-22T08:37:31.206744
2019-11-03T17:32:50
2019-11-03T17:32:50
207,134,937
0
1
null
2019-10-25T06:03:04
2019-09-08T15:44:47
C++
UTF-8
C++
false
false
485
cpp
P19.cpp
#include<iostream> using namespace std; void test(int x) { try { if (x > 0) throw x; else if(x < 0) throw 'x'; else throw .0; } catch (int x) { cout << "Caught a positive integer" << endl; } catch (char x) { cout << "Caught a nega...
59cf00b36c6b9dda69f4c019063c1f0c9c40de5e
a585fcbb821251c777870067ce5e6325a8b4cbdd
/src/hpp/model/DS_Read.hpp
587c72363d36776d8790915125cc723ab902c97c
[]
no_license
kdijkstra13/DDSL
c7f23555d64531455c8b2e0114bdc80a1e24185a
64db42d2f61381f85dbbf244a234ae9e830e8e5c
refs/heads/master
2021-09-03T21:49:27.339438
2017-11-24T15:34:08
2017-11-24T15:34:08
104,039,219
0
2
null
2018-01-12T07:45:58
2017-09-19T07:06:14
C
UTF-8
C++
false
false
12,790
hpp
DS_Read.hpp
#pragma once #include "h/model/DS_Read.h" #include "hpp/model/DS_Model.hpp" using namespace std; using namespace DSTypes; using namespace DSFunc; using namespace DSLang; using namespace DSUtil; using namespace DSLib; namespace DSModel { //************// //** Import **// //************// inline istream & readLine...
628a13d7ea7976f96100c087850e77dfc79d52b1
b4acf354cfdfcf574ce3622529d4d375ad10d545
/ABC/abc030/D.cpp
723a132e191f2fe85382f97854f9090c21a435d1
[]
no_license
keigo-brook/Atcoder
c0f1c3b3b2de99b2312291b44d34368b7fbebd44
5a77230e1acae0bef358736fe46b274b56c8fc8e
refs/heads/master
2020-05-22T04:04:37.490058
2016-09-24T11:44:34
2016-09-24T11:44:34
51,286,782
0
0
null
null
null
null
UTF-8
C++
false
false
1,803
cpp
D.cpp
/* * Created by KeigoOgawa */ #include <cstdio> #include <iostream> #include <algorithm> #include <queue> #include <map> #include <set> #include <cassert> #include <cmath> #define INF (int)1e8 #define EPS 1e-10 #define FOR(i, a, b) for (int i = (a); i < (b); i++) #define RFOR(i, a, b) for (int i = (b)-1; i >= (a);...
ce126b5250c4379e8163b1b067129d6c718c78d8
7811039466fbfea9743f749bda60eff2afeaf376
/DA/User4/lab_1(new_with_num)/TVector.h
336d855187da886fe68b0476b0027c1e1b5cba9a
[]
no_license
lolikoni/MAI-1
c11a0c66682840509451f4157edc7802f9624e8c
e68633150931ec118bd7870c81d87aa8eca31610
refs/heads/master
2020-04-06T14:49:06.014277
2018-05-15T16:57:34
2018-05-15T16:57:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
543
h
TVector.h
#ifndef TVECTOR_H #define TVECTOR_H #include "TData.h" #include "cstring" #include <cmath> const int NUMBERS = 10; const int NUMBERS_KEY = 3; class TVector { private: int size; int capacity; TData *array; public: TVector(); TVector(const int &); TData &operator[](const int &); int Size...
106f11d5f595963bb92d54ca252cf0243d5dbc70
2e619c8e2b667640989c6703a39fde3e4485679b
/2. Leetcode/easy level/071. perfect number.cpp
e27de42cb673d6bf4e7ae603b6fce6df272a910e
[]
no_license
satyampandey9811/competitive-programming
76957cde72ba217894ba18370f6489d7c481ba55
8ca1e2608f5d221f4be87529052c8eb3b0713386
refs/heads/master
2022-10-14T11:13:16.704203
2022-09-20T18:24:09
2022-09-20T18:24:09
203,355,790
0
0
null
null
null
null
UTF-8
C++
false
false
443
cpp
071. perfect number.cpp
// link to question - https://leetcode.com/problems/perfect-number/ class Solution { public: bool checkPerfectNumber(int n) { if(n==33550336) return true; if(n<=1 or n>50000) return false; int sum=0; for(int i=1;i<=n/2;i++){ if(n%i==0) ...
9b4de17de3f721accd18855c28018a175dc7e50c
745d39cad6b9e11506d424f008370b5dcb454c45
/BOJ/16000/16931.cpp
8c42a6630bfbea5827a9afedc52219e9bb51de79
[]
no_license
nsj6646/PS
0191a36afa0c04451d704d8120dc25f336988a17
d53c111a053b159a0fb584ff5aafc18556c54a1c
refs/heads/master
2020-04-28T09:18:43.333045
2019-06-19T07:19:03
2019-06-19T07:19:03
175,162,727
0
0
null
null
null
null
UTF-8
C++
false
false
704
cpp
16931.cpp
#include <bits/stdc++.h> using namespace std; int n, m; int a[100][100]; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cin >> n >> m; int ans = 2 * n*m; for (int i = 0; i < n; ++i) { for (int j = 0; j < m; ++j) { cin >> a[i][j]; } } for (int i = 0; i < n; ++i) { int height = 0; int su...
491b24809d2daa0df6dd7964b47fdd1ed96ad3c0
46dabcc32698c30a7fb1cc6bc5db3ad5fc5d8b03
/src/system/dataModel/setting/parametersettingdatamodel.cpp
282a1812487018097659ffb31eb859f5f654ab0f
[]
no_license
bbsctor/NHNAPP
44237c8e7d84d7581ddbf6f7b64fb1d5dc6a8123
32d65e67b7efd6e93ef8388d36af13c8a6655b94
refs/heads/master
2020-03-16T15:12:07.968505
2018-04-19T09:52:50
2018-04-19T09:52:50
132,732,638
4
5
null
null
null
null
UTF-8
C++
false
false
1,318
cpp
parametersettingdatamodel.cpp
#include "parametersettingdatamodel.h" ParameterSettingDataModel::ParameterSettingDataModel(QObject *parent):DataModel(parent) { } QString ParameterSettingDataModel::sampleConcentration() const { return m_sampleConcentration; } void ParameterSettingDataModel::setSampleConcentration(const QString &sampleConcentr...
f3400f203519da0b600276365dc907b9b9a80611
89fa63db033c2271ddb2d19bcb683c707aecbd02
/Business Prodtuct Maintenance Tool/viewdlg.h
33a0c1873e11b9ab8c73923239e0c3613d0965d2
[]
no_license
SughoshDixit/Business-Product-Maintenance-Tool-using-Chained-Hashing
44e678ed8ba47e762a8b9408fe5820ae3e5b0451
09e9f93cd4b5a83e78145e7ed1baaf5a435062f4
refs/heads/master
2022-08-05T05:16:48.627283
2019-06-06T08:50:04
2019-06-06T08:50:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,179
h
viewdlg.h
#if !defined(AFX_VIEWDLG_H__209EF161_D4A5_4791_BE71_1ABD81DDB29A__INCLUDED_) #define AFX_VIEWDLG_H__209EF161_D4A5_4791_BE71_1ABD81DDB29A__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // viewdlg.h : header file // ////////////////////////////////////////////////////////////////////////...
e37175b73b8f9265b5a8c37d20fbc3099b774ffd
49616bddf1f6cf68e76ab2d0be0899e233174152
/libfma/include/fma/types/InternalValue.hpp
c21224a3a92e923d8ebefedc71540a834c085957
[ "MIT" ]
permissive
BenjaminSchulte/fma
40ed53a4a78f4bdf340d0b1e0a4f8656d6718abf
df2aa5b0644c75dd34a92defeff9beaa4a32ffea
refs/heads/master
2022-03-12T12:16:19.154084
2021-09-18T13:01:00
2021-09-18T13:01:00
110,001,614
15
0
MIT
2020-12-22T10:07:09
2017-11-08T16:32:16
C++
UTF-8
C++
false
false
2,929
hpp
InternalValue.hpp
#ifndef __FMA_TYPES_INTERNALVALUE_H__ #define __FMA_TYPES_INTERNALVALUE_H__ #include <string> #include <functional> #include <sstream> #include <vector> #include <map> #include "Decoratable.hpp" namespace FMA { namespace output { typedef std::shared_ptr<class DynamicBuffer> DynamicBufferPtr; } namespace serialize { t...
362374aab912f409c892f44fcd226d271d15a542
08c5a3e5bcd2092058398541c42d67444fea2458
/controller.h
8c2be28666483efb12a22106adfcd9e068040fb2
[]
no_license
strongerspells/Quick_Liza
a72e40ee9a6fdd92fdfab415b12e200ce37bdef2
68066c92501a9f57d0caaea1d55fe5779d032f76
refs/heads/master
2021-08-23T02:09:15.285689
2017-12-02T11:29:07
2017-12-02T11:29:07
112,765,888
0
0
null
null
null
null
UTF-8
C++
false
false
716
h
controller.h
#ifndef CONTROLLER_H #define CONTROLLER_H #include <QMainWindow> #include <QObject> #include <QWidget> #include <iostream> #include "tbutton.h" #include <conio.h> #include "string" using namespace std; class Controller { public: Controller(); Controller(string NameController, bool BleStatus,...
1aaddc19a6f305f224a2d657069d7a119c7868bf
375074d99b2cb412825101af9fb32f68a3d27b4d
/src/agent/GroupInterface.cpp
7d22353a053c50ee9ff1f8145c81e40b6e8c7004
[ "Apache-2.0" ]
permissive
NIMML/ENISI-MSM
2347a074faab84d4da936924d8cc45cd2821c773
1faf7a6b7f67e1a1eb05afd7ae45abb470d17ba4
refs/heads/master
2020-12-24T06:58:04.076793
2019-10-03T13:51:57
2019-10-03T13:51:57
73,390,179
3
2
Apache-2.0
2019-01-18T15:58:01
2016-11-10T14:35:47
Component Pascal
UTF-8
C++
false
false
691
cpp
GroupInterface.cpp
/* * GroupInterface.cpp * * Created on: Apr 20, 2016 * Author: shoops */ #include "GroupInterface.h" #include "compartment/Compartment.h" using namespace ENISI; GroupInterface::GroupInterface() : mpCompartment(NULL) {} GroupInterface::GroupInterface(Compartment * pCompartment): mpCompartment(pCompart...
ccfcb97a355c320ed199024e9b347cf7c125ca5c
5489b943f663a4b9cbee17358ec29819be5ad5c1
/src/common/hypothesis.h
4948d4f9fa94c21d684cbe828490d163268c8b92
[ "MIT" ]
permissive
czhiming/AmuNMT
a4a0c85e0fd25e113ff5f39d25589f3bf70a1f5e
154f6663152611c189c179e1b2eba62e1dd1a399
refs/heads/master
2021-09-05T13:56:43.922478
2018-01-28T13:19:06
2018-01-28T13:19:06
119,259,988
4
2
null
null
null
null
UTF-8
C++
false
false
1,680
h
hypothesis.h
#pragma once #include <memory> #include "common/types.h" #include "common/soft_alignment.h" namespace amunmt { class Hypothesis; typedef std::shared_ptr<Hypothesis> HypothesisPtr; class Hypothesis { public: Hypothesis() : prevHyp_(nullptr), prevIndex_(0), word_(0), cost_(0.0) {} ...
9a1c343d12d77afd743d2bc48966e4a771643a48
43bf0bdbd65c8bc8bc99d0ed1d408a79aee2621a
/c/tools/include/pncompat/misc_funcs.inc
821aaf4bfd9d0d0b382f983f386379eb273d0b4d
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
apache/qpid-proton
51a6a61352cb206095aec75b27ebaa7fbf211d20
6b05c6d64ba04bad96745b1430ca17d436b6fd32
refs/heads/main
2023-09-01T14:06:34.221772
2023-08-09T21:38:18
2023-08-09T21:38:18
26,309,799
236
257
Apache-2.0
2023-08-31T14:37:43
2014-11-07T08:00:07
C++
UTF-8
C++
false
false
2,116
inc
misc_funcs.inc
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
6b9e6522c9e5a84ef2456cb526d8a1145284eb55
b4381ce029e610740f3e2cf3adb0ae3df85d626c
/details.cpp
4d87f163abba849f35f87b24fca39ea39d8b5368
[]
no_license
duenti/Graphic-Computer
0d9d2ebf02ac976ae1c43ba0c67c044bb2c5f4f5
5e29bbc10c1bd5bd6fb425497de97989bf8a1124
refs/heads/master
2021-01-21T00:43:48.214580
2014-12-18T03:24:39
2014-12-18T03:24:39
null
0
0
null
null
null
null
ISO-8859-1
C++
false
false
33,347
cpp
details.cpp
#include "details.h" void basket(){ glPushMatrix(); glTranslatef(0.0,-3.0,0.0); glRotatef(270, 1, 0, 0); gluDisk(gluNewQuadric(), 0, 0.45, 25, 25); gluCylinder(gluNewQuadric(),0.45,0.45,1.5,40,40); glPopMatrix(); } void basketsFirstFloor(){ glColor3f(0.2, 0.2, 0...
9c29b2a50ca3f7def1af226883e43ed64fab6df4
f612607b6a2c0d2b2dfbcd893dec8ad68bf4586e
/Easy-Reconstruction/main.cpp
6e53f29972a431c04630ec8b1ab1fbb9612a41b3
[ "MIT" ]
permissive
royshil/ExercisesCollection
b543c180a221e314dcc8c23041a613d457fc9524
aeb3fab9f21821f258685d40275217f5d1779e37
refs/heads/master
2020-09-24T23:11:06.221186
2016-11-17T20:35:36
2016-11-17T20:35:36
66,906,489
4
2
null
null
null
null
UTF-8
C++
false
false
430
cpp
main.cpp
/* * main.cpp * * Created on: Oct 17, 2016 * Author: roy_shilkrot */ #include "Reconstruction.h" #include <opencv2/core/core.hpp> #include <opencv2/highgui.hpp> using namespace std; using namespace cv; int main(int argc, char** argv) { Mat imageLeft = imread("input-left.jpg"); Mat imageRight = imread(...
98b794354589bf06dbbeb7952c34354ab88f08a2
16e7eb960aca1121546ec8b7931390116b50c490
/app/src/main/cpp/frameBuffer.cpp
7289f03d99172f2ebd1dcc9f4e7b25655f9297b5
[]
no_license
yanuesix/TestLua
84103ceb1c8e478cdf93fc916a270dda2ef674b8
cbac6d0652786e5a555544b5d1c8d6c85c3f607f
refs/heads/master
2020-03-28T15:30:05.569004
2018-09-13T07:48:54
2018-09-13T07:48:54
148,600,841
0
0
null
null
null
null
UTF-8
C++
false
false
1,566
cpp
frameBuffer.cpp
// // Created by seifer on 2018/9/12. // //this is test for FrameBuffer #include <jni.h> #include <string> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include <stdio.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/types.h> #include <time.h> #include <linux/fb.h> #include <linux/kd.h> s...
e6fcaec78a6790d132a2169e229dbec68955a8b3
6f117a0844c446b46010f92b35c830995a214b28
/10-2-2014/BinarySearchTree.h
d57db47cb004b0bafcf15278f8c662519a781e84
[]
no_license
Sieabah/cmsc-341
a4c447bf6664da68b1fcbb06c70db279cd70e82f
4c6a60288af8177de8695012c5c85ca5a518e5ef
refs/heads/master
2023-01-01T00:35:56.317231
2016-03-09T22:10:19
2016-03-09T22:10:19
305,248,951
0
0
null
null
null
null
UTF-8
C++
false
false
337
h
BinarySearchTree.h
#ifndef BINARYSEARCH_H #define BINARYSEARCH_H class BinarySearchTree { public: struct Node { int data; Node* left; Node* right; }; BinarySearchTree(); virtual ~BinarySearchTree(); bool Insert(int item); void Print(); private: Node* root; bool InsertRecursive(Node* &root, Node* &item); void Print(Node* ...
cd5895e66c726d7d4f77e103fd19d59b1f416a0b
0ab72b7740337ec0bcfec102aa7c740ce3e60ca3
/include/nsim/random/mt/standard/interface.h
5bdf45812dbc3c46b6945bc28f57274d07f30894
[]
no_license
junwang-nju/mysimulator
1d1af4ad7ddbe114433ebdadd92de8bb3a45c04f
9c99970173ce87c249d2a2ca6e6df3a29dfc9b86
refs/heads/master
2021-01-10T21:43:01.198526
2012-12-15T23:22:56
2012-12-15T23:22:56
3,367,116
0
0
null
null
null
null
UTF-8
C++
false
false
4,954
h
interface.h
#ifndef _Random_MT_Standard_Interface_H_ #define _Random_MT_Standard_Interface_H_ #include "random/mt/interface.h" #include "random/base/interface.h" #include "unique/64bit/interface.h" #include "array/1d/fill.h" namespace mysimulator { template <unsigned int Fac> struct MersenneTwister<StandardMT,Fac> : public...
6da55db34eb0f578dc5dfd4d7194563f7cd56749
1994e87b87f815a894752d7a34906a75a4c0fbfd
/asteroids/src/view.cpp
43ca1e54503993453942331fa671fb3e64a90fbd
[]
no_license
Small-Embedded-Systems/assignment-2-asteroids-Usernarne
1fb92a8391d47665f3959e35c306a4b532327dd8
d1cecdf4d161c01a4ba43d8509f0a5fcd6762b99
refs/heads/master
2020-12-30T13:47:02.246924
2017-05-14T19:35:03
2017-05-14T19:35:03
91,257,868
0
0
null
null
null
null
UTF-8
C++
false
false
5,431
cpp
view.cpp
/* * Assignment 2 - Small Embedded Systems. * Constantin Strobel, 15004712 and Leon Riseborough, 15014507 */ // C libraries #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <math.h> #include <string.h> // Hardware platform libraries #include <display.h> #include <mbed.h> #incl...
dd92139dd6750bb9f8299ad18f9c2115de2558ac
18a3f93e4b94f4f24ff17280c2820497e019b3db
/geant4/G4NeutronHPProduct.hh
e9510c14e6e96b43896d4ca5f3d212c3f9e05dcb
[]
no_license
jjzhang166/BOSS_ExternalLibs
0e381d8420cea17e549d5cae5b04a216fc8a01d7
9b3b30f7874ed00a582aa9526c23ca89678bf796
refs/heads/master
2023-03-15T22:24:21.249109
2020-11-22T15:11:45
2020-11-22T15:11:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,415
hh
G4NeutronHPProduct.hh
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
fa828a704f6405ba04c0edcbf7f3a472193b4e55
4980348eda8918cfccc1857f7f1e56eecc08345f
/Source/Decoda/libs/wxWidgets/src/generic/spinctlg.cpp
68562ffb9af285c436bdf8c5ecc114191c7771a1
[ "MIT" ]
permissive
KoSukeWork/BabeLua
2d3163a118985676fd621baafa7457d1f6b66044
0904f8ba15174fcfe88d75e37349c4f4f15403ef
refs/heads/master
2023-01-24T12:14:03.548957
2020-12-07T11:13:09
2020-12-07T11:13:09
319,252,369
0
1
MIT
2020-12-07T08:28:27
2020-12-07T08:28:26
null
UTF-8
C++
false
false
10,884
cpp
spinctlg.cpp
/////////////////////////////////////////////////////////////////////////////// // Name: src/generic/spinctlg.cpp // Purpose: implements wxSpinCtrl as a composite control // Author: Vadim Zeitlin // Modified by: // Created: 29.01.01 // RCS-ID: $Id: spinctlg.cpp 52582 2008-03-17 13:46:31Z VZ $ /...
f254d96f6dde31f4a22db590abc8372b8b323313
40833b1b4b047d33e4865cc24ffd0f369c6af550
/inputbutton.hpp
fc629bd69610c613ca6741824a44d903577d9db1
[ "BSL-1.0" ]
permissive
pimvanderzwan/IPASS_PROJECT
423d7967ac2de2a357f4ba825d3631abeb8ac7f5
5b4b4ac97f11da4d416f293a9868b17312717ee3
refs/heads/master
2020-06-10T04:25:22.417283
2019-07-24T16:05:53
2019-07-24T16:05:53
193,581,527
0
0
null
null
null
null
UTF-8
C++
false
false
180
hpp
inputbutton.hpp
#ifndef INPUTBUTTON_HPP #define INPUTBUTTON_HPP #include "hwlib.hpp" class Inputbutton{ private: bool state; uint8_t arduino; public: }; #endif
abb4129782210d6cb2a3abf3afc689106e0e2a14
e07e703d67a973b3846951654418a8966c4c9d45
/1374A.cpp
f24c609a0dc7baa5684f4abeb629872807317b64
[]
no_license
moonwarnishan/CodeForces1
57c392363c2eb75dc709e7e1a0dd4ba19b02185d
4cd6de165055fcf84def03e53682d04d4ac546c9
refs/heads/main
2023-07-28T00:56:55.230402
2021-08-24T14:00:07
2021-08-24T14:00:07
399,485,362
0
0
null
null
null
null
UTF-8
C++
false
false
346
cpp
1374A.cpp
#include<bits/stdc++.h> using namespace std; int main() { int t; cin>>t; while(t--) { long long int x,y,n,j,i; cin>>x>>y>>n; i=n/x; j=(i*x)+y; if(j>n){ cout<<((i-1)*x)+y<<endl; } else { cout<<j<<endl...
221d59ca59403f22b498906e1f081eb97ee231e4
15d71145156a8cfc5bbb8c7c7f4318905c053af2
/Puzzles.cpp
875d2fdc1c39fb927095dd4ec9915f2fce3793a9
[]
no_license
BhanujaAggarwal/a2oj-ladder-solutions
39cf1951732244d35ed1df274b8504d4d674dc1f
000cb67e772ec4927b93d40146286dde9bbbd941
refs/heads/master
2020-04-12T10:01:21.321116
2019-06-20T08:24:53
2019-06-20T08:24:53
162,416,281
4
19
null
2019-10-29T17:07:08
2018-12-19T09:44:25
C++
UTF-8
C++
false
false
363
cpp
Puzzles.cpp
#include<bits/stdc++.h> using namespace std; int main() { int n,m; cin>>n>>m; int xoxo[m]; for(int i=0;i<m;i++) { cin>>xoxo[i]; } sort(xoxo,xoxo+m); int diff=(xoxo[n-1]-xoxo[0]); for(int i=0;i<m-n+1;i++) { if(xoxo[n+i-1]-xoxo[i]<diff) diff=xoxo[n+i-1]-xoxo...
62c68b9184f4c82c5efeeaf59ad130e5667e00e2
3af68b32aaa9b7522a1718b0fc50ef0cf4a704a9
/cpp/E/A/D/A/D/AEADAD.cpp
60db02aae3eb44df9514da17ea92d4a4203c27f9
[]
no_license
devsisters/2021-NDC-ICECREAM
7cd09fa2794cbab1ab4702362a37f6ab62638d9b
ac6548f443a75b86d9e9151ff9c1b17c792b2afd
refs/heads/master
2023-03-19T06:29:03.216461
2021-03-10T02:53:14
2021-03-10T02:53:14
341,872,233
0
0
null
null
null
null
UTF-8
C++
false
false
108
cpp
AEADAD.cpp
#include "AEADAD.h" namespace AEADAD { std::string run() { std::string out("AEADAD"); return out; } }
32e79d6820866769727d2df96914267a9d6230b4
13d3de0451b022de2bf4236885b936481c25308e
/6502-SBC-using-Teensy.ino
e5f015dee8ba2dafbcffe8cd0f9826e70c877873
[ "MIT" ]
permissive
olivierjan/6502-SBC-using-Teensy
1b3942f46603260e954a4e77ea5d4690929df5d2
5f924704429bf6c9f9ff90ceab833224c7ac18a5
refs/heads/master
2020-07-16T01:03:15.921145
2020-04-26T18:00:06
2020-04-26T18:00:06
205,688,096
3
1
MIT
2020-04-26T18:00:18
2019-09-01T14:29:30
C++
UTF-8
C++
false
false
7,458
ino
6502-SBC-using-Teensy.ino
// // TEENSY 65C02 // // Access 65C02 address and databus using Teensy 3.6(3.3v) or 3.5 (5v) // Can simulate RAM, ROM and ACIA (6551 or 6850) // Provide access to all pins. #include "SBC.h" // ROM image declared as a C Array. // Can be easily created from a real ROM image using srec_cat // http://srecord.source...
338d95013ca071018a29d4fb0e3228cbec7864f2
d07f8dfff29d645bc731b17cdffe11ee128baf39
/17037.cpp
8bed0cf4ada9f1c7d03f381b27f6f43a610eb8f7
[]
no_license
pacokwon/nojam
616499cfaecf08fc6ccd7d7a8f249aaf61795089
1945163007ddee313f5ed5dcbdd2f8d84556f1e9
refs/heads/master
2023-05-13T23:23:31.451376
2021-06-05T10:15:47
2021-06-05T10:15:47
260,959,540
0
0
null
null
null
null
UTF-8
C++
false
false
749
cpp
17037.cpp
#include <iostream> int N, K; int x_min = 1000, y_min = 1000, x_max = 0, y_max = 0; int ans; short mp[1010][1010]; int main(void) { std::cin >> N >> K; for (int i = 0; i < N; i++) { int x1, y1, x2, y2; std::cin >> x1 >> y1 >> x2 >> y2; if (x_min > x1) x_min = x1; if...
bf145a341ad615e4d817d8ced29e25689682c5c6
a0e9d14bf3d518a5693644d798cfbbcb97c60d01
/team/NEERC2019/f.cpp
24c829cd07c2e390ad6f04a696a42df26b903217
[]
no_license
typhigh/ACM-2019
a1fe753c2ce44ad541a1c952879b856d04ebc449
1eb7d4b22e8b9ef8492de53b8f797a8ede4afd87
refs/heads/master
2020-07-15T22:32:47.191718
2019-12-17T13:40:06
2019-12-17T13:40:06
205,662,612
1
0
null
null
null
null
UTF-8
C++
false
false
1,180
cpp
f.cpp
#include <bits/stdc++.h> using namespace std; typedef long long LL; const int MAXN = 100100; bool vis[MAXN]; vector<int> prime; int n; void exgcd(LL a, LL b, LL& d, LL& x, LL& y) { if (!b) { d = a; x = 1; y = 0;} else { exgcd(b, a%b, d, y, x); y -= x * (a/b);} } void init() { int m = sqrt(MAXN + 0.5); for (int i ...
049cd59005f136cbd33343555117b099c9a62834
38efa38f256860e7a6e178bd32de7d169af0efe4
/Awl/StopWatch.h
76c86ef23e6a92c49aaf4f7db2e6979a7ca82dd7
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
dmitriano/Awl
6231b654a6320b8707d340d30287bda5f1415339
2fff3dd60ca58b1f8e760ca3ee48e7bd46a2693d
refs/heads/master
2023-08-25T06:38:16.267534
2023-04-17T11:37:15
2023-04-17T11:37:15
72,160,204
6
1
null
null
null
null
UTF-8
C++
false
false
2,039
h
StopWatch.h
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Product: AWL (A Working Library) // Author: Dmitriano ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #pragma on...
026f1aa138a0e7dc3ee70f89f1e746ed71607fc3
9b0e11c7a880185cbf3cf4cf835073977f852ad5
/if aninhado.cpp
6ffc08030d9759bb835d4a39d88640c743c80853
[]
no_license
roberiomoreira/projetosCpp
1a921621ff22838fdb209c59abd7310cb71681b0
fc54997743f66a4a2f10e2d1d5ab50dbe792536c
refs/heads/main
2023-08-11T07:54:22.265835
2021-09-28T18:52:45
2021-09-28T18:52:45
411,387,838
0
0
null
null
null
null
UTF-8
C++
false
false
505
cpp
if aninhado.cpp
#include <stdio.h> #include <stdlib.h> int main(){ int a; printf("Digite o consumo:"); scanf("%d",&a); if(a>=0 && a<=10){ printf("seu consumo foi de 6,25 por mes"); } else{ if(a>10 && a<=20){ printf("seu consumo foi de 0,71 m3"); }else{ if(a>20 && a<=30){ printf("seu consumo foi de 2,36 m3");...
05de5d64a18788a0bcc0a7299d34a3d33a723349
a744689c669acffe0a38825b7d876b5193bff8ae
/include/bad/memory/intrusive_target.hh
d5c2a0511c9391a20107392d0760ae2b26b29297
[]
no_license
merijn/bad
00bb6058fe0a171788d7553020ab982ab405e4db
f74187a94fdee79f8029b38405960db41d937411
refs/heads/main
2023-03-01T03:08:45.258416
2021-02-13T13:32:38
2021-02-13T13:32:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,509
hh
intrusive_target.hh
#ifndef BAD_MEMORY_INTRUSIVE_TARGET_HH #define BAD_MEMORY_INTRUSIVE_TARGET_HH #include "bad/common.hh" namespace bad::memory { // TODO: incorporate an allocator into the policy so we can free on the gpu, etc. struct thread_unsafe_policy { using type = size_t; BAD(hd,inline,const) static size_t load...
e415a0fbc9af87933e0f6020f852cc1f135b022c
22994be2e49b48a6c55132dabcb4dd4b2b949edd
/include/ip_tunnel_20180815.h
08415c2277f503a60d646da36c2db11404a5b033
[]
no_license
jcoelh0/IPTunnel
0efe5ddf722bd70046d5fef639af2c356167872d
6658bad3afb24619a26a6772e73e98286596615a
refs/heads/master
2020-05-23T15:48:33.594420
2019-05-10T14:21:58
2019-05-10T14:21:58
186,834,967
0
0
null
2019-05-15T13:43:34
2019-05-15T13:43:33
null
UTF-8
C++
false
false
1,277
h
ip_tunnel_20180815.h
# ifndef IP_TUNNEL_H_ # define IP_TUNNEL_H_ # include "../include/netxpto_20180815.h" class IPTunnel : public Block { public: // ########################################################################## IPTunnel(initializer_list<Signal*> InputSig, initializer_list<Signal*> OutputSig) : Block(InputSig, OutputSig...
5bd6dac3dd7a8019863a9c3ecb37ec25674604c1
49fa68e9ea262459d11e02da28329e2d63f7a420
/College/Locadora_bia/Pessoa.cpp
3e07b6c98bd4ade37781ab2b2b859b64564654db
[]
no_license
AdolfoAiresSchneider/Qt-creator
17177fa3e4e9bb74c5bdc62c14a9c01f178dc65c
8b4a4f59c662223fa678dafd259936e6e942c865
refs/heads/master
2020-05-15T23:30:06.823121
2019-04-21T17:08:16
2019-04-21T17:08:16
182,555,287
1
0
null
null
null
null
UTF-8
C++
false
false
321
cpp
Pessoa.cpp
#include "Pessoa.h" bia::Pessoa::Pessoa(): nome(""), email(""), rg(0), cpf(0) {} bia::Pessoa::Pessoa( QString nome, QString email, long long rg, std::vector<bia::Telefone> &T, bia::Endereco &E, bia::Cpf &C): nome(nome), email(email), rg(rg), telefones(T), endereco(E), cpf(C) {}...
42b953cf2865fc3c019e3d27bcb375fb5602639d
a058bd3fa22cf06cc505c892df6033e8d18546b4
/stxxl/include/stxxl/bits/algo/ksort.h
49ce34170214ac5eda31339fcfd066797c58af10
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
SilvioWeging/kASA
452cac7b4f979fc454fd2421bbf62b741663617c
19aa8ab1931acd9bfb7ecd9b356ac5855941146c
refs/heads/master
2022-12-06T01:37:55.514560
2022-11-23T13:58:56
2022-11-23T13:58:56
177,816,676
24
4
BSL-1.0
2023-08-23T19:27:38
2019-03-26T15:26:53
C++
UTF-8
C++
false
false
36,470
h
ksort.h
/*************************************************************************** * include/stxxl/bits/algo/ksort.h * * Part of the STXXL. See http://stxxl.sourceforge.net * * Copyright (C) 2002 Roman Dementiev <dementiev@mpi-sb.mpg.de> * Copyright (C) 2008-2011 Andreas Beckmann <beckmann@cs.uni-frankfurt.de> * ...
e15500ffcb9797d92820291fbc05ab11a8f84bdd
a5f3b0001cdb692aeffc444a16f79a0c4422b9d0
/main/vbahelper/inc/vbahelper/vbahelperinterface.hxx
0863efa5690e560cd72861ddbd0a7bbff57994b4
[ "Apache-2.0", "CPL-1.0", "bzip2-1.0.6", "LicenseRef-scancode-other-permissive", "Zlib", "LZMA-exception", "LGPL-2.0-or-later", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-philippe-de-muyter", "OFL-1.1", "LGPL-2.1-only", "MPL-1.1", "X11", "LGPL-2.1-or-later", "GPL-2.0-only", ...
permissive
apache/openoffice
b9518e36d784898c6c2ea3ebd44458a5e47825bb
681286523c50f34f13f05f7b87ce0c70e28295de
refs/heads/trunk
2023-08-30T15:25:48.357535
2023-08-28T19:50:26
2023-08-28T19:50:26
14,357,669
907
379
Apache-2.0
2023-08-16T20:49:37
2013-11-13T08:00:13
C++
UTF-8
C++
false
false
8,617
hxx
vbahelperinterface.hxx
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
dcdef901a378d60aa1d962199329fd22f74cf396
b5d45a79f971e138e17e54b57fecaaeab14b2b26
/codeforces/332/q4.cpp
824d63e86346756bda9a8880c7b4ef9cf99d402e
[]
no_license
vedsarkushwaha/code
8a0ccab1a16a0e4b9c2151613322ea83a3d57288
d2e9d6a3f27ea7875a86c7c4869bc3cff75ccca1
refs/heads/master
2021-07-05T02:47:43.012012
2020-08-27T21:36:48
2020-08-27T21:36:48
36,807,007
0
0
null
null
null
null
UTF-8
C++
false
false
1,685
cpp
q4.cpp
#include<bits/stdc++.h> #define fr(i,m,n) for(i=m;i<n;i++) #define ifr(i,m,n) for(i=m;i>n;i--) #define ll long long #define sc scanf #define pf printf #define var(x) x i=0,j=0,k=0,tmp1=0,tmp2=0,tmp3=0,tmp=0,tmp4=0,tmp5=0,flag=0,T=0,N=0,Q=0 #define pb push_back #define vi vector<int> #define vii vector<pair<int,int> > #...
4dd300f85bebfaa374a4dd4e1928b5759e5f517a
21aff5ac3fd6c0d572607f0eaba9951ff3bd1a84
/test_qt/solid2d/glwidget_solid2d.h
ca2e40d07d66156bed116a6738b1d583f73a2c1c
[]
no_license
nobuyuki83/DelFEM
e0c9d5373aeb8978262fe609f8aa4cefee1c70ab
1aa40a27a2922938ee3a4fc8c0ffef09ced54e02
refs/heads/master
2020-03-22T15:27:45.740834
2018-07-09T08:32:27
2018-07-09T08:32:27
140,254,648
13
2
null
null
null
null
UTF-8
C++
false
false
1,643
h
glwidget_solid2d.h
#ifndef GLWIDGET_H #define GLWIDGET_H #include <QGLWidget> #include "delfem/camera.h" #include "delfem/field.h" #include "delfem/field_world.h" #include "delfem/field_value_setter.h" #include "delfem/drawer_field.h" #include "delfem/eqnsys_solid.h" class GLWidget_Solid2d : public QGLWidget { Q_OBJE...
6405a53a608bad522ccae8613e122f2492c78125
ec443b69ae5a6a37a7dfd2e53a374548d5f2e2d2
/NesEmu/PPUMemory.cpp
b98d5c32df1976d17ee84fa7bc67183cff044c4e
[]
no_license
xR3b0rn/nesemu
943245eb83e0f06cecc3421d69413e3bb846e41e
b85999f3b4446c058f880f2697c0e8462107f485
refs/heads/master
2021-01-15T14:18:55.397725
2020-08-30T19:21:51
2020-08-30T19:21:51
68,523,168
0
0
null
null
null
null
UTF-8
C++
false
false
24
cpp
PPUMemory.cpp
#include "PPUMemory.h"
6675b4e88d04fe1692d7bbba64c877fe71a87586
9b213a63bed42d27e48269c75b6d7081398d6f97
/src/types/Double.cpp
bac0925a5d104372e895c660ab7c7f5a5d639707
[]
no_license
rosebud2049/abstractVM_2016
8c24dac145bfcfb4e81bee91847f9e7a5d36b994
ef6962ac20b542b87905b9c05f15ec7a63324a81
refs/heads/master
2020-04-16T03:11:01.609889
2017-07-26T13:35:31
2017-07-26T13:35:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
484
cpp
Double.cpp
// // Double.cpp for abstractVM in /media/gmardon/1aa9b3b8-3e24-4ea9-9b0d-d57254b2d1b9/guillaume.mardon/delivery/abstractVM_2016/src/types // // Made by guillaume.mardon@epitech.eu // Login <guillaume.mardon@epitech.eu> // // Started on Sat Jul 21 1:52:51 PM 2017 guillaume.mardon@epitech.eu // Last update Sat Jul 21...
67ed71350e49633207fc32e1cea4eca118be0dd5
611099b10e66f3dcfdf9093251cb63cde87ece5a
/All programs/STROLAR.CPP
6676889d94600e40df358efc9555f876ee33ff1c
[]
no_license
gillgurvijay01/Grade12-CS
785be7106ca8fd73eb01105c2bf125b0a146e7fe
cd98eb0a7c373ee09aafcbebed5ea636df60b174
refs/heads/main
2023-08-07T19:42:57.193567
2021-10-12T04:42:42
2021-10-12T04:42:42
370,397,866
0
0
null
null
null
null
UTF-8
C++
false
false
169
cpp
STROLAR.CPP
#include<iostream.h> #include<conio.h> #include<stdio.h> void main() { clrscr(); int *rn,n; char cout<<"\nPlease eneter no of students :"; cin>>n; rn=new int[rn];
bd856cb719138b2be9f2ff384b6a0a00192e7f23
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/third_party/blink/renderer/core/svg/unsafe_svg_attribute_sanitization_test.cc
c9bf19d8a77567481849995ba44a10d1ffc44f45
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "MIT", "Apache-2.0" ]
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
16,678
cc
unsafe_svg_attribute_sanitization_test.cc
// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // FIXME(dominicc): Poor confused check-webkit-style demands Attribute.h here. #include "third_party/blink/renderer/core/dom/attribute.h" #include <memory> #include "testing/g...
f329b25c65f438290dbc4dd35c8c60dee705c644
5509788aa5c5bacc053ea21796d3ef5ba878d744
/Practice/2019.4.25/LOJ2037/Alice.cpp
1a3b9248ffd042594d3081926cfe382639cbceda
[ "MIT" ]
permissive
SYCstudio/OI
3c5a6a9c5c9cd93ef653ad77477ad1cd849b8930
6e9bfc17dbd4b43467af9b19aa2aed41e28972fa
refs/heads/master
2021-06-25T22:29:50.276429
2020-10-26T11:57:06
2020-10-26T11:57:06
108,716,217
3
0
null
null
null
null
UTF-8
C++
false
false
815
cpp
Alice.cpp
#include "Alicelib.h" #include<cstdio> #include<vector> #include<algorithm> #include<iostream> #include<cmath> using namespace std; #define pb push_back #define mp make_pair #define ft first #define sd second static const int maxN=1024; static const int BIT=10; static vector<pair<int,int> > E; void Al...
1ee35d5cc4203b982998f489f5599706119a88ae
bcb83c51888c3688856735131b3f4ff8ee8d028f
/solutions/THEMAXLINES.cpp
9587f8ba25d7e257b768eb549d0ba7829c1b6658
[]
no_license
ashrwin/Spoj-Solutions
93dff6544172948bbd9ee5847d51752b9a960c5a
441c059c9836fb6a61b347154c1118da28fbd6a0
refs/heads/master
2021-05-30T10:22:11.424318
2016-02-13T11:09:06
2016-02-13T11:09:06
51,641,387
0
4
null
null
null
null
UTF-8
C++
false
false
280
cpp
THEMAXLINES.cpp
#include<iostream> #include<math.h> #include<string> #include<vector> using namespace std; typedef unsigned long long ull; int main() { int t; long long r; cin >> t; for ( int i = 1; i <= t; ++i ) { cin >> r; cout<<"Case "<<i<<": "<<4*r*r<<".25"<<endl; } return 0; }
eaeadb190c7b644ae9e2caa53111e3686a58aa28
fa2c2ab8811d1b0152c6d418bda5aef76c3e5c98
/atrium/lexer/lexer.h
ab3b681f55acc68905428c4a567698d8499cdfdd
[]
no_license
rahulrajaram/scheme_compiler
9aa503ff2871ae7c52209392380a0b10cf2da946
1a6fa1ac72844f378c95a1c2e25db88a8abba2e4
refs/heads/master
2020-12-02T11:35:11.544827
2017-10-02T04:06:57
2017-10-02T04:28:23
96,655,559
1
0
null
2017-08-03T03:09:23
2017-07-09T02:06:34
C++
UTF-8
C++
false
false
1,574
h
lexer.h
#ifndef LEXER_H #define LEXER_H #include <vector> #include "../global_aliases.h" #include "bracket_stack.h" #include "../tokens/token_vector.h" namespace Atrium { namespace LexicalAnalysis { class Lexer { BracketStack bracket_stack; TokenVector token_vector; int current_line_number {1}; char present...
0ca5691336d5b40cb76baa8c271644d69e5f1307
d4eaca8cb5115bf44edacbe51ac8c8ff88b11ca9
/student.h
ec4362a84eaca062c1d0afc6a71efc580b63280c
[]
no_license
lang1996/watcola
fad46f4d28ea4bb5680a8d931b86ce96f0c6fdfa
08eeb4def26a08fdb32d7a3a613c9ec40810df3e
refs/heads/master
2021-01-10T08:06:43.973204
2016-04-06T03:09:12
2016-04-06T03:09:12
55,568,321
1
0
null
null
null
null
UTF-8
C++
false
false
798
h
student.h
#ifndef STUDENT_H #define STUDENT_H #include "vendingmachine.h" #include "cardeater.h" #include "overcharge.h" //forward declaration class Printer; class NameServer; class WATCardOffice; class WATCard; class Student { Printer &prt; NameServer &nameServer; WATCardOffice &cardOffice; unsigned int id; //student id u...
d63424aa8a880ac659aab6a3dae9e63b28bf1407
dee2ec2a89e1a8b90712acc2c915e1350a01aa3e
/gui_glut/OpenTextures.cpp
ef92c13609fe78a30cc004906ff17b31f48da715
[]
no_license
Ramonlobo633/CGProject
a070764b6bfe5eb827a1ddcac41ac052636dcec3
ce7eb7448d95e6df49a5d100d9dd0e998f2868aa
refs/heads/master
2023-04-08T17:52:23.572427
2021-04-11T06:53:31
2021-04-11T06:53:31
356,069,041
1
0
null
null
null
null
UTF-8
C++
false
false
7,710
cpp
OpenTextures.cpp
#include "OpenTextures.h" //--------------------------------------------------------------------------- /* struct my_error_mgr { struct jpeg_error_mgr pub; jmp_buf setjmp_buffer; }; typedef struct my_error_mgr * my_error_ptr; METHODDEF(void) my_error_exit (j_common_ptr cinfo) { my_error_ptr myerr = (...
0ce84326bb378c55d148a5e2683d4e5a06eb27fa
3240bdb63b96d0a30ee568a54c5525c7e70e1257
/examples/StepDetectionInterrupt/StepDetectionInterrupt.ino
8b31426e1830a01174ac719210e3f99636289071
[ "MIT" ]
permissive
rezaneam/BMA400
ecdef1f54eea7295a2c755d71e5e84fff67f4405
bc684d6c197c33ed390edeafb6415d4410175e09
refs/heads/main
2023-04-30T18:38:52.123830
2021-05-16T07:00:51
2021-05-16T07:00:51
364,663,524
0
0
null
null
null
null
UTF-8
C++
false
false
2,186
ino
StepDetectionInterrupt.ino
#include <Arduino.h> #include <BMA400.h> #include <Wire.h> #define MOTION_DETECT_INT_PIN GPIO_NUM_37 BMA400 bma400; bool newInterrupt; portMUX_TYPE weakupInterruptPinMux = portMUX_INITIALIZER_UNLOCKED; void IRAM_ATTR handleWeakupExternalInterrupt() { portENTER_CRITICAL_ISR(&weakupInterruptPinMux); newInterrup...
25c18ac4e7308df3a72ea2546a7dc20565a21342
2a15064b0064dec6da39b8f09b7cddb3b7b12dac
/include/sp2/io/zipResourceProvider.h
da71f9d28396d0319a97c623916bc443145f30ea
[ "MIT", "LicenseRef-scancode-other-permissive", "Zlib", "LicenseRef-scancode-public-domain" ]
permissive
daid/SeriousProton2
28a34cd928ad35a5a0e34961848257b04c7d1133
3fd555ddea591ddaf1b16531f53794c222e9e699
refs/heads/master
2023-08-19T02:24:20.009689
2023-08-11T05:58:16
2023-08-11T05:58:16
67,449,970
10
8
null
2021-09-30T06:47:15
2016-09-05T20:46:54
C
UTF-8
C++
false
false
868
h
zipResourceProvider.h
#ifndef SP2_IO_ZIPRESOURCEPROVIDER_H #define SP2_IO_ZIPRESOURCEPROVIDER_H #include <sp2/io/resourceProvider.h> namespace sp { namespace io { class ZipResourceProvider : public ResourceProvider { public: ZipResourceProvider(const string& zip_filename, int priority=0); virtual ResourceStreamPtr getStream(...
4d00e899570a940b4a506dd2e12b720ca2493471
5d74d2322cdcb91ff0c1d0ea24f04c83eb01c62a
/Code_Arm_Robot/Code_Arm_Robot/Code_Arm_Robot.ino
d7651af98dfa13e4de8ec0e931753ff1ef5232a2
[]
no_license
Aljali/Robotics
34b3ce39e681c933bd218f9de199aafdb9e29ac2
48e14b74050a5637962e23f755de2fb99e2f50cc
refs/heads/master
2022-11-15T01:05:28.141911
2020-07-13T00:12:43
2020-07-13T00:12:43
273,603,813
0
0
null
null
null
null
UTF-8
C++
false
false
1,597
ino
Code_Arm_Robot.ino
#include <Servo.h> float X; float Y; float t1; float t2; float t; float L1 = 10; // cm float L2 = 10; //cm Servo myservo1; Servo myservo2; void setup() { Serial.begin(9600); myservo1.attach(7); myservo2.attach(8); Serial.println("Inpot (F) = Forward Kinematic"); Serial.print("Inpot (I) ...
b2789f4cdab919ed6e25833ab926a9076556862d
d8894a94b94e4e6829a4ab1927e6e0b934b27aed
/OrcsVsTrolls/OrcsVsTrolls/Orc.h
821ee5d6dac0bdc47dc1e406eccde968f87a14a9
[]
no_license
MohammadAlhourani/OrcsVSTrolls
f3ed8b522c22e92764859a375d7609e8b9367d23
e066bfc92f4212bad481461a05212390f6a9eb15
refs/heads/master
2020-03-30T01:29:09.454933
2018-10-11T10:54:58
2018-10-11T10:54:58
150,578,273
0
0
null
null
null
null
UTF-8
C++
false
false
457
h
Orc.h
#ifndef ORC_H #define ORC_H #include "Character.h" #include <iostream> class Orc : Character { public: Orc(); void Stats(); void update(); void hurt(int t_damage); void defending(); bool getDefence(); int getHealth(); int getMana(); void heal(); int attack(); void enrage(); bool getAlive(); ...
3ca0faab3db4df9318f94db9656bc8b375176349
2ec97d2a9ed92655e0e63855c8ad46b386d25652
/include/open_analis.h
f33710793fd5a8b3dd91f38248693192bd6cef1f
[]
no_license
Rioita/No_name_team_has_c
91a08755be27971ad035d3b4236b5b12cfa3806b
e2c1b4a306ad1942011cfc25bd5602330abc649c
refs/heads/master
2016-08-12T13:49:28.788313
2016-02-10T17:25:07
2016-02-10T17:25:07
51,199,330
1
0
null
null
null
null
UTF-8
C++
false
false
341
h
open_analis.h
#ifndef OPEN_ANALIS_H #define OPEN_ANALIS_H #define MAX_COL2 1000 #include <vector> #include "cell.h" class open_analis { public: open_analis(bool data[][MAX_COL2]); virtual ~open_analis(); std::vector<cell> cell_divider(); protected: private: bool matrix[][MAX_COL]; }; #en...
983be20235cc55619cafa5283f2c1071fd5fbd29
7c5c667d10f01f6cd0e87e6af53a720bd2502bc7
/src/codeforces/Codeforces Round #327 (Div. 2)/C.cpp
f051bca5ea1346d58b08d66fe0f56a91100ce9ab
[]
no_license
xyiyy/icpc
3306c163a4fdefb190518435c09929194b3aeebc
852c53860759772faa052c32f329149f06078e77
refs/heads/master
2020-04-12T06:15:50.747975
2016-10-25T12:16:57
2016-10-25T12:16:57
40,187,486
5
0
null
null
null
null
UTF-8
C++
false
false
1,683
cpp
C.cpp
//##################### //Author:fraud //Blog: http://www.cnblogs.com/fraud/ //##################### //#pragma comment(linker, "/STACK:102400000,102400000") #include <bits/stdc++.h> using namespace std; #define XINF INT_MAX #define INF 0x3FFFFFFF #define mp(X, Y) make_pair(X,Y) #define pb(X) push_back(X) #define rep(X...
fedc9d6d9e0186bc40d931e8e0187d709ff5d575
fb059f51201c6381273be4273827be20a213bc0d
/src/InundationParamSetConfigSection.h
f0f9ef42bd05329240d8a71761f6f1133c8c7c11
[ "Unlicense" ]
permissive
chrimerss/EF5
3e04deaafd6589777b95fefaf353273612a31b40
2dbbf713622bbda431ed83ce4bad227c18aa5beb
refs/heads/master
2023-03-01T09:20:05.206482
2023-02-15T17:35:21
2023-02-15T17:35:21
202,020,479
2
0
Unlicense
2019-08-12T22:48:34
2019-08-12T22:48:33
null
UTF-8
C++
false
false
1,142
h
InundationParamSetConfigSection.h
#ifndef CONFIG_INUNDATIONPARAMSET_SECTION_H #define CONFIG_INUNDATIONPARAMSET_SECTION_H #include "ConfigSection.h" #include "Defines.h" #include "GaugeConfigSection.h" #include "Model.h" #include <map> class InundationParamSetConfigSection : public ConfigSection { public: InundationParamSetConfigSection(char *name...
f39ce232f9ac9b4dc3247647cbfd8317a89bb141
2ec289dc0e3151708e9f50a41a13ca0e1c363998
/Codeforces/Educational Codeforces Round 6 - 620/620C-Pearls in a Row.cpp
868a98e8b8eb4874d1952c76fc51298763dfacb2
[]
no_license
sayedgkm/ProgrammingContest
eb71cae6850dd7fac12f49895bfabd58f2f4c70e
8f3c07e9ebee3b8a662cb5ce0a7c3d53d6f8c72a
refs/heads/master
2021-04-30T08:54:26.830730
2020-07-05T17:03:57
2020-07-05T17:03:57
121,387,092
0
0
null
null
null
null
UTF-8
C++
false
false
1,633
cpp
620C-Pearls in a Row.cpp
// ========================================================================== // // Bismillahir-Rahmanir-Rahim // // ========================================================================== #include <bits/stdc++.h> #define ll long long #define f(x,y,z) f...
d8301d123f39b2a4bdd36db8294f4daf28260484
4267ddb38117fbf07933a42b4e4a42489db203b1
/j_calc_symbol/For_Statement.cpp
4bbad280360837cd7b75afaf261d37c819cf9c31
[]
no_license
JDRiley/J_Calc
af479ba994e69875505aa0adfa62b6e62c0b9bda
c71b9a921b790adc52563e1848d148ae0572af6a
refs/heads/master
2021-05-01T10:26:01.449524
2017-09-06T11:47:50
2017-09-06T11:47:50
21,056,096
0
0
null
null
null
null
UTF-8
C++
false
false
3,452
cpp
For_Statement.cpp
#include "For_Statement.h" // #include "j_calc_expression.h" // #include "Statement_Block.h" // #include "J_Symbol_Scope.h" // #include <iostream> // #include <J_Utile.h> using std::cerr; namespace jomike{ For_Statement::For_Statement(const yy::location& irk_loc , j_statement* i_init_statement, j_calc_expression* i...
8ca5e0154b8789ddd73f2e13870eac0c52aa7fb7
a81006537adb8cd18902c1020dffb2177abc1d85
/src/new_functions/lambdas.cpp
3c28256c125ac49104428bbd81859ff9ec6ebd1f
[ "MIT" ]
permissive
JIghtuse/functional-cpp
4e8c5520b8fd08eba330a56e1351dcc8f959123a
2e8d7b69b433411b2867be269ff563aebc5520cf
refs/heads/master
2020-05-24T09:58:13.472225
2017-06-30T16:59:13
2017-06-30T16:59:13
84,845,823
1
0
null
null
null
null
UTF-8
C++
false
false
2,103
cpp
lambdas.cpp
// using lambdas as an alternative for std::bind #include <common.h> #include <person.h> #include <algorithm> #include <functional> #include <iostream> #include <vector> void printPerson(const Person& person, std::ostream& out, Person::OutputFormat format) { if (format == Person:...