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
4a3a4da39542294b4b7b23acfb6e7058552b7def
adc57610b7191faf942d3441b5e2bbca0713cefe
/01-find-package/src/libone.cpp
105348d712fac5acd78ae8748b8c0fac9f3d0231
[ "ISC" ]
permissive
thejohnfreeman/project-template-cpp
73359c70e067d29ad75453333ee4fc991e00d0dd
c8b288e1d1351125ffa07a75e5b02100c3cd4c4a
refs/heads/master
2023-07-09T20:21:36.486804
2023-06-12T21:01:18
2023-06-12T21:01:18
185,826,021
4
1
null
null
null
null
UTF-8
C++
false
false
376
cpp
libone.cpp
#include <one/one.hpp> namespace one { unsigned int one() { return 1; } zero::Bool and_(zero::Bool a, zero::Bool b) { return (*a && *b) ? zero::true_() : zero::false_(); } zero::Bool or_(zero::Bool a, zero::Bool b) { return (*a || *b) ? zero::true_() : zero::false_(); } zero::Bool not_(zero::Bool a) { ...
ba4533e39cab2b77a403d46a7ca311eab3b3b0df
c83a1525bcf1c03ff5b6dea8ba95f9a70227b9ff
/Sources/GameSources/ArcherAttack.h
4783437d2820184ceb7384b6fd6b5a504cd3b284
[]
no_license
tkm1211/3rdTeamProduction
9d7871d706a9fa156ee129147d7a87db8efb4d1e
8d68c3093a7cdae8e2581fb9e5d7f6a36d59ecfb
refs/heads/master
2020-09-21T13:59:51.136422
2020-01-29T00:30:40
2020-01-29T00:30:40
224,807,237
1
0
null
null
null
null
UTF-8
C++
false
false
261
h
ArcherAttack.h
#pragma once #include "ExecJudgementBase.h" class AI; class ArcherAttackJudge : public ExecJudgementBase { public: static ArcherAttackJudge *GetInstance() { static ArcherAttackJudge instance; return &instance; } virtual bool Judgement(AI *obj); };
f5d4ed816ae4cb1872e0db1f86891cbb2ea9a065
81e71315f2f9e78704b29a5688ba2889928483bb
/src/Plugin/Plugin FLT/ObjectRecord.cpp
d20d0c6522f7e1ad3d4148c3026d2cc6dfb20633
[]
no_license
Creature3D/Creature3DApi
2c95c1c0089e75ad4a8e760366d0dd2d11564389
b284e6db7e0d8e957295fb9207e39623529cdb4d
refs/heads/master
2022-11-13T07:19:58.678696
2019-07-06T05:48:10
2019-07-06T05:48:10
274,064,341
0
1
null
null
null
null
UTF-8
C++
false
false
769
cpp
ObjectRecord.cpp
// ObjectRecord.cpp #include <Plugin flt/flt.h> #include <Plugin flt/Registry.h> #include <Plugin flt/ObjectRecord.h> using namespace flt; //////////////////////////////////////////////////////////////////// // // ObjectRecord // //////////////////////////////////////////////////////////////...
dfc781ca75a8879651a40088e2103e8c5c3e154b
51dbd6b9c64ec851209d3f159380a45b1df156ab
/백준/Software_CodingTest/13458번 시험 감독.cpp
16649b5dbcd7eda4a69cb1f29d1de4b6160a167b
[]
no_license
NaTaes/Algorithm
44e7e964394c36793ecb93d8f15fad61f836a9e2
c6ee452e5ddd9f159bf54dadbd5aa7f53af10dad
refs/heads/master
2021-08-15T04:58:42.000003
2021-08-11T09:19:25
2021-08-11T09:19:25
131,107,679
0
0
null
null
null
null
UTF-8
C++
false
false
669
cpp
13458번 시험 감독.cpp
#include<iostream> using namespace std; int Cdd[1000000]; int main(void) { int N, B, C; long long min = 0; scanf("%d", &N); for(int i=0; i<N; i++) scanf("%d", &Cdd[i]); scanf("%d %d", &B, &C); for(int i=0; i<N; i++) { int tmp = Cdd[i] - B; //총감독관의 수를 빼준다. min += 1; //인원 추가 if(tmp <= 0) continue; //총...
1a42baf40d94d7b99d303a8458c4c2debb6e8a4b
b6d1df49c1ec621a02204b1100312ecbb3e76ad3
/src/mains/OSG/virtual_camera.cc
ac1b573bafd6a64866c903a2d7ddb5198cba5be5
[]
no_license
flylong0204/projects
5271acde325cf3947fac7433077353b52fa07bc4
b1e5c918d4aeb34c36576dababc5509dbb89afd1
refs/heads/master
2017-12-06T06:35:20.926786
2017-01-24T23:53:13
2017-01-24T23:53:13
79,988,197
1
2
null
2017-01-25T06:11:23
2017-01-25T06:11:23
null
UTF-8
C++
false
false
10,816
cc
virtual_camera.cc
// ======================================================================== // Program VIRTUAL_CAMERA is a variant of VIEWCITIES which opens two // windows displaying the same point cloud. In one window, we see the // view from a virtual OpenGL camera. In the other window, the // virtual camera is depicted by an OBSF...
02d7342f65768676d66a2ec015bef55482993b6f
f313c6df81673cfb79c478359d00aad4a38d4c54
/sd-n100f-proto-1-31-01-ps2/Projects/ScoobyDoo/Code/Engine/x/xNMA.cpp
82fdfdf2c8488e9e5142330d3aef0e2208f2b30e
[]
no_license
seilweiss/dwarfdb
2ee1a1d748d83f6d14413bd58312c99059af99bc
9afc2132cd69f11ed6e69bd4b2b67805bc1828b9
refs/heads/main
2023-08-14T23:48:48.254038
2021-10-07T05:40:50
2021-10-07T05:40:50
414,475,004
2
0
null
null
null
null
UTF-8
C++
false
false
2,639
cpp
xNMA.cpp
typedef struct tagxStateLink; typedef struct tagxState; typedef tagxStateLink type_0[1]; typedef tagxStateLink type_1[3]; typedef tagxStateLink type_2[1]; typedef tagxStateLink type_3[1]; typedef uint8 type_4[16]; typedef tagxStateLink type_5[1]; typedef tagxStateLink type_6[1]; typedef tagxStateLink type_7[1]; typed...
c4707a0688e5b8f7f6c956b5bd06812620cd30e9
45279dd0d44bfdc3d20af1bf1d92fdc274faa61c
/armstrongN.cpp
c4d82e31353c27bea8f24c17c682861db65f6f35
[]
no_license
varunchopraa/Nagarro-Bootcamp
22753cc29f686513c66f6578d3d8ae2ca9927c56
e8ce07033f7813f1a4ca9197af6725f652d0c3fa
refs/heads/master
2020-12-23T04:11:03.966484
2020-02-10T18:07:12
2020-02-10T18:07:12
237,029,724
0
0
null
null
null
null
UTF-8
C++
false
false
366
cpp
armstrongN.cpp
//Armstrong No. of order n #include<iostream> #include<math.h> using namespace std; int main() { int n; cin>>n; int temp = n; int arm = 0; int rem; int order = 0; while(n!=0) { n /= 10; order++; } n = temp; while(n!=0) { rem = n%10; arm += pow(rem, order); n /= 10; } if(arm == temp) cout...
7503447ff7e42a3248f9e3177553604b5e7c18bf
5b4261634cf91be31f0dabeeefa4e35cdd2c2762
/Intersection.hpp
dbee1d80ce0cae8b0f3ad43339ef79e0ccdb15f2
[]
no_license
janssens/PIF
72f57f79d1922d7809ff37a4603109682681a97a
6179b021df3a26c2a167e86d32c3167493fb2d05
refs/heads/master
2021-01-15T12:26:23.808371
2011-06-29T16:24:51
2011-06-29T16:24:51
1,492,353
0
1
null
null
null
null
UTF-8
C++
false
false
7,584
hpp
Intersection.hpp
/* * Polyhedron Intersection Framework * * FileName: Intersection.hpp * Creation: 29.06.2011 * Author: Gaëtan Janssens * Last Edit: 29.06.2011 * */ #ifndef INTER_H #define INTER_H #define DEBUG #include <iostream> #include <typeinfo> #include <sstream> #include <fstream> #include <string> #include <list> #i...
d26cd50af03f91e33773b60099bdeadcb4b027ad
4f05236606d5dbd483e5d0ae9e99d82f7eb94636
/ServerNetPackets/NetPacketsGameBrowser.h
d976d82bc278e2747d579b6f652fd1ea90fe5ae1
[]
no_license
Mateuus/newundead
bd59de0b81607c03cd220dced3dac5c6d5d2365f
c0506f26fa7f896ba3b94bb2ae2878517bd0063a
refs/heads/master
2020-06-03T14:20:00.375106
2014-09-23T03:58:13
2014-09-23T03:58:13
22,456,183
5
0
null
null
null
null
UTF-8
C++
false
false
4,526
h
NetPacketsGameBrowser.h
#pragma once #include "r3dNetwork.h" #include "NetPacketsGameInfo.h" namespace NetPacketsGameBrowser { #pragma pack(push) #pragma pack(1) #define GBNET_VERSION (0x00000004 + GBGAMEINFO_VERSION) #define GBNET_KEY1 0x25e022aa // // Game Browser Packet IDs // enum gbpktType_e { GBPKT_ValidateConnectingPeer = r3dN...
b206841588a919c13d5b732fc5a876937e5e7133
41a0fa3b6fa55f2c278e06718a04ad38e645dfa0
/CircularArrayRotation.cpp
c539faa32cc53516dfd382f768566448fad04a7b
[]
no_license
sharmarajdaksh/cp
d3a42bca8349fd958f2a3f19a173980d4aa94e44
c0f900e14a4f502c647b0f40c2b00871e2fd43de
refs/heads/master
2023-07-28T22:04:02.357209
2021-09-13T14:59:50
2021-09-13T14:59:50
277,243,723
0
0
null
null
null
null
UTF-8
C++
false
false
456
cpp
CircularArrayRotation.cpp
#include <bits/stdc++.h> using namespace std; int main() { /* Faster IO */ ios_base::sync_with_stdio(false); cin.tie(NULL); /* Faster IO */ unsigned long n, k, q, i, t; vector<unsigned long> a; cin >> n >> k >> q; for (i = 0; i < n; ++i) { cin >> t; a.push_back(t)...
3a27533068258cb65dcc3825857f0452fa26c338
b8263b1abe81388082a67a8cf2895c1a8e5610b0
/ejemplosGraficacion/08_MiDibujo3D.cpp
7e6feb1e58ad5e9b6497a5bb81a229d8a9de24a5
[]
no_license
MasterBlck/opengl-programs
5cd35bad7d86f56f448334df11356859af02682b
7eadf2147ba9e15d7a42d56ab3757a81924a363b
refs/heads/main
2023-06-05T06:10:50.028086
2021-06-14T03:15:06
2021-06-14T03:15:06
376,687,422
0
0
null
null
null
null
UTF-8
C++
false
false
12,507
cpp
08_MiDibujo3D.cpp
#include <windows.h> #include <GL/glut.h> float alpha, beta; int x0, y0; //Menu de figuras a elegir typedef enum{L1,L2,L3,L4,S1,S2}opcionMenu; //Matriz de colores float colores[9][3]= { {0.0,0.0,0.0}, //0 negro {1.0,0.0,0.0}, //1 rojo {0.0,1.0,0.0}, //2 verde {1.0,1.0,0.0}, //3 amarillo {0.0,0.5,1.0}, //4 azul ...
77ce3d558879c32180f0b44bdf79c918170ccbcd
b1e67e65aed6dae759db870259e3c5dca3ead8db
/Codes/OrganizedData.cpp
70044b35dfcfbe8d1a21460cb3019cd2c088aea6
[]
no_license
qminh93/RVGP
a558a1368cd036b82c7e561d195e224e284587fb
0d247a0f193fb53206f861ab51441fd646303442
refs/heads/master
2021-01-23T22:07:41.247611
2015-05-31T01:39:28
2015-05-31T01:39:28
36,595,832
2
1
null
null
null
null
UTF-8
C++
false
false
4,833
cpp
OrganizedData.cpp
#include "OrganizedData.h" #include "kmean.h" OrganizedData::OrganizedData() { train.clear(); test.clear(); support.clear(); hyper = new HyperParams(); nTrain = nTest = nSupport = nDim = nBlock = 0; } OrganizedData::~OrganizedData() { train.clear(); test.clear(); support.clear(); } v...
52620c08ddae82b3ecb1c14fe83a715d4bba3ceb
f23dd325d01c0b32493398263f4e19e363fccd01
/Server_2014-7-8/Venus3D/Source/VePower/VeFile.cpp
9f2c0c47540a59b749e72df1a1330407d6f853da
[]
no_license
snailwork/Texas-cs
b27b95b739e781a1af0dbbc716fdf1e59c9ba08c
bdbd663e4cf3d0ef4a79c919b4fa8a09ece59fcc
refs/heads/master
2020-04-15T22:30:47.022466
2015-08-08T14:44:17
2015-08-08T14:44:17
41,007,333
2
2
null
null
null
null
UTF-8
C++
false
false
13,196
cpp
VeFile.cpp
//////////////////////////////////////////////////////////////////////////// // // Venus Engine Source File. // Copyright (C), Venus Interactive Entertainment.2012 // ------------------------------------------------------------------------- // File name: VeFile.cpp // Version: v1.00 // Created: 6/10/2012...
de81c7dada6a55295b633994c44e42d77c4f4cca
882e0f8e3d14ad22c58df00fb8d3887c99fb2d13
/taio/Graph.h
195527d225825cd58c2eb8182b3d7e1b5d8caccc
[]
no_license
khlebous/maximum-common-induced-subgraph
82e61e3f54409243abbc3cd4a3ec1ee8aa4b7f5a
a1b4cc8fc4b1322ba2728606b17558a67ca10cdb
refs/heads/master
2020-04-01T04:46:03.388430
2018-11-20T15:10:02
2018-11-20T15:10:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
338
h
Graph.h
#pragma once class Graph { private: size_t vertCount; bool** edges; public: Graph(size_t vertCount, bool** edges) : vertCount(vertCount), edges(edges) {} ~Graph(); size_t verticesCount() { return vertCount; } bool edge(size_t i, size_t j); void setEdge(size_t i, size_t j, bool value); void print(); void ...
6e1cad324e96a0aa9435877d9f5c7618b16907a5
34e85d338757cb99c047a9f2d30f6f1982d222ae
/Aulas 1_2018/C++/Adeivis.cpp
a0187a24027d11f82ce210aa070506dbc9b7c1b6
[]
no_license
rafaelaraujobsb/URI-CodeForces
2d1c9b7c7e7e654108c643f883edb9b337a4a4f3
3bf6c6d17d9e78e06c3d61fbf6995f790996dc49
refs/heads/master
2021-09-13T20:12:31.409431
2018-05-03T19:12:27
2018-05-03T19:12:27
126,056,738
1
0
null
null
null
null
UTF-8
C++
false
false
322
cpp
Adeivis.cpp
#include <bits/stdc++.h> using namespace std; int main(){ int n,v, cont=0, maior=0; scanf("%d", &n); vector<int> cds; for(int i=0; i<n; i++){ scanf("%d", &v); cds.push_back(v); if(maior < v){ maior = v; } } for(int i=0; i<n; i++){ cont += maior - cds[i]; } printf("%d\n", cont); return 0; ...
284308a4781b811192062f5812e38512146c4f68
de8472c3d42011f440ccc3dc13474a697a13695f
/HEPGenPlusPlus-1.2-RC1/libGKPi0/tableNator.cpp
b13ecd07aeed889bf7637c6bd9fb3b174953d8fe
[]
no_license
drewkenjo/hepgen
17ebfd8c9007662033a1b8c9b9ad57a4fa427d2c
030e2ac23c47d1e3edb4fc6b1900d6aec33eefa1
refs/heads/master
2023-05-25T09:17:33.014437
2023-05-20T06:16:04
2023-05-20T06:16:04
162,611,707
0
0
null
null
null
null
UTF-8
C++
false
false
866
cpp
tableNator.cpp
#include <iostream> #include <cstdio> #include <cstring> #include <ctime> #include <fstream> #include <string> #include <sys/stat.h> #include <unistd.h> int main (int argc, char** argv){ if (argc < 2){ printf("Use me like: %s outFile \n",argv[0]); return -1; } for (double qsq = 2.0; ...
5e4ec1f813cfa781122fa203541e3e54c29279af
da3a2d867984a41270c9e92b38f26967673959c0
/src/Physics.cpp
820cefe92f5c68eaeb28c87425ef70d704bd7502
[]
no_license
andrewrk/motrs
713c1bf05e5fc284da4e23f9a8e53ce60a447c11
f4f0494cf4c76c30b6aeff78bfc89925fb61b541
refs/heads/master
2023-03-13T06:59:08.515898
2012-12-08T19:49:23
2012-12-08T19:49:23
7,071,350
0
1
null
null
null
null
UTF-8
C++
false
false
3,842
cpp
Physics.cpp
#include "Physics.h" #include "Utils.h" #include "Debug.h" void Physics::circleAndCircle(double cx1, double cy1, double r1, double cx2, double cy2, double r2, double & out_dx, double & out_dy) { double distance = Utils::distance(cx1, cy1, cx2, cy2); double minDistance = r1 + r2; double overlap = m...
925a6c693523c9051bf5b4f237c18e870e6a4890
f5f35d054c2be925771f62f3ce15619ea1ddc27d
/Campion.ro/ucif.cpp
8dc4e0d7434a5612680639787afd32e8bb863ada
[]
no_license
edionu97/Algorithms-DataStructures-ContestsSolutions
fd01f4b00a02c846c50b0316b261c09eb42495ed
a1438543a0ecc551645cdef19694f926532db158
refs/heads/master
2021-06-12T15:41:19.745300
2020-12-02T13:18:03
2020-12-02T13:18:03
128,730,131
1
0
null
null
null
null
UTF-8
C++
false
false
717
cpp
ucif.cpp
#include <fstream> #include <iostream> using namespace std; ifstream f("ucif.in"); ofstream g("ucif.out"); short n; short cifra_imp(short i) {long a=i*i*i,b=i*i*i*i*i,m=1,c,v[100]; v[3]=a%10; c=v[3]; v[5]=b%10; for(short j=5;j<=i;j+=2) {m++; if(m==2)c=v[5],m=0; else c=v[3]; } return c; } short cifra_para(sho...
d68a9b232d63b6bbaa11190bddc09e93a9645a26
74447cbdd07dd95826b8e8c8477d245142ef0d28
/codeChef/cupCake.cpp
8a563d89327bcfb0247ed63996f3d97b9db75aec
[]
no_license
akshay7802/codeChef-C-
d58f57dc9e15cbf4ab14a3957262590be0e83b82
c671ad101789b56659afd52a03370c7b2c96a353
refs/heads/master
2022-12-01T13:16:25.297474
2020-08-15T05:52:20
2020-08-15T05:52:20
287,686,501
0
0
null
null
null
null
UTF-8
C++
false
false
275
cpp
cupCake.cpp
#include<iostream> using namespace std; int main(){ int t,a; // cout<<"Enter test cases"<<endl; cin>>t; for(int i=0;i<t;i++){ // cout<<"Enter packet size"<<endl; cin>>a; int cc; // cout<<"Enetr cupcakes"<<endl; cin>>cc; int ans=cc-a; cout<<ans<<endl; } }
47bd82e9dc094736e89e81be076dc0b9b7f0b08c
81e49fb3773b9ef92102e54764cb35fd3b74d7bb
/SpaceFighter/GameObject.cpp
359bc3f4479a8e2696a51d8b6a44ca4ee7143b9c
[ "MIT" ]
permissive
issuran/SpaceFighter
b730e18a3b6e5314a8c25a1d3bef4e61df6b4f2b
d0ff09bcb4d91b003d9dba3a7386e39d5471bc00
refs/heads/master
2022-04-05T08:12:24.264026
2019-07-18T00:09:10
2019-07-18T00:09:10
108,918,782
7
0
MIT
2020-01-11T15:13:33
2017-10-30T23:14:46
C++
UTF-8
C++
false
false
515
cpp
GameObject.cpp
#include "GameObject.h" #include "TextureManager.h" GameObject::GameObject(const char* texturesheet, int x, int y) { objTexture = TextureManager::LoadTexture(texturesheet); xpos = x; ypos = y; } void GameObject::Update() { xpos++; ypos++; srcRect.h = 106; srcRect.w = 36; srcRect.x = 0; srcRect.y = 0; d...
6523f9af5d3bbe628f15432f5de9589f648655ab
a59b827169c90993a475466010c87641a3b62982
/M5Stack-Pomodoro.ino
3dfeaff4d69ae62ab60243d6d37a7cd9fb92a337
[ "MIT" ]
permissive
lunard/M5Stack-Pomodoro
567c1bd10e143721c184c272827ce767bcdcefef
4a6d7b5d244ee270796cdf48575f1e5e5a648114
refs/heads/master
2021-03-21T00:52:08.062835
2020-04-04T09:50:49
2020-04-04T09:50:49
247,249,051
2
0
null
null
null
null
UTF-8
C++
false
false
14,046
ino
M5Stack-Pomodoro.ino
/********************************************* * Author Luca Nardelli (lunard@gmail.com) * * Description: the project aims to create a funny (and I hope usefult) pomodoro with the M5Stack Dev Kit ********************************************/ // define must ahead #include <M5Stack.h> #define M5STACK_MPU6886 #incl...
ee0944ab7fcf19f9132c1df2d3276e5df0a1e210
0a0baf1df933ca235a48aa187f6df31714a63a8b
/GenericSimulator/Doodle/OCCTMeshUtils.hpp
40dac8f043b258f733c1d23b659a2b600676036a
[ "MIT" ]
permissive
ducis/pile-of-cpp
84f1571178edd18ae3a7793d45dffca72d7ab34d
af5a123ec67cff589f27bf20d435b2db29a0a7c8
refs/heads/master
2021-01-17T06:27:30.532654
2019-03-12T05:30:52
2019-03-12T05:30:52
17,528,954
0
0
null
null
null
null
UTF-8
C++
false
false
6,391
hpp
OCCTMeshUtils.hpp
#pragma once #include <boost/fusion/tuple.hpp> #include <TopExp_Explorer.hxx> #include <TopoDS_Shape.hxx> #include <TopoDS.hxx> //#include <boost/operators.hpp> #include <StdPrs_ToolShadedShape.hxx> #include <limits> #include <boost/array.hpp> #include "NumericRange.hpp" #include <cmath> #include <Poly_Tri...
ed88f685d4615389d564be56ced50f471d4d3b01
5a10491ae7ada5f7d5fca704e60bc853b652c1ad
/roteiro3-LLP1/Questão2/IConta.h
904c3014a8ca1e618e8705a679a00354c1c1af06
[]
no_license
RaissaVieira/Atividades-LP1
6a59efe65591867c748d68b3eecfd617ebd91f60
dac4a787769bbe652a2f10a7c53c255170ebb076
refs/heads/master
2020-09-06T00:15:52.435826
2020-03-17T14:47:21
2020-03-17T14:47:21
220,255,308
2
0
null
null
null
null
UTF-8
C++
false
false
183
h
IConta.h
#ifndef ICONTA_H #define ICONTA_H class IConta { private: public: IConta(/* args */); virtual void sacar(double valor); virtual void depositar(double valor); }; #endif
9c3ea40dbac3531e792118cdf9b18a2ab1fde8b4
d34f94a4740256901edfb2ee2325505ca834ba30
/C++/skola/t-hert.cpp
f9b4cb106d45aafa0ceb6b42495d0b2c88884efe
[]
no_license
dimitarkole/CPlusPlusTasks
706a15e533e657a91fe5c7d0ccee2cc129a2ac5f
8b3adf02ab359babdc36b73085a83fb9055b0716
refs/heads/master
2020-12-04T23:07:48.601834
2020-01-05T14:25:05
2020-01-05T14:25:05
231,928,854
1
0
null
null
null
null
UTF-8
C++
false
false
185
cpp
t-hert.cpp
#include<iostream> using namespace std; int main() { int a,b,x,y,max; cin>>a>>b>>x>>y; a=a/x; b=a/y; max=a; if(max<b)max=b; cout<<b<<" "<<a*b-((x*y)*max); }
5b09dd39c6899cb1122247b3dc3e312b8645626b
f9b5b73620dc65dd78d5af7489c7dbd46ce5ed61
/2 atividade/quest10/cal10.cpp
a7530e2f62832794d49d012dfecfa28e5b991c75
[]
no_license
utiamaguilherme/CAL
88d90c74e86e2bbedc11722181e020e389f93c8d
ad118f5bbcb0a6bfc60041d17e99da0bb0af18bb
refs/heads/master
2021-03-15T14:37:29.027844
2020-03-12T14:43:32
2020-03-12T14:43:32
246,858,077
0
0
null
null
null
null
UTF-8
C++
false
false
453
cpp
cal10.cpp
#include <bits/stdc++.h> using namespace std; int main(){ string name; getline(cin, name); map<char, int> mapinha; vector<pair<int, char>> letras; for(char c : name){ mapinha[c]++; } for(auto c : mapinha){ letras.push_back({c.second, c.first}); } sort(letras.begin...
e3539ab17b23bc30b0fb63332c1fff7c23a87826
0967c29a163d30404a601990bd0d4397b59f9dca
/src/PclStuff.cpp
a15b02eeeb536b288cb0719494ae9b65572fb221
[]
no_license
xmfcx/pcl-datacamp
aa66a023edbf72b885d4b0a9ed9d287fc465de71
fc4bea03d5f2bab662bf253c50d90ebae038fb19
refs/heads/master
2020-04-07T03:59:23.630393
2018-11-18T07:01:28
2018-11-18T07:01:42
158,036,155
0
0
null
null
null
null
UTF-8
C++
false
false
5,205
cpp
PclStuff.cpp
#include "PclStuff.h" using Point = pcl::PointXYZI; using Cloud = pcl::PointCloud<pcl::PointXYZI>; Cloud::Ptr PclStuff::Downsample(const Cloud::ConstPtr &cloud_in, float leaf_size) { Cloud::Ptr cloud_result(new Cloud()); pcl::VoxelGrid<Point> grid; grid.setLeafSize(leaf_size, l...
991d32a6f3eef61ff6b9f6ba1cbbb1e5f8dc8f31
898f517714dcd43a968bf3647ff88352dfaa2395
/server_code/query_cursor.h
1b1f1155ba04ff1876537b9628ab4a9e2dbe9a4e
[ "MIT" ]
permissive
InitialDLab/SONAR-SamplingIndex
54c7e8fb05a418e0be052ec740175edc3b67364d
c83d6f53f8419cdb78f49935f41eb39447918ced
refs/heads/master
2021-01-18T16:19:05.940489
2017-09-29T21:21:22
2017-09-29T21:21:22
86,735,043
3
0
null
null
null
null
UTF-8
C++
false
false
2,125
h
query_cursor.h
/* Copyright 2017 InitialDLab 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, publish, distribute, sublice...
041a4ccd3f30faf707fcb2f338f01134ed1fe0af
287c25a7f0590fecc684a5d96d86547eeb0b3909
/fluid simulation/FluidSimulation/NeighborFinderFactory.h
49ff33b5a5a8345abaebc53caccb12b09631462e
[]
no_license
qingwei8/FluidSimulation
7d64375c70a33a443801590917896b7c532a4c2b
5ff263b0dce55242c9e65efda25e64c478351291
refs/heads/master
2021-08-27T17:19:03.126125
2017-05-16T07:43:38
2017-05-16T07:43:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
591
h
NeighborFinderFactory.h
#pragma once #include "NeighborFinderFactoryData.h" #include "BaseFindNeighbors.h" namespace hiveFluidSimulation { template<class DeriveNeighborFinder> class CNeighborFinderFactory { public: CNeighborFinderFactory(const std::string& vCreationSig) { CNeighborFinderFactoryData::getInstance()->registerFactory(...
4b300a1ba574e734e3ad0721fbcb9ec7d3dcde92
e9d3bd92027e63033929ab9dc97f38473f8ef0ef
/GTE/Samples/SceneGraphs/MorphControllers/MorphControllersWindow3.cpp
b1c25730e87a686b98fa22322d2739919e45a538
[ "BSL-1.0" ]
permissive
cbullo/GeometricTools
77107de654a012649d05ea248caefe581cc7fde4
53d82425c3d27a4301f7390754c7fc440734d53f
refs/heads/master
2023-08-27T22:05:04.268917
2021-10-19T20:48:34
2021-10-19T20:48:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,719
cpp
MorphControllersWindow3.cpp
// David Eberly, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2021 // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // Version: 4.0.2019.08.13 #include "MorphControllersWindow3.h" #include <...
8b642a3d9a2ec7ef844adbc9b1705af27bb5f6c0
9bfdc860768d162338349564e7bab92e78e761d8
/Face/Dollars_Cents.cpp
8597285673ea5cde5362c0cd607e99d3fb3e6d69
[]
no_license
mohankrishna225/Practise
ef10f15d7de9ab2f26297c9ecfd3923b123282ba
df1787e45961ff72dc4909439fe1d9ee7af8413a
refs/heads/master
2023-01-01T14:29:43.606915
2020-10-27T20:32:53
2020-10-27T20:32:53
307,051,627
0
0
null
null
null
null
UTF-8
C++
false
false
307
cpp
Dollars_Cents.cpp
#include<iostream> using namespace std; int main() { int dollars,cents,dollar1,dollar2,cent1,cent2; cin>>dollar1>>cent1>>dollar2>>cent2; int t,m; dollars=dollar1+dollar2; cents=cent1+cent2; if(cents>100) { dollars=dollars+1; cents=cents-100; } cout<<dollars; cout<<"\n"<<cents; }
c52b8c7f22a2c6cbeedb8ba5dc792fba6173822a
17f7614d940b1e9d6ebb2219a2e658b064f6ca95
/program090_faulty.cpp
d23bca12fb4ed175f6499846de7c6e5c5ec32ff9
[]
no_license
xpbluesmile/How-Not-to-Program-in-Cpp
c6fdbab42cc65972045ca2bf13e0cb433c0995c4
5589571ad4d30d2765c75fb19f5dabad1bcb97d9
refs/heads/master
2021-05-30T02:46:41.940608
2012-09-10T13:53:46
2012-09-10T13:53:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,977
cpp
program090_faulty.cpp
/** * The problem with this code is the following (from the book): * * The initialization of log_file can call new. Of course, our new new uses the * log_file, so the log_file may be used before it gets constructed, confusing * the whole mess. */ /************************************************ * simple debugg...
a8ca57ddff15df690a3a68c507491a1a9ab68e7b
3f87182e515b92c141c841e68dd6394a95aedfa0
/dev_magos/src/magos.cpp
cb8a361499dfedd36221783d0e0b912b61403401
[]
no_license
pleshw/MAGOS
f858fc8b157c54c42f546c0764a76e43054b4286
61a035785de2d9e6a7b8abfe507cb6f6bb2ba0b0
refs/heads/master
2020-04-10T14:00:52.566473
2019-02-07T06:20:28
2019-02-07T06:20:28
161,064,884
1
0
null
null
null
null
UTF-8
C++
false
false
1,709
cpp
magos.cpp
#include "../include/magos.h" /// Build and renderize a maze as png images in /[outputBuilding] void MAGOS::build( void ) { Builder builder { maze }; Render render { canvas, maze, setup }; size_t counter { 0 }; size_t seed_counter { 0 }; while( !builder.isPerfect() ) { srand (time(NULL) + seed_counter++); ...
cd74348bbfc041cff047e5022f0157876c56c6e7
30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a
/contest/1542575536.cpp
096970899e48f0017094033c3b97e7c5f30448df
[]
no_license
thegamer1907/Code_Analysis
0a2bb97a9fb5faf01d983c223d9715eb419b7519
48079e399321b585efc8a2c6a84c25e2e7a22a61
refs/heads/master
2020-05-27T01:20:55.921937
2019-11-20T11:15:11
2019-11-20T11:15:11
188,403,594
2
1
null
null
null
null
UTF-8
C++
false
false
1,611
cpp
1542575536.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; #define pii pair<int,int> #define pll pair<ll,ll> #define pdd pair<double,double> #define X first #define Y second #define rep(i,a) for(ll i=0;i<a;++i) #define repp(i,a,b) for(ll i=a;i<b;++i) #define all(c) (c).begin(), (c).end() ...
20a4602ea6d7db91806d8ca65006b98af9189a3e
ec2602f0c3cef1243a8a1619a7aebdfa3070c46f
/WebLogger.cpp
329ce78304256033cdf4ea8c48190ef9c733f6b2
[]
no_license
ryudo87/lintcode
c09f3573d29325ac02a4d6819aa4b544063587db
b1fb6853174c980fbb72215a8e6e97ade4a28702
refs/heads/master
2020-06-29T09:47:24.183883
2019-08-04T15:44:36
2019-08-04T15:44:36
200,503,119
0
0
null
null
null
null
UTF-8
C++
false
false
1,587
cpp
WebLogger.cpp
#include <iostream> #include <cstdio> #include <map> #include <queue> using namespace std; // Implement a web logger, which provide two methods: // hit(timestamp), record a hit at given timestamp. // get_hit_count_in_last_5_minutes(timestamp), get hit count in last 5 minutes. // the two methods will be called with no...
13c930fdef1b6d55c5d7c00e2c8e117def6e9ae7
693be4e1e490c06b00d924cddab0f8fcb859f4f9
/wheelbox.cpp
e9aca7853ac8edd5596b14cb6e0be62ac04eda4d
[ "MIT" ]
permissive
ansleliu/SerialDigitalOscilloscope
43258b78941ed08bafabcb77f2da49658a907541
b22bd567bad861527cb1ccc15dc90ebb7ee2cbb6
refs/heads/master
2020-07-21T05:24:02.728705
2016-11-15T20:35:18
2016-11-15T20:35:18
73,852,940
4
1
null
null
null
null
UTF-8
C++
false
false
2,737
cpp
wheelbox.cpp
#include "wheelbox.h" #include <qwt_wheel.h> #include <qlcdnumber.h> #include <qlabel.h> #include <qlayout.h> #include <qevent.h> #include <qapplication.h> class Wheel: public QwtWheel { public: Wheel( WheelBox *parent ): QwtWheel( parent ) { setFocusPolicy( Qt::WheelFocus ); parent->in...
9b81b2603f1767414acf632af05c8b448e265a5c
e94d8998f95208b0b43b40b6a1cbc6eded0475c3
/core/models/model_ideal_gas.h
5dec21c67a6b8d040610385d9feaeeb56b4ca5ca
[]
no_license
ymishut/asp_therm
9ace243e3151859eb367822f38f54b1abeac6bdd
01737d7bec66aa73509e7e307d12d4b0325b639f
refs/heads/master
2021-04-09T16:18:00.902487
2018-06-19T14:49:29
2018-06-19T14:49:29
125,764,375
0
0
null
null
null
null
UTF-8
C++
false
false
1,300
h
model_ideal_gas.h
#ifndef _CORE__MODELS__MODEL_IDEAL_GAS_H_ #define _CORE__MODELS__MODEL_IDEAL_GAS_H_ #include "model_general.h" #include <memory> class IdealGas final: public modelGeneral { private: IdealGas(modelName mn, parameters prs, const_parameters cgp, dyn_parameters dgp, binodalpoints bp); IdealGas(modelName mn, p...
3fbadbd5e73fd4fab3b8dd03c3c11b94dd3a5801
114a6b0340b3f8a990089dd11a938685e767275e
/include/vector.h
72191151968e52f0d73048029e09fc85fc9c9452
[]
no_license
dixtel/gameengine
7ed41c96ab095850b8949a4b978c2d7f39dff526
7d0c70810c293a27674083758f006e260f3e8b9d
refs/heads/master
2021-09-01T14:34:26.123435
2017-12-27T13:43:21
2017-12-27T13:43:21
114,453,127
0
0
null
null
null
null
UTF-8
C++
false
false
569
h
vector.h
#ifndef VECTOR_H #define VECTOR_H #define PI 3.14159265 #include <cmath> #include <iostream> class Vector { public: Vector(); Vector(float x, float y, float z); Vector RotateXY(float degree); Vector RotateXZ(float degree); Vector RotateYZ(float degree); Vector Scale(Vector scale); Vector operator + (Vector...
c41be3af304b091d0f4a61eee58cf75900e4f87c
a740f266d47b36d44bb251c60ab211c87ed09747
/include/brainclouds2s.h
8521d805269e03238b9e0dbc1224acbef5ec1ea4
[ "Apache-2.0" ]
permissive
getbraincloud/brainclouds2s-cpp
d2920098e1ec84f551d22ab9212f0d287a46e455
5d4b2716a8503685c8ad4b1d4caa91e36befefd1
refs/heads/master
2023-07-25T00:26:26.363681
2022-11-03T21:04:17
2022-11-03T21:04:17
168,526,848
0
2
Apache-2.0
2023-03-29T20:59:21
2019-01-31T13:09:04
C++
UTF-8
C++
false
false
3,161
h
brainclouds2s.h
/* 2019 @ bitheads inc. Author: David St-Louis */ #ifndef BRAINCLOUDS2S_H_INCLUDED #define BRAINCLOUDS2S_H_INCLUDED #include <functional> #include <memory> #include <string> static const std::string DEFAULT_S2S_URL = "https://api.braincloudservers.com/s2sdispatcher"; class S2SContext; using S2SCallbac...
4c9498b0fee07f0753ba9dcf626f54fafc9b6b27
79e400ebdfd2f28e975781931f15521baa4f81c9
/divideWithoutOpr.cpp
ecc813511575fbf8edb6c11bf06dd12a930424f8
[]
no_license
fkl/algo-problems
1ac60566186d0ba4ade380575346fad609227b3c
95dad464983c039ec4e6063d2cc4115363400e6a
refs/heads/master
2020-05-22T23:07:02.152897
2019-05-21T02:01:44
2019-05-21T02:01:44
26,101,209
0
0
null
null
null
null
UTF-8
C++
false
false
791
cpp
divideWithoutOpr.cpp
// Find x / y (integer division) without using divison or multiplication operator int divide(int divident, int divisor) // 8/3 { int d = divisor; int q = 1; // quotient starts from 0 here // TODO - Handle special cases latter. (divide by 0), numbers being same or divisor being greater. First get the general algo ...
090026d863cd876d8385f250f1882e335d6b0f7b
0f8c77ea5ba9a793a733a62d199f078f5b007641
/xinput1_3/ccMessageInfo.cpp
e91e5f0c48a4a4df19e727dd02a15abbf3310353
[]
no_license
zealottormunds/nsrmoddingapi
e42adc78bc44c7b67feb50a13d41db8a9dff70ed
d4fbbb9b64c7ccd3fc2ac846d467db18caf32838
refs/heads/master
2022-11-22T13:36:53.756532
2020-07-23T22:15:39
2020-07-23T22:15:39
282,067,403
0
0
null
null
null
null
UTF-8
C++
false
false
4,319
cpp
ccMessageInfo.cpp
#include <windows.h> #include <stdio.h> #include <iostream> #include <fstream> #include <string> #include <vector> #include <filesystem> #include "ccMessageInfo.h" #include "xinput1_3.h" #include "HookFunctions.h" #include "ccUpdater.h" using namespace moddingApi; using namespace std; // Initialize void ccMessageInf...
e0005d204ed947a4c5aa6b47889b7968a64b4845
cf83a5a268a1dac196b84c19d5d32c88cd6646f3
/Algorithms/Hierarchical_Clustering/HierarchicalClustering.hpp
ba92861051e7208d568db76dbb7b32b441396719
[]
no_license
mukhir/MasterProject
001cc995164070094385da694c6a61873d71d722
3a4f9e3944cfb3be81d146153b224dcdad194b00
refs/heads/master
2021-08-30T12:07:27.755492
2017-12-17T21:39:25
2017-12-17T21:39:25
114,570,519
0
0
null
null
null
null
UTF-8
C++
false
false
1,060
hpp
HierarchicalClustering.hpp
#ifndef _PAULY_ITERATIVE_SIMPLIFICATION_ #define _PAULY_ITERATIVE_SIMPLIFICATION_ #include "Defs.hpp" #include <queue> class HierClustering { public: HierClustering(); ~HierClustering(); void init(const std::string filename); uint32_t contract(void* buffer, uint32_t finalCount); p...
2f36fa0df897df26da803fd900dd7f2656458beb
e7b39d33c9fd7e98365e14a4d232be9b76f9ee02
/operation.cpp
510c24f69ab1f49fe65f6d2b16e90e304b416cf8
[ "MIT" ]
permissive
yx-lu/RRAM-Emulator
4bc80d6cb1f72e7e0ea4edc7caee6d16e6e405c1
d9c23ea48d4fc4966a360b83b915bd4d4c455d55
refs/heads/master
2022-09-09T20:08:15.831620
2020-05-27T03:53:08
2020-05-27T03:53:08
251,618,772
3
0
null
2020-04-11T10:18:18
2020-03-31T13:57:40
C++
UTF-8
C++
false
false
2,835
cpp
operation.cpp
#include <iostream> #include <algorithm> #include "rram_allocator.h" BIT shifter_bit[Size]; RRAM *shifter[Size]; BIT rotater_bit[Size]; RRAM *rotater[Size]; BIT left_shifter_bit[Size]; RRAM *left_shifter[Size]; BIT allset_bit[Size]; RRAM *allset; void Initializer() { for (int i = 0; i < Size; i++) shifter_bit[i].s...
6344ce26c658c61f327857a2d942b63425445447
ff296424a72aed53e3169eab611809a4883c7fcf
/Assignment3/include/quad.h
305bd76fe7494b2980c98b88d48ec58fba9b9662
[]
no_license
ozym4nd145/COL781
353c4346f74710416a75b051a8bf48b021ed4c4e
5b39d399002f69dd480ba87880a35afe915901c4
refs/heads/master
2020-04-17T04:08:47.558792
2019-04-21T12:28:12
2019-04-21T12:28:12
166,216,029
1
1
null
null
null
null
UTF-8
C++
false
false
346
h
quad.h
#pragma once #include <vector> #include <glad/glad.h> // holds all OpenGL type declarations #include <learnopengl/shader.h> class Quad { private: unsigned int VAO; unsigned int VBO; void setupQuad(); public: Quad(); void Draw(Shader shader,const std::vector<unsigned int...
12e32ec2a1ca635e7c5c032e05d5a3c735e2384f
b167407960a3b69b16752590def1a62b297a4b0c
/samples/Test/Classes/Control/TableViewTest.h
6384cc1e1fefd063605376af87af00f2a142dc73
[ "MIT" ]
permissive
xcode1986/nineck.ca
543d1be2066e88a7db3745b483f61daedf5f378a
637dfec24407d220bb745beacebea4a375bfd78f
refs/heads/master
2020-04-15T14:48:08.551821
2019-01-15T07:36:06
2019-01-15T07:36:06
164,768,581
1
1
MIT
2019-01-15T08:30:27
2019-01-09T02:09:21
C++
UTF-8
C++
false
false
1,278
h
TableViewTest.h
#ifndef __Test__TableViewTest__ #define __Test__TableViewTest__ #include "RootWindow.h" class TableViewTest: public CAViewController { public: TableViewTest(); virtual ~TableViewTest(); CREATE_FUNC(TableViewTest); protected: void viewDidLoad(); void viewDidUnload(); ...
a3d683de8150e8144574dac2a098c40cd6d34566
4371ef96a14e62c97bd898fb9ed425f0206baa4e
/MarioCardGame/Game.cpp
0d653f00009c351f9a464bdcb7274f96d728f3d9
[]
no_license
thenfour/Archives
e03413ece7b71552a99308c58cc4b76dbf94a000
f7c87afe644989b5e8b3d2c1e30ca4546658138d
refs/heads/master
2020-04-10T06:31:10.444614
2014-02-18T01:51:55
2014-02-18T01:51:55
16,931,568
2
0
null
null
null
null
UTF-8
C++
false
false
4,757
cpp
Game.cpp
#include ".\game.h" #include <windows.h> #include <algorithm> int MarioRand(int n) { return rand() % n; } namespace MarioSim { Game::Game(int arenaWidth, int arenaHeight) : m_arenaWidth(arenaWidth), m_arenaHeight(arenaHeight) { srand(GetTickCount()); } Game::~Game() ...
be88c3360c65862ec28567be835f8691704ab200
4c2881b7dc0b4c464247b310163bfade133057ea
/P1/include/bound_computator.hpp
8fcfa05e230cfa637966c47b9a657871b3a2a280
[]
no_license
TooCynical/CD
9323c5c8c98001008bb7fb79bded052de5050ded
1e4dcb37e7ec7723b52ac7e93bfbcc55602ddf43
refs/heads/master
2020-12-30T12:24:28.298130
2017-07-08T11:54:03
2017-07-08T11:54:03
91,384,787
0
0
null
null
null
null
UTF-8
C++
false
false
7,650
hpp
bound_computator.hpp
/* Lucas Slot (lfh.slot@gmail.com) * Ardalan Khazraei (ardalan.khazraei@gmail.com) * * June 2017 * University of Bonn * * bound_computator.hpp * * BoundComputator is a class that, given a valid Instance object * representing an instance of the 3d rectilinear steiner tree problem * contains functionality to...
f00a63b784acfc7e8a5bc1b9a405c00fd3be3155
2747bddb0b877157de2d79235f543ebf49a944af
/Source/LD47/Public/SpawnController.h
009680160508744295ca1c27fe94e6a2f5cd3c6a
[]
no_license
Jakey113G/LD47
a022a177175d59b17962d1eeaa091a41bc814c2f
cbd082a08d9b4c37f01d0a3522e51a5e7b3cc06b
refs/heads/main
2022-12-22T21:21:37.307346
2020-10-04T21:09:14
2020-10-04T21:09:14
301,503,784
0
0
null
null
null
null
UTF-8
C++
false
false
836
h
SpawnController.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "SpawnController.generated.h" //Not sure if this the best approach. but didn't want to waste time creating a CPP derived level BP or putting logic in player s...
dc2a08cff776d0dc821dd9fb3dbdd25247952f05
6781eda39f260144f9c4a1a9c46ea29e8a03469c
/include/TL_ThreadLock.h
2d081de8f03219bb0853deba38d00ef61a6f542c
[]
no_license
everpan/tidp
74b1a5ec6756023db633341f7aa40bbe05293a66
92e5f5f208c5d1dac9c113acf29b624786bf8e08
refs/heads/master
2021-07-09T08:01:58.257355
2020-08-27T03:44:31
2020-08-27T03:44:31
25,238,168
0
0
null
null
null
null
UTF-8
C++
false
false
1,797
h
TL_ThreadLock.h
/* * File: TL_ThreadLock.h * Author: everpan * * Created on 2011年3月18日, 下午3:59 */ #ifndef TL_THREADLOCK_H #define TL_THREADLOCK_H #include <pthread.h> #include <errno.h> #include <time.h> #include <sys/time.h> #include <sys/types.h> #include "TL_Exp.h" #include "TL_Monitor.h" namespace tidp { class T...
3b4cb46adcca5e6c749af976fbfaf3dce7ff9d93
cfc67668aad239f25d1a6f7072ae267898fd1300
/Spider/Server/Database/Test.cpp
c0074e5567178585cd86a3eb6157a8a87d784908
[]
no_license
VictorDebray/Spider
4ddfcc3a21075b5dc7f83c55b78e00782a337501
cb36e513b26a8dfd9eddf8efc73f7a51931e89bb
refs/heads/master
2021-09-02T05:59:44.940120
2017-12-30T22:04:45
2017-12-30T22:04:45
115,740,152
0
0
null
null
null
null
UTF-8
C++
false
false
256
cpp
Test.cpp
/* ** Test.cpp for untitled2 in /untitled2/Test.cpp ** ** Made by Paul MENDIELA ** Login <paul.mendiela@epitech.eu> ** ** Started on sam. oct. 07 20:01:51 2017 Paul MENDIELA ** Last update sam. oct. 07 20:01:51 2017 Paul MENDIELA */ #include "Test.hpp"
718730d3af90ca0f1346df7485eda42c964517a1
f661f21f05048d2ffdb657424ef7bb6dfa2010ad
/cf/Codeforces Round #572 (Div. 2)-C.cpp
a611e0edd6b8b5e5eb0ff4c0548bb76dd02b5091
[]
no_license
HXYerror/linux-acm
ecb72b5824bcd8492a189403d2ceb05008d4e738
16cd79c55c762af1f6ded4e838bce0b442d01cce
refs/heads/master
2021-07-14T06:52:13.142918
2021-06-26T08:59:19
2021-06-26T08:59:19
218,274,442
0
0
null
null
null
null
UTF-8
C++
false
false
2,160
cpp
Codeforces Round #572 (Div. 2)-C.cpp
//#include<bits/stdc++.h> #include <iostream> #include <cstdio> #include <cmath> #include <iomanip> #include <string> #include <cstring> #include <algorithm> #include <set> #include <map> #include <vector> #include <queue> #include <stack> #define LL long long using namespace std; const int MAX = 100010;//100000 const ...
483e6d31275afa98f77abd10e40afe975a747b85
e8cec014c373a8599f9ac5d3768d87662528b28e
/meeting-qt/setup/UnInstall/src/base/time/time.h
49ade8e4cb94b49346086e7f29ce7ba82ca82bd5
[ "MIT" ]
permissive
xiaoge136/Meeting
ee69e309666b3132449476217033d34b92eb975d
0b85c53ee3df6d5611c84dc2b9fe564590874563
refs/heads/main
2023-07-21T14:39:03.158711
2021-08-31T14:13:18
2021-08-31T14:13:18
401,727,185
0
1
MIT
2021-08-31T14:10:04
2021-08-31T14:10:04
null
UTF-8
C++
false
false
12,228
h
time.h
/** * @copyright Copyright (c) 2021 NetEase, Inc. All rights reserved. * Use of this source code is governed by a MIT license that can be found in the LICENSE file. */ // Copyright (c) 2011, NetEase Inc. All rights reserved. // // Author: Ruan Liang <ruanliang@corp.netease.com> // Date: 2011/6/9 // // Ti...
46a14dc70066d58918e1ef1a4c534d78311078e0
ba808c11d830027e3a4aae714b9624a1d1ae853a
/tests/elf/test_modifier.cpp
9774fac35680db5ccae08fa78f1284641efa3dc0
[ "Apache-2.0" ]
permissive
jbremer/LIEF
609b896a9d63306673883797c16d5f2f1c5292dd
e0de8dd596d836390bdceb1845eb0c38c023b323
refs/heads/master
2020-03-22T10:25:57.479864
2018-07-05T22:03:42
2018-07-05T22:03:42
139,902,140
0
0
Apache-2.0
2018-07-05T21:24:19
2018-07-05T21:24:18
null
UTF-8
C++
false
false
3,475
cpp
test_modifier.cpp
/* Copyright 2017 R. Thomas * Copyright 2017 Quarkslab * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
2c7ef96e6b4b77ea2786da58f32876bcb1e1d3e1
c92074756c82a78fa5bb449dff7f10706821cc64
/Source/A_L_B_E_R_T/PlayerShip.cpp
c60081645d7931e9a26d6a7923642e9e485b8f66
[]
no_license
DontLookAtThis/ALBERT
d1ae0e41cdc4de56c53b5154cd3e2c4bd90ea2df
c47defa7d66ecbef10078a2b36a49283daeca1cc
refs/heads/master
2020-03-23T21:04:09.336032
2018-07-19T23:14:35
2018-07-19T23:14:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,271
cpp
PlayerShip.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "PlayerShip.h" const FName APlayerShip::MoveForwardBinding("MoveForward"); const FName APlayerShip::MoveRightBinding("MoveRight"); const FName APlayerShip::FireForwardBinding("FireForward"); const FName APlayerShip::FireRightBindi...
64d91f75b3f0861f75aba704c9dca9039685d36b
c629aef08d6aab9ade143cb48d1b3bc81b434d41
/8.Tree/8.2.BinarySearchTree.cpp
cfaf1b36718a0368e65ab3eb58b4a608c70b8c41
[]
no_license
suyeon96/Datastructure
159ecbea494e77a3de49963827af78943663092a
b28256bd7e46774ce472990001b7fad8b45e1aeb
refs/heads/master
2023-02-16T17:18:17.863182
2021-01-05T17:35:22
2021-01-05T17:35:22
305,954,742
1
2
null
null
null
null
UTF-8
C++
false
false
11,663
cpp
8.2.BinarySearchTree.cpp
/* * 8.2 * 이진탐색트리 */ #include <iostream> #include <queue> using namespace std; template <typename T> struct Node{ private: T data; Node* left; Node* right; public: Node(T _data, Node* _left, Node* _right){ data = _data; left = _left; right = _right; } ~Node(){} /...
443f225c648c45c951bfd445e8b955ce56c4c47b
f4aa6bfdf2bf1caacf9e9a8cefd09d00382e9e8c
/My_Study/CBY_Projects/CBYLib/CBYCore.cpp
b2fd36446fae4dd3ecfb2b78cc0004f72a943e15
[]
no_license
Byeng-Yong-Choi/C_Yong
e39a015b64facd473c5193d21a157b552813e9b7
9c2a1856b7c59156c2364ea2bf0a21e3d02eab1d
refs/heads/master
2020-09-28T14:26:17.358211
2019-12-18T04:51:44
2019-12-18T04:51:44
226,795,230
1
0
null
2019-12-09T05:57:44
2019-12-09T05:53:34
null
UHC
C++
false
false
3,865
cpp
CBYCore.cpp
#include "CBYCore.h" HDC g_ScreenDC; HDC g_offScreenDC; bool CBYCore::Init() { return true; } bool CBYCore::Frame() { return true; } bool CBYCore::Render() { return true; } bool CBYCore::Release() { return true; } bool CBYCore::GameRun() { GetGameRun = CoreInit(); //런함수 실행시 Init실행하고 Frame과 Render함수를...
d4b54989166843748cd38ab533196afa514ecbd8
22ce6b167ed84e4a90d9f6e84a4112a09107fefc
/src/classes/Game.cpp
11048c7aeabfe941d4fc923637570c523983f952
[]
no_license
wrazik/MarioEdit
253c3771d513fa035c388563ef0333205185462e
a6fbb1d65cd77939fbb00525f37294b46ea22903
refs/heads/master
2020-03-25T19:59:27.408879
2018-08-10T19:13:24
2018-08-10T19:13:24
144,110,134
0
0
null
2018-08-09T06:29:55
2018-08-09T06:29:55
null
UTF-8
C++
false
false
6,318
cpp
Game.cpp
#include "Game.hpp" #include <iostream> #include "defines.hpp" #include "Cursor.hpp" #include "TileSet.hpp" #include "Scale.hpp" #include "TileRegistry.hpp" #include "Animation/SpecialBlockBlinkingAnimation.hpp" Game::Game() : tileSet("resources/tiles2.png") { window = std::make_shared<sf::RenderWindow>( ...
854fc65b3a188656e9c17f37a4c8a848b9b0df50
6cef817d092eeccb0b1839e0437bbaeec8df9176
/lib/Target/TargetLibraryInfo.cpp
269958fd7f17bfd3e092aac6a42df297b03cf54f
[ "NCSA" ]
permissive
asl/llvm-openrisc
b1a1166d272bc36acc03f50cf2f792986bae9e33
9751b81fc97dcb6ecc4be4304ef8e6e8cf79f6e4
refs/heads/master
2021-01-15T17:45:49.158680
2012-04-04T19:36:31
2012-04-04T19:36:31
3,941,218
8
1
null
null
null
null
UTF-8
C++
false
false
4,555
cpp
TargetLibraryInfo.cpp
//===-- TargetLibraryInfo.cpp - Runtime library information ----------------==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
6729b565e792626cc401ad991c332a3c10dd0682
66498a83efa77fcfe1492b8b22b057eaefd73931
/tmp/beerduino_mail.cpp
3e0bbdccdd73617da17ba4b3d9e8545cf956de7e
[]
no_license
SR-G/beerduino
dab420bf147fa9425fe197c3a2bea6048c6c0db2
ec39202fe7eaca463c15be3e28b93a997d63c7b6
refs/heads/master
2021-01-23T12:16:48.050622
2012-05-01T17:47:19
2012-05-01T17:47:19
2,462,404
3
0
null
null
null
null
UTF-8
C++
false
false
2,090
cpp
beerduino_mail.cpp
/** * Send mail. */ void sendMail() { for (int i = 0 ; i < foundSensors ; i++ ) { Serial << "Temp" << (i+1) << " [" << currentTemperature[i] << "], seuil [" << seuilTemperature[i] << "]" << endl; } Serial << "Envoi d'un mail ..." << endl; if (smtpClient.connect()) { smtpClient << "HELO beerduino" << ...
bdad4c2c3f49fd12e744cb65b6f435c83f18c43d
4262591e1586b909692756c48288e690af813b66
/src/project/DOTATribe/src/NewEquipremindDataHandler.cpp
b35392512564e2eb87054a1ff8cd52b312398cfa
[]
no_license
atom-chen/DotaTribe
924a6df4463bffb6cc08df5d8d5cdb4a1a5740fb
2f6409a78825250ffa38b18b9819dee3ec9d1182
refs/heads/master
2020-11-28T03:44:41.631302
2019-08-23T07:04:34
2019-08-23T07:04:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,383
cpp
NewEquipremindDataHandler.cpp
//Name:NewEquipremindDataHandler //Author: lvyunlong //Func: new equip remind handler //Maintainer:lvyunlong #include <cocos2d.h> #include "../include/NewEquipremindDataHandler.h" #include "../include/NFControlsManager.h" #include "../include/EventSystem.h" #include "../include/EventTyper.h" #include "../include/IWind...
92299774a046ec23e0f49eebb43f1e3b9354fac6
4100ecc09eda84eb487f0db220162ad79f2783a9
/Arduino/Arduino.ino
3a1aadf2752e4ec4dab9d6342e0584ba580e296d
[]
no_license
mdgoodrum/assistant
75b8ce80ac2f003dac22d17604520f1dad9bc20e
8ce7d341c3049816fe129cdb48214ed4b5d12c77
refs/heads/master
2020-03-08T01:53:09.479084
2018-04-18T15:21:55
2018-04-18T15:21:55
127,843,364
0
0
null
null
null
null
UTF-8
C++
false
false
1,599
ino
Arduino.ino
#include "ESP8266WiFi.h" const char* host = "64d275a3.ngrok.io"; const char* MY_SSID = "Sonika Finch iphone"; const char* MY_PWD = "sonwifip"; void setup() { Serial.begin(9600); Serial.print("Connecting to "+*MY_SSID); WiFi.begin(MY_SSID, MY_PWD); Serial.println("going into Wifi connect"); while (WiFi.st...
1083b3e173895e5fe0f797989bd8717aa14c64f5
f48b1da73c2d4d8f29828184bda710f27ac46672
/codechef/ZCO12001.cpp
8ac34d833bcf9d14226688a433e33b093658f369
[]
no_license
mouar/CP
ab188741dd229b3a949ea8544f4f5fc1447f7088
e95e70dbe61e1d4be473f2c328517221859a72f1
refs/heads/main
2023-03-05T19:02:23.152994
2021-02-17T07:27:31
2021-02-17T07:27:31
321,296,288
0
0
null
null
null
null
UTF-8
C++
false
false
1,342
cpp
ZCO12001.cpp
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; stack <int> s; int nest_depth=0,nest_depth_pos,max_seq=0,max_seq_pos; int a[n]; for(int i=0;i<n;i++) cin>>a[i]; /* int count=0; for(int i=0;i<n;i++) { if(a[i]==1) ...
a25092c1d0b2cdbf89cc1149ee5791852692f5d7
f7f69af928ff8842b9d89ef1f0d36383fe8009b6
/Depth-first Search/increasing-subsequences.cpp
2e2b999e4faab99b4eabee53dd1cb25fdd7ddcf2
[ "MIT" ]
permissive
PrakharPipersania/LeetCode-Solutions
f24820d2b4b911c61021e84d6b4caedc26433d4f
ea74534bbdcf1ca3ea4d88a1081582e0e15f50c7
refs/heads/master
2023-04-22T04:59:46.609642
2021-05-10T08:27:57
2021-05-10T08:27:57
277,162,852
4
0
null
null
null
null
UTF-8
C++
false
false
675
cpp
increasing-subsequences.cpp
class Solution { public: void gen(set<vector<int>> &x,vector<int> a,vector<int> nums,int index) { if(a.size()>=2) x.insert(a); for(int i=index;i<nums.size();i++) if(nums[i]>=a.back()) a.push_back(nums[i]),gen(x,a,nums,i+1),a.pop_back(); } vector<ve...
e5fe2e33308c978ae66c02c7ba71638814a71dbe
d8a2ea08ca8edcb26b64eda20ef0b2a56d584104
/Chapter_15/C15_Exercise_15.5.cpp
7758b009a5fa1e49399ad624f11930b02dc5d46d
[]
no_license
weenchvd/Programming_Principles_And_Practice_Using_CXX
42288e84f4211fabce7a4cf195460bce61a1667d
9c7a088f37d091e69bf79d65a18476189b39555e
refs/heads/master
2023-02-06T08:06:45.787952
2020-12-31T10:29:42
2020-12-31T10:29:42
257,951,901
1
0
null
null
null
null
UTF-8
C++
false
false
2,640
cpp
C15_Exercise_15.5.cpp
/* Exercise 15.5 */ #include<iostream> #include<stdexcept> #include<string> #include<sstream> #define _USE_MATH_DEFINES #include<math.h> #include<cmath> #include"../GUI/Simple_window.h" #include"../GUI/Graph.h" #include"C15_Exercise_15.5.h" using namespace std; //inline void error(string s) { throw runtime_error(s)...
5ececd86b488a2a8bcb837e7486b0ccde8d56f27
84023126e76b0744f9dd05a1610fd27facd6f742
/AlgorithmPractice/Algorithm이론/15. 너비우선탐색.cpp
d4c41a3bf47b33f0d72c04f30b6f0ac1c0cc6afa
[]
no_license
JeonghoDean/Dean-sGit
bbcad33b5696069f65ec5016c762da3993f82fb4
52408e8f8b44301bdc04de3c003399a54dc49581
refs/heads/master
2022-04-15T09:45:50.352541
2020-04-02T06:39:49
2020-04-02T06:39:49
250,167,512
0
0
null
null
null
null
UHC
C++
false
false
1,181
cpp
15. 너비우선탐색.cpp
/* 너비를 우선으로 하여 탐색하는 방법 BFS 맹목적인 탐색을 하고자 할때 사용 최단경로는 찾는다는 것에서 최단길이 찾을때 사용됨 1.방문처리 2. 큐에서 하나의 노드 꺼냅 3. 방문 하지 않은 노드 방문하고 다음 큐를 꺼냄 */ #include <iostream> #include <queue> #include <vector> using namespace std; int number = 7; int check[7]; vector<int> a[8]; //트리의 번호와 벡터의 번호 같게하기위해 8개 선언 void bfs(int start) { queue<in...
4d3b5de0b19f20e67a595f070628f39f6962c0c8
3c4777b0c6554622d1935a00be081644ee301dfb
/lab1/Src/Application/myApp.h
5daaaaf560b58276b80b75b5781870bd01a0b373
[]
no_license
AntonGitName/CG_labs
0bc91c88b43afee055631e1489320ab840f2a506
de1b9aec74589161e6c8acea33d7e6e482062b22
refs/heads/master
2020-05-17T02:17:16.909130
2015-02-22T17:44:18
2015-02-22T17:44:18
31,085,096
0
0
null
null
null
null
UTF-8
C++
false
false
2,323
h
myApp.h
#ifndef __MYLAPP_H__632619789336566350 #define __MYLAPP_H__632619789336566350 /** @file cglapp.h @brief Class cglApp definition @date Created on 10/09/2005 @project D3DBase @author Bvs */ // ******************************************************************* // includes #include <d3d9.h> #...
a7801fa8dc3599a3707c05438ad77692d17d4ed1
3f88be3eac26c86b3d051255ce829425b8730350
/src/PDBImporter.h
9f57806eb4f44fcc3323e61e2ab6b574e984dd1e
[]
no_license
pablocm/vrprotein
02d7032997a521b80d524337c14a22a2cb3f273b
c11ff2af0eb96965551e7a9956a423881650da51
refs/heads/master
2016-09-06T13:09:19.229690
2014-06-09T02:31:52
2014-06-09T02:31:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
550
h
PDBImporter.h
/* * PDBImporter.h * * Created on: Mar 11, 2014 * Author: pablocm */ #ifndef PDBIMPORTER_H_ #define PDBIMPORTER_H_ #include <memory> #include "Molecule.h" namespace VrProtein { namespace PDBImporter { /** * Toma un archivo PDB y retorna la molecula. */ std::unique_ptr<Molecule> parsePDB(const std::strin...
7a577031e85d2a6943353946abb80450a1c9ccfa
8f50c262f89d3dc4f15f2f67eb76e686b8f808f5
/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonRecToolInterfaces/MuonRecToolInterfaces/IMuonErrorOptimisationTool.h
8b490fb86677f14a9679b83218cb38dfc9a8a3d7
[ "Apache-2.0" ]
permissive
strigazi/athena
2d099e6aab4a94ab8b636ae681736da4e13ac5c9
354f92551294f7be678aebcd7b9d67d2c4448176
refs/heads/master
2022-12-09T02:05:30.632208
2020-09-03T14:03:18
2020-09-03T14:03:18
292,587,480
0
1
null
null
null
null
UTF-8
C++
false
false
973
h
IMuonErrorOptimisationTool.h
/* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ #ifndef MUON_IMUONERROROPTIMISATIONTOOL_H #define MUON_IMUONERROROPTIMISATIONTOOL_H #include "GaudiKernel/IAlgTool.h" static const InterfaceID IID_IMuonErrorOptimisationTool("Muon::IMuonErrorOptimisationTool",1,0); namespace Trk { cl...
9dccf071062cb510c772728964dd9db693532667
281d75af04e9e9ac2ba0ca69286303281741af6f
/functions/CertTool_dialog.cpp
2750640ba16a4eed3ecb6ac94c0fb62b48554be4
[]
no_license
ALEHACKsp/akt
5447468f50ba8781d2a3bb53e58b6c641399e7cd
f1c4e18bb86dc8d2ee9371505b6625da6b0292c4
refs/heads/master
2022-02-01T09:45:44.720216
2018-11-06T13:07:52
2019-05-26T11:01:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,536
cpp
CertTool_dialog.cpp
#include "CertTool_dialog.h" char CT_szProgramDir[256] = ""; //debugged program dir BOOL CALLBACK CT_DlgMain(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch(uMsg) { case WM_INITDIALOG: { CT_shared = hwndDlg; ShowWindow(GetDlgItem(hwndDlg, IDC_BTN_PAUSE), 0); Sho...
343fc60086bdfdcbaf9022ae8190d5bd7e9111aa
5f0eb7449d2f51665595c31c945ba2f42b58df78
/raygame/List.h
fef305e1bbccd0b8d44f69e7011e96ac270e98e1
[ "MIT" ]
permissive
SethSylvester/DataStructureAsessment
340830696fb6ede40748c010503030f8ee02c090
728defb89d0016d409ebd141d6a306384df63616
refs/heads/master
2021-01-08T22:35:33.655508
2020-03-16T20:34:32
2020-03-16T20:34:32
242,162,767
0
0
MIT
2020-02-21T18:27:10
2020-02-21T14:50:57
C++
UTF-8
C++
false
false
1,331
h
List.h
#pragma once #include "Node.h" #include "Iterator.h" template<typename T> class List { protected: //The length of the list int m_count; //The first node Node<T>* m_first; //The last node Node<T>* m_last; public: //If the list is empty bool isEmptyList(); //The Length of the list int length...
70fdb0d393c4956b3aeba1043c0f4ccbdd71d297
f5e082a928b28fd18bf45a0b58e29b5d30bcc484
/00_DataStructures/Trees Class/BinarySearchTree.cpp
0cb44e5fde13f1a815b001874e86ce1750023efc
[]
no_license
sinha-sahil/ProblemSolving
625cf2c91c190c31d906d45ffc4ff01575931012
aa1c00a528d4d59a1dc46a55548cee082803275e
refs/heads/master
2022-03-30T11:30:24.553292
2020-01-22T05:19:13
2020-01-22T05:19:13
198,296,703
0
0
null
null
null
null
UTF-8
C++
false
false
1,675
cpp
BinarySearchTree.cpp
#include<iostream> using namespace std; struct Node{ int data; Node* left, *right; Node(int val){ data= val; left= nullptr; right = nullptr; } }; void insert(Node* &root, int data){ if(root== nullptr){ root= new Node(data); return; } if(data<root->data) insert(root->left, data); else insert(root->ri...
80e7792ee58e8b2cda251b6dd7d286f85288fbb6
1d49be7b3d9bc0ed8d087ba2a4264ddcbb99ade2
/src/domain/fem_domain.h
d7af51828520a10729617fc3e5e072c12b566269
[ "MIT" ]
permissive
cpplanes/cpplanes
1770aef64f4698230e0e1c9deac1eed49adae668
a5aaca16f67d49eb229018ee0bfc613459660d23
refs/heads/master
2021-01-19T12:05:01.824468
2017-08-04T22:45:24
2017-08-04T23:14:27
82,284,645
0
3
null
2017-08-04T23:14:28
2017-02-17T10:13:19
Python
UTF-8
C++
false
false
1,401
h
fem_domain.h
/* * fem_domain.h * * This file is part of cpplanes, a software distributed under the MIT license. * For any question, please contact one of the authors cited below. * * Copyright (c) 2017 * Olivier Dazel <olivier.dazel@univ-lemans.fr> * Mathieu Gaborit <gaborit@kth.se> * Peter Göransson <pege@kth.se> * *...
e91e3fc7a1c15d7a06536de1555f7aeddf38e16b
29b0f2c28c4768b6a297d36e51393acb7d739aa0
/src/TextLine.cpp
c987a4ba7b1331998a12b04c0bcdf31d69461f0a
[]
no_license
satosystems/me
52aa9bfd7a7722c404df921c52b8debd22865ba8
1ba3274b88bc008f0e92d71b0ad297ca064fcfb7
refs/heads/master
2020-05-19T17:26:53.259162
2013-02-08T15:46:36
2013-02-08T15:46:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,538
cpp
TextLine.cpp
#include "TextLine.h" #include "TextFile.h" #include "Line.h" #include "Logger.h" TextLine::TextLine() : Line<TextFile>(NULL, 0), mLineFeed(LineFeedNone), mCharCountCache(0) { } TextLine::TextLine(File<TextLine, TextFileIterator> *file) : Line<TextFile>(dynamic_cast<TextFile *>(file)), mLineFeed(dynamic_cas...
0dc46445058c2a366cc920e254e646aa8263a090
e0a5956edd6b57e27a1e8ad8c6b6e52a5a951db0
/include/openjson.hpp
5e6dbcc439f37b3f7e7cc06428dab78cc8f8a016
[]
no_license
winsock/EDA-Converter
adbbcd3fbfea6d7df92c76e4f380a349d4a45e83
ce0d3cb58330ce3100af8bc1939316b204777957
refs/heads/master
2021-01-10T02:18:48.945917
2016-02-24T20:08:42
2016-02-24T20:08:42
52,248,615
0
0
null
null
null
null
UTF-8
C++
false
false
28,337
hpp
openjson.hpp
#include <string> #include <regex> #include <map> #include <unordered_map> #include <vector> #include <memory> #include <algorithm> #include <locale> #include <functional> #include "json.hpp" #include "converter.hpp" using json = nlohmann::json; namespace open_json { // Forward declare data class data; ...
344ed83316efd69adc99c098d8d9e74ed237f6e0
354a2bcf2d5e5d4e4052ca1b199bfb44fd2bc462
/vtkm/rendering/TextAnnotation.cxx
a5b9b2bf57dfc33ea8df9061b4f892c7b9dc8d51
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Kitware/VTK-m
108f96185fc3c3914498873c58a94ca75f2f2219
0c86e3277b6f19c91e5db240da00ff33028b9a2e
refs/heads/master
2023-08-30T13:05:05.132168
2023-08-29T20:36:57
2023-08-29T20:37:14
190,059,477
22
7
null
null
null
null
UTF-8
C++
false
false
2,311
cxx
TextAnnotation.cxx
//============================================================================ // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURP...
96fa22231294c78276551c3466dca9e3cc3740c5
a59ea038b613c3ea8f89b1c05c121f79bf34c58e
/codeforces/978D.cpp
4008a49d0d1314130a4824439841c441f115d3d1
[]
no_license
srd091/Sports-Programming
0c5054d4d6bf3c94547b4ad62d264a46b26e6a74
ee9178b45512b9b84513fa5e074d296c037052fd
refs/heads/master
2020-06-20T04:00:21.835591
2018-09-21T10:35:00
2018-09-21T10:35:00
74,883,707
0
0
null
null
null
null
UTF-8
C++
false
false
1,121
cpp
978D.cpp
/* Just For You 97116:) */ #include <bits/stdc++.h> using namespace std; //important constants #define pi M_PI #define mod 1000000007 #define multiplier 100000000000 #define maX(a,b) ((a)>(b)?(a):(b)) #define miN(a,b) ((a)<(b)?(a):(b)) #ifdef ONLINE_JUDGE #define MAX 2000005 #else #define MAX 100000 #endif int ...
979faba3f5356777a3cc87a21434e39c6d6f9f24
715f26b17c6847cc4108cc27b04021956fb2476c
/src/Algorithm.cpp
fc84b1274fb668d4fa2df6d6aa4d6e901756cee5
[]
no_license
cmmw/gcolor
604f04e2c7168136db498f806527f1b6b2bca011
9577334bdbac57a99b77ec99cbeed1111f55f009
refs/heads/master
2021-07-03T11:23:17.406906
2015-06-24T20:09:27
2015-06-24T20:09:27
104,645,171
0
0
null
null
null
null
UTF-8
C++
false
false
9,933
cpp
Algorithm.cpp
/* * Algorithm.cpp * * Created on: Apr 13, 2015 * Author: ixi */ #include "Algorithm.h" #include "Logger.h" #include <algorithm> #include "time.h" #define TIME_PASSED double(clock() - begin) / CLOCKS_PER_SEC extern int visitedNodes; extern int triedColors; extern int mac; extern int mrv; extern int lcv...
6f63d6abbf93937c547b7c1371f2ee786bbabcd1
e45d57f260be59dec60d5fbe7d03423a43586af3
/Room.h
6ba249152f36a4a545e298a7d9da51800d8459dc
[]
no_license
contactonee/Timetable
887dc68eb17d30c9e2f769f0a2cee2b38678b4b1
2f464e0d487cbf8c3bc8b9e0da060c03dcffe410
refs/heads/master
2023-05-11T05:16:40.731471
2017-12-06T11:56:47
2017-12-06T11:56:47
115,443,369
0
0
null
null
null
null
UTF-8
C++
false
false
348
h
Room.h
#ifndef ROOM_H #define ROOM_H #include <string> #include "Reservable.h" class Room : public Reservable { public: Room(std::string name, int size, bool laboratory = 0, bool computers = 0); std::string name(); int size(); bool compLab; bool lab; private: std::string Nam...
01452f68c535b2853f84e208b9bbbb234c2b4828
4adedb7e7b615180f752682c145630e3d80e3eb3
/otog/modulovplus.cpp
ec13137d16fc03c3b4b23d3c0da90bbe72abcf07
[]
no_license
p0ndja/POSN
0a951bcd92fa17528b1180db2cad5e205c7814c5
db9555fe2a258a8c5c150c2995c73698de73b74e
refs/heads/master
2020-03-30T22:05:33.660806
2019-03-21T02:12:12
2019-03-21T02:12:12
151,654,227
0
1
null
null
null
null
UTF-8
C++
false
false
369
cpp
modulovplus.cpp
#include <bits/stdc++.h> using namespace std; int mod[10000]; int main(){ int n,k,countt = 0; scanf("%d %d",&n,&k); for(int i = 0; i < n; i++){ long long x; scanf("%lld",&x); if (mod[x%k] == 0) { mod[x%k] = 1; countt++; } } printf("%d\n",countt); for(int i = 0; i < k; i++) if(mod[...
ba41b9b0a2099f687c25e61d7bd802e9ef9d9a8b
9a6094e9cef7cbb420ef6c9a3999993de296182a
/include/tl/type_traits/is_void.h
129a566ffe6339957489247989a81e2f7d055a1c
[]
no_license
Username-commits/tl
a061a5e2eaace004f16920989c87bcbb1864c0e6
cf9494bdcbb888feabe1a8ef5dca391c9cc42882
refs/heads/master
2022-11-17T23:17:22.685322
2020-07-17T16:40:44
2020-07-17T16:40:44
280,475,408
0
0
null
null
null
null
UTF-8
C++
false
false
574
h
is_void.h
#ifndef _TL_IS_VOID_H_INCLUDED_ #define _TL_IS_VOID_H_INCLUDED_ 1 #include "integral_constants.h" namespace tl{ template<typename T> struct is_void : false_type { }; template<> struct is_void<void> : true_type { }; template<> struct is_void<const void> : true_type { }; templ...
8b807dc504819977754bd869ce96a230df1aee41
b677894966f2ae2d0585a31f163a362e41a3eae0
/ns3/ns-3.26/src/test/ns3tc/pie-queue-disc-test-suite.cc
defa139802e6f71e83f4997aab2a8fd95c0e3a83
[ "LicenseRef-scancode-free-unknown", "GPL-2.0-only", "Apache-2.0" ]
permissive
cyliustack/clusim
667a9eef2e1ea8dad1511fd405f3191d150a04a8
cbedcf671ba19fded26e4776c0e068f81f068dfd
refs/heads/master
2022-10-06T20:14:43.052930
2022-10-01T19:42:19
2022-10-01T19:42:19
99,692,344
7
3
Apache-2.0
2018-07-04T10:09:24
2017-08-08T12:51:33
Python
UTF-8
C++
false
false
13,914
cc
pie-queue-disc-test-suite.cc
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2016 NITK Surathkal * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is di...
e43a6f306b54fa423e3b0cb0296f95c3905b8e9a
bfb1c7ff905065f0e3914b66c9a932bc811640a5
/trunk/source/Prompts/CreditsWindow.h
4b7058d8eb81f6996dd4c6086315e9acf2a07e6b
[]
no_license
djskual/savegame-manager-gx
1ddcdcfcdaf7a4043b7fd756136ec8cca0fbf5f3
ae3cb59cb5bbae91bf65d48cb61961ed49d896d3
refs/heads/master
2020-06-03T05:11:20.735987
2015-04-14T13:16:49
2015-04-14T13:16:49
33,944,551
3
1
null
null
null
null
UTF-8
C++
false
false
1,595
h
CreditsWindow.h
/*************************************************************************** * Copyright (C) 2012 * by Dj_Skual * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any * damages arising from the use of this software. * * Permission is...
88a796560379929ed30fbf3640d2b69d5ce38f4b
825e64b1cb17aac2a4d5c396d7bbeaca91aaaa10
/src/transport/transport.cpp
8259b4f6ad73c837fa4c49575507653721bf044b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
cpshereda/hxhim
7cf7643228f44a7ce336bedf05762ad95d5b72bd
1ef69e33d320e629779df27fb36de102f587c829
refs/heads/master
2023-01-29T12:53:21.008388
2020-12-08T19:50:24
2020-12-08T19:50:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,837
cpp
transport.cpp
#include <cmath> #include "transport/transport.hpp" Transport::EndpointGroup::EndpointGroup() {} Transport::EndpointGroup::~EndpointGroup() {} Transport::Response::BPut * Transport::EndpointGroup::communicate(const ReqList<Request::BPut> &) { return nullptr; } Transport::Response::BGet * Transport::EndpointGro...
e48c970c0ba90e6b85c52dbea6801662f129710a
eb588f91afa14ddb027d28cbc883e8e472a076f6
/Bohyoh/chap11/Point2D.h
84913af2887df2e16e6bcdf703c81b022d1ec48f
[]
no_license
kawauso-github/cpp
1ed8193a3d0727e9bdb23d7e86bff4243770a4c4
4076873463846a0a8e8329f2640b11f3cbe676f7
refs/heads/master
2023-05-28T20:36:27.424677
2021-06-07T08:01:22
2021-06-07T08:01:22
374,580,959
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
390
h
Point2D.h
#ifndef ___Point2D #define ___Point2D //--- 2次元座標クラス ---// class Point2D { int xp, yp; // X座標とY座標 public: Point2D(int x = 0, int y = 0) : xp(x), yp(y) { } int x() const { return xp; } // X座標 int y() const { return yp; } // Y座標 void print() const { std::cout << "(" << xp << "," << yp << ")";...
1fd11229da22f1d85e5185150b61ab4189a0d703
eb58e15feda82c8f3fb6ad6cd57ae3326bfdd2fb
/정렬/2693 N번째 큰 수.cpp
ca64e516ca5082333eedb527747ac63466e77ac1
[]
no_license
wjb127/Algorithm_Code_Note
8749486ecc855bb5c239fef575e847e7ab340e73
4ac68ca54474b0d2ae2d576e811477d23812457c
refs/heads/master
2022-12-04T04:03:29.229952
2020-08-31T01:47:20
2020-08-31T01:47:20
285,872,122
1
0
null
null
null
null
UTF-8
C++
false
false
364
cpp
2693 N번째 큰 수.cpp
#include<iostream> #include<cstdio> #include<memory.h> #include<algorithm> #include<string> #include<cmath> #include<string> using namespace std; #define f(n) for(int i=0;i<n;i++) #define p(a) cout<<a<<endl int main() { int t; cin>>t; f(t) { int arr[10]; for(int j=0;j<10;j++) { cin>>arr[j]; } sort(a...
27831d997b72af2b4faf0fc26cb78db5a8842836
db6b3891c6f872c1c156797ba3e0c0a67a905203
/arangod/VocBase/Legends.cpp
fac7ad8d6858114ad0a0b0e615672ccb0d11c03f
[ "Apache-2.0" ]
permissive
AALEKH/arangodb
119c23a957dc381c7c15d4116c1621cb3b3bbea7
d193c2ff915c749c7838c8225fe6e2c90a324b4d
refs/heads/velocystream
2021-01-09T05:11:06.964249
2016-05-22T18:37:31
2016-05-22T18:37:31
50,135,630
0
0
null
2016-03-03T07:57:14
2016-01-21T20:46:45
C++
UTF-8
C++
false
false
12,598
cpp
Legends.cpp
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
e82d07e6743f53d908b08802386a0d32904e7369
fc0725b0841099b52266012f4d362ddbde7be195
/pixel/pixel/tilemap/tile_map.cpp
7177b2a31494a4e1513babee794bf834dc516fc3
[]
no_license
antiomiae/pixel
6118671c8cb59c12fbc969fdf654ad0d5f6e7afe
377fb8e9e8ebd951c628183d4752b3289735eb92
refs/heads/master
2021-04-27T12:07:25.385742
2019-03-15T03:23:44
2019-03-15T03:23:44
122,574,251
2
0
null
null
null
null
UTF-8
C++
false
false
2,188
cpp
tile_map.cpp
#include <pixel/error.h> #include "tile_map.h" #include "tile_layer.h" using namespace std; using namespace pixel; TileMap::TileMap(const glm::uvec2& map_size, const glm::uvec2& tile_size) : tile_count_{map_size}, tile_size_{tile_size} { atlas_ = make_unique<TileAtlas>(tile_size_.x, tile_size_.y, 4096)...
1f14dcbc894a13d5cba859c7815c5f668589ff9b
ea5747614a68a4f3b011a81c6173b12b603881db
/practice/algorithm.cpp
bc231287795e345c9bae783e6774871ff13a9538
[]
no_license
vadik24/Cplusplus
675b2c0066357481df44bb6e0526ba148023318d
6ee754d5ff98a5cbe45c715d79267368c93e08f1
refs/heads/master
2020-05-21T17:49:58.391782
2016-09-25T08:19:13
2016-09-25T08:19:13
61,788,649
0
0
null
null
null
null
UTF-8
C++
false
false
1,897
cpp
algorithm.cpp
#include <iostream> //create a merge sort algorithm //divide array into subarray left & right //conquer two leaf child //combine two subarray into one // divide/conquer is O(logN), Merge two array into one O(N) so O(nlogN) void mergeSort(int *array,int l, int r); void combine(int *array,int l,int m,int r); int main(){...
239cb40d5cb5cba00e7c195f4055a7a7088d6b02
20e4681ed78d4b9d255ac169599aa5c93f65c0c0
/day4/io/io.cc
c3926df5b67fa31cd3ce748eb6b944ad50993902
[]
no_license
a719309405/wangdao_cpp
4cef1f277ac24fd84b50f65adcd79903957d2410
8bdba79419eb578316b12e9713a1186593431be5
refs/heads/master
2020-06-26T14:50:24.149337
2019-08-05T15:04:06
2019-08-05T15:04:06
199,664,163
1
0
null
null
null
null
UTF-8
C++
false
false
273
cc
io.cc
#include<iostream> #include<vector> #include<istream> #include<ostream> #include<fstream> using std::cout; using std::endl; using std::ifstream; int main() { ifstream isf; isf.open("test.txt"); if(!isf.good()) { cout<<"cant open"<<endl; } }
05d294ada59b8536675aff5bb54a7fde2e1c34ac
ed375380b4eb9d572dc837bb2b9899b230152392
/lazy4_deprecated_internal_FunctorUtility.h
b0e4c41e7dcfa1e06036c321f9902e1a1d47a89e
[]
no_license
fdt1/collection
53ad8bd14265a4d7640cee6a241b952dd0001b9e
2b7eb8860dcd856a6d46561478532b5b09872c4c
refs/heads/master
2021-01-19T20:19:04.220488
2015-12-20T14:25:44
2015-12-20T14:25:44
37,906,930
0
0
null
null
null
null
UTF-8
C++
false
false
5,245
h
lazy4_deprecated_internal_FunctorUtility.h
/* * lazy4_internal_FunctorUtility.h * collection * * Created by Francois et Fabienne on 24/09/13. * Copyright 2013 __MyCompanyName__. All rights reserved. * */ #pragma once #include "lazy4_internal_Type.h" namespace lazy4 { namespace internal { //-------------------------------------------------...
196cae81e3c7af71673e87a2c9634796512b4fe2
ad1c5bedb6807cdaaa9fb75d98ef71b6410c430a
/src/clargs/clargs.cpp
26bc3b2a7e15cab8a122e66dccdd688e920b53f3
[]
no_license
GeniusChinez/enact
757b75b323e4f6c5c45776ed4ce2203fcb5d9968
35779964293743385ad44f30546e9f6055626e56
refs/heads/master
2023-03-06T04:14:12.824190
2021-02-23T07:18:59
2021-02-23T07:18:59
340,893,073
0
0
null
null
null
null
UTF-8
C++
false
false
4,169
cpp
clargs.cpp
#pragma once #include "clargs.h" #include <iostream> namespace clargs { bool Arguments::is_set(std::string_view flag_name) const { auto temp = key_values.find(flag_name.data()); if (temp == key_values.end()) { return false; } return temp->second == "true"; } ...
685cc865fe20c605b05c4bfeed4a7e6a38368b2c
e333cb74142dcdd04d1f85f67fe44e9b7b7e4eaa
/test/Station_tests.hpp
e115c203acd442df0b1570b32baa9be7e1de1779
[]
no_license
LarsFin/TrainStopPlus
5cddd350fe5f762425dd750b61316576c65170c7
5dd9dc0d1472de53bb3fad679f64adebb3d47833
refs/heads/master
2020-07-05T01:47:37.820291
2019-09-16T17:51:22
2019-09-16T17:51:22
202,486,964
0
0
null
null
null
null
UTF-8
C++
false
false
4,670
hpp
Station_tests.hpp
#define Station_tests_H #include "../src/Station.cpp" #include "iostream" using namespace std; using namespace fakeit; // Overload station builds for name set and not Station* BuildStation(); Station* BuildStation(string name); // Deallocate heap pointer void DeallocateStationPtr(Station* stationPtr); //########...
e892ae9e57e66acdc6bf613914c1afafc68c8402
4fb0945481de32fc150a1084268b2e2f46671d2e
/util.h
7f536efa10ffa64391c13180f2cdeddd931a50aa
[]
no_license
StevenChenZJU/myshell
7d11b53cd11085118ec0d32fc367b3fea6f2a9cb
0c3f56f50e097813de4ffbcbffe9b02d09d2e659
refs/heads/master
2023-07-09T00:11:57.271711
2021-08-04T16:57:42
2021-08-04T16:57:42
325,023,878
1
0
null
null
null
null
UTF-8
C++
false
false
1,961
h
util.h
#ifndef _UTIL_H_ #define _UTIL_H_ #include <algorithm> #include <iostream> #include <fstream> #include <iomanip> #include <stdlib.h> #include <string> #include <sstream> #include <map> #include <vector> #include <regex> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> #include <unistd.h> #include <li...
bce9f083ad7ea3e09ce0d9a10c75536b17ce4c7e
64bbf6b400b6e26724ae2ba49ddcb3d0bde36a2c
/ex00/easyfind.hpp
4d37e3fde093314723a8128bdf3a0e903680ab16
[]
no_license
HyoungHoKim/cpp_module_08
9f3a1b7261096ba8baa4a26b7569b37c0fc6d60f
170c2416ea230740844db6a8e2aa1ff7307369f9
refs/heads/master
2023-06-27T16:27:40.507025
2021-07-29T07:29:26
2021-07-29T07:29:26
390,235,418
0
0
null
null
null
null
UTF-8
C++
false
false
423
hpp
easyfind.hpp
#ifndef EASYFIND_HPP # define EASYFIND_HPP # include <algorithm> # include <exception> class NotFound : public std::exception { virtual const char *what() const throw() { return ("Not Found!!!"); } }; template <typename T> int &easyfind(T &container, int n) { typename T::iterator iter = std::find(container.begin(...
b591707decc3080868c7c619ce2585e09df6041c
e5c00909d5aeb971793526289bb74ed0939e31d0
/libleveldb/src/main/cpp/leveldb/cpp/leveldb.hpp
c8b33b451afcae629ed6a1187e13d175c384c3bb
[ "Apache-2.0" ]
permissive
joinAero/DroidDjinni
f43eecc1a76ab632458ea1b4890809bb9bcc8da0
97dcec53079154ce8f98781badcc2eacd08098e7
refs/heads/master
2021-08-26T07:09:27.667534
2017-11-22T05:22:51
2017-11-22T05:22:51
107,755,392
1
0
null
null
null
null
UTF-8
C++
false
false
794
hpp
leveldb.hpp
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from leveldb.idl #pragma once #include <memory> #include <string> namespace dd { class WriteBatch; enum class status; class Leveldb { public: virtual ~Leveldb() {} static std::shared_ptr<Leveldb> create(); virtual status open(con...
9a821cffc21932a5f03bde8a6f2b8db96de85c88
c9782973026db99124d2a1db97be6eb447a5d578
/lab3_Eigenface/code/pro3/mean.h
8719dec9e5a8eda40612247a7008cbb3e1ed0a8b
[]
no_license
zouwen198317/CVpg
c78e1dd13b30e12d79de62ec0b204693a6a82b75
da8ba93d58037edf592ced3a4af5a6c3bd6802e7
refs/heads/master
2021-01-21T01:27:03.641828
2016-02-20T00:47:31
2016-02-20T00:47:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
535
h
mean.h
// // mean.h // pro3 // // Created by Victor Young on 12/31/15. // Copyright (c) 2015 Victor Young. All rights reserved. // #ifndef pro3_mean_h #define pro3_mean_h #include "eigenface.h" #include "opencv2/objdetect/objdetect.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" using ...
27f3e1077d8dd136e9872847d85257ce10b28ffb
a269f85bd94d43122f7d8000582d9000a3491186
/src/persistent_structures/comp_increasing_array.cpp
afc35d50574789a26acac0940367279a5da3c461
[ "BSD-2-Clause" ]
permissive
ufal/korektor
462265249bdc1f64689f341defd49f24ab160564
9dba14b97babfe201e016926d4029bbff2cd1b4f
refs/heads/master
2023-06-19T19:02:05.915989
2023-02-22T13:59:39
2023-02-22T13:59:39
22,339,583
19
5
null
2017-11-13T07:29:15
2014-07-28T10:56:25
C++
UTF-8
C++
false
false
2,815
cpp
comp_increasing_array.cpp
// This file is part of korektor <http://github.com/ufal/korektor/>. // // Copyright 2015 by Institute of Formal and Applied Linguistics, Faculty // of Mathematics and Physics, Charles University in Prague, Czech Republic. // All rights reserved. // // Redistribution and use in source and binary forms, with or without ...
263e0038e6c46d05fecfa9ae088ea5928ac2b9a9
d4f649ea461523f10a432d71c348fa29917af44e
/circle-3.1/src/util/delobjs.c
cc2061976c1d9909d12235424cfe5a0291513736
[ "BSD-2-Clause", "MIT" ]
permissive
mdbarr/circlemud
742c2eda3c020daa22475e509eaebfea8f885c11
e5c7013fc8af466ddcfd27b381b8f813434795c8
refs/heads/master
2021-07-21T10:50:33.936240
2020-06-09T18:56:12
2020-06-09T19:01:46
181,250,852
1
2
MIT
2020-06-09T19:01:48
2019-04-14T02:28:05
C
UTF-8
C++
false
false
2,228
c
delobjs.c
/* ************************************************************************ * file: delobjs.c Part of CircleMud * * Usage: deleting object files for players who are not in the playerfile * * Written by Jeremy Elson 4/2/93 * * All Rights Re...
c6fa7bfd1ea2db33acade4e1e912ae37a0c184fe
7cc6f918e77fd9a9c1eea02a1f27965f5d3dce70
/507-Zodic-Fever.cpp
f86ac2458b1cb20f88dd9865c60e44130c27a7c4
[]
no_license
metalhacker/CityU-OJ
1fc2c6c2c513e3f9e17ef522cc56739b25f8d87e
b593a0b20aead5e11014de5924e405b59d679223
refs/heads/master
2023-08-01T00:40:57.117814
2021-09-12T01:54:06
2021-09-12T01:54:06
153,863,349
0
0
null
null
null
null
UTF-8
C++
false
false
3,170
cpp
507-Zodic-Fever.cpp
#include <iostream> #include <cstring> #include <algorithm> #include <string> #include <vector> #include <sstream> #include <queue> #include <cstdlib> #include <cctype> #include <stack> #include <climits> #include <map> #include <utility> #define INF 99999999 using namespace std; class Trap { public: int room_number;...
417f7129f848216e14c6173817b085c7d8ed5e33
3ac6e094b06aa2f8548ef8795f8dfd22b7b744e3
/include/Model/StateMachine/StateMachine.hpp
9269ceb197adf2abe72f2ebeee0c78be1ddd783d
[]
no_license
SpencerL-Y/ISADT
5f9c70acc1203edce0fae24e1ea715c2d4085b2c
dcbc5eb027a2dd394a060f3b5109109ff80fd52a
refs/heads/master
2022-11-10T15:31:17.879174
2020-06-21T10:37:45
2020-06-21T10:37:45
260,142,077
0
0
null
null
null
null
UTF-8
C++
false
false
1,143
hpp
StateMachine.hpp
// // StateMachine.hpp // // Created by Jinlong He on 2019/11/14. // Copyright © 2019 All rights reserved. // #ifndef Model_StateMachine_hpp #define Model_StateMachine_hpp #include <list> #include "Vertex.hpp" #include "Edge.hpp" using std::string; namespace isadt { class Process; /// \brief StateMachine c...
105c3e1c548aef7f3d6d228865828b0c1be0fdc6
8f72438d5f4ca7219df3ae7799c3282faab5e33e
/Guide to CP/Introductory Problems/05. Permutations.cpp
ec939ea4b16b839401bece098395a01ece9aa6d7
[]
no_license
mdzobayer/Problem-Solving
01eda863ef2f1e80aedcdc59bbaa48bcaeef9430
a5b129b6817d9ec7648150f01325d9dcad282aed
refs/heads/master
2022-08-15T22:04:18.161409
2022-08-08T11:46:00
2022-08-08T11:46:00
165,687,520
0
1
null
null
null
null
UTF-8
C++
false
false
847
cpp
05. Permutations.cpp
#include <bits/stdc++.h> using namespace std; int main() { int n, loop, first, second; cin >> n; if (n == 2 || n == 3) { cout << "NO SOLUTION" << endl; return (0); } else if (n == 1) { cout << "1" << endl; return (0); } else if (n == 4) { cout << "...