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
ccb1bd98228fe07456deae4f81b92c808a16c35c
bd498cbbb28e33370298a84b693f93a3058d3138
/Fujitsu/benchmarks/resnet/implementations/implementation_open/mxnet/src/executor/conv_bn_fuse_pass.cc
d3c64d2114dd7e4139ff87f073e32ac274b88885
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Zlib", "BSD-2-Clause-Views", "NCSA", "OFL-1.0", "Unlicense", "BSL-1.0", "BSD-2-Clause", "MIT" ]
permissive
piyushghai/training_results_v0.7
afb303446e75e3e9789b0f6c40ce330b6b83a70c
e017c9359f66e2d814c6990d1ffa56654a73f5b0
refs/heads/master
2022-12-19T16:50:17.372320
2020-09-24T01:02:00
2020-09-24T18:01:01
298,127,245
0
1
Apache-2.0
2020-09-24T00:27:21
2020-09-24T00:27:21
null
UTF-8
C++
false
false
7,716
cc
conv_bn_fuse_pass.cc
/* * 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 ...
b197eec0ec2df7549bb16f74d10f9abc7695bd44
0abb6aef68b81b6d616658e408ee2979a6104798
/10950.cpp
1ae57b4293acde93e0de44ae3a1fe3a5d28ffd38
[]
no_license
seongwpa/PS
c44b44691a4038dc326a9198d373629f86bf6dc6
3f77020becf5eb989cc146b63d550b461af02dbd
refs/heads/master
2022-10-08T20:39:09.352637
2020-06-08T08:21:15
2020-06-08T08:21:15
270,530,344
0
0
null
null
null
null
UTF-8
C++
false
false
227
cpp
10950.cpp
#include <stdio.h> int A[100], B[100]; int main() { int T; scanf_s("%d", &T); for (int i = 0; i < T; i++) scanf_s("%d %d", &A[i], &B[i]); for (int i = 0; i < T; i++) printf("%d\n", A[i] + B[i]); return 0; }
7e89cea740349a827aa1f17ca22831812a8921fd
a162830776a07c5d16f1c43b70c17b979af24526
/poj/star_ship_trooper_1011.cpp
4208d4cca6ec3bcfa8e1d14a77dd6c87df729e25
[]
no_license
fancy2110/algorithm
e46c9440b05ca2b69f8fae6cfe0fef6caf5d1cb6
d564763b28e2141981c0a974455ced1b490cc7ae
refs/heads/master
2022-02-22T15:15:12.575997
2022-01-28T03:57:09
2022-01-28T03:57:09
107,639,570
0
0
null
null
null
null
UTF-8
C++
false
false
4,214
cpp
star_ship_trooper_1011.cpp
/** * http://acm.hdu.edu.cn/showproblem.php?pid=1011 * * input : * 5 10 50 10 40 10 40 20 65 30 70 30 1 2 1 3 2 4 2 5 1 1 20 7 8 2 0 0 0 9 0 8 0 4 0 7 0 3 0 2 0 1 1 2 1 3 2 4 2 5 4 6 6 7 7 8 5 2 0 1 0 1 0 5 0 1 0 2 1 2 1 3 2 4 2 5 -1 -1 * * output: * 50 * 7 */ #inclu...
cf220bda41757ac8af266c00d097aa8ea1b07f77
90625321434d29be8ccde3355b7d0b4de311f795
/R823_T/R832ImgFile.cpp
44c4edd6abdb711b177f168adb34c62dcd31292d
[]
no_license
zhouzhenyou/WIN_Data_Acquisition
15d927c91c66489c98d9383206b96f45034da8b6
e797a97b2f5d6160db4c69cffaba4d3d4c62ce98
refs/heads/master
2020-05-29T21:01:11.940913
2015-01-21T06:23:57
2015-01-21T06:23:57
23,988,011
0
0
null
null
null
null
UTF-8
C++
false
false
982
cpp
R832ImgFile.cpp
/** * * CopyRight (c) 2012 IVTCorporation * All rights reserved * * FileName: DFUFile.cpp * * Abstract: * * * Author: zhou zhenyou * * Modification history: * 1.1 2012/18/6 File created * 1.2 2012/7/26 Remold this class * */ #include "R832ImgFile.h" // Construc...
5f297e56a91abfb784186adf06609ab40fce2950
4bfc9fc8924f61de5a3cf16ad23b7c7d64e926c6
/PrettyEngine/src/engine/Core/Scene3D.h
acca548e6392ffb1ad621f30aebcdcb797d27c06
[ "Apache-2.0" ]
permissive
wwwK/Pretty_Engine
ad8786c3aa827150c827c3f6b0f5a4f7d7cdb593
53a5d305b3de5786223e3ad6775199dbc7b5e90c
refs/heads/master
2022-09-16T00:02:39.080355
2020-05-22T11:43:10
2020-05-22T11:43:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,226
h
Scene3D.h
#pragma once #include "Scene.h" #include "engine\ECS\Entity.h" #include "engine\Graphics\Cameras\StaticCamera.h" #include "engine\Graphics\Renderer3D.h" namespace PrettyEngine { class Scene3D : public Scene { public: Scene3D(Camera* camera); ~Scene3D(); virtual void Submit() override; virtual void RenderS...
39b25efc474baf2d53323881187b14d6000d30c1
0a997fec3e67f39574797f4f1b81807c530e557f
/src/Location.hpp
d26260bc92ea63082212f40a6cc20bcbbfb5582c
[ "MIT" ]
permissive
davidstraka2/gamebook-engine
f007ec49755b6fbf728fd5bc89c72775cf982a24
53fa8d825a056e28ddd90e718af73ab691019fe5
refs/heads/master
2020-07-30T11:08:03.725876
2019-10-31T12:29:34
2019-10-31T12:29:34
210,207,667
0
0
null
null
null
null
UTF-8
C++
false
false
1,500
hpp
Location.hpp
#pragma once #include "Creature.hpp" #include "Option.hpp" #include <map> #include <string> #include <vector> class Location { public: /** Creature container type */ typedef std::map<std::string, Creature> CreatureContainer; /** Option container type */ typedef std::vector<Option>...
6d1bbb0586abcd0f18ad7f1c421ec911c4538180
9497a1cccdc1e2de34c88ad3fafed3ef0fe41102
/ed-arrays-cc-development/src/main.cc
4af897da6ccbd0f75f8131e4895d6615c593841c
[]
no_license
rept114/ed-arrays-cc-development
e8c60a22b69d7e1374a76aa97b876ec08d3a6eeb
ae15adf2eba5670cc5b1f49b229895adb7a64f50
refs/heads/master
2022-12-23T13:21:58.279429
2020-09-07T03:04:46
2020-09-07T03:04:46
293,408,030
0
0
null
null
null
null
UTF-8
C++
false
false
610
cc
main.cc
#include<iostream> int main() { int numbers[6]{100, 87982, 3456, 465, 885, 86}; std::cout << "Array memmory: " << numbers << std::endl; std::cout << "Array memmory: " << *numbers << std::endl; /*for(int i = 0; i < 6; i++) { std::cout << &numbers[i] << "\t"; }*/ /*for(int i = 0; i...
0879c1c2146b61d55046953ce29ce1db1758898e
98e657765290c2bbbd12f51788e2880a0b0d16d8
/bobcat/milter/data.cc
fca770e58435acf74d74a87c32fe621e7f3b72bf
[]
no_license
RoseySoft/bobcat
70f7394ebfa752a04aeaafa043c2a26f2ab09bd7
ec358733b07fb1a8018602a46e92e7511ba5a97f
refs/heads/master
2018-02-24T06:07:50.699146
2016-08-17T08:32:41
2016-08-17T08:32:41
67,193,814
1
0
null
2016-09-02T05:46:56
2016-09-02T05:46:55
null
UTF-8
C++
false
false
145
cc
data.cc
#include "milter.ih" string Milter::s_name; Milter *Milter::s_mp; bool Milter::s_callClose; unordered_map<SMFICTX *, Milter *> Milter::s_map;
b5b0721697794ce1b5cba55e75191b583852deea
28dba754ddf8211d754dd4a6b0704bbedb2bd373
/Topcoder/CandyCollection.cpp
1d986aafa0809ec33de4530792b4f3b2767378b3
[]
no_license
zjsxzy/algo
599354679bd72ef20c724bb50b42fce65ceab76f
a84494969952f981bfdc38003f7269e5c80a142e
refs/heads/master
2023-08-31T17:00:53.393421
2023-08-19T14:20:31
2023-08-19T14:20:31
10,140,040
0
1
null
null
null
null
UTF-8
C++
false
false
4,159
cpp
CandyCollection.cpp
#line 2 "CandyCollection.cpp" #include <map> #include <set> #include <list> #include <cmath> #include <queue> #include <stack> #include <bitset> #include <vector> #include <cstdio> #include <string> #include <cassert> #include <climits> #include <sstream> #include <cstdlib> #include <cstring> #include <iostream> #inclu...
c5ca87199038bbf1e9c247f5d58e20abd1ab85bb
8969abd3550b6dc303ba497ad722f42c4ba2e121
/elfsectionheaders.h
e7553dc69c0b40b56a8102215a60335572d67a9b
[ "MIT" ]
permissive
justinleona/capstone
a636c1bdfa7e6eb1457e528b7d3e8302471940ad
4a525cad12fba07a43452776a0e289148f04a12d
refs/heads/master
2020-08-12T08:17:18.737805
2019-10-21T05:00:27
2019-10-21T05:00:27
214,727,175
1
0
null
null
null
null
UTF-8
C++
false
false
711
h
elfsectionheaders.h
#pragma once #include <iostream> #include <vector> #include "elfbinary.h" #include "elfsectionheader.h" #include "indent.h" class ElfSectionHeaders : public Indentable { const ElfBinary& bin; std::vector<ElfSectionHeader> sections; public: using const_iterator = std::vector<ElfSectionHeader>::const_iterator; ...
b9c3f200709ac7415d74bed1ac09d58ef65d2d08
7cffa9b29f855c68ec5efcf049f596dc7be6bff6
/src/color/cmy/make/coral.hpp
3214776ef9fe98dea0d56df9715b2a1ada18beed
[ "Apache-2.0" ]
permissive
lzs4073/color
c4e12e26cfe96022e0a5e6736a7abaadf9912c14
290c2c1550c499465f814ba89a214cbec19a72df
refs/heads/master
2020-04-03T07:16:33.120894
2016-02-02T16:18:25
2016-02-02T16:18:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,835
hpp
coral.hpp
#ifndef color_cmy_make_coral #define color_cmy_make_coral // ::color::make::coral( c ) namespace color { namespace make { //RGB equivalents: std::array<double,3>( { 0, 0.5, 0.69 } ) - rgb(255,127,79) - #ff7f4f inline void coral( ::color::_internal::model< ::color::category::cmy_uint8 > & color_...
9e2814a6955c817574b1af97670c338c9afb0d9b
f6b781ce73b63296e3b736d3174d716b0f1b4350
/SingleList.cpp
eb4bdaaf45a3204466e22bd21207d4906b9ecbac
[]
no_license
Yanyu-CQU/DataStructSample
542a4d3de2db734275ab279c6ee70451bda9d821
28cb4ff24b92a3ca2a66e2c8ea47f6d1294fed75
refs/heads/master
2020-03-13T10:52:06.507772
2018-08-26T07:13:59
2018-08-26T07:13:59
131,091,496
5
0
null
null
null
null
UTF-8
C++
false
false
9,387
cpp
SingleList.cpp
#include <iostream> #include <set> template <typename T> struct Node { Node* next; T val; Node(const T& v = T(),Node* n = nullptr) : val(v), next(n) {}; }; template <typename T> class SingleList { public: SingleList(); ~SingleList(); int getSize(); Node<T>* getHead(); bool isEmpty(); ...
b7ef9999b452757123d2e96d701dfeeff7788f69
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/CMake/CMake/CMake-joern/Kitware_CMake_repos_function_2164.cpp
4a88573bf631042b5b4c6d97d276bdf95e233e5b
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
47
cpp
Kitware_CMake_repos_function_2164.cpp
void secondone() { printf("Hello again\n"); }
2e6aeadba408639051bb16bbc4257c989afab664
0ac7388d092db127a5f34952a985ee3cfb3ca028
/deps/libgdal/gdal/port/cpl_vsil_s3.cpp
032885944b81621d81681cc1a11e18656c37a974
[ "LicenseRef-scancode-warranty-disclaimer", "SunPro", "LicenseRef-scancode-info-zip-2005-02", "BSD-3-Clause", "MIT", "ISC", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "Zlib", "LicenseRef-scancode-info-zip-2009-01" ]
permissive
mmomtchev/node-gdal-async
49161ab6864341b1f0dd8b656c74290c63061c77
5c75d3d98989c4c246e54bb7ccff3a00d5cc3417
refs/heads/main
2023-08-07T11:44:44.011002
2023-07-30T17:41:18
2023-07-30T17:41:18
300,949,372
96
18
Apache-2.0
2023-09-13T17:43:40
2020-10-03T18:28:43
C++
UTF-8
C++
false
false
182,652
cpp
cpl_vsil_s3.cpp
/****************************************************************************** * * Project: CPL - Common Portability Library * Purpose: Implement VSI large file api for AWS S3 * Author: Even Rouault, even.rouault at spatialys.com * *****************************************************************************...
298f995fb45a9a0df3a5dfb2607f59e5d931c976
59067dd90aad0beac00a2b1d6042be9655126e13
/Classes/StartMenuScene.h
4562b7480c032442be34da5ef9f8ce74faac256b
[]
no_license
TeamNA/Trench-Defence
9dc6814b45117c440699d3122f71b7d768840307
891f659ff65b06cab4f8a6bcf789a1a7515cbae8
refs/heads/master
2020-02-26T17:10:37.722191
2016-03-08T10:30:57
2016-03-08T10:30:57
51,311,969
0
0
null
2016-02-08T17:02:43
2016-02-08T17:02:43
null
UTF-8
C++
false
false
639
h
StartMenuScene.h
#ifndef __STARTMENU_SCENE_H__ #define __STARTMENU_SCENE_H__ #include "cocos2d.h" #include <string> class StartMenu : public cocos2d::Layer { public: static cocos2d::Scene* createScene(); virtual bool init(); // implement the "static create()" method manually CREATE_FUNC(StartMenu); void star...
5397ddecead876620c87973a05367ba2aeccb91c
59dd6c40f372f61da3e088754eddff8fbd529026
/Hacker Earth/Altizon Coding test/Share the fare.cpp
519ad7e3662f99e17bebc516f2efce4838652679
[]
no_license
skystone1000/Coding-Problems
a5dc6332352f496f169fad5d17c18bbf21911b87
a8f219408dd9afd9a119175156e3c4dde89f54cb
refs/heads/master
2022-12-04T12:51:40.913901
2022-11-30T13:31:58
2022-11-30T13:31:58
250,971,303
8
2
null
null
null
null
UTF-8
C++
false
false
1,751
cpp
Share the fare.cpp
// Problem - Share the fare // https://www.hackerearth.com/problem/algorithm/sharethefare-1/ #include <bits/stdc++.h> using namespace std; map < string , int > paid; map < string , int > correct; map < int , string > order; int main() { int t , n , m , q, amount, money; string s , c; cin >> t; wh...
6431172f03776158095851ac4ce5473a98231adc
3e8bdb01c0f0d9696fa857d3afb0ae9ba7c0913a
/controllers/obstacle_avoidance_path_finding/obstacle_avoidance_path_finding.cpp
4fec105dfeea4fbe25b5781994be2a2b821d0699
[ "MIT" ]
permissive
jezuina/reinforcement_learning
538b0a17011d0109d52d95572db9b1d5bbbc28d2
ef1d780fd9404390a54c3a2594fffc09fde2c79c
refs/heads/master
2020-04-09T20:29:39.999934
2019-05-05T20:29:03
2019-05-05T20:29:03
160,575,242
1
0
null
null
null
null
UTF-8
C++
false
false
16,005
cpp
obstacle_avoidance_path_finding.cpp
/*python*/ #include </usr/include/python2.7/Python.h> /* Include the controller definition */ #include "obstacle_avoidance_path_finding.h" /* Function definitions for XML parsing */ #include <argos3/core/utility/configuration/argos_configuration.h> /* 2D vector definition */ #include <argos3/core/utility/math/vector2.h...
759b952f4afa341f3dd4ac45c90a88780e8c7b7c
d248bd05aa8c8fc2dacba3c1690073a839ac8945
/AnnihilationCharacter_Siv3D/AnnihilationCharacter_Siv3D/Game/inc/BarrageBase.hpp
fdee223ece59375567b6b4f918bf1c344e705037
[]
no_license
elipmoc/AnnihilationCharacter_Siv3D
bff5e1be6e6082665a1fd4bf7288a1296d434d2e
7662b37945ec0cdd62132a63028df0d0c1edfe9e
refs/heads/master
2021-01-01T05:55:41.518750
2019-03-02T21:40:47
2019-03-02T21:40:47
97,309,105
3
1
null
null
null
null
SHIFT_JIS
C++
false
false
1,626
hpp
BarrageBase.hpp
#pragma once #include <memory> #include "SceneBase.hpp" namespace game { class BulletListCreator; //弾幕クラス class BarrageBase { //弾リスト std::unique_ptr<BulletListCreator> m_bulletListCreator; //主人公の参照座標 const siv::Vec2& m_playerBindPos; //弾打つ人の座標 const siv::Vec2& m_bindPos; //弾打つ人の座標修正用 const siv::V...
c73eb2649a79f69dfe8d4c30f997d1cf4f709fcb
ec0453708237e7d772721095edd9e6928e283854
/WS06/Autoshop.h
f03d2e069a90acb5cd6bb0a7d1485eb6e49af7fa
[]
no_license
mayankantil/OOP345-Language_CPP
43bff39ad7f58169e2a168fd769832d48718f8c6
398b41f58d787f89ea933ba930dd03abd0132a4c
refs/heads/main
2023-07-04T22:16:52.944290
2021-08-16T14:57:07
2021-08-16T14:57:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,035
h
Autoshop.h
//============================================== // Name: Jungjoo Kim // Student Number: 162 641 195 // Email: jkim594@myseneca.ca // Section: NAA // Date: July 9, 2021 // Workshop: Workshop6 // Ownership: // I have completed all the coding by myself and // copied only...
c304f574aeb65bf904dd1773ad0873c37207310b
756816ca0070c5f8d8dd56bbb8a3aa5bfe8e1cb7
/src/Vel-Stereo-Calib.cpp
c150ecf30a736b30277db55a46f39279444dfcdd
[]
no_license
xiaohedu/Vel-Stereo-Calib
6f6f5274541488c0fd10be66b51c13d9bd82c466
1745a80cace3d73f3e6ce3cc2e6301771d684a0e
refs/heads/master
2020-04-10T06:01:50.906893
2016-06-11T06:40:52
2016-06-11T06:40:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
939
cpp
Vel-Stereo-Calib.cpp
//============================================================================ // Name : Vel-Stereo-Calib.cpp // Author : Zachary Taylor // Version : // Copyright : // Description : Hello World in C++, Ansi-style //============================================================================ #include...
55c28ab681770cd292357eedf6b0a9eba9ff51f6
7da3fca158ea3fb03a578aaff783739a91194bab
/Code/CF/914/d/code.cpp
d9a12597cec6ff1d9a5f5f7f6a3886649c9ccd6e
[]
no_license
powerLEO101/Work
f1b16d410a55a9136470e0d04ccc4abcfd95e18b
6ae5de17360a7a06e1b65d439158ff5c2d506c2a
refs/heads/master
2021-06-18T01:33:07.380867
2021-02-16T10:16:47
2021-02-16T10:16:47
105,882,852
0
0
null
null
null
null
UTF-8
C++
false
false
2,125
cpp
code.cpp
/************************** * Author : Leo101 * Problem : * Tags : **************************/ #include <iostream> #include <cstdio> #include <algorithm> #include <cstring> #define _FILE(s) freopen(#s".in", "r", stdin); freopen(#s".out", "w", stdout) #define gi get_int() const int MAXN = 3e6; int get_int() { int...
f3532ee3a943b9ec9a5b99c17e636773a697c484
a3de8a7ce701185a31f6b39131d9c22439cac539
/include/example/example_parser.h
1a298afc5530707242d5bd335eb3e51df3cd1b35
[ "Apache-2.0" ]
permissive
karmaresearch/laser-plus-plus
c2c9cd46f0d0ad0a12d51be089c8c34562a87377
b37839c9c3674515ed6e64432c3bee43b3882963
refs/heads/master
2020-04-28T09:56:45.135481
2020-02-20T11:59:34
2020-02-20T11:59:34
175,185,549
2
1
null
2019-03-12T10:15:54
2019-03-12T10:15:54
null
UTF-8
C++
false
false
1,759
h
example_parser.h
// // Created by mike on 6/21/18. // #ifndef LASER_EXAMPLE_EXAMPLE_PARSER_H #define LASER_EXAMPLE_EXAMPLE_PARSER_H #include <algorithm> #include <memory> #include <sstream> #include <string> #include <tuple> #include <utility> #include <vector> #include <util/format_exception.h> #include <util/grounding.h> #include ...
cf107eaa08f7f693f4f7d868ddb2d4ffeb78bd70
8b4c7e6ac17df1b13642b2a5a0e2744b484c579b
/HALCON-12.0/include/cpp/HCondition.h
51f07be96959c211b7cf39479c8219f2d85b3ecf
[ "MIT" ]
permissive
liuwake/HalconPractise
b7608602d3da6bddcc39ad73645680bebeaa88fb
d7615f09fd7c91cef9759a1e7eafcc2fec049b26
refs/heads/master
2021-07-03T15:20:22.780521
2020-10-15T09:54:58
2020-10-15T09:54:58
186,081,245
14
10
null
null
null
null
UTF-8
C++
false
false
1,748
h
HCondition.h
/***************************************************************************** * HCondition.h ***************************************************************************** * * Project: HALCON/C++ * Description: Class HCondition * * (c) 2009-2014 by MVTec Software GmbH * www.mvtec.com * ***...
61094049391fcfe8d36e55874dcbb7315ae45d21
5c01feb74b1a9d9450c0d468e7ec16563894d168
/source/EngineModes/BananaToss/State.h
6cb4fb67ea6580b746205fee292f74d52b19c787
[]
no_license
jrbeck/monkey-business
e57ce7198d1524091fdbfe41cc759a961617d32c
cda97d6300685fbd2a9d7a71c2b958bfad8f994e
refs/heads/master
2021-05-10T13:49:14.376547
2018-01-22T17:34:07
2018-01-22T17:34:07
118,491,306
1
0
null
null
null
null
UTF-8
C++
false
false
736
h
State.h
#pragma once #include <SDL2/SDL.h> #include "../../engine/Vec2.h" #include "../../engine/PseudoRandom.h" #define NUM_PROJECTILES (1) #define NUM_TARGETS (1) namespace BananaToss { enum SimulationResults { SIMULATION_RESULT_NONE, SIMULATION_RESULT_HIT, SIMULATION_RESULT_MISS }; struct Projectile {...
238985129b84b28ee079a48153ed67dae1cbf59f
22212b6400346c5ec3f5927703ad912566d3474f
/src/Plugins/SDLFileGroupPlugin/SDLFileHelper.cpp
aac6ed2545db5d277b02bb608eae7deba4c1e77a
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
irov/Mengine
673a9f35ab10ac93d42301bc34514a852c0f150d
8118e4a4a066ffba82bda1f668c1e7a528b6b717
refs/heads/master
2023-09-04T03:19:23.686213
2023-09-03T16:05:24
2023-09-03T16:05:24
41,422,567
46
17
MIT
2022-09-26T18:41:33
2015-08-26T11:44:35
C++
UTF-8
C++
false
false
2,758
cpp
SDLFileHelper.cpp
#include "SDLFileHelper.h" #include "Kernel/Logger.h" #include "Config/StdString.h" namespace Mengine { namespace Helper { ////////////////////////////////////////////////////////////////////////// bool concatenateFilePath( const FilePath & _relationPath, const FilePath & _folderPath, const F...
a2a0280d9877c3f692d544cab821ecb2ccde7228
8d886c7b3ecbc475c4ca8958233cc2be965b3a6b
/Projects/RendererDX12/Headers/Level 1/BaseCommandList.h
968d58ef0ecca0776af4c15192501698f75440e2
[]
no_license
XeroKimo/DX12-Attempt2
a29d4e08a004fb1a09579825996cbe85d5df77b2
896e47adec29f39d38e2d1925ba5983c38029766
refs/heads/master
2020-07-23T10:57:17.587825
2019-11-12T22:07:31
2019-11-12T22:07:31
207,533,506
0
0
null
null
null
null
UTF-8
C++
false
false
775
h
BaseCommandList.h
#pragma once #include "DX12Header.h" #include "Level 0/!Header.h" namespace RendererDX12 { class BaseCommandList { public: inline BaseCommandList(const BaseDevice* const device, const BaseCommandAllocator* const allocator) { device->GetInterface()->CreateCommandList(device->GetN...
d8b7eb3de56f0e6ab221ff7f5b56df03432dfab1
dbdf36645adcbaa6a9fd4b655ae5e0c78cfd5f7d
/src/nim/engine/components/Transform.hpp
a7e5d3c8bcf061af177e981466f9d3d64d97b6d2
[]
no_license
JulianThijssen/NimEngine
dd9223229c8cbb01c97a684302f34d2cf9f6f5fe
1e4ad54170a6de6d5167b410f5ae28ac62a9a3a5
refs/heads/master
2021-01-20T12:04:18.589078
2014-12-14T17:25:38
2014-12-14T17:25:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
404
hpp
Transform.hpp
#ifndef TRANSFORM_HPP #define TRANSFORM_HPP #include <nim/engine/core/math/Vector3f.hpp> class Transform : public Component { public: Vector3f position; Vector3f rotation; Vector3f scale; Transform() : position(0, 0, 0), rotation(0, 0, 0), scale(1, 1, 1) {} Transform(float x, float y, float z) : positio...
f14b8cce418dc120430b0b61998594d9f207ae4a
603850e29d0e57714e09570aac3f66031acfb43c
/C++/Game/v1/game/client.h
b6e1d50a629d81bc5cfe3c759147c8f4be94d13c
[]
no_license
golgirihm/code
0d5437af61499ce855171cd94499817966f02032
9eb1ed0f58dc305a428b3b81218047abcdbdf75b
refs/heads/master
2021-01-10T10:51:48.760350
2016-02-01T05:04:08
2016-02-01T05:04:08
48,399,203
0
0
null
null
null
null
UTF-8
C++
false
false
1,103
h
client.h
#ifndef CLIENT_H #define CLIENT_H #include <QtNetwork> #include <QWidget> #include <QMainWindow> #include <QUdpSocket> namespace Ui { class client; } QT_BEGIN_NAMESPACE class QLabel; class QPushButton; class QUdpSocket; class QTcpSocket; class QAction; class QTimer; QT_END_NAMESPACE class client : public QWidget { ...
c66368cfc67ed753cf426dccb6a58a20f2ea048f
11372f47584ed7154697ac3b139bf298cdc10675
/刷题比赛/LUOGU/P2590 [ZJOI2008]树的统计.cpp
4fad86e563246cd2d182a6aafa23273a30f1271a
[]
no_license
strategist614/ACM-Code
b5d893103e4d2ea0134fbaeb0cbd18c0fec06d12
d1e0f36dab47f649e2fade5e7ff23cfd0e8c8e56
refs/heads/master
2020-12-20T04:21:50.750182
2020-01-24T07:43:50
2020-01-24T07:45:08
235,958,679
0
0
null
null
null
null
UTF-8
C++
false
false
5,146
cpp
P2590 [ZJOI2008]树的统计.cpp
/* 独立思考 一个题不会做,收获5%,写了代码10%,提交对了30%,总结吃透了这个题才是100%. */ #include<bits/stdc++.h> using namespace std; template <typename T> void read(T &x) { x = 0; char c = getchar(); int sgn = 1; while (c < '0' || c > '9') {if (c == '-')sgn = -1; c = getchar();} while (c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar();...
ed768b3b7e19c6240240dbb7fc3de47f70714cf6
afe656a7012158da0b44829fd71355006918b4be
/ParsingAssistant/MainMenu.h
7083ce5c68c48171e52ee05411c237af5003c610
[]
no_license
Owlfeather/ParsingAssistant
c08e31bcb8eac5443d19065247376825ce296bec
b003ac6c8fb533bbf21f7fae4f03ac9924dd9f1a
refs/heads/master
2021-06-16T06:12:26.148128
2019-09-14T15:06:35
2019-09-14T15:06:35
206,980,485
0
0
null
null
null
null
UTF-8
C++
false
false
364
h
MainMenu.h
#pragma once #include <QtWidgets/QMainWindow> //#include "ui_ParsingAssistant.h" #include "ui_MainMenu.h" #include"CWindow.h" class MainMenu : public QMainWindow { Q_OBJECT public: MainMenu(QWidget *parent = Q_NULLPTR); private: Ui::MainWindow ui; CWindow * c_win; private slots: void onExitClicked(); void o...
cd5a6e25b689854a3acc220af59ea504152da515
828ad55c981db843668901fd344080bcd9fab83e
/src/system/remote_node.cc
4cffaf41a512c230f5656fa6dce162414474414f
[ "Apache-2.0" ]
permissive
dario-DI/parameter_server
c6422d37dbd49ea9d646af8fcdcd15e6057e300d
404d748fb1bdb43ffb925f363576c436b86893f1
refs/heads/master
2020-04-06T04:40:38.092456
2014-09-11T21:27:10
2014-09-11T21:27:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,863
cc
remote_node.cc
#include "system/remote_node.h" #include "system/customer.h" #include "util/crc32c.h" #include "base/shared_array_inl.h" namespace PS { DEFINE_bool(key_cache, true, "enable caching keys during communication"); // , Callback received, Callback finished, bool no_wait) { int RNode::submit(const MessagePtr& msg) { auto&...
b379857ddbe1fba5ae54d2ef770bf72a4d6ed4f7
492730fe899fbacc28686fb94ddd1b1cf96576d0
/maneuvers/include/maneuvers/eth_trajectory.h
feb64ea91ca7c4ed886731fc101a89e4c7c8b038
[]
no_license
BiuBiuSun/agile_quadrotor
778384e7151562e9e648b73c238f2279c6ca3a49
d12c8fbea188fb5a9881ea4fe368ab4a49826ebe
refs/heads/master
2023-01-02T11:24:40.764852
2020-10-30T05:00:40
2020-10-30T05:00:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
661
h
eth_trajectory.h
#ifndef ETH_TRAJECTORY_H #define ETH_TRAJECTORY_H #include <mav_trajectory_generation/polynomial_optimization_linear.h> #include <mav_trajectory_generation/trajectory.h> #include <mav_trajectory_generation/polynomial_optimization_nonlinear.h> #include <geometry_msgs/TwistStamped.h> #include <geometry_msgs/PoseStampe...
7070fb48e12d77ac76074d3315b54511f44b0826
9bdaee4be6980ba4fa3e7ef228ed5a44eea1f8d4
/Classes/GameScene.cpp
a2e7a14a211c1b25c7100bd4875d9b4e3f6cf17c
[]
no_license
SimonHPedersen/MagneticGame
0d8385b64d0348438f5a385920a4eb585a73501d
fd19145b2b96f7eef36d0ef9ce69162ac3793132
refs/heads/master
2021-03-12T20:07:43.856707
2015-05-26T11:46:11
2015-05-26T11:46:11
35,866,974
0
0
null
null
null
null
UTF-8
C++
false
false
9,504
cpp
GameScene.cpp
#include "GameScene.h" #include "Magnet.h" #include "HorizontalWall.h" #include "VerticalWall.h" #include "FinishTile.h" #include "TimerLabel.h" USING_NS_CC; Scene* MagneticWorld::createScene() { // 'scene' is an autorelease object auto scene = Scene::createWithPhysics(); // 'layer' is an autorelease...
84d50e68d0d7757b4e211b0ca2cfd532c176ce5e
5f21f553666ec9b6916e3b68b2b123b4db374393
/pitzDaily_Reynolds_stress_R_manual/500/nut
6f75ac99d4a772a13ec2660f7e00f0e6f9229603
[]
no_license
giacomodelbianco/software
9a4f732635adc5ca954eb1dbc3327e7e61a549c3
ca2f61c9833650b3d165260b3a445b4a6e29c409
refs/heads/master
2022-11-15T22:45:43.272727
2020-07-08T19:59:52
2020-07-08T19:59:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
137,976
nut
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1906 | ...
d8914335f8c37fe84a5c470f733659cf9235aefe
635ef8de70441a98557160d4c78771a1eb335db5
/http/src/bitmap.cc
d99f0ab8530a93b7a3b4052a4ae667cb1709fca4
[]
no_license
lineCode/remoteWebGUI
a53d82e2b5691eb467c2fc5bce066e8bacc9198d
2e301ce74d8ae6b0151b6ca6caa57b7e6d128774
refs/heads/master
2020-03-31T15:33:04.398599
2018-10-09T15:29:24
2018-10-09T15:29:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,211
cc
bitmap.cc
#include "bitmap.h" #include <stdexcept> #include <algorithm> static inline std::size_t __inl_unit_bytes_size(std::size_t bits_size) { return bits_size / 8 + (bits_size % 8 == 0 ? 0 : 1); } static inline std::size_t __inl_outside_nth_unit(std::size_t pos) { return pos / 8; } static inline std::uint8_t __inl_...
f6a45c62148d7df4d37724c399a05c43620acdf6
e26a93af3bb0e13862497e2b9d5c96a3bb02e325
/include/IJsonSerializable.h
eb3ac2c5c33fe97a2e6d745007b5db5784473689
[]
no_license
adriangonz/EntityFramework
0fb486273a01772891da7c442919908a674e48fa
95463e9fb8adfe4404f28d8dc05c57132013699c
refs/heads/master
2020-05-17T15:28:25.443930
2012-06-08T20:09:42
2012-06-08T20:09:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
360
h
IJsonSerializable.h
/* * IJsonSerializable.h * * Created on: 30/05/2012 * Author: kaseyo */ #pragma once #include "json/json.h" namespace EF { class IJsonSerializable { public: virtual ~IJsonSerializable() {}; virtual Json::Value serialize() const = 0; virtual void deserialize(const Json::Value& r...
c6b2e4600d59a72633fc326e8513558dc33a93ab
aea4e38e3eeddb7195b813df846fedeeb83f6e50
/Practica1/Coche.cpp
39a530ffd98acaaa6ccbe7f1019c5395e8ce6863
[]
no_license
chanchantal/PECL1-EEDD
4150a27c1258b7c85e60e4f162b6dac55e106d1b
c9afa073575abc5cf4793f76a5da45c9b13736d8
refs/heads/master
2020-08-28T12:01:47.108241
2019-11-05T23:21:59
2019-11-05T23:21:59
217,694,008
1
0
null
null
null
null
UTF-8
C++
false
false
756
cpp
Coche.cpp
#include <iostream> #include "Coche.h" #include <string> using namespace std; Coche::Coche(string matricula,string marca,string modelo,string color){ this -> matricula = matricula; this -> marca = marca; this -> modelo = modelo; this -> color = color; } Coche::Coche(){ } string Coche::getMatricula(){...
77e2cf36ce0029e2ea4e6782b80ca51f2ea07165
e488398ef177d0b0d4a4c5cb861e5ebe92a5a2cc
/headers/NetworkModule.hpp
7e1679446deda09cf5723c1045c5d253a87ca4f5
[]
no_license
LesikYura/ft_gkrellm
0ca6d40921766e042c2ced3ea9a77d6759861801
84f10c48a89de4b1e668916671ee90244e426af9
refs/heads/master
2020-04-05T01:10:54.895337
2018-11-06T18:13:09
2018-11-06T18:13:09
156,426,563
2
0
null
null
null
null
UTF-8
C++
false
false
1,420
hpp
NetworkModule.hpp
// ************************************************************************** // // // // ::: :::::::: // // NetworkModule.hpp :+: :+: :+: ...
515c375e95e610853aafa368d5089c5aabe0a8d9
fd555d7185ef67d13f6d2993f5683aebbf901f30
/apps/src/random_bipartite_matching-test/random_bipartite_matching.cc
4294ef885b299344ad4d65d53b8e902b32cde94e
[]
no_license
gshashidhar125/LightHouse
da719b920e8b40ea8658c8ff03f4623eaba84d5a
0cb92bcbaab225b4f6e902accdeea57992b322ea
refs/heads/master
2021-01-20T14:23:52.805409
2016-07-10T14:48:45
2016-07-10T14:48:45
90,603,863
0
0
null
null
null
null
UTF-8
C++
false
false
3,522
cc
random_bipartite_matching.cc
#include "random_bipartite_matching.h" int32_t random_bipartite_matching(gm_graph& G, bool* G_isLeft, node_t* G_Match) { //Initializations gm_rt_initialize(); G.freeze(); int32_t count = 0 ; bool finished = false ; node_t* G_Suitor = gm_rt_allocate_node_t(G.num_nodes(),gm_rt_thread_id());...
3cccc566dff27e6190b5e8dd7e74c8636a501212
e5bda0857d7a51e59b9eacc1cb01af282e96dd53
/main.cpp
7f98708467f091a1bfa588c48c71ebf6eb2486a7
[]
no_license
ChristianPPP/Taller-grupal-3
49ea354691c31d964fb6ecb09335cb5a7ac821a6
e2b65bee29a7cef47887bcffe3ea2e0f987ecbd8
refs/heads/master
2023-03-17T18:07:30.768949
2021-03-04T15:43:21
2021-03-04T15:43:21
344,525,206
0
0
null
null
null
null
UTF-8
C++
false
false
567
cpp
main.cpp
#include <iostream> #include <fstream> #include <ctime> using namespace std; int main() { int opc; cout<<"***BIENVENIDO***\n"; do { cout<<"Menu\n"; cout<<"1.- Ejercicio 1\n"; cout<<"2.- Ejercicio 2\n"; cout<<"3.- Ejercicio 3\n"; cout<<"4.- Salir\n"; cout<<"OPCION: "; cin>>opc; ...
70212b40c2cf80bf4234972ea16878a11551ad6c
4336088856769e66519a0d8ba22327bc8cbf0d98
/src/ofApp.cpp
b2e9adc5a973c252e4e628e12eee43555021a500
[]
no_license
SamuelLouisCampbell/ASCII_TEXT
4804eb078fc80cc56d4f8d67bbb76d4a25083f14
364f4d1fd3f9b310948b2b47beab08e9086492de
refs/heads/master
2023-03-10T11:07:56.851981
2021-03-03T18:28:01
2021-03-03T18:28:01
344,225,373
0
0
null
null
null
null
UTF-8
C++
false
false
8,145
cpp
ofApp.cpp
#include "ofApp.h" #include <string> void ofApp::grayScaleImage(ofImage& image) { for (size_t y = 0; y < image.getHeight(); y++) { for (size_t x = 0; x < image.getWidth(); x++) { ofColor newColor; ofColor oldColor = image.getColor(x, y); unsigned char grayColor = (oldColor.r + oldColor.g + oldColor.b) /...
cb68c4b38a24f3a5efd1827f810d985883c188de
cbce021d8ea1f70bda0bcd37e3ec3c0aff1c417c
/Cyborg Date Type Sizes/main.cpp
512f417226573af7278f741eca811fdbe86e6268
[]
no_license
Shiladitya2002/Computer-Science-1
5cc0de2d42315369ff983e23a08d14e1bc04c139
2b4e6883f2a12cba45fad1c0b69988f8a4137948
refs/heads/master
2020-04-24T13:32:58.845624
2019-02-22T04:03:01
2019-02-22T04:03:01
171,991,466
0
0
null
null
null
null
UTF-8
C++
false
false
783
cpp
main.cpp
//******************************************************************************************************************** // Assignment 2: Cyborg Data Type Sizes // Author: Shiladitya Dutta // Description: // Finds the amount of bytes taken up by char, int, float, and double and outputs values to the console. //Statu...
ab94faf28fff5eacb5b78df4025e822f876bf47b
231db5b6d629d456fbf0bc8eaf35dda5336b1e71
/src/ui/InteractiveManipulator.hpp
00d3285f33251219c48f5fbed29d044752be6667
[]
no_license
HolySmoke86/blank
fc555ff0cbbb5b7ba2f77de5af79d5eef36607c6
28585b166ce3ad765ab613a375a97265449841e7
refs/heads/master
2020-12-24T16:24:00.119868
2018-11-17T12:10:22
2018-11-17T12:10:33
37,578,628
0
0
null
null
null
null
UTF-8
C++
false
false
505
hpp
InteractiveManipulator.hpp
#ifndef BLANK_UI_INTERACTIVEMANIPULATOR_HPP_ #define BLANK_UI_INTERACTIVEMANIPULATOR_HPP_ #include "../world/WorldManipulator.hpp" #include "../audio/Sound.hpp" namespace blank { class Audio; class Entity; class SoundBank; class InteractiveManipulator : public WorldManipulator { public: explicit InteractiveMani...
54525dd5cc265a69bd9176fcb1d1dbc9bee29e46
458e560245a971890d060354633748da9e3b5eed
/Clilindrul/src/Cerc.cpp
7c412c00454d5fb07c5d3e249021c5d275860a0d
[]
no_license
vladstanoiu/Capitolul-6
7baead5e2302cb8f38ec29282754e6fd79ee90d4
3d7b035a0fccf87f53280344d234c037577476ec
refs/heads/master
2020-09-27T02:44:31.644923
2019-12-17T17:03:32
2019-12-17T17:03:32
226,408,381
0
0
null
null
null
null
UTF-8
C++
false
false
198
cpp
Cerc.cpp
#include "Cerc.h" #include "Cilindru.h" #include <math.h> Cerc::Cerc(double raza) : _raza(raza) { } double Cerc::Arie() { return (3.14* pow(Get_raza(),2)) ; } Cerc::~Cerc() { //dtor }
5d9283a09e3304cb3cd6de1cf050169235db6900
ddd70b6df257a2cb3be8b468f355744965bf740e
/src/slg/film/imagepipeline/plugins/gammacorrection.cpp
ec3bc7c58d408754904e08bceae496a697d8d22d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MetaRabbit/LuxCore
2e0e1c4cfc6865dc03d2750c26cca6281cfa541c
ee4d881d7ccf64fb6bb29845d7af0409ef8fd3b9
refs/heads/master
2020-05-17T18:44:07.182847
2019-04-28T09:10:50
2019-04-28T09:10:50
183,893,762
1
0
Apache-2.0
2019-04-28T10:31:30
2019-04-28T10:31:29
null
UTF-8
C++
false
false
5,523
cpp
gammacorrection.cpp
/*************************************************************************** * Copyright 1998-2018 by authors (see AUTHORS.txt) * * * * This file is part of LuxCoreRender. * * ...
e0d6be2add4a87d4478299bb42299ae0991f931d
b73b4cffebc5499b233e65552bec88fae172550d
/uva496.cpp
f6c16c67caec7a9d61caaf79140b56ddd4e5d7d7
[]
no_license
yunomeow/UVaPractice
f01bbb20da270b17a27e4e52314683b5860c4532
1139ce17195c4bef810a261fee4cc454815d9c01
refs/heads/master
2020-03-27T23:54:12.642666
2018-09-04T14:58:06
2018-09-04T14:58:06
147,356,848
0
0
null
null
null
null
UTF-8
C++
false
false
1,637
cpp
uva496.cpp
#include <iostream> #include <vector> #include <sstream> #include <algorithm> #include <set> using namespace std; int main (){ string str; vector<int> A,B; int tmp; while(getline(cin,str)){ istringstream iss(str); A.clear(); B.clear(); while(iss >> tmp){ A.pus...
d7e1183e5fe4c25667d9169a2bc0fe9d4e42e349
d263e9ad5c18c95a44d26af8c9e1a06ed7ba660f
/include/SocketIo/PacketReceiverAsyncMCast.hpp
aa562e32d3eb80a00a36bd398878a3ffd8d04fdc
[ "BSL-1.0" ]
permissive
mlbrock/MlbDev
3783d148e7934ce84d26643c879d33a3aa1935a2
d499f66c7f672f8761d81a04f00f87a0808f9ff1
refs/heads/develop
2022-10-28T18:09:17.473659
2022-10-18T08:28:44
2022-10-18T08:28:44
15,541,112
2
2
null
2018-04-23T21:50:46
2013-12-31T02:18:56
C++
UTF-8
C++
false
false
4,015
hpp
PacketReceiverAsyncMCast.hpp
// //////////////////////////////////////////////////////////////////////////// // //////////////////////////////////////////////////////////////////////////// // SocketIo Include File // //////////////////////////////////////////////////////////////////////////// /* File Name : %M% File Version : %I% Last Extr...
fceaed5279e75d4ca455bf194f04e931311979c7
eba2fadea4972b682edce710300ea280a210eee2
/design/707.DesignLinkedList.cc
39d3b27889a6c4fcca814ac800fe102884348e8f
[]
no_license
seesealonely/leetcode
33b876968f08a0ddd00adc714d03ad6e4c0bfae9
1a371f3ad438bb70bf7a685843097535f5fc1c5d
refs/heads/master
2023-08-30T21:22:07.456531
2023-08-30T20:15:49
2023-08-30T20:15:49
87,525,147
1
0
null
null
null
null
UTF-8
C++
false
false
3,868
cc
707.DesignLinkedList.cc
/* Design your implementation of the linked list. You can choose to use a singly or doubly linked list. A node in a singly linked list should have two attributes: val and next. val is the value of the current node, and next is a pointer/reference to the next node. If you want to use the doubly linked list, you...
1b56739d6cb4316a9afddb033e82ddd2c6ad30ad
a446f25d0a16e82224ba9807a1ec5dc7e45155c3
/tree/inorder.cpp
f6f5ec8b6e922dceee1a827bc515204a8a7f28b5
[]
no_license
sahil2306/Data-Structures-Algorithms
28b346add379d1a8ac7fa68201e86ea65a5056ec
d42f61cea65eea6e7b22e9c9b636293aa3e060ef
refs/heads/main
2023-06-04T22:50:35.843400
2021-06-18T18:11:08
2021-06-18T18:11:08
328,125,553
1
0
null
null
null
null
UTF-8
C++
false
false
1,018
cpp
inorder.cpp
//Recursive class Solution { public: //Function to return a list containing the inorder traversal of the tree. vector<int> inOrder(Node* root) { // Your code here vector <int> ans; if (root == NULL){ return ans; } vector <int> x; x...
73043d308b060bdb22c687668d961332b5b0e1ec
051482d24cf3d5dbc4676ad0ce6ab32e64e968da
/MOGoap/Source/MOGoap/Goap/Core/MOGoapNode.cpp
adf56308277b28e28dd2631734a02c98e958e5bd
[]
no_license
Hengle/GoapSystem
ee449e4b9b7b9f71327ec46381cd4ba56a6d8072
fd2699f4c98ffec968d31906161693e6a4551c48
refs/heads/main
2023-03-16T02:20:11.452675
2020-11-08T09:20:36
2020-11-08T09:20:36
null
0
0
null
null
null
null
GB18030
C++
false
false
4,917
cpp
MOGoapNode.cpp
#include "MOGoapNode.h" #include "MOGoapPlanner.h" #include "MOGoapAgent.h" #include "MOGoapState.h" #include "MOGoapAction.h" std::stack<MOGoapNode*> MOGoapNode::cachedNodes; MOGoapNode::MOGoapNode() { g = 0; h = 0; } MOGoapNode::MOGoapNode(MOGoapAction* a) { } void MOGoapNode::Init(MOGoapPlanner* planner, MOG...
978c3175596d112d0672db8fd6160395dd96c8fe
faeca7997c9bae0ee9c3597e42b27a96f37f5dbe
/Chapter07/Ch7_Exc01/Ch7_Exc01.cpp
74db4b35ae388d0c6b48174bb540571d1f45b240
[]
no_license
dimpellos/Cplusplus_Primer_-
c726898c5699a349eb3158c724d2734fe4a3ae2b
756cb1684ea62d9217f769e8e49984da1db37972
refs/heads/master
2020-07-25T21:49:03.229883
2019-10-18T12:35:36
2019-10-18T12:35:36
208,430,960
1
0
null
null
null
null
UTF-8
C++
false
false
483
cpp
Ch7_Exc01.cpp
#include <iostream> using namespace std; double harmonic_mean(int x, int y); int main() { int x, y; do { cout << endl << "\nEnter x:"; cin >> x; cout << "Enter y:"; cin >> y; if (!(x && y)) break; cout << harmonic_mean(x, y); } while (1); cout << endl << "You provided a zero. Zero as in...
9a50b73155192547afba884c76a48eaa965c7955
4b9091d96146b1a664f41dc9a6a217552f172dea
/l.cpp
e0040ccb9cfd35a67ac033759fc73b3c7e22c733
[]
no_license
AnanyaSingh002/Assignment3
8b33a5638526d3eb6ccbfad4b22bd2f48a70f6db
de4b6f55bfb4a30ed1f0ffccec41942a0f527ba9
refs/heads/main
2023-01-13T00:16:22.421353
2020-11-02T05:38:34
2020-11-02T05:38:34
292,343,757
0
0
null
null
null
null
UTF-8
C++
false
false
632
cpp
l.cpp
*Write a recursive function stringReverse that takes a string and a starting subscript as arguments, prints the string backward and returns nothing. The function should stop processing and return when the end of the string is encountered. Note that like an array the square brackets ([]) operator can be used to iterate ...
2bf2458e4ca4d580a9aed0edf7e320c98e9e6f4f
3851a1ed004ad01f313de7717346320e524e9965
/include/multicontact-api/scenario/contact-phase.hpp
00cf03d58059bbca3c10a8a19a12f12b18639576
[ "BSD-2-Clause" ]
permissive
pFernbach/multicontact-api
d980886eefa569b34326065e342f25277254cb0a
efe4cf25d37aba9184875df6036a864d7aa34b88
refs/heads/master
2021-12-14T21:51:24.285591
2019-05-20T08:15:02
2019-05-20T08:15:02
200,243,002
1
0
NOASSERTION
2019-08-02T13:52:06
2019-08-02T13:52:05
null
UTF-8
C++
false
false
6,292
hpp
contact-phase.hpp
// Copyright (c) 2015-2018, CNRS // Authors: Justin Carpentier <jcarpent@laas.fr> #ifndef __multicontact_api_scenario_contact_phase_hpp__ #define __multicontact_api_scenario_contact_phase_hpp__ #include "multicontact-api/scenario/fwd.hpp" #include "multicontact-api/scenario/contact-patch.hpp" #include "multicontact-...
51ef3e34fbef3116101f237ca2ba0b50f4682620
4749b64b52965942f785b4e592392d3ab4fa3cda
/mojo/application_manager/application_manager.cc
382cb035bcd005c4d7655479785ef39fa1c4f0f9
[ "BSD-3-Clause" ]
permissive
crosswalk-project/chromium-crosswalk-efl
763f6062679727802adeef009f2fe72905ad5622
ff1451d8c66df23cdce579e4c6f0065c6cae2729
refs/heads/efl/crosswalk-10/39.0.2171.19
2023-03-23T12:34:43.905665
2014-12-23T13:44:34
2014-12-23T13:44:34
27,142,234
2
8
null
2014-12-23T06:02:24
2014-11-25T19:27:37
C++
UTF-8
C++
false
false
10,819
cc
application_manager.cc
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "mojo/application_manager/application_manager.h" #include <stdio.h> #include "base/bind.h" #include "base/lazy_instance.h" #include "base/loggi...
5445c189d2ad762b21222b7fd227180962169003
e36906be9399685b0d03daffec9c33735eda8ba1
/src/mk/arch/shapes-s.cpp
de607f40ea34638771683d5e8887e91dd3bd2374
[]
no_license
ybouret/yocto4
20deaa21c1ed4f52d5d6a7991450d90103a7fe8e
c02aa079d21cf9828f188153e5d65c1f0d62021c
refs/heads/master
2020-04-06T03:34:11.834637
2016-09-09T14:41:55
2016-09-09T14:41:55
33,724,799
1
0
null
null
null
null
UTF-8
C++
false
false
47
cpp
shapes-s.cpp
#define YOCTO_ZTYPE 's' #include "shapes.cxx"
d5693a026efdc06a5bd62c7955c85dfee32e86ca
c8d4563a44b9a81a997ed45e6a82cd1e079976b7
/playground/cpp-qt-implementation/mainwindow.cpp
889954a36bdefb426241c0d0e396f935ad323aa9
[ "MIT" ]
permissive
filipedeschamps/doom-fire-algorithm
53ceac63a77497a539d39ad1572ed80521e2dc74
36b58ac86dc2c6af9a7ca3706df370ec921a9c01
refs/heads/master
2023-08-26T21:36:20.287236
2022-07-21T02:47:23
2022-07-21T02:47:23
164,105,898
1,357
492
MIT
2022-07-21T02:47:24
2019-01-04T12:38:54
JavaScript
UTF-8
C++
false
false
3,294
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); setWindowTitle("Doom Fire Qt"); playPauseButton = new QPushButton(this); createDestroyButton = new QPushButton(this); DecreaseWind...
fcdc05614c680b66188d6200622e5c18382f613b
0f30d43960d46961688497af9004c2f154d71877
/core/target/cpp/ts/src/thx/fp/CO.cpp
626b62f5d50c5517ea8efd2a7f4fc703e83bcdc3
[ "MIT" ]
permissive
mboussaa/haxe-testing
77d2c44596f92d3b509ad2e450f61d2e640eb9a3
930bd6e63c8cb91a4df323d01ae518d048c089ba
refs/heads/master
2021-01-17T10:20:07.126520
2016-06-02T10:00:49
2016-06-02T10:00:49
59,005,172
1
0
null
null
null
null
UTF-8
C++
false
true
4,100
cpp
CO.cpp
// Generated by Haxe 3.3.0 #include <hxcpp.h> #ifndef INCLUDED_haxe_Utf8 #include <haxe/Utf8.h> #endif #ifndef INCLUDED_thx_OrderingImpl #include <thx/OrderingImpl.h> #endif #ifndef INCLUDED_thx__Ord_Ordering_Impl_ #include <thx/_Ord/Ordering_Impl_.h> #endif #ifndef INCLUDED_thx_fp_CO #include <thx/fp/CO.h> #endif na...
d5c011b4e324a2eeacbc81d7b884a7bedd2384dd
44b289f446877cacce150dca417c1e94e3850c0f
/Unreal_CPP/Components/CPatrolComponent.h
477772a5e17b2d2d00c481d68f202c14400adf9c
[]
no_license
SeoWon430/Unreal_Cpp
b8e6f1f26bb626fa8d010a366bdf51a16d06f756
5c27c80b4757c319d29d6f549f059c030ee41ecb
refs/heads/main
2023-08-31T02:24:56.387125
2021-10-20T09:05:30
2021-10-20T09:05:30
419,256,795
0
0
null
null
null
null
UHC
C++
false
false
785
h
CPatrolComponent.h
#pragma once #include "CoreMinimal.h" #include "Components/ActorComponent.h" #include "CPatrolComponent.generated.h" // AI에서 사용될 Patrol기능 (Spline지정시 이를 따라 감) UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) ) class U02_CPP_API UCPatrolComponent : public UActorComponent { GENERATED_BODY() private: U...
3ee3cf98284294b960cbbb9fa03756c7db7705cd
2e8a91b18a7322ccac71f3839cb2175e8b8986ab
/inc/gui/FontCreator.h
7318abc6226060032b28c7970a28cb7c4c9e6215
[]
no_license
martingleich/LuxEngine
5ae3df18ef4fb5ecd277a1d3e3b80e0fa4df89cf
d095085c3a2580ea7fe3db633908b84099e2ad4f
refs/heads/master
2021-01-19T05:13:40.055025
2019-03-10T11:10:55
2019-03-10T11:10:55
87,415,718
0
1
null
null
null
null
UTF-8
C++
false
false
718
h
FontCreator.h
#ifndef INCLUDED_LUX_FONTCREATOR_H #define INCLUDED_LUX_FONTCREATOR_H #include "gui/Font.h" namespace lux { namespace io { class File; } namespace gui { class FontCreator : public ReferenceCounted { public: virtual StrongRef<Font> CreateFontFromFile(const io::Path& path, const FontDescription& desc, const core::...
9fffcf271a211a3200111e9f3e24af26eb384feb
2de460c76ac1b0d3d2b27043d725c2cd51b15695
/Enigma.cc
04cdb7dd35329305a35768edef997da040a3a5fb
[]
no_license
abd296/Turing-Machine
efd506ed7b95dfc38e1a09ab5d0c149048a93e0e
284cde8e227ad20f9193b1b42c13c92d7e05a87f
refs/heads/master
2020-11-28T08:45:56.634554
2019-12-23T13:45:48
2019-12-23T13:45:48
229,760,331
0
0
null
null
null
null
UTF-8
C++
false
false
11,712
cc
Enigma.cc
#include "Enigma.h" #include <cstdlib> #include<fstream> #include<cstring> #include "Rottor.h" #include "Rottor.cc" #include "Plugboard.h" #include "Plugboard.cc" #include "Reflector.h" #include "Reflector.cc" using namespace std; Enigma::Enigma() { // constructor ...
4bf1ec7d19047e518dcb3e7fa093b62a3cefdb44
113854f799ea342b2b2986d40256c9164b5759b4
/A.数据结构与算法/String-字符串/Medium/3_最长不重复子串/LengthOfLongestSubstring.cpp
f108f3c900c37de6aa69f0a961b8342071691225
[ "Apache-2.0" ]
permissive
isshe/coding-life
5710ad135bf91ab9c6caf2f29a91215f03bba120
f93ecaee587474446d51a0be6bce54176292fd97
refs/heads/master
2023-08-31T20:43:23.967162
2023-08-30T22:00:02
2023-08-30T22:00:02
147,092,799
8
0
null
null
null
null
UTF-8
C++
false
false
1,616
cpp
LengthOfLongestSubstring.cpp
/*=========================================================================\ * Copyright(C)2016 Chudai. * * File name : LengthOfLongestSubstring.cpp * Version : v1.0.0 * Author : 初代 * Date : 2016/08/22 * Description : * Function list: 1. * 2. * 3. * History : \*...
b872d2185a15090e8a9fe5c6ecd1a202aa50fa96
c0cb4ffb337dc5e392d3bbafeb418f7580c05000
/10400/10487.cpp
2cca02d7c012a74317fd905ead5333a5061b6901
[]
no_license
ghj0504520/UVA
b3a7d6b6ba308916681fd8a6e25932a55f7455b3
8e49a1424538e907f4bdbe5543cc6966d4ea5a4e
refs/heads/master
2023-05-01T07:49:18.162394
2023-04-24T07:48:11
2023-04-24T07:48:11
38,348,555
1
0
null
null
null
null
UTF-8
C++
false
false
1,020
cpp
10487.cpp
#include <iostream> #include <cstring> #include <algorithm> #include <cstdlib> #include <vector> #include <set> #define MAX 1000 using namespace std; int table[MAX+10]; int main() { ios::sync_with_stdio(0); int num,t=0; while(cin>>num,num) { memset(table,0,sizeof(table)); set<int>table1; vector<int>table2...
3061de3a59ab679b5f768054635c045468ea8d4a
ced58e19582cb68265fb659e1d7544ba775b433c
/MSCNN_dehazing/matlab/src/vl_nnconv.cu
c9218761084b34643afdd6b1bafca90394c058ae
[]
no_license
feiyungu/Haze-Removal-1
2ed37e8ca318215263c023339249330e51cabdcf
bc06da5dcfd96476edf04f191bc862a4e6a13d4f
refs/heads/master
2020-03-25T15:31:03.806993
2018-05-04T07:26:16
2018-05-04T07:26:16
143,886,804
20
5
null
2018-08-07T14:41:06
2018-08-07T14:41:05
null
UTF-8
C++
false
false
31,844
cu
vl_nnconv.cu
/** @file vl_nnconv.cu ** @brief Convolution block ** @author Andrea Vedaldi **/ /* Copyright (C) 2014 Andrea Vedaldi and Max Jaderberg. All rights reserved. This file is part of the VLFeat library and is made available under the terms of the BSD license (see the COPYING file). */ #include "bits/mexutils.h" ...
fff2f9c85a7793020bbb464a8fdf9d413648c3db
1f58a6a9d103b8115c8014aac3e033ff6926ca23
/Matrices/LowerTriangularMatrix.cpp
5fa1f4ae80ff60dfec0f744e36051dcbcaad7cca
[]
no_license
UmukoroG/Data-Structures-and-Algorithms
cd15fdbbe4b05347da5f185f69675f0fd0e92dbb
a4ec40d7da92b2a4e83edff7e1cca3aef98e4d3b
refs/heads/master
2023-08-27T20:35:04.985931
2021-11-01T06:45:27
2021-11-01T06:45:27
415,561,787
0
0
null
null
null
null
UTF-8
C++
false
false
1,404
cpp
LowerTriangularMatrix.cpp
#include <iostream> #include <cstring> using namespace std; //USING ROW-MAJOR MAPPING class LowerTriangular{ private: int n; int *A; public: LowerTriangular(){ n=2; A=new int[2*(2+1)/2]; } LowerTriangular(int n){ this->n=n; ...
4e4429883b74770139645ae4195960c9790b376a
eb2bf2f7b926b0e1807831bf63bdbee432877bad
/predictor.cc
08881c37c4c8f1fedbfe6489b1ad6ec3a06ce6a5
[]
no_license
zhangshaolei1998/Branch-Prediction
07bdb58dc3f31449814b4e001f51158a0de93329
1c153731e733f73bb900db295fe39cd3d82b4dc6
refs/heads/master
2023-07-09T09:35:59.629178
2019-05-01T11:36:47
2019-05-01T11:36:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
11,523
cc
predictor.cc
#include "predictor.h" #include <math.h> PREDICTOR::PREDICTOR (void) { numbranches = 0; bp.init_bp(); banks.bank_init(); lp.init_lp(); } bool PREDICTOR::GetPrediction (UINT64 PC) { /* if (lp.get_prediction(PC) == 0){ usedlp = true; return NOTTAKEN; }*/ usedlp = false; //printf("not lp\n"...
fddb829a8745097fa0fe004bac72781502823e3d
36597ca6d8b08baaef52cddf46bca3d13f0a97a5
/Plugins/GStreamer/src/chunked_file_sink.cpp
b3a071ba040c56324bb70493ba9822f9abbd73f8
[ "BSD-3-Clause" ]
permissive
Essarelle/EagleEye
169f3ce17d1a6ae298a3b764784f29be7ce49280
341132edb21b4899ebbe0b52460c4e72e36e4b6d
refs/heads/master
2020-02-27T21:55:27.725746
2017-10-10T06:28:23
2017-10-10T06:28:23
101,608,078
1
1
null
2017-09-05T06:46:26
2017-08-28T05:47:15
C++
UTF-8
C++
false
false
3,861
cpp
chunked_file_sink.cpp
#include "chunked_file_sink.h" #include <Aquila/framegrabbers/FrameGrabberInfo.hpp> #include <gst/base/gstbasesink.h> using namespace aq; int chunked_file_sink::canLoad(const std::string& document) { return 0; // Currently needs to be manually specified } int chunked_file_sink::loadTimeout() { return 3000; } ...
334a307667c5669137eaf5559ab03235bfc3a85e
95b63f08332bc3542ae8262dd33520dbfc0371d2
/Amigo/ListItem.cpp
7d3cfd77faa0895b3031bcce83ded6b4230e76bb
[]
no_license
Landeplage/Amigo
984746c6907e724c82100b30f71f16dcb235fd1c
a15038f6dd72aa05aad5a2b2d937eedb3ab4ff43
refs/heads/master
2021-01-23T07:34:54.995297
2015-08-16T19:18:09
2015-08-16T19:18:09
4,243,973
1
0
null
null
null
null
UTF-8
C++
false
false
3,008
cpp
ListItem.cpp
#include "ListItem.h" #include "Helper.h" //<- debug ListItem::ListItem(MenuSystem *menuSystem, std::function<void()> onClick) { this->menuSystem = menuSystem; // Set sprite and font sprite = menuSystem->GetSpriteUI(); font = menuSystem->GetFontRegular(); // Init button button = new Button(menuSystem, "", Vec...
6a186bd2fe4f9820f2062da548430c5dab545284
f481aeb897c81095bf5bc544f9368aa78457694b
/2165.cpp
f737a3ead1c6cc3de56f56717c2e3611ff943896
[]
no_license
channyHuang/leetcodeOJ
78b10f31f9a6c6571124208efe85201a3690f2da
b41e9c3c076074b6ab9349455b0cf40c270df41f
refs/heads/master
2023-01-28T15:31:29.346320
2023-01-18T03:43:10
2023-01-18T03:43:10
221,703,848
0
0
null
null
null
null
UTF-8
C++
false
false
849
cpp
2165.cpp
class Solution { public: long long smallestNumber(long long num) { if (num == 0) return 0; bool positive = true; if (num < 0) { positive = false; num = -num; } string str = to_string(num); sort(str.begin(), str.end()); int len = str.len...
2d7a61cdb5a51ac6b9d14bce15e1d1721b3d04f5
0f2eec7431f54518342e42d69eec4a6a50ea549d
/include/polygon_research.cpp
028106732d8cc69e213247b5a76962d252f469fe
[]
no_license
luqmanarifin/grafika
0d139c8b2c959d3286be93da6eb3ecf95dfeb5c0
335b692a1f57f831d2394c14486a7a3e7d74248d
refs/heads/master
2020-04-10T08:08:47.715012
2018-01-24T11:06:42
2018-01-24T11:06:42
50,510,446
2
1
null
null
null
null
UTF-8
C++
false
false
12,767
cpp
polygon_research.cpp
#ifndef __POLYGON_H #define __POLYGON_H #include <cassert> #include <bits/stdc++.h> #include "point.h" #include "framebuffer.h" #include "line.h" #include "color.h" #include "vector.h" using namespace std; const double eps = 1e-13; struct Polygon { Polygon() { warna = Color::WHITE; points = NULL; siz...
9060c217ac84a9d7c0ec471a289d7ff7b4115866
9ed1141efe9555f55c28974b8b29486c981eb97c
/3_28字符串匹配/3_28字符串匹配/3_28字符串匹配.cpp
5d211b07a9a48a47a255989ff88b875d2c82e58f
[]
no_license
fwqaq/vscode
d7e6f17b3ddb1280f207e03006ccf45c70b4e22e
c69794ec1e3ea719226c719b7109319a16fda52a
refs/heads/master
2022-03-02T21:08:03.918960
2019-08-29T15:16:56
2019-08-29T15:16:56
160,153,996
0
0
null
null
null
null
GB18030
C++
false
false
782
cpp
3_28字符串匹配.cpp
#include <iostream> #include <set> #include <string> using namespace std; int main(){ //输入两个字符串 //输入包括两行, 第一行一个字符串A, 字符串A长度length(1 ≤ length ≤ 50), A中每个字符都是'0'或者'1'。 // 第二行一个字符串B, 字符串B长度length(1 ≤ length ≤ 50), B中的字符包括'0', '1'和'?'。 string A; string B; cin >> A; cin >> B; set<string>se; int A_len = A.length(); ...
5a386b2e44b2fbb4955942dd1a8b2815ec257453
9cc4ee6abd8dd3598c21562a3aecf8f2aed57e87
/DS/MaxFlow/FordFulkerson.cpp
20ed5e53c6bc1f865fbe5923350ac9b111e60232
[]
no_license
Yariki/alg
e84457bb0cb6ad5e4386703d3d0867044a5e5743
49170a99d9f317b5d09bc4b68992da24f2694ddd
refs/heads/master
2021-01-19T07:09:34.971829
2020-05-06T20:21:18
2020-05-06T20:21:18
60,982,635
0
0
null
null
null
null
UTF-8
C++
false
false
1,507
cpp
FordFulkerson.cpp
// // Created by Yariki on 2/2/2020. // #include "FordFulkerson.h" #include <limits> #include <queue> #include <deque> FordFulkerson::FordFulkerson(FlowNetwork *network, int s, int t) { value = 0; while (hasAugmenticPath(network,s, t) > 0){ double bottle = numeric_limits<double>::max(); for(i...
dbbbda0375bda0e06d947bd3d48a046cf6f17f66
b9b5e350942f5d4114f2c66a7d4c816e0ffb1cc8
/useless.cpp
bac6b02e3ff78b92a99efb8535f972ac06d2e536
[]
no_license
gkatz20/test
4fb6f144a0bca428b81b48e4be5c1a55bd62d221
180c500ffa8a509164e969c157b349a806fc2981
refs/heads/master
2021-01-23T03:53:15.455879
2017-03-25T04:00:46
2017-03-25T04:00:46
86,130,799
0
0
null
null
null
null
UTF-8
C++
false
false
10
cpp
useless.cpp
// its lit
548a0723533a0ebf1674ceae23627d2ffa2be3d9
a5b2c153e99b2194f2149300732af5745dc11a23
/src/CGhostEasy.cpp
35a9bf7845ae07f900187b181e29d7061652ca1d
[]
no_license
adameen/ascii-pacman
be114bdbb38894d334e9d9229131eb7c9cd7f021
5023a77e95ace1a2920a95572eac22d70cfb5e18
refs/heads/master
2021-07-24T03:52:03.386415
2017-11-03T18:21:17
2017-11-03T18:21:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,475
cpp
CGhostEasy.cpp
#include "CGhostEasy.h" CGhostEasy::CGhostEasy(CData& alldata) : m_LastChar(' '), m_CycleCounter(0){ int x, y; m_Direction = 8; // first direction is up alldata.getGhostIndex(x, y); // assigns coordinates to the ghost from member variable of CData m_X = x; m_Y = y; m_OriginalX = m_X; // saves ...
1b94609e048165966f7e14005a1822e88d41df6e
c25b4a24dafd06d47749991f36083346dd231976
/Algorithms/Implementation/Forming_a_Magic_Square.cpp
5e4644801ab461fe7cc5912be0b8b42572d2da6e
[]
no_license
TonyHidalgo/HackerRank
d53e1567c98ac38fa81ce009119db3b49410e1b4
2a1e4a22922ae3d8b24a877cf24c6709196d39a4
refs/heads/master
2021-03-21T21:33:35.991865
2020-03-27T00:28:36
2020-03-27T00:28:36
247,328,749
0
0
null
null
null
null
UTF-8
C++
false
false
1,893
cpp
Forming_a_Magic_Square.cpp
#include <bits/stdc++.h> using namespace std; bool is_magic(vector<int> m) { vector<int> s[3]; // CONSTRUYO MATRIZ for (size_t i = 0; i < 3; i++) { for (size_t j = 0; j < 3; j++) { if (i != 0) s[i].push_back(m[(i + j) + i * 2]); else ...
fdd41b4b6f023eaa3fb7722a271df989cf106089
1e1b4146b0ae8014ea24f7182e0794d4859faa1b
/parboil/common/src/parboil_hstreams.cpp
7450b3090e8a347dd8344b0fa6ce270a659ff4b6
[]
no_license
Wisdom-moon/hStreams-benchmark
ba351f1d74053a46cd5523b5ef1f81317fa16ac4
bee0daf5069605a1135963846c494f304cd8331f
refs/heads/master
2021-05-13T13:21:17.785653
2018-01-10T11:41:59
2018-01-10T11:41:59
116,703,866
1
0
null
null
null
null
UTF-8
C++
false
false
1,544
cpp
parboil_hstreams.cpp
/* * (c) 2007 The Board of Trustees of the University of Illinois. */ #include <parboil_hstreams.h> int parboil_hstreams_init(int logical_streams, char * lib_name) { uint32_t places_per_domain = 1; uint32_t logical_streams_per_place = logical_streams; HSTR_OPTIONS hstreams_options; hStreams_GetCurrentOptio...
292b6d4a988d7725d25e8daa2a99329e16c6da8a
b367fe5f0c2c50846b002b59472c50453e1629bc
/xbox_leak_may_2020/xbox trunk/xbox/private/test/directx/d3d/conf/alphabld/invdestalpha.h
aa857fff8e73dc877904bfa9671a75df01c48f10
[]
no_license
sgzwiz/xbox_leak_may_2020
11b441502a659c8da8a1aa199f89f6236dd59325
fd00b4b3b2abb1ea6ef9ac64b755419741a3af00
refs/heads/master
2022-12-23T16:14:54.706755
2020-09-27T18:24:48
2020-09-27T18:24:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,796
h
invdestalpha.h
/*==========================================================================; * * Copyright (C) 1994-1996 Microsoft Corporation. All Rights Reserved. * * File: InvDestAlpha.h * ***************************************************************************/ #ifndef __INVDESTALPHA_H__ #define __INVDESTALP...
bc626751840c11892d56f6355aaadc79dcbfc9f0
8c3b16c89409566edb71510dfe75a8a8c9beedea
/nf2x/src/executor/executor_select.cpp
285226b020d9fefd47da7c9df7084b22c14b0563
[]
no_license
jcshaw/namedfolders
3a09736dc09b66da6922296d88d8e61c3db33af0
ccc4d466d1d20b9f16bcd8bb54f7e16ee04b5858
refs/heads/master
2021-01-10T09:00:22.393541
2014-01-20T03:29:05
2014-01-20T03:29:05
54,491,456
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
8,066
cpp
executor_select.cpp
/* * Far Named Folders 3.x * Copyright (c) 2002-2010 by Victor Derevyanko, RAMMuS Group * www: http://www.rammus.ru, http://derevyanko.blogspot.com/ * e-mail: dvpublic0@gmail.com */ #include "StdAfx.h" #include "executor_select.h" #include "StdAfx.h" #include <cassert> #include <vector> #include <shlwa...
9c54140d10873b42c6fbcd2ca9c560937f9357a4
0cc5fc61e5c6f24062b61b93f8c81ccbcec1f78b
/Projects/CoX/Clients/Client_I0/renderer/RenderTree.h
1724c9f8a8e0c7f92744fa63e617bb7e6f99967b
[ "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Tristochi/Segs
d4259c95c599cd86e177db978308fd2b2aaa7ca9
e7fb05fe1f763286adb116c787357f67387f3a7f
refs/heads/develop
2020-05-16T08:15:26.195569
2019-04-22T17:48:52
2019-04-22T17:48:52
182,903,316
1
0
BSD-3-Clause
2019-04-23T02:01:38
2019-04-23T02:01:37
null
UTF-8
C++
false
false
1,533
h
RenderTree.h
#pragma once #include "utils/helpers.h" #include "RenderBonedModel.h" #include <vector> struct GfxTree_Node; struct Model; struct SortThing { char blendMode; char modelSource; union { GfxTree_Node* gfxnode; int vsIdx; }; union { float distsq; Model* model; ...
743db241be824118373788057e13ca0202ff0ea3
210462f884c7e9a6d49d4462e648f22712bac7b1
/CS-144-007-02/Prime/primeFunctions.h
6e819598e57abbf6d87f971d4e82d1678eb3681b
[]
no_license
wallenben/CSI
d333bddb5fb64cdc5025765b48c2672bd7746492
eba2aa11102127865c5dceca0566ffc0b0bcbc4d
refs/heads/main
2023-02-23T13:08:11.790696
2021-01-25T20:06:11
2021-01-25T20:06:11
320,944,610
0
0
null
null
null
null
UTF-8
C++
false
false
826
h
primeFunctions.h
#ifndef PRIMEFUNCTIONS_H_2020_11_05 #define PRIMEFUNCTIONS_H_2020_11_05 #include <iostream> #include <string> using std::string; using std::ostream; using std::istream; // check if a file has not been seen // mark it as seen // functions/enums/etc. /** @breif Determines if a number is prime. Determines if a numb...
0f1436f6c62556a780e0514d5d50dff38f31cc9c
b4a2115cd440a7b8818f8627f463923888d48882
/AutoIrrigationEsp/AutoIrrigationEsp.ino
612e5d2a683f8560dc60178159e5bfd84eed8563
[]
no_license
nrajpoot1146/AutoIrrigationSystem
71a0b0571281d23584af41a1fab9eb99d0d42938
34932820d153289a4930b20e4423746e4a506948
refs/heads/master
2022-07-31T14:32:35.351862
2022-07-10T04:11:38
2022-07-10T04:11:38
182,558,624
1
0
null
null
null
null
UTF-8
C++
false
false
3,755
ino
AutoIrrigationEsp.ino
/* * * Temperature V0 * Humidity V1 * Moisture sensor-1 V2 * Moisture sensor-2 V3 * Moisture sensor-3 V4 * Moisture sensor-4 V5 * * Solenoid valve status pin * * valve-1 V6 * valve-2 V7 * valve-3 V8 * valve-4 V9 */ #define BLYNK_PRINT Serial #include "Ardu...
b4a8fafaa8e15186f7ad55e972dd0dd31c1bd963
61b42ad48560ee2eadf7ebd24528044f1acf22b4
/SpecialEffects.cpp
f546838a32372cfd11e7ea772f386a61fdf04f21
[]
no_license
ElonMaks/Trainer
97508db4b2ae36757de25795a2ed7728c9f02f5c
a9fb9f1808ef3a2302a7340e9b995deb330e5c35
refs/heads/master
2020-03-23T15:26:30.479615
2018-08-06T08:53:07
2018-08-06T08:53:07
141,748,322
0
0
null
null
null
null
UTF-8
C++
false
false
1,140
cpp
SpecialEffects.cpp
#include "SpecialEffects.h" SpecialEffects::SpecialEffects(sf::Vector2f size, bool startDarken) { rect.setSize(size); rect.setFillColor(sf::Color(0, 0, 0, 0)); effect = NONE; if (startDarken) alpha = 255; else alpha = 0; } void SpecialEffects::darken(int time) { fullTime = time; effect = DARKEN; thresh...
5d4c15b896f8cec075b94057a7bd112242fa0dea
39f11f3d1315f213d99dcc2f074b686037cb5815
/archive/td/Bridges_2735.cpp
6e349a855be8781c6cf539d63fb1333036dc9dbf
[]
no_license
jdumas/acm
84985c127a4edb72c4315ab0ca95b95038024e06
127d5497cd07574a84c1b56ecbe064daed5da059
refs/heads/master
2020-05-30T04:14:28.645335
2011-06-09T17:15:03
2011-06-09T17:15:03
1,560,744
1
1
null
null
null
null
UTF-8
C++
false
false
1,964
cpp
Bridges_2735.cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; typedef vector<vector<pair<int, int> > > graph; typedef pair<double, int> weight; // Couple (poids, numéro) correspondant à une arête int n, k, sh, sc; graph g; vector<int> deg; // Degré d'un sommet au fur et à mesure qu'on effeuille v...
87a8aca402978f5e8a0f5878060dc64bbe0998c2
476af59c3267d2c865fef50a84a256dcf6dbe191
/C++/Solution474.cpp
ecba246ec43b74c742825fcb25711dc3d705236e
[]
no_license
yogurt-shadow/leetcode
fb3c2f47e77c3b40b06fa65cffe63095bd6542e7
c824fa13237421afa69d05bb48026e7a2e407d02
refs/heads/master
2023-08-29T04:09:43.859492
2021-11-11T15:16:15
2021-11-11T15:16:15
325,449,621
2
0
null
null
null
null
UTF-8
C++
false
false
1,277
cpp
Solution474.cpp
#include <iostream> #include <vector> #include <unordered_map> #include <unordered_set> #include <queue> using namespace std; typedef pair<int, int> pii; typedef vector<int> vi; typedef vector<vi> vii; typedef vector<vii> viii; class Solution474 { public: int findMaxForm(vector<string>& strs, ...
90a8f7bcf6ff4d5cf1a39e61f4559f96165ef210
a7183d3adea2be3707abe23d7d0276405c1e064a
/src/modules/nmx/test/NMXInstrumentTest.cpp
4bd3f78bf0e11edddb9447921f79e632cf537b86
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
ess-dmsc/event-formation-unit
672fe93e4b885777a7b77cceeee2e0ef4659adce
7d2e94662bbece96ccb079511030f9a044fbbb5c
refs/heads/master
2023-09-01T12:31:53.905678
2023-08-23T08:34:26
2023-08-23T08:34:26
80,731,668
9
9
BSD-2-Clause
2023-09-11T09:24:52
2017-02-02T14:17:01
C++
UTF-8
C++
false
false
24,447
cpp
NMXInstrumentTest.cpp
// Copyright (C) 2022 European Spallation Source, ERIC. See LICENSE file //===----------------------------------------------------------------------===// /// /// \file //===----------------------------------------------------------------------===// #include <common/kafka/EV44Serializer.h> #include <common/readout/ess/...
1466f597f3e19055a5b80887f5670fd23136a46c
5b1e3895f6994b488cd73aa8d889429a64df8027
/15520755.oop.lab1.1/PhanSo.cpp
73fad2869d9b03b2523b3ee6f92e166a42643021
[]
no_license
DucTamDinhUIT/OOP
803c476eae7a8a58ad158d141b05fa0d5bd3d659
076f17270a0fef0ca4f741b9ea3326adb187f85b
refs/heads/master
2021-05-17T01:10:33.135115
2020-03-28T19:31:28
2020-03-28T19:31:28
250,550,564
0
0
null
null
null
null
UTF-8
C++
false
false
519
cpp
PhanSo.cpp
#include "PhanSo.h" int PhanSo::nhapPs() { cout << "Nhap tu&mau cua phan so: " << endl; cin>>this->tu; cin>>this->mau; return 0; } int PhanSo::xuatPs() { cout << tu << '/' << mau << endl; return 0; } int PhanSo::rutGon() { int a = abs(tu); //lay abc cua tu so int b = abs(mau); //abs mau so while (a*b != 0) /...
bcdb605ff2e43448e59ce7f7a636ac43744e5635
a560fe54820abc3c010853f3fcb1137fab6cb546
/1119.cpp
427ea3fcf4401495163311a0a65240a214943191
[]
no_license
kongzz311/Pat-Advansed
09b5ae3df8297fe07c4c138e727cd271ad9b2301
e15f508e64293f4df60f637ae9ddc337efd8bf36
refs/heads/master
2020-04-11T15:04:53.161849
2018-12-19T08:51:18
2018-12-19T08:51:18
161,878,905
0
0
null
null
null
null
UTF-8
C++
false
false
296
cpp
1119.cpp
#include <iostream> #include <vector> using namespace std; int n; vector<int> pre, post, in; int main() { cin >> n; for(int i = 0; i < n; i++){ int temp; cin >> temp; pre.push_back(temp); } for(int i = 0; i < n; i++){ int temp; cin >> temp; post.push_back(temp); } return 0; }
c696cf5ba51a4ff1105ab933e8f002ff50f37961
e099fa182407f139a74e305a9a3b461ead42b4ae
/src/LangJava.cpp
d1c104acc7293595aa17214f526b2a36ad38f432
[]
no_license
rajatmelavr/IDESelection
83b0cc2701eccb2ce1525b4125028a9ed673956c
7064b7a7963fb49a423e862070b61286d0d07bde
refs/heads/master
2020-06-01T19:29:35.045352
2019-06-09T05:37:45
2019-06-09T05:37:45
190,900,768
0
0
null
2019-06-08T15:25:26
2019-06-08T14:59:38
null
UTF-8
C++
false
false
309
cpp
LangJava.cpp
/* * LangJava.cpp * Description : Normal Class | Non Abstract * Author : Raj Prajapati * Date : 09-Jun-2019 */ #include "LangJava.hpp" namespace LangJava { LangJava::LangJava() { } LangJava::~LangJava() { } std::string LangJava::getName(void) { return "Java"; } } /* namespace LangJava */
ab7ee55b3749c33ccc20c12f556755c6a339f62a
afa7843f90746fac7166913f89123b71061511a1
/includes/Monome.hpp
77fb2826993e3d1059234ead4d8e8b386b08a67f
[]
no_license
abassibe/ComputorV1
1916033b1172e6df637f1d16ce112f8c75113432
28c4e44a2cf834af199290556d510b5f8c31c98d
refs/heads/master
2021-07-04T22:03:50.572055
2020-09-07T09:33:50
2020-09-07T09:33:50
174,195,568
0
0
null
null
null
null
UTF-8
C++
false
false
1,204
hpp
Monome.hpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Monome.hpp :+: :+: :+: ...
a4b86b342ce0c0846f1cd734349f58bebff88a1f
8c93bd7aef951447f864e8b8a409f65ff9bc103a
/cpp/easy287.cpp
2ea47fb1b22defc17ebd9f4293b98eb7259e5a33
[]
no_license
redrails/DailyProgrammer
34e6babb87048f74eda86c248d511a0e7fad87a8
0f57b96720db22400a5528c571e7275a3da13783
refs/heads/master
2021-01-18T22:12:47.675739
2016-10-19T14:39:04
2016-10-19T14:39:04
69,547,427
0
0
null
null
null
null
UTF-8
C++
false
false
2,331
cpp
easy287.cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; /* Main Problem */ int largest_digit(int last, int n){ if(n < 10){ if(n > last){ return n; } else { return last; } } else { if(last > n%10){ return largest_...
9d3197bc8c4cbf8047e70b240028dc297dd316d2
01d5cff1d93772a6bb2101f0100e030154a0cc07
/src/neo/http/parse/common.hpp
73436a4f3ced22dc1ffb03ea1d0381b7188a12e8
[]
no_license
baajarmeh/neo-http
c68a059e35974397ba871289d14435dcc643f824
acd39d0671b6c2f4b4677071052dc0676c0c449a
refs/heads/master
2023-03-19T05:30:20.710381
2021-01-31T04:07:02
2021-01-31T04:07:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
548
hpp
common.hpp
#pragma once #include <neo/const_buffer.hpp> namespace neo::http { constexpr bool is_crlf(const_buffer buf) { return buf.size() == 2 && buf[0] == std::byte{'\r'} && buf[1] == std::byte{'\n'}; } constexpr bool begins_with_crlf(const_buffer buf) { return buf.size() >= 2 && is_crlf(buf.first(2)); } constexpr ...
051ba788c8fd912de360882bc7da7a0dbbd76a3b
7ee7445bd2cea7fce4c0cf027d0d1566f35be217
/src/ACEtk/details/verify/IsStrictlyPositive.hpp
9dc61df757e482c7c56532e0818eccf5abc460f3
[ "BSD-2-Clause" ]
permissive
njoy/ACEtk
dad21dd5e8bb5ad4c0928de0b7d6fe7493e35a49
172d37583851dc531a31f1a8b140f3d2b9922ee7
refs/heads/develop
2023-09-01T00:17:04.898576
2023-06-26T22:00:41
2023-06-26T22:00:41
95,158,830
16
7
NOASSERTION
2023-09-11T19:13:15
2017-06-22T21:41:07
C++
UTF-8
C++
false
false
299
hpp
IsStrictlyPositive.hpp
template< typename T, typename = void > struct IsStrictlyPositive : std::false_type {}; template< typename T > struct IsStrictlyPositive< T, std::enable_if_t< utility::is_range< T >::value and std::decay_t< T >::isStrictlyPositive > > : std::true_type {};
1be0632a1061a1591eea4d28ac079e997ad8663e
f9a71846508f94eb2af3510edbace5cfe5d2e512
/SoulStones.cc
52b0d026c1b5fc94348db57808fc7dfa70b53778
[]
no_license
dillonmayhew/proj2720
287904e585833d8a7cba26477fd058ea772dec4c
774ea7da684f9066354f60c407a09d71223fa824
refs/heads/master
2021-01-01T05:42:35.692811
2016-04-23T02:29:34
2016-04-23T02:29:34
56,284,234
0
0
null
null
null
null
UTF-8
C++
false
false
1,385
cc
SoulStones.cc
#include "SoulStones.h" SoulStones::SoulStones() { image = NULL; } SoulStones::SoulStones(ALLEGRO_BITMAP *soulimage) { maxFrame = 49; frameCount = 0; frameDelay = 2; frameWidth = 64; frameHeight = 64; setCurRow(rand()%19); setCurColumn(0); boundx = 15; boundy = 15; hit = false; live...
7c9ad4074bd6fc776b997d6b6b997c19b8b8a004
5a1c6608e13a4df5c28007be8a21f4de48f42b92
/Engine/Code/Engine/Math/PhysicsUtil.cpp
b4749fa61214faf8989c55188f6bea6f6dadc450
[]
no_license
RollerSimmer/Guildhall-Projects
8bcf52ceb23a0a7f05b06f0613201dcb89c80708
79f59a4d16726cf415eac214d3b4ff280facba08
refs/heads/master
2021-01-19T12:35:03.010982
2017-02-17T23:34:22
2017-02-17T23:34:22
82,342,157
0
0
null
null
null
null
UTF-8
C++
false
false
2,076
cpp
PhysicsUtil.cpp
#include "Engine/Math/PhysicsUtil.hpp" #include "Engine/Math/MathUtil.hpp" // code written by John Anderson void transferMomentumGeneric(float massA, Vector2& velA, const Vector2& posA, float elasticityA, float massB, Vector2& velB, const Vector2& posB, float elasticityB) { //TODO: fix "sticking" issues when...
a039abca929ef6bff4e4394710b865414bb4c7f2
5d72062d0d014e075afbcdac5de7589433689013
/Screening-Assignment/typing_speed_hatimkhambati26.cpp
c76662fa30439b23c0eec419400bf543f50adb5b
[]
no_license
HatimKhambati26/coding-batch-2020
a34b10dbf2466a36a48ac6b1aaecc7e48a0a2a28
557c2517dc8e00665e076d6207d0259b40be5edc
refs/heads/master
2022-12-09T16:16:43.260034
2020-09-01T23:03:05
2020-09-01T23:03:05
292,122,060
0
0
null
2020-09-01T22:35:52
2020-09-01T22:35:51
null
UTF-8
C++
false
false
3,540
cpp
typing_speed_hatimkhambati26.cpp
// hatim.khambati26@gmail.com // Assignment-I : Typing Speed Calculator // Assumptions // 1) User will enter one word at a time. // 2) User has to press Enter key to submit the word. // (Regardless of User enters whitespace after the word or not). // 3) User cannot proceed to the next word, // unless he/she typ...
3595c347f384a6447f6d79a78ba63c44457697c7
34e17284d0e37aa8a28864c14782c7e8f4032a3c
/Combinatorics/Combinatorics - Template/src/Combinatorics.cpp
3d7c2b016ba72d0b94bba635d29cc609e187ff33
[]
no_license
InfiniteLoopify/data-structures
ab57b92f7391ed74bcf53a8b90d79bef6a9b72d3
8513fda112873c5043d4828f88553cc7ef7774f5
refs/heads/master
2022-08-27T02:40:00.978538
2020-05-24T20:52:12
2020-05-24T20:52:12
266,052,544
0
0
null
null
null
null
UTF-8
C++
false
false
2,660
cpp
Combinatorics.cpp
#include <iostream> #include <vector> #include <algorithm> #include "Combinatorics.h" #ifndef COMBINATORICS_IMP #define COMBINATORICS_IMP template <class T> Combinatorics<T>::Combinatorics(const std::vector<T> &tempList) : m_repeat(true), m_count(0), m_objectList(tempList) {} template <class...
5b5d522d88b5d7adffaf0427feda3f432e53b0ce
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chrome/browser/extensions/api/declarative_content/default_content_predicate_evaluators.h
e444a0a28a7f960b004168505b7d495998d8435a
[ "BSD-3-Clause" ]
permissive
chromium/chromium
aaa9eda10115b50b0616d2f1aed5ef35d1d779d6
a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c
refs/heads/main
2023-08-24T00:35:12.585945
2023-08-23T22:01:11
2023-08-23T22:01:11
120,360,765
17,408
7,102
BSD-3-Clause
2023-09-10T23:44:27
2018-02-05T20:55:32
null
UTF-8
C++
false
false
886
h
default_content_predicate_evaluators.h
// 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. #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_DEFAULT_CONTENT_PREDICATE_EVALUATORS_H_ #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_DEFAULT_CONTENT_PRED...
1ebba7887f3c896e43931a8a346b112c07627d60
9d364a8161e6142c7cb7d23dedbf5ce86f306eaa
/Serwis/Serwis/MyForm.h
29c9a6b3eaa57cb81161f151dc2e7b0013e2cc3c
[]
no_license
symygy/ServiceApp
b591a4902229ec61b6fa90e1f36770b969ba3b38
b51b83a9159776080cc910838c0c485fb06d6284
refs/heads/master
2021-09-06T21:03:24.838717
2018-02-11T11:41:16
2018-02-11T11:41:16
114,285,587
0
0
null
null
null
null
WINDOWS-1250
C++
false
false
66,778
h
MyForm.h
#pragma once //#include "logowanie.h" namespace Serwis { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; using namespace MySql::Data::MySqlCl...
20695fc2df36670c992cd34070e190f4e2ca9ea7
320194b0d3dc7a9652cf180aad2d25eec764271c
/Two Knights/main.cpp
1f8d53f21bc9daed10acf71c38d40a2128aea99f
[]
no_license
ZeynepDilanKilic/CSES
d890ba70539ac97019d6e7f2c940bd4ac789c78b
0996d8a970116ba5d3bd632709cdac581059dd04
refs/heads/main
2023-07-09T14:15:43.321404
2021-08-22T14:57:46
2021-08-22T14:57:46
388,906,283
0
0
null
null
null
null
UTF-8
C++
false
false
284
cpp
main.cpp
#include <iostream> #define ll long long using namespace std; int main() { int n; cin >> n; for(int i = 1; i <=n; i++){ ll x1 = i*i, x2 = x1*(x1-1)/2; if(i > 2) x2 -= 4*(i - 1)* (i - 2); cout << x2 << endl; } return 0; }
d6899e0dd9adafd80f495cb72dd42e2eee5d6464
3b117ea09d3c8eacc484924e505debe79db856ea
/Asteroide.h
fb247c42d4a191dccc2e5137927412441b237341
[]
no_license
nikoclass/t-asteroids
b274b02b13b2f36bf0ee6ab50f3f781673211b40
13adaf839214a0977661d79dc7486dc92a678702
refs/heads/master
2023-02-22T06:59:26.805910
2021-01-20T22:02:33
2021-01-20T22:02:33
331,443,853
0
0
null
null
null
null
UTF-8
C++
false
false
1,519
h
Asteroide.h
#ifndef ASTEROIDE_H_ #define ASTEROIDE_H_ #include "Engine.h" #include "Esfera.h" #include "Settings.h" #include "Matematicas.h" #include "Colisionable.h" #include "Matriz4x4.h" #include "ModoJuego.h" class ModoJuego; #include "BalaComun.h" class BalaComun; #include "Nave.h" class Nave; #include "Misil.h" class Misil...
6a12ddce0e5df832e2912cebb4c1bb6eb34315fc
42dd71e4411bbfcac27d63f8cdee8869bbaf1fbc
/last year string.cpp
68a8fc2d960eb9ac56b0f942c457e1ba945a980e
[]
no_license
montygupta32/Codeforces-Questions
43af52b6f145457f2000b58de756acb629961704
85dbb3dd98b0e602fe850a191322209021710937
refs/heads/master
2023-07-15T04:34:31.354174
2021-08-14T00:41:46
2021-08-14T00:41:46
395,841,634
0
0
null
null
null
null
UTF-8
C++
false
false
555
cpp
last year string.cpp
#include<bits/stdc++.h> using namespace std; int main(){ int tc; cin>>tc; while(tc--){ int n; cin>>n; string s; cin>>s; int fact =0; for(int i=0; i<=4; i++){ string str1 = s.substr(0,i); string str2 = s.substr(n-4+i); string...