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
4bee468971216ea197989f56c8aac1cef9cdc0dd
d229621f907e1bbe255ac32d42eeeabfef70801f
/Codeforces/Soldier and bananas/main.cpp
1341cf6b7411a8cfcb4c47243ecd5508219c1c69
[]
no_license
geekswaroop/Competitive-Coding-Solutions
df8f8dafedab0aac1d081a6fcb6c099395b47765
25124a3ce58b081c6f54c1442855489038315e78
refs/heads/master
2020-05-14T15:08:29.659499
2019-11-04T11:55:49
2019-11-04T11:55:49
181,846,111
0
0
null
null
null
null
UTF-8
C++
false
false
215
cpp
main.cpp
#include <iostream> using namespace std; int main() { long long k,n,w,ans; cin>>k>>n>>w; ans=(((k*w*(w+1))/2)-n); if(ans>0) cout<<((k*w*(w+1))/2)-n; else cout<<"0"; return 0; }
1194517e536c3f8fcf067ae84c573fa2241eb628
be04d41cc516caec667467787a238e1463b815eb
/src/py/wrapper_90fba55bcadf52088b0326eb2a205040.cpp
66d9c5507e8a72ab56137991289271b3857ba113
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
nikhilkalige/ClangLite
9f0db6088dee83f89996d4c01da9979c39b3862c
dcb6d7385cca25c0a888bb56ae3ec1eb951cd752
refs/heads/master
2020-04-21T23:48:28.409657
2019-02-20T08:14:21
2019-02-20T08:14:21
169,958,200
0
0
Apache-2.0
2019-02-10T08:37:14
2019-02-10T08:37:14
null
UTF-8
C++
false
false
1,272
cpp
wrapper_90fba55bcadf52088b0326eb2a205040.cpp
#include "_clanglite.h" class ::clang::ObjCAtDefsFieldDecl * (*method_pointer_83c5fa6f39485e8f901598dba33095be)(class ::clang::ASTContext &, unsigned int )= ::clang::ObjCAtDefsFieldDecl::CreateDeserialized; bool (*method_pointer_d221044262765a60acaf9e3b81cca3c6)(class ::clang::Decl const *)= ::clang::ObjCAtDefsFieldD...
6594de125e5bfb0c15cf8281b3cf18858cbf98cb
4b48afdb133aead2777a24ead2955dca920436a1
/src/requestMapping/RequestMapping.hpp
2026c2a1111e9026b1e1d497e646e81fd3f65126
[]
no_license
xiyuan-fengyu/RequestMapping
9e309964b86ec34750441b692d75f2eb141849b6
597a21ceb861630abdf538343c1ba8f5cddba57a
refs/heads/master
2021-09-05T22:25:44.503695
2018-01-31T10:43:27
2018-01-31T10:43:27
119,371,648
1
0
null
null
null
null
UTF-8
C++
false
false
762
hpp
RequestMapping.hpp
// // Created by xiyuan_fengyu on 2018/1/29. // #ifndef REQUESTMAPPING_REQUESTMAPPING_HPP #define REQUESTMAPPING_REQUESTMAPPING_HPP #include "RequestDispatcher.hpp" namespace xiyuan { // 全局函数版本 #ifndef RequestMapping #define RequestMapping(pathMatch, httpMethod, methodName) \ void handler_##methodName##_callback(co...
c99adb66f022d47b1a46266a10a9900cb06a56b9
21a9be8ad0b098bed68175a9b3f4ce7be6920296
/6_12.cpp
52d41b3bcc4916ba844fa5ff0588734b05d3bcc7
[]
no_license
201711010346/oop_6
08f8df367f59b3e56a110ac50ae63651cf4a84a2
4a16bb98cfceb98928d921e5d8251f18e31f5aac
refs/heads/master
2020-04-13T08:46:57.981512
2018-12-25T15:07:47
2018-12-25T15:07:47
163,091,874
0
0
null
null
null
null
UTF-8
C++
false
false
147
cpp
6_12.cpp
#include"6_12.h" void Line::Draw() { cout << "Line::Draw is called.\n"; } void Circle::Draw() { cout << "Circle::Draw is called.\n"; }
43284730483c02af0d803fc633bf1864f07df946
40c8decd720fd821620383ca40350b64543cce79
/Win32.0/IControl.cpp
b0ada3d67ebe6d08db028dc0221e68ae1e615115
[]
no_license
shimachao/Win32.0
a94f465afecc7bc533641d43e671534d4c0c3815
f0767b81e66c37e438cbe0b14c7f5692a53a3be1
refs/heads/master
2021-01-10T03:47:47.863610
2017-03-06T14:53:15
2017-03-06T14:53:15
53,912,561
2
0
null
null
null
null
GB18030
C++
false
false
796
cpp
IControl.cpp
#include "IControl.h" IControl::IControl(int width, int height) :IElement(width, height) { } IControl::~IControl() { } bool IControl::ifMouseIn(int x, int y) { if (x >= 0 && x <= m_width && y >=0 && y << m_height) { return true; } else { return false; } } // 鼠标移到控件上 ...
cf23b54250b8bf27b64f18cfca764d33886243f2
02b87cef237d92926cffdfb17fd071810ad47308
/src/hed/shc/arcpdp/ArcPolicy.cpp
877162f51cfce94200f81d7ec6de1aa1fa753868
[ "MIT", "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
nordugrid/arc
1a7bf10f00a5d62c30aece7ae14a34c3073d420a
170dc8e8a2a2eb0d4734a475c9ca16843483e7cb
refs/heads/master
2023-08-31T05:11:54.609507
2023-08-17T10:40:48
2023-08-17T10:40:48
176,701,676
9
11
Apache-2.0
2022-06-03T12:54:51
2019-03-20T09:42:06
C++
UTF-8
C++
false
false
5,028
cpp
ArcPolicy.cpp
#ifdef HAVE_CONFIG_H #include <config.h> #endif #include <list> #include <arc/security/ClassLoader.h> #include "ArcPolicy.h" #include "ArcRule.h" Arc::Logger ArcSec::ArcPolicy::logger(Arc::Logger::rootLogger, "ArcPolicy"); static Arc::NS policyns("policy", "http://www.nordugrid.org/schemas/policy-arc"); /** get_p...
5480f2349534de983d161753941d94880491713c
efb1e3bd4f1bf79f5c2bc90a34bb33bf171f5f43
/drake/examples/QPInverseDynamicsForHumanoids/system/humanoid_status_translator_system.h
c35b4920438acd195322cbb57258e422a3ace609
[ "BSD-3-Clause" ]
permissive
martiwer/drake
dab2278d41fc4197ccc13a518c4327caa57040b1
709171b00b92e79557920329346f5500718a2caf
refs/heads/master
2021-05-16T09:44:48.965884
2017-09-22T01:25:43
2017-09-22T01:25:43
104,477,877
6
1
null
null
null
null
UTF-8
C++
false
false
4,329
h
humanoid_status_translator_system.h
#pragma once #include <memory> #include <string> #include <utility> #include "drake/common/drake_copyable.h" #include "drake/examples/QPInverseDynamicsForHumanoids/humanoid_status.h" #include "drake/manipulation/util/robot_state_msg_translator.h" #include "drake/multibody/rigid_body_tree.h" #include "drake/systems/co...
e7115adf7be643cf533a24f2f68e54a2aa1c5487
d340d503e132508de61f8b7379ea6f0100ff0297
/duet_exploration/include/duet_exploration/costmap_tools.h
43fbc043fef6be49a2b867719be2f78c6cb16a05
[]
no_license
wang81522472/uav_nuc
ff171f063d846a4dea7523c47ec149d8d7815c5f
b60a39a1cc318485e701fd9924a94bf5671bc15f
refs/heads/master
2021-04-03T04:10:26.366328
2018-04-27T11:48:44
2018-04-27T11:48:44
124,403,871
7
2
null
null
null
null
UTF-8
C++
false
false
2,173
h
costmap_tools.h
#ifndef COSTMAP_TOOLS_H_ #define COSTMAP_TOOLS_H_ #include <geometry_msgs/PolygonStamped.h> #include <geometry_msgs/PointStamped.h> #include <costmap_2d/costmap_2d.h> #include <boost/foreach.hpp> #include <ros/ros.h> namespace duet_exploration{ /** * @brief Determine 4-connected neighbourhood of an input cell, chec...
40cb4e5f2702371938478fb56f79283d1359b4ad
a8f712b403e92b2f217ef2a6d68460280752c4ea
/puzzleBobble/2DGame/puzzleBobble/02-Bubble/Player.cpp
18365ac0270b6f54e809e91a6dd4fed0115c9afd
[]
no_license
xictrov/puzzleBobble
60761e718fe79d35d1100c11b20b259214fa07fd
6fd9de98c73145378e36bec4fab60653fd5d83ba
refs/heads/master
2021-08-19T16:11:13.769086
2017-11-26T20:23:45
2017-11-26T20:23:45
105,983,949
1
1
null
null
null
null
UTF-8
C++
false
false
2,371
cpp
Player.cpp
#define _USE_MATH_DEFINES #include <cmath> #include <iostream> #include <GL/glew.h> #include <GL/glut.h> #include "Player.h" #include "Game.h" #define JUMP_ANGLE_STEP 4 #define JUMP_HEIGHT 96 #define FALL_STEP 4 bool izq = true; enum PlayerAnims { COLOR }; enum explosionAnims { ONE, TWO, THREE, FOUR, FIVE }; vo...
2cda12e08de325dd8675fd9879b6538d02082430
287b14395f1509784f5c76ca898c0319447be111
/branchingLogic/IF/4.3.IGRA-1_v3-funcExample.cpp
8ec91ba790ec09929f5693dedba65806b23649b8
[ "MIT" ]
permissive
dovanduy/cppTopics
48045085e7afff79e22373aa04dc688056cda118
94461d25832b53e6c40c374fb2ff1695b3dfe3c7
refs/heads/master
2020-05-26T19:22:24.706301
2017-06-28T19:38:57
2017-06-28T19:38:57
null
0
0
null
null
null
null
UTF-8
C++
false
false
480
cpp
4.3.IGRA-1_v3-funcExample.cpp
// IGRA_v3.cpp #include <iostream> using namespace std; int moveMe (int movingPos1, int oldPos2, int zarValue, int mapSize) { int newPos ; newPos = ((movingPos1 + zarValue > mapSize ) ? movingPos1 : movingPos1 + zarValue ) ; newPos += (oldPos2 == newPos) ? -1 : 0 ; return newPos ; } main() { int m, p1, p2, k, p...
fe2e0e956e85ab9e62769f860d99a143244db97d
6c2b9ff417b98e54f39fdc533d59a18e1108094f
/main.cpp
19e2a39309e3b762d9c6ec4d608ac6dcfaeaedc7
[]
no_license
rostek93/English_teacher
d4703b94ea035f63733c008bdc445719ed0c695c
99470df845793716e0f58d199af7313103a7c61a
refs/heads/master
2021-01-10T04:26:35.752510
2016-03-27T17:40:20
2016-03-27T17:40:20
54,840,510
0
0
null
null
null
null
UTF-8
C++
false
false
338
cpp
main.cpp
/** * @file main.cpp * @author Damian Pobrotyn , Kamil Rostecki * @brief Function main. */ #include "MainWindow.h" #include "DatabaseFile.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); DatabaseFile df; df.registerFun(); re...
29bf87735fa189e87a10a342011e6f90a08252a5
fa4017a751d52b30dae39964832bcffd9ed62944
/吉田学園情報ビジネス専門学校_髙岩一稀/Square/開発環境/life_ui.h
b2676de1cb8d5ad4a3d96d70f5098262d53184ed
[]
no_license
takaki2018/Takaiwa_Game
a02bd15a1887526d707276c6a5100e7615cb029b
eee9356e755839e1163b488bf23da3b8c3ab1470
refs/heads/master
2023-09-01T20:29:11.756042
2021-10-28T06:41:38
2021-10-28T06:41:38
305,336,787
0
1
null
2020-10-22T01:08:21
2020-10-19T09:49:55
C++
SHIFT_JIS
C++
false
false
1,564
h
life_ui.h
//============================================================================= // // ライフUI処理 [life_ui.h] // Author : itsuki takaiwa // //============================================================================= #ifndef _LIFEUI_H_ #define _LIFEUI_H_ #include "scene.h" //********************************...
ac4e1f77f322badc12b615d45b596b4b8cf785b9
8d79a78930d457a62f009ef4e3b085afcc7dacfc
/LeetCodeProblems/src/Challenges/2020/May/week3/FindAllAnagramsInString.cpp
296b832c5b40d614bd9aef882cb55d9e8c418999
[]
no_license
usseif97/Problem-Solving
cf877dfdce7cb96d6ef8423b93aebf69d36f1734
a0bf8ab46f419a7b9fcdb4413e494f2aa9e5c7d9
refs/heads/master
2022-12-18T18:05:55.197905
2020-10-02T12:53:46
2020-10-02T12:53:46
269,500,931
0
0
null
null
null
null
UTF-8
C++
false
false
1,398
cpp
FindAllAnagramsInString.cpp
#include "FindAllAnagramsInString.h" #include <bits/stdc++.h> #include <stdio.h> #include <stdlib.h> #include <string.h> using namespace std; FindAllAnagramsInString::FindAllAnagramsInString() { // TODO Auto-generated constructor stub } FindAllAnagramsInString::~FindAllAnagramsInString() { // TODO Auto-generated d...
3e88e0562fa5cb4aa42e2232a8912c8914b6c151
bfb0c727497c12cd5fe18ae97857da9a218ab464
/Components/Tocs/Ui/ContainerBase.cpp
6f0c2d1dfe9ff89885fc8a87d049184ed72e1be8
[]
no_license
LordTocs/TocsEngine
67e8784f865ed2b41f45e28d482e0c0196f62252
218e731b53d436f9770457ddc2ea89e52f90658f
refs/heads/master
2021-05-28T06:13:03.337976
2014-04-14T02:04:08
2014-04-14T02:04:08
7,833,667
0
0
null
null
null
null
UTF-8
C++
false
false
1,194
cpp
ContainerBase.cpp
#include "ContainerBase.h" #include "LayoutAble.h" #include <algorithm> namespace Tocs { namespace Ui { void ContainerBase::Add(LayoutAble &thing) { if (thing.Parent_ != nullptr) thing.UnParent(); thing.Parent(*this); } void ContainerBase::InternalAdd(LayoutAble &thing) { OSAttach(thing); Items.push_back(&thin...
25bed0c85d6d7cd749201e4b06e4f0e5a3615970
4749b64b52965942f785b4e592392d3ab4fa3cda
/chrome/browser/signin/easy_unlock_screenlock_state_handler.cc
f2eb9ee0f914108946c4365121831e723379abac
[ "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
8,001
cc
easy_unlock_screenlock_state_handler.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 "chrome/browser/signin/easy_unlock_screenlock_state_handler.h" #include "base/bind.h" #include "base/prefs/pref_service.h" #include "base/string...
428295d769b594c8f3b1923e831a3daeb655bcae
6b1a0116b6df527de47f113c31650b7c370efc7c
/main.cpp
36454d78bc938a3712580462f4bed706a237b862
[]
no_license
fannygt95/Multiprocessor-Programming
738c960cd5ac736b375dc55843bbcfbe779999d2
37f41c2444af14da036c22e3dd5716a430192f04
refs/heads/master
2020-04-18T03:53:30.187478
2019-05-03T17:14:50
2019-05-03T17:14:50
167,217,630
2
1
null
null
null
null
UTF-8
C++
false
false
13,027
cpp
main.cpp
#include "lodepng.h" #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <iostream> #include <sstream> #include <vector> #include <chrono> #include <cmath> #include <fstream> #include <string> using namespace std; unsigned width, height; unsigned average = 0; int const disparity = 6...
09a0dfb66fd0d447f1ad53388786ca8211b83e5b
e6ae6070d3053ca1e4ff958c719a8cf5dfcd6b9b
/treap_spoj.cpp
6b8e7efd6108d2331f081d7ee5d742092fa718c8
[]
no_license
Arti14/Competitive-Programming
31d246d34581599219ffb7e23a3372f02fc6dfa6
de42977b6cce39bb480d3cf90c1781d806be3b56
refs/heads/master
2021-01-25T07:34:29.240567
2015-05-08T07:07:10
2015-05-08T07:07:10
35,263,950
0
0
null
null
null
null
UTF-8
C++
false
false
2,186
cpp
treap_spoj.cpp
#include <iostream> #include <string> #include <cstdio> #include <cstdlib> using namespace std; struct treap{ string key ; int weight; treap *L ; treap *R; }; void rotate_C( treap **node) { treap *tmp = (*node)->L; (*node)->L=tmp->R; tmp->R=*node; *node = tmp; ...
c432d579c47abbcf78763d561a663119d32325c0
aed2ad37d2896a0a8cbc008fc225d23b2383d481
/ModelFitting/EnergyFunctions.cpp
5e940751f1e5832d8ab608a611ed9b4939854ff6
[]
no_license
qchen2017/Thin_Vessel_Segmentation
67b8b67f13010f8b2b3a10b4eee4e8e69b1d7fb7
e1e4c1d20acd6fddf2b5ef55abdc6c4a8d5ea71d
refs/heads/master
2021-08-19T09:31:35.847731
2017-11-25T15:52:19
2017-11-25T15:52:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,185
cpp
EnergyFunctions.cpp
#include <opencv2/core/core.hpp> #include "EnergyFunctions.h" #include "Line3D.h" #include "Neighbour26.h" #include "Data3D.h" #include "Timer.h" #include "../SparseMatrixCV/SparseMatrixCV.h" #include <vector> #include <omp.h> #if _MSC_VER && !__INTEL_COMPILER #ifdef _DEBUG #pragma comment(lib,"../x64/Debug/SparseMatr...
04d42c8607160ed0a6032f62d8d5d85028fbd2f9
a92b18defb50c5d1118a11bc364f17b148312028
/src/prod/src/api/wrappers/ComInfrastructureServiceAgent.cpp
c3873745f375a97f91a40492a9dc52e2d8715e90
[ "MIT" ]
permissive
KDSBest/service-fabric
34694e150fde662286e25f048fb763c97606382e
fe61c45b15a30fb089ad891c68c893b3a976e404
refs/heads/master
2023-01-28T23:19:25.040275
2020-11-30T11:11:58
2020-11-30T11:11:58
301,365,601
1
0
MIT
2020-11-30T11:11:59
2020-10-05T10:05:53
null
UTF-8
C++
false
false
14,632
cpp
ComInfrastructureServiceAgent.cpp
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
be2d9bcb62aa4ac5a7283c08c2818019fe9e8697
31ac07ecd9225639bee0d08d00f037bd511e9552
/externals/OCCTLib/inc/Draw_Drawable2D.hxx
4bd6b3f9cd0b1d0f75224d9424530cfd90a80dcb
[]
no_license
litao1009/SimpleRoom
4520e0034e4f90b81b922657b27f201842e68e8e
287de738c10b86ff8f61b15e3b8afdfedbcb2211
refs/heads/master
2021-01-20T19:56:39.507899
2016-07-29T08:01:57
2016-07-29T08:01:57
64,462,604
1
0
null
null
null
null
UTF-8
C++
false
false
1,040
hxx
Draw_Drawable2D.hxx
// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _Draw_Drawable2D_HeaderFile #define _Draw_D...
129af98693bf11e93a82dd4fe4a9c2d0943fd7a3
04bc05d1140cfcdb2c42c371c61e3f70ec524d77
/c++/C++编程实例100篇/实例18/COUNT.CPP
e510aa050eebac08b542124f8b1f913ceb628f7d
[]
no_license
lcong/vsSource
52ad6fdffd5a0ad841215c0bd5ee6db1ea2d59ef
7ec52c5cd63215e7dbd1c89a3421309aa695bc5b
refs/heads/master
2021-06-23T05:12:17.588868
2017-08-11T05:57:40
2017-08-11T05:57:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
285
cpp
COUNT.CPP
//IMPLEMENTATION OF COUNTER CLASS //FILE COUNT.CPP #define MAX 65535 #include "Count.h" void COUNTER::operator++() { if (NUMBER<MAX) NUMBER+=10; } void COUNTER::operator--() { if (NUMBER>0) NUMBER-=10; } void COUNTER::DISPLAY() { printf("\n THE TEST COUNTER = %d",NUMBER); }
1e3e87354023fcf708e91d6d4f7077c38cc1f1c4
735449faa3ff13e4e9239bb6b7d9f896190f743c
/functionFindMatIntersection.h
75990afbd3bd1b324896a150f84fea6d3093c079
[]
no_license
jollytrees/popupImage
a552c8644cfbc00dc5649e68bde62844e1ffac98
7f0e36f14b1b8518d2d76bd10d304bc0b50e2ebb
refs/heads/master
2021-01-16T23:34:13.905386
2017-01-08T21:19:36
2017-01-08T21:19:36
48,270,729
0
2
null
null
null
null
UTF-8
C++
false
false
3,170
h
functionFindMatIntersection.h
#ifndef fuctionFindMatIntersection_h #define fuctionFindMatIntersection_h #include <opencv2/imgproc/imgproc.hpp> #include <opencv/cv.h> static void checkType(cv::Mat &input){ if(input.type() == CV_8UC3) input.convertTo(input, CV_8UC1); } static int findMatIntersectionRInt( cv::Mat input1, cv::Mat input2, cv::Ma...
30b25988ab993801a9b6f329b5e305cc99b6e7e7
426ca7875bf182fbe7b2be195743ba37e9a67637
/src/RenderState.hpp
9c44dd61aaa3d977578e8dc1e5adf5ec5892ab10
[]
no_license
JoshRWinter/darktimes
9f6137e98d25c41cc150537d7666b817eae7f0dc
fa96d10d23c9ba9feef272414efa984db29a70cb
refs/heads/master
2023-08-31T20:35:05.145016
2023-07-13T00:21:19
2023-07-13T00:21:19
169,932,205
0
0
null
null
null
null
UTF-8
C++
false
false
257
hpp
RenderState.hpp
#pragma once #include <vector> #include "Darktimes.hpp" #include "Renderable.hpp" struct RenderState { NO_COPY_MOVE(RenderState); RenderState() : centerx(0.0f) , centery(0.0f) {} float centerx, centery; std::vector<Renderable> renderables; };
9dd722ebd3b844b6e071a75a9bca92ddcb3381d8
a997694a9bad0eefed928962abb5b1fcdfa7ebe7
/leetcode/leetcode_319/leetcode_319/leetcode_319.cpp
3f6cb05327e980b2b5640053d11d43e5757b1fd2
[ "MIT" ]
permissive
gingkg/happyleetcodeeveryday
55f447ccca11760573a5ab2f0dfd88ea13827828
7101e0404afca10ec3b18caafe4c5ef67eec38b6
refs/heads/main
2023-07-07T09:14:27.991977
2021-08-15T08:49:59
2021-08-15T08:49:59
382,788,210
0
0
null
null
null
null
UTF-8
C++
false
false
1,770
cpp
leetcode_319.cpp
/* 319. 灯泡开关 初始时有 n 个灯泡处于关闭状态。 对某个灯泡切换开关意味着:如果灯泡状态为关闭,那该灯泡就会被开启;而灯泡状态为开启,那该灯泡就会被关闭。 第 1 轮,每个灯泡切换一次开关。即,打开所有的灯泡。 第 2 轮,每两个灯泡切换一次开关。 即,每两个灯泡关闭一个。 第 3 轮,每三个灯泡切换一次开关。 第 i 轮,每 i 个灯泡切换一次开关。 而第 n 轮,你只切换最后一个灯泡的开关。 找出 n 轮后有多少个亮着的灯泡。 示例 1: 输入:n = 3 输出:1 解释: 初始时, 灯泡状态 [关闭, 关闭, 关闭]. 第一轮后, 灯泡状态 [开启, 开启, 开启]. 第二轮后, 灯泡状态 [开启, 关闭, ...
ee2f3265a6b1758f95d45199a9358318cd784dbd
c84fd723c6e30f883123945e263e9a7c3a0c496b
/backup/201510B/tang/82-1.cpp
a6b590f005c97361710283d1bdc6095ebbb5cf8b
[]
no_license
LabsCluster/DLC-QD1
26521e0f4f55073462fb64882a084b264ba8a3e4
bf6369e293e95470cc0792f8d17f1affa4dedc86
refs/heads/master
2021-01-01T06:38:31.573709
2016-02-20T04:52:51
2016-02-20T04:52:51
41,633,411
1
0
null
null
null
null
UTF-8
C++
false
false
128
cpp
82-1.cpp
#include<stdio.h> #include<math.h> int main() { double p,n; scanf("%lf",&n); p=pow(1+0.09,n); printf("%f",p); return 0; }
e2ed42d4ed9eb984eab6f971e332b9df791700e3
e01fc0982465c01a8beea8263648d56169d6ad4a
/src/HBDemo/CSModule/CSTools/CSAudio/AudioDecoder/CSAudioDecoder.h
e991f7238ff2e5bc785f79f0ffe8ed340eb9e72e
[]
no_license
heibaihei/HbFFmpegMedia
8d4a0082193020d877329eb585e2a71b5317a939
c7ae30634cc53571b31017e4a91264832d507417
refs/heads/master
2021-03-24T12:41:19.488446
2017-12-14T12:10:45
2017-12-14T12:10:45
98,384,354
1
0
null
null
null
null
UTF-8
C++
false
false
2,073
h
CSAudioDecoder.h
// // CSAudioDecoder.h // FFmpeg // // Created by zj-db0519 on 2017/8/15. // Copyright © 2017年 meitu. All rights reserved. // #ifndef CSAudioDecoder_h #define CSAudioDecoder_h #include <stdio.h> #include <stdint.h> #include <iostream> #include "HBAudio.h" namespace HBMedia { /** * 1、解码包含有音视频流的媒体文件 * 2、...
500ef5fdb62dd93360caff19747b773908fdfd1f
105c5cfbea2469542253f9917d28671b7a01abc4
/src/Fitness/MO/TrapInverseTrap.hpp
301c68a971aaa6155d9d105e0ffec61e68e78b20
[]
no_license
tdenottelander/GA
1fd11c60ac7f68a9faf41ea2300a3aebe24dc925
26adc7558a6169939e5f119b2a7cb116c177f659
refs/heads/master
2023-02-02T15:21:48.555329
2020-12-11T16:39:53
2020-12-11T16:39:53
221,727,778
0
0
null
null
null
null
UTF-8
C++
false
false
715
hpp
TrapInverseTrap.hpp
// // TrapInverseTrap.hpp // GA // // Created by Tom den Ottelander on 06/02/2020. // Copyright © 2020 Tom den Ottelander. All rights reserved. // #ifndef TrapInverseTrap_hpp #define TrapInverseTrap_hpp #include <stdio.h> #include "FitnessFunction.hpp" class TrapInverseTrap : public FitnessFunction { public: ...
7e3d7e00c69e21ffd572735a333a011a32b1e71c
5aa80aab7a75d76b0aa838bf8f74a276a12c876e
/src/vnsw/agent/oper/vm.h
9507c2cf731847a539ddca91ae084a29403556b9
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
tungstenfabric/tf-controller
83b6d58afadb5697b540b5345711a5b2af90d201
f825fde287f4eb2089aba2225ca73eeab3888040
refs/heads/master
2023-08-28T02:56:27.329584
2023-08-20T12:15:38
2023-08-20T12:31:34
231,070,970
55
29
Apache-2.0
2023-07-23T01:38:17
2019-12-31T10:24:38
C++
UTF-8
C++
false
false
3,612
h
vm.h
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #ifndef vnsw_agent_vm_hpp #define vnsw_agent_vm_hpp #include <cmn/agent_cmn.h> #include <oper/oper_db.h> #include <agent_types.h> typedef std::map<std::string, boost::uuids::uuid> VmNameUuidTree; struct VmKey : public AgentOperDBKey { VmKe...
7406b2a77df6a09833ab4885d1a9b2ae5a8ccb03
0310ed95e8f9062f4b1f6100d7c105b23fbfd50a
/Parser/includes/Nodes/NodeExp2Bracket.h
ed2da654ff9fd87f885063974bd4dea7d5a37348
[]
no_license
markusheupel/Compiler
acd7200b2272a346d7a71ca865050a3f4a2939c4
4aef81755cf7081705e478d1e4705f3bee73ae04
refs/heads/master
2020-04-12T20:24:49.852450
2019-01-02T19:57:10
2019-01-02T19:57:10
162,735,311
0
0
null
null
null
null
UTF-8
C++
false
false
531
h
NodeExp2Bracket.h
/* * NodeExp2Bracket.h * * Created on: 08.01.2017 * Author: yannick */ #ifndef PARSER_INCLUDES_NODES_NODEEXP2BRACKET_H_ #define PARSER_INCLUDES_NODES_NODEEXP2BRACKET_H_ class NodeExp2Bracket: public NodeExp2 { private: NodeExp* exp; public: ~NodeExp2Bracket() { delete this->exp; } void addNode(Node...
28243c1f17a0fb66017a76247ad11f691963a22a
fc38cecf0d0b928aae1ba84ba9412be685e2b3fb
/PCLApp/Segmentation.cpp
d4110941a338b3d743e5f0d2a42b8cda9c5c161e
[]
no_license
otradovec/PCL_osX
eafa1163904c9bd5dc4acca8d39e6c2d3e9cdc10
87597482d1c4b63dafbba0f2f02c14f0accc410b
refs/heads/master
2023-02-25T09:00:41.979223
2021-01-29T09:33:39
2021-01-29T09:33:39
315,912,680
0
0
null
null
null
null
UTF-8
C++
false
false
1,571
cpp
Segmentation.cpp
#include "Segmentation.hpp" Segmentation::Segmentation(){ } std::vector<pcl::PointCloud<pcl::PointXYZ>::Ptr> Segmentation::euclidianClusterSegmentation(pcl::PointCloud<pcl::PointXYZ>::Ptr cloudToSegment){ std::vector<pcl::PointCloud<pcl::PointXYZ>::Ptr> segmentedClouds; pcl::search::KdTree<pcl:...
7c340f9df9abff33f1a9ad2bf90e960435a5cbbe
7e285313f203b0000e6ae7d63828f0e22571a35b
/code/lib/lichtkrant/lichtkrant.cpp
731d2b3c8c9de6700bb5d8176c7b199f339a2ffb
[]
no_license
buzztiaan/arduino-lichtkrant
6c9b439f9312b33f589804c4ec7d7727e5bc85b5
46f0a5f465239c0840b5e2fec224f98971adf3b5
refs/heads/master
2020-01-21T03:41:03.424308
2012-11-25T19:08:37
2012-11-25T19:08:37
6,854,490
2
0
null
null
null
null
UTF-8
C++
false
false
2,351
cpp
lichtkrant.cpp
#include "Arduino.h" #include "lichtkrant.h" byte frameBuffer[ROWS][SHREGISTERS]; byte readPixel(byte whichBuffer[][SHREGISTERS], byte x, byte y) // left upper pixel is x0, y0. it does account for the not connected pins on the sh-registers. { return bitRead(whichBuffer[y][(x+NONVISABLES)/(SHREGISTERS+1)], 7-((x+NON...
e9e5a482340ad557c8faeb439e296fe298f18e15
795000f575aebcc0f1993194ce4e54c9d0096248
/C++ STL/Queue/IPL_2021_MatchDay2.cpp
e828fa87c3f6913247e73e772f6ebc414db7aaaf
[]
no_license
nayalchitra/P3_Program
fb94329bf658cecda487249dc8cb96a1bd1b80af
06f3436f863e87a7b77f3bf74ca556bc1afac7a1
refs/heads/master
2023-03-09T09:24:45.189517
2023-02-21T16:45:45
2023-02-21T16:45:45
191,009,535
0
0
null
null
null
null
UTF-8
C++
false
false
2,414
cpp
IPL_2021_MatchDay2.cpp
/* Due to the rise of covid-19 cases in India, this year BCCI decided to organize knock-out matches in IPL rather than a league. Today is matchday 2 and it is between the most loved team Chennai Super Kings and the most underrated team - Punjab Kings. Stephen Fleming, the head coach of CSK, analyzing the batting s...
bf16371d37846a2e21ecfa48a919287865040947
69c3a9292a8b76696695712329cd68b56a5ba2c8
/Volume 0/0040.cpp
4b1dde2c44438f819c60f8bcbabeb64d664aa0c5
[]
no_license
yuta1024/aoj
ebbf7ccc03d1adf00c2301559a8d835fba5e4003
da24890eaf199f7eb2cb98bfed1bf7e1c533b586
refs/heads/master
2021-01-02T22:37:55.372004
2012-09-18T11:36:43
2012-09-18T11:36:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,022
cpp
0040.cpp
#include <iostream> #include <string> #include <ctype.h> using namespace std; int gcd(int a, int b) { if (b == 0) return a; return gcd(b, a%b); } string solve(string cipher) { for ( ; ; ) { for (int a = 1; ; ++a) { if (gcd(a, 26) != 1) continue; bool decrypt = false; ...
9eb4109f50df79741fe9db5f56aeb6ef6f321bec
c35c231a05f24f22c5aae7ef94e1ded6dcfd848c
/codeforces/A. About Grisha N. - ACM ICPC 2014-2015. NEERC. Eastern Subregional Contest.cpp
23073b37d9c9e3063d0b522b25c865661d9bb8da
[]
no_license
irvifa/online-judges
081bed8db248c4c0d5a096fb2a196a119778788c
c128a03b711f256f8888ed3d2e526889dce90ca2
refs/heads/master
2021-03-12T02:39:44.868187
2020-03-11T13:46:07
2020-03-11T13:46:07
246,582,524
0
0
null
null
null
null
UTF-8
C++
false
false
120
cpp
A. About Grisha N. - ACM ICPC 2014-2015. NEERC. Eastern Subregional Contest.cpp
#include <iostream> using namespace std; int main(){ int f; cin >> f; cout<<(12-f > 5 ? "NO\n":"YES\n"); return 0; }
8079ea8c74c617a804f6729b5fdcdd13045962bb
82f76b60e80df85f3f05d01f02162195a52d6e5b
/ch4/4.5.cpp
315b194788c6c7a52d89666b9c1a86ee6c06c30c
[]
no_license
yckuo/cracking
23938d47854fe3c48b6a1ddbd4dc6f030173ad74
84f7f5f7837d9a4977f2003f972a2574979a5308
refs/heads/master
2021-01-13T15:12:17.733142
2017-01-14T23:07:03
2017-01-14T23:07:03
76,221,105
0
0
null
null
null
null
UTF-8
C++
false
false
816
cpp
4.5.cpp
/* Copyright (C) yckuo - All Rights Reserved */ #include <iostream> #include <fstream> #include <sstream> #include <climits> #include "TreeNode.h" using namespace std; class Solution { public: bool IsBST(TreeNode* root) { return IsBST(root, INT_MIN, INT_MAX); } private: bool IsBST(TreeNode* root,...
aa713b260b2ced1ef96edfeee17b8a0278b15845
525705ba39c566ad1acd684f4753efdeb0d389ae
/src/universe.h
6495968852dc9f6b5a920dd3f0b951a9b55ec585
[]
no_license
tbake0155/mites_and_stars
3d22ffc3f37efcd741891b2449787aa22387c822
16844d3b3789a8a0f3956c59095bb66e9056d13a
refs/heads/master
2021-05-11T20:45:24.015166
2018-01-15T14:49:11
2018-01-15T14:49:11
117,448,240
0
0
null
null
null
null
UTF-8
C++
false
false
2,463
h
universe.h
// // Author: Timothy Baker // cs361: Assignment 2 //"A story of Mites and Stars" // //universe.h //////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////...
373418a614e740f17093aea2aa7458d957602f46
2effc621ca20726d0546b55fd1f1b1c5a6874cd5
/UVA11369/UVA11369.cpp
46b836ce664c125a7219692c184aece6c10027ff
[]
no_license
lpc0503/UVA
c0c6e7e8c2a88d0c0558a2ec2bff7982a508ca91
12affc8685fcc1a2e644ce924e3e5308e7ec7145
refs/heads/master
2021-06-04T11:03:40.624832
2020-06-24T12:18:58
2020-06-24T12:18:58
139,245,261
3
0
null
null
null
null
UTF-8
C++
false
false
536
cpp
UVA11369.cpp
#include<bits/stdc++.h> using namespace std; #define PROBLEM "11369" int a[100010]; int main(void){ #ifdef DBG freopen(PROBLEM ".in", "r", stdin); freopen(PROBLEM ".out", "w", stdout); #endif int cases; int n; scanf("%d", &cases); while(cases--){ memset(a, 0, sizeof(a)); scanf("%d", &n); for(int ...
df2345d12485fdcdba5927a0f80dddbd082c5040
9c9003f4912e2065c3901f1f51ef5b398f999a10
/projectb/client/game_xxx/newProtocol/game_qznn_def.pb.cc
0fd98b04e824d2fa48f60335ea16eab384f6559b
[]
no_license
PHDaozhang/recharge_h5
41424d5725eae69cc6a921cd1ef954b255a0ca65
7d5e63d97e731ea860d927c37612fe35f7d3bd61
refs/heads/master
2020-08-11T21:57:49.842525
2019-10-15T07:32:40
2019-10-15T07:32:40
214,632,134
0
3
null
null
null
null
UTF-8
C++
false
true
6,453
cc
game_qznn_def.pb.cc
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: game_qznn_def.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "game_qznn_def.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_strea...
076387d54c0f8bb7c4e853ffe96c79545ad54ee1
caf55812511d43016cfe908a279ef60915f3428a
/Source/McRave/ResourceInfo.h
6f52ab36c4de629cd2ec2744552add64116f25c5
[ "MIT" ]
permissive
impie66/McRave
8572655d65b1bbf1bceba79431b222e724c431cb
51ff5a0768dc553f4adea109784035b5d6020fd1
refs/heads/master
2022-12-08T23:04:16.276859
2020-08-31T12:48:34
2020-08-31T12:48:34
291,378,719
2
0
null
2020-08-30T01:36:49
2020-08-30T01:36:48
null
UTF-8
C++
false
false
2,943
h
ResourceInfo.h
#pragma once #include <BWAPI.h> #include "BWEB.h" namespace McRave { class UnitInfo; class ResourceInfo : public std::enable_shared_from_this<ResourceInfo> { private: int remainingResources; BWAPI::Unit thisUnit; BWAPI::UnitType type; BWAPI::Position position; BW...
88914571322ba110f60881ff807a6651093698f7
ce8fce7859f49cd07252356f15f76d010614c5c4
/Graphical/includes/Resource.hpp
7b4eb8f1ee6074b837a1e927aba95432b1622dfa
[]
no_license
NightPlow/Zappy
8cd9934002b38dfeeb627bb869862ffb9da2cf41
e27d96df29e36db28b56e666e139e0b1f80fdb07
refs/heads/master
2021-01-03T08:34:54.788183
2019-06-23T20:37:10
2019-06-23T20:37:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
37
hpp
Resource.hpp
../GraphicalAPI/includes/Resource.hpp
b024f8ab0e8f87ea03f0af4708c571408fae0642
0538ae5aa55f0203b76314c8a656d9b76e43391f
/src/vm-memory-segment.cc
ea522bc0b2270081fb1cf338863561b23066779a
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
emptyland/mio
db78ad87a5d971f822113159ac1a636da19241b2
77ec9737b4002820c31fca241aaa6711a7391285
refs/heads/master
2021-05-04T11:50:00.383421
2017-08-13T04:59:23
2017-08-13T04:59:23
49,038,378
0
0
null
null
null
null
UTF-8
C++
false
false
458
cc
vm-memory-segment.cc
#include "vm-memory-segment.h" namespace mio { MemorySegment::MemorySegment() : size_(0) , capacity_(kPageSize) , chunk_(malloc(kPageSize)) { } MemorySegment::~MemorySegment() { free(chunk_); } void *MemorySegment::Advance(int add) { if (size_ + add > capacity_) { capacity_ += kPageSize;...
b4bd7a6b0cb0745e5d288ed1894cb5c61775c3c1
2ae0b8d95d439ccfd55ea7933ad4a2994ad0f6c5
/src/core/src/file_util.cpp
1809311c49b38d3dbd040a1143545b0d6933e0b3
[ "Apache-2.0" ]
permissive
openvinotoolkit/openvino
38ea745a247887a4e14580dbc9fc68005e2149f9
e4bed7a31c9f00d8afbfcabee3f64f55496ae56a
refs/heads/master
2023-08-18T03:47:44.572979
2023-08-17T21:24:59
2023-08-17T21:24:59
153,097,643
3,953
1,492
Apache-2.0
2023-09-14T21:42:24
2018-10-15T10:54:40
C++
UTF-8
C++
false
false
1,759
cpp
file_util.cpp
// Copyright (C) 2018-2023 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ngraph/file_util.hpp" #include "openvino/util/file_util.hpp" NGRAPH_SUPPRESS_DEPRECATED_START using namespace std; using namespace ngraph; string file_util::get_file_name(const string& s) { return ov::util::get_fil...
0f82607f03ef59a54a5a44cc123baa2c7952abc3
d443ca6a0f68ebc845dc652e221d02844b9889aa
/train_exceptions/calculatrice.cpp
7ff9bc693b8faa8fc2f8fd512e1a36d022636749
[]
no_license
JulietteNdn/CPlusPlus_TP
66ec1332cad3690dafa881084f724cd17588733b
fa3aeecb9db3da79680929593452fffc9e88b5a5
refs/heads/master
2020-04-05T00:53:11.950831
2018-12-01T16:02:48
2018-12-01T16:02:48
156,414,365
0
0
null
null
null
null
UTF-8
C++
false
false
810
cpp
calculatrice.cpp
#include "mon_exception.hpp" #include <stdexcept> #include <vector> using namespace std; int division(int a, int b){ if(b == 0) throw MonException(1,"Division par zéro!!",2); // s'arrête si l'exception est levée car le reste du code jusqu'au catch n'est pas exécuté. return a/b; } int main (int, char**...
14500e3ff3175ecc3959050a5199be27873e635b
ad273708d98b1f73b3855cc4317bca2e56456d15
/aws-cpp-sdk-connect/source/model/UserPhoneConfig.cpp
9a249abf79c819aef93fb3c1cd2fe2a2741c9163
[ "MIT", "Apache-2.0", "JSON" ]
permissive
novaquark/aws-sdk-cpp
b390f2e29f86f629f9efcf41c4990169b91f4f47
a0969508545bec9ae2864c9e1e2bb9aff109f90c
refs/heads/master
2022-08-28T18:28:12.742810
2020-05-27T15:46:18
2020-05-27T15:46:18
267,351,721
1
0
Apache-2.0
2020-05-27T15:08:16
2020-05-27T15:08:15
null
UTF-8
C++
false
false
2,814
cpp
UserPhoneConfig.cpp
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
232bc233ec1ca40a55f9348578cd49c8a84e1f54
4e580b69a16f94aab7aa4c8a9fc8c353883bbc41
/wxx_hxx_final/src/ofApp.h
cb0c2a075e1b553549db8906a80461b11dcf1934
[]
no_license
zhouy546/YunqiZhou2_OFanimation2015
770e26a2355cf4bc6393d3a4faea3239d2a54804
870c5d56c6cc8fb6cbb02bf6634aeb735d6f9ebd
refs/heads/master
2021-01-01T16:05:48.632856
2015-05-14T00:47:23
2015-05-14T00:47:23
31,288,975
0
0
null
null
null
null
UTF-8
C++
false
false
2,383
h
ofApp.h
/******************************************************************/ /** * @file ofApp.h * @brief Example for ofxKinectNui addon * @note * @todo * @bug * * @author sadmb * @date Oct. 28, 2011 */ /******************************************************************/ #pragma once #include "ofMain.h" #include "of...
e2dd4773d16399a8a1cf4d4f35041b6f9130c739
50edda2bfaf6d47bd7b5d7ec155e0cc5bf1be7c1
/GameTemplate/game/ParticleEmitter.h
95f5d92ae34bef8c83437a9b6e3df078f18ee858
[]
no_license
TakumiArita/CarGame7
dbefb5df3ec8bde097d4ff84c07f8243158c1ee5
4c157b47fc358851bbba93e0c4824bbd661a57f4
refs/heads/master
2021-05-11T12:15:31.288561
2018-05-10T11:29:31
2018-05-10T11:29:31
117,651,635
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,311
h
ParticleEmitter.h
#pragma once #include <list> #include <d3d9.h> #include <d3dx9effect.h> class Particle; /* * @brief パーティクル生成パラメータ。 */ struct SParticleEmitParameter { //初期化。 void Init() { memset(this, 0, sizeof(SParticleEmitParameter)); } const char* texturePath; //テクスチャのファイルパス。 float w; ...
106ddad7bf0d927c52126d924b5d668c9492739e
63c71060f36866bca4ac27304cef6d5755fdc35c
/src/TaskMgr/TaskScheduler.cpp
003569205d11ce9777d0cd3762f03126228b0233
[]
no_license
15831944/barry_dev
bc8441cbfbd4b62fbb42bee3dcb79ff7f5fcaf8a
d4a83421458aa28ca293caa7a5567433e9358596
refs/heads/master
2022-03-24T07:00:26.810732
2015-12-22T07:19:58
2015-12-22T07:19:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,123
cpp
TaskScheduler.cpp
//////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2005 // Packet Engineering, Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification is not permitted unless authorized in writing by a duly // appointed officer of ...
71578fd251d03eaa5197b0d0a7dae6ecb94a2b2f
1193b8d2ab6bb40ce2adbf9ada5b3d1124f1abb3
/branches/mapmodule/modules/genericmapmodule/include/GenericMapWalkmeshSubManager.h
19ce784f0cf11a462547d24b7cfed9a8dda5f13d
[]
no_license
sonetto/legacy
46bb60ef8641af618d22c08ea198195fd597240b
e94a91950c309fc03f9f52e6bc3293007c3a0bd1
refs/heads/master
2021-01-01T16:45:02.531831
2009-09-10T21:50:42
2009-09-10T21:50:42
32,183,635
0
2
null
null
null
null
UTF-8
C++
false
false
2,787
h
GenericMapWalkmeshSubManager.h
/*----------------------------------------------------------------------------- This source file is part of Sonetto RPG Engine. Copyright (C) 2007,2008 Arthur Carvalho de Souza Lima, Guilherme Prá Vieira Sonetto RPG Engine is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser G...
859d5b3ea8cb3ff2b96c0e11c416702858133e40
e97277433a8170de159b7fc20a611be2373720bb
/enml2html.cpp
b1b7b48b0414d08bf2a12ed1f1b96de0b0cd5200
[ "Apache-2.0" ]
permissive
zhongluqiang/evernote-sdk-cpp-quickstart
a4b25a217343818657730462b4f95c1cf9084957
63bb6008306a0ee4db2a3823436b8ffbd3542569
refs/heads/master
2020-05-02T21:23:30.874418
2019-05-02T16:36:38
2019-05-02T16:36:38
178,218,785
0
0
null
null
null
null
UTF-8
C++
false
false
9,518
cpp
enml2html.cpp
#include "enml2html.h" static const string HEADER_TO_TITLE = "<!DOCTYPE html> \n" "<html>\n" "<head>\n" "<meta charset=\"utf-8\">\n" "<title>"; static const string TI...
d09b27bc3554dcc69fce5af1d662b022ac2c66c3
3bf24078b5b1a0558dbc497d4cce9f2dfd74e9be
/login.h
4ac0e6f0630764cb8106216e8e5bfa0fd0c9d905
[]
no_license
caowenbo2000/CwbChat
1fd1d7eb2f3dbcc9f4f7299cde93c239c48ca0e0
9969143d14ab6f1b4c5462ee213674292a6f5851
refs/heads/master
2021-01-16T01:45:57.927880
2020-03-13T14:56:53
2020-03-13T14:56:53
242,931,622
0
0
null
null
null
null
UTF-8
C++
false
false
513
h
login.h
#ifndef LOGIN_H #define LOGIN_H #include <QWidget> #include <QSqlDatabase> #include <QString> #include <string> #include <QSqlQuery> #include <QMessageBox> #include "sqlconnect.h" #include "sqliteconnect.h" namespace Ui { class Login; } class Login : public QWidget { Q_OBJECT public: explicit Login(QWidget *...
651f3e3c6538b0eb9b9cc2f1efc48a0b744be8ce
855c09841525fa657d7ca3901a2cd587c69b7caa
/MAIL/SMTPClient.cpp
98c1683afd7a7facdf0d58011b6ce91585fb0256
[ "MIT" ]
permissive
embeddedmz/mailclient-cpp
eca2fc30d6b4ba027bdaeb12aca0208f199a8871
5b4a323cffdc37a4cfb8421868d1fdb30788304e
refs/heads/master
2022-06-21T18:21:01.216631
2022-06-07T10:23:14
2022-06-07T10:23:14
77,830,667
54
25
MIT
2023-08-19T11:25:34
2017-01-02T12:03:27
C++
UTF-8
C++
false
false
8,393
cpp
SMTPClient.cpp
/** * @file SMTPClient.cpp * @brief implementation of the SMTP client class * @author Mohamed Amine Mzoughi <mohamed-amine.mzoughi@laposte.net> */ #include "SMTPClient.h" CSMTPClient::CSMTPClient(LogFnCallback oLogger) : CMailClient(oLogger), m_eOperationType(SMTP_SEND_STRING) { } const bool CSMTPClient::Send...
765801f058272f1fec76d90c7cec8b0ea831ca29
94d18506c43b5b495d9e2a7a98b888abebc5e29f
/H2_SD_logger/H2_SD_logger.ino
99d0ff10f6da4f71485ceabcc1156a593f181224
[]
no_license
ghiraldini/Arduino
850145cf726a6764b3c9893b8a1c9d12fb43ec80
68c2f3d6fb5a37c4ad77a53a9281d11f71869459
refs/heads/master
2020-07-03T12:02:01.191029
2019-10-04T04:21:43
2019-10-04T04:21:43
74,171,865
0
0
null
null
null
null
UTF-8
C++
false
false
2,415
ino
H2_SD_logger.ino
/* SD card datalogger Modified from SD - dataLogger Example This code read the AIN0 of a thermistor and converts to a temperature This temperature is written to an SD card. The circuit: analog sensors on analog ins 0 SD card attached to SPI bus as follows: ** MOSI - pin 11 ** MISO - pin 12 ** CLK ...
0ce6614793aaad66a27184b57cdb2aabfc38685a
8f160542786dd2e7bb093ffd76fe2e7b991a0ec3
/eventbuilders/EventBuilder_SMWZ.cxx
7ac3fe75c7ec5f2b5811b2d0d5b6b992bb96f9b0
[]
no_license
mileswu/proofana-chicago
fd909c65e22bf292c0756bdc2458e8a53a0419d4
a0c0b872583627e01f129f8143641b780dceae96
refs/heads/master
2021-01-20T04:02:32.673436
2013-07-12T16:11:50
2013-07-12T16:20:12
null
0
0
null
null
null
null
UTF-8
C++
false
false
29,678
cxx
EventBuilder_SMWZ.cxx
/************************************************************************** ** ** File: EventBuilder_SMWZ.cxx ** ** Description: EventBuilder class for analyzing the v7 GRJETS D3PDs. Use ** cases include but are not limited to the following: ** ** Authors: D. W. Miller ...
c76e4bbca7ad1796c0fa16c53fd17dbcff2291b0
ee99c05afa22e204812e1e19dff0b1ff36bec739
/include/ast/EvalInputNode.h
a3ad8a0d9bf4bcbbe84fa24093559a5facb7b28a
[ "BSL-1.0" ]
permissive
stenbror/PythonCoreNative
ab4c3c18f9ed73ee7e9588c349191bb8bd0bfed1
9b5b1e55acf7d6adc7d8202e951872b2b9f71167
refs/heads/master
2023-05-30T04:07:48.480731
2021-06-20T16:37:23
2021-06-20T16:37:23
361,491,052
0
1
BSL-1.0
2021-05-24T11:23:55
2021-04-25T17:16:41
C++
UTF-8
C++
false
false
969
h
EvalInputNode.h
#pragma once #include <ast/StatementNode.h> #include <ast/ExpressionNode.h> #include <Token.h> #include <memory> #include <vector> namespace PythonCoreNative::RunTime::Parser::AST { class EvalInputNode : public StatementNode { public: EvalInputNode( unsigned ...
d8d07634d803f9646035f8e50baed030f5195b46
a2cef9db3c6e7d6a5f34ad4c6c313c2c2575e8a1
/Ifrad/menu_customer.h
34f996d7d251fa5366e3de75675e2d7720cadc03
[]
no_license
Ridwan230/Restaurant-Management-System
69c6650e9cdaeade86a37b6d7144e4f6139d3b85
de8e942ff4c5b152de703359268260917092284b
refs/heads/master
2022-12-12T18:17:15.155048
2020-09-14T09:10:57
2020-09-14T09:10:57
250,228,245
0
2
null
null
null
null
UTF-8
C++
false
false
973
h
menu_customer.h
#ifndef MENU_CUSTOMER_H #define MENU_CUSTOMER_H #include <QDialog> #include "menu_last.h" namespace Ui { class menu_customer; } class menu_customer : public QDialog { Q_OBJECT public: explicit menu_customer(QWidget *parent = nullptr); ~menu_customer(); private slots: void on_Bu...
713c744b8b8834d6feccfa93e4d0048f51e8fa25
df23fd83cfd786980ae55a9541d9c1d701b2bf19
/code/realtime/animatedcharacterbuffers.hpp
3068ae873438487e27f3f6c4cf2cbcda8b4dfb08
[ "MIT" ]
permissive
sidsahay/nidra
0f5202e01b9a33c2d2373888817f716c897da02f
c99702ac144c925daa1e9e3f7bac94cdc1f3ef5e
refs/heads/master
2020-04-01T00:53:25.456654
2018-10-12T11:17:24
2018-10-12T11:17:24
152,717,503
0
0
null
null
null
null
UTF-8
C++
false
false
958
hpp
animatedcharacterbuffers.hpp
#ifndef NIDRA_CODE_ANIMATEDCHARACTERBUFFERS_HPP #define NIDRA_CODE_ANIMATEDCHARACTERBUFFERS_HPP #include "../scene/animatedcharacterdata.hpp" #include "../utilities/shader.hpp" #include "../utilities/texture.hpp" struct AnimatedCharacterBuffers { explicit AnimatedCharacterBuffers(const AnimatedCharacterData &cha...
b08d82687207740444a8da5d5709fff3a94e172c
642a5d419fa4464e1c9ab88ec109a29ee7f180b1
/FanxyStudio/finddialog.h
0b6f434a6b722142a829ebc22c853cb16c5ad88e
[]
no_license
Hedgefog/fanxy-studio
35b734b86262b0a2cc1def5a9e12571b82db3138
d09fa53d39a6556b2cfa12da7f71d2216c7b3497
refs/heads/master
2021-01-11T20:45:39.288485
2017-01-18T22:34:15
2017-01-18T22:34:15
79,178,971
2
0
null
null
null
null
UTF-8
C++
false
false
668
h
finddialog.h
#ifndef FINDDIALOG_H #define FINDDIALOG_H #include <QDialog> #include <QPlainTextEdit> #include <QPlainTextEdit> namespace Ui { class FindDialog; } class FindDialog : public QDialog { Q_OBJECT public: explicit FindDialog(QPlainTextEdit *target); ~FindDialog(); protected: QPlainTextEdit *m_ta...
21ace004489d326004afba633b8702192940fb70
c08f8bd82cb6c50a888e4fa403b183662395874a
/multsetPq/ANUMLA.cpp
7b2f33f8ca52bb476d08a47995079a2081ea6d01
[]
no_license
vaibhavgeek/tompetitive
253a744771b558e8e727a2ad57bc4f2ceebc6c4a
8d887d10936f22286f48aa1cf328a7d46e28aa0c
refs/heads/master
2021-06-12T10:12:39.941473
2021-05-29T14:11:40
2021-05-29T14:11:40
202,127,253
0
0
null
null
null
null
UTF-8
C++
false
false
1,138
cpp
ANUMLA.cpp
#include <bits/stdc++.h> using namespace std; #define ll long long int main() { ll t; cin>>t; while(t--){ int n; cin>>n; int subsno = pow(2,n); multiset <int> sum_set; for(int i = 1; i <= subsno; i++) { int sum; cin>>sum; sum_set.insert(sum);...
153e0c660db1c5c0945133ebb07e8066e5059932
74a31a9666df200ab18c44566f2227d031823b23
/alabs0002/Classes/depends/scribble/ScribbleSpineNode.h
260d4e3366083dcd3b04052d7b12f3d5cc5ff9ad
[]
no_license
Crasader/Demo_Earlier_CC
448f3447fc3fb237c2346069bf2344f44bd552db
320c57f91b7d6603a6293b65a6702f76b1e035ba
refs/heads/master
2020-12-04T12:24:47.254647
2018-05-31T02:51:24
2018-05-31T02:51:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
997
h
ScribbleSpineNode.h
// // ScribbleSpineNode.h // // // Created by renhong on 16/1/8. // // #ifndef ScribbleSpineNode_h #define ScribbleSpineNode_h #ifdef SCRIBBLE_USE_SPINE #include <stdio.h> #include "spine/spine-cocos2dx.h" #include "spine/extension.h" #include "ScribbleNode.h" #include "cocos2d.h" using namespace cocos2d; using name...
84ccc23416514b57451dd338fa8107c76db15c1a
68263901ba61a333c9ae6558396187e9fe54f6bd
/ce_dd_bootsectors/convertor.cpp
5a5efd78983520359babaede9794f3555479abc1
[]
no_license
miniupnp/ce-atari
b906fc2fbb2d51b46b97f076ab085465ccac0913
78a3d85de852ec20776061b130058f67f5749ca8
refs/heads/master
2023-08-22T18:54:13.641510
2019-08-15T18:16:46
2019-08-15T18:16:46
56,238,691
0
0
null
2016-04-14T13:15:25
2016-04-14T13:15:24
null
UTF-8
C++
false
false
5,871
cpp
convertor.cpp
#include <stdio.h> #include <stdlib.h> #include <string.h> #define CE_DD_PRG_PATH "../ce_dd_prg/" #define BYTE unsigned char #define WORD unsigned short #define DWORD unsigned int WORD swapNibbles(WORD val); bool createBootsectorFromPrg(const char *path, const char *inFile, const char *outFile, ...
b987b3367c1ff8b204c23e691f35b286290234f9
4347d54df89b71ed4171afdf0105ca7f13941122
/leetcode9.cpp
beae4da3f25881d9718d7ae908800abf982df8c9
[]
no_license
369713387/Leetcode-Note
547c993ea5adef1f4e6c0ffc3d862aca13acf81a
03e1a155f7a5105a04a8545b837c26e31a80f51f
refs/heads/master
2020-03-31T11:57:15.791163
2018-12-20T03:36:01
2018-12-20T03:36:01
152,197,406
0
0
null
null
null
null
UTF-8
C++
false
false
356
cpp
leetcode9.cpp
#include<iostream> using namespace std; bool isPalindrome(int x) { if (x < 0) { return false; } if (x >= 0 && x <= 9) { return true; } long long res = 0; long long val = x; while (x) { res = res * 10 + x % 10; x /= 10; } if (res == val) { return true; } return false; } void main() { bool flag = ...
77a453a0fe6e1cfd96072dc9490abc6356563f48
2c3d58b7dcdf38c7d04bdc2b3fd269f713abce26
/27oct/Is your horseshoe on the other hoof.cpp
dd65d30636b4b1e99a486a58416f573c47c4d111
[]
no_license
deepralhan26/Dailycodeforces
1d5dd7f63bcb7d146b0925fdc1094d3045fff419
18a41e7d60f7c475d151123c10c5874e06a1cc7a
refs/heads/main
2023-01-03T21:38:01.548115
2020-10-31T21:34:55
2020-10-31T21:34:55
307,508,509
0
0
null
null
null
null
UTF-8
C++
false
false
346
cpp
Is your horseshoe on the other hoof.cpp
#include <bits/stdc++.h> using namespace std; #define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); #define int long long int32_t main() { IOS; int s1,s2,s3,s4; cin>>s1>>s2>>s3>>s4; set<int>a; a.insert(s1); a.insert(s2); a.insert(s3); a.insert(s4); cout<<4 - a.s...
67316220a4f4c65050337cf0d52a509b51db0295
54c67306d63bb69a5cf381d12108d3dc98ae0f5d
/goalc/simple_main.cpp
fe14bbb1deed6ee13a477ebaf094b1a150c29e01
[ "ISC" ]
permissive
open-goal/jak-project
adf30a3459c24afda5b180e3abe1583c93458a37
d96dce27149fbf58586160cfecb634614f055943
refs/heads/master
2023-09-01T21:51:16.736237
2023-09-01T16:10:59
2023-09-01T16:10:59
289,585,720
1,826
131
ISC
2023-09-14T13:27:47
2020-08-22T23:55:21
Common Lisp
UTF-8
C++
false
false
1,577
cpp
simple_main.cpp
#include "common/log/log.h" #include "common/util/FileUtil.h" #include "common/versions/versions.h" #include "goalc/compiler/Compiler.h" int main(int argc, char** argv) { // logging lg::set_stdout_level(lg::level::info); lg::set_flush_level(lg::level::info); lg::initialize(); // game version std::string ...
3b75b02cd2db9461d70b6ae64f6bef56d6d57d8b
a18168091fd6a5ea575c7bc5906cefada0b7c3f0
/arduino/fetchable-client/fetchable-client.ino
8fc0404619501913847dcfcd380eec5db67980ef
[]
no_license
Skandalik/imperius-arduino
7860df2dbeeec616c41721c9fd5e9f6848b8ced8
d59ece20da1b57d2531676b1f59375e4bfaaad74
refs/heads/master
2021-04-27T10:37:22.427991
2018-02-22T22:09:03
2018-02-22T22:09:03
122,541,149
0
0
null
null
null
null
UTF-8
C++
false
false
7,194
ino
fetchable-client.ino
#include <DHT.h> #include <ArduinoJson.h> #include <EEPROM.h> #include <ESP8266WiFi.h> #include <PubSubClient.h> #include <ESP8266TrueRandom.h> // CONSTANTS #define UUID_SIZE 16 #define SENSOR_ID_SIZE 70 #define SENSOR_ID_INIT_FLAG 1 #define DHT_PIN 2 #define DHT_TYPE DHT11 // GLOBAL VARIABLES // Address pointer and ...
b9a22fdc1425e712b4a88c0621e97d8c6a853e43
08bfc8a1f8e44adc624d1f1c6250a3d9635f99de
/SDKs/squish-ccr/extra/squishgen.cpp
bf1dcbb9dae511bd5837079935047f1f46b8fc30
[]
no_license
Personwithhat/CE_SDKs
cd998a2181fcbc9e3de8c58c7cc7b2156ca21d02
7afbd2f7767c9c5e95912a1af42b37c24d57f0d4
refs/heads/master
2020-04-09T22:14:56.917176
2019-07-04T00:19:11
2019-07-04T00:19:11
160,623,495
0
0
null
null
null
null
UTF-8
C++
false
false
130
cpp
squishgen.cpp
version https://git-lfs.github.com/spec/v1 oid sha256:8d7d200cdb49e8d55e7c5552694a6dd20b88c2f21fe1b6421217a2f492c8cdad size 25964
a39ac017d9ff836bb73d6adbc32f9d80416ec5b3
2981ad592d9195113b617ec1aa5c031c033b117e
/Asg2/Asg2/submit.cpp
60a02eda822d5c8b6d8bd857c2ffcf2dcc8f8a34
[]
no_license
tingyn012/CSCI3260
bb688cc3fbe75813763a35547fd7617449798d14
89968c1a64e8e50c9158d8e00de87731c0a71fdd
refs/heads/master
2021-01-18T20:38:30.027647
2017-04-02T10:45:41
2017-04-02T10:45:41
86,979,909
1
0
null
null
null
null
WINDOWS-1252
C++
false
false
20,936
cpp
submit.cpp
/********************************************************* FILE : submit.cpp (csci3260 2016-2017 Assignment 2) *********************************************************/ /********************************************************* Student Information Student ID: 1155032539 Student Name: NG, Ting Yuk *********************...
0be53848f9ee84c5681a9ce4e31724ebe746fc4c
6aba3d9e4a5401b5387548475d0ca74794e73c69
/GROMACS/nonbonded_benchmark/gromacs_source_code/src/gromacs/utility/tests/arrayref.cpp
e8a8388f862b8897813af1a72ac54743aab8b4c2
[ "LGPL-2.1-only", "LGPL-2.0-or-later", "LicenseRef-scancode-sun-rpc", "LGPL-2.1-or-later", "SunPro", "GPL-1.0-or-later", "BSD-2-Clause-Views", "GPL-2.0-only", "BSL-1.0", "Apache-2.0", "BSD-3-Clause", "Zlib", "BSD-2-Clause", "MIT", "LicenseRef-scancode-free-unknown" ]
permissive
rvhonorato/bioexcel-exascale-co-design-benchmarks
a47b2608ad796329247a671ca95c7b487be213ca
41bfd28e64a65f7d08a4195bdfd0024646664351
refs/heads/master
2020-06-18T05:56:43.151669
2019-07-10T15:17:45
2019-07-10T15:17:45
196,187,655
0
0
MIT
2019-07-10T10:50:25
2019-07-10T10:50:24
null
UTF-8
C++
false
false
7,586
cpp
arrayref.cpp
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 2015,2016,2017,2018,2019, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS file in the * top-level source directory a...
13c260bb23265448b11e1e78f47471788b2ae7fa
d138bdec3f86f0d1469ed8b225ee6411380954bb
/graph_chess.h
af595fa96976fb8cf49f289c1aa2314a09fb77ac
[]
no_license
XxprogrammatorxX/chess
437391ef1d8a7430712379bf9a41f50efda36d5d
74a313d45f10466cb4abf6eff32cf3adf134c9ff
refs/heads/main
2023-02-13T03:53:10.766822
2021-01-12T13:18:04
2021-01-12T13:18:04
328,991,678
0
0
null
null
null
null
UTF-8
C++
false
false
4,852
h
graph_chess.h
#ifndef GRAPH_CHESS_H #define GRAPH_CHESS_H #include "../Graph_lib/Window.h" #include "../Graph_lib/Graph.h" #include "../Graph_lib/GUI.h" #include <iostream> #include <vector> #include <map> #include "yadro.h" #include "bot_chess.h" using namespace Graph_lib; const Point win_p {500,20}; constexpr...
58451f87d8c8037b11c7dd2bd51e9bbb974e9db5
6f874ccb136d411c8ec7f4faf806a108ffc76837
/code/Windows-classic-samples/Samples/Win7Samples/multimedia/WMP/cpp/WMPHost/CWMPHost.cpp
f31ad3f1094df9a310e2479e09d69a7084019791
[ "MIT" ]
permissive
JetAr/ZDoc
c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435
e81a3adc354ec33345e9a3303f381dcb1b02c19d
refs/heads/master
2022-07-26T23:06:12.021611
2021-07-11T13:45:57
2021-07-11T13:45:57
33,112,803
8
8
null
null
null
null
UTF-8
C++
false
false
14,802
cpp
CWMPHost.cpp
// CWMPHost.cpp : Implementation of the CWMPHost // // Copyright (c) Microsoft Corporation. All rights reserved. // #include "stdafx.h" #include "CWMPHost.h" #include "dialogs.h" ///////////////////////////////////////////////////////////////////////////// // CWMPHost void CWMPHost::OnFinalMessage(HWND /*hWnd*/) {...
5c56c284e0d6052b4449ebc2d7ebead94d94b02e
5a92f6db6e8b7698aef17179b3c6864e06968294
/include/ffw/graphics/glrenderwindow.h
409c2f0aa4a439700908a7ac20567c9585c014d1
[ "MIT" ]
permissive
AlbertoGP/finegraphics
51de742339d298f43f211121f159fcaabf75e0dd
815eb9bc30ac27e8032785ed8963978c2aca758b
refs/heads/master
2022-01-18T23:10:31.185935
2019-01-20T11:14:44
2019-01-20T11:14:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,309
h
glrenderwindow.h
/* This file is part of FineFramework project */ #ifndef FFW_GRAPHICS_GL_RENDER_WINDOW #define FFW_GRAPHICS_GL_RENDER_WINDOW #include <vector> #include <memory> #include "renderwindow.h" #include "monitors.h" #include "vec2.h" #include "config.h" #include "constants.h" namespace ffw { /** * @ingroup graphics...
e559eb19dfcd3ca605f8f2a87c55aef3cc593dee
06ba4269a1bd6ceb5dfff799f33f808fb3ab1eff
/src/Surface.h
b68a844356e5a25f26e32f6e05f20b5472cc1611
[]
no_license
micahdlamb/Collision
bca7efc206ec57dc7812ce6f3ecfef159e49f2a9
dac5dfe3c414b432613d349e3102ed6f61756bab
refs/heads/master
2020-05-31T16:05:44.464911
2013-11-21T00:48:44
2013-11-21T00:48:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
17,596
h
Surface.h
#pragma once //I, the index type must be defined struct Surface : public Viewport, public Scene, public FPInput { //typedef GLushort I; typedef glm::detail::tvec3<I> I3; Shader shader; UniformMat4 worldTransform; UniformMat3 normalTransform; Uniform1i pattern; Uniform1i reflectionsOn; Uniform1i blur; Unifor...
a294aab1016715f2c478f6b98f4018031d9a387b
6122703152701f6ae24865f3d94fe95ae8b83c86
/Projekt-Zaliczeniowy.cpp
22c77d80ada318c643e242844ca6a147f9c34f7a
[]
no_license
DawidDabkowski/Programowanie-Obiektowe
a8e37a770fd55f3245f6b31cfe2a1563046b74e7
2db85591fab2e5ad15440cf59b26d2fd3ef45f12
refs/heads/master
2021-01-23T13:16:23.292208
2017-06-03T09:02:27
2017-06-03T09:02:27
93,236,611
0
0
null
null
null
null
UTF-8
C++
false
false
72,013
cpp
Projekt-Zaliczeniowy.cpp
#include <iostream> #include <queue> // priority_queue #include <cassert> // Dodatkowe sprawdzania (assert) #include <cstdlib> // Generacja liczb losowych (srand, rand) #include <ctime> // time, użyty tylko w srand #include <cmath> // floor #include <vector> // vector #include <fstream> /...
3ecea2e435a2928b651edb174e85ac6c72444cc0
dac5254630fefae851da7c843dcab7f6a6af9703
/Linux/Sources/Application/Status/CVisualProgress.h
846c82f8b6fd25bc73449012d38ff50e8199fca2
[ "Apache-2.0" ]
permissive
gpreviato/Mulberry-Mail
dd4e3618468fff36361bd2aeb0a725593faa0f8d
ce5c56ca7044e5ea290af8d3d2124c1d06f36f3a
refs/heads/master
2021-01-20T03:31:39.515653
2017-09-21T13:09:55
2017-09-21T13:09:55
18,178,314
5
2
null
null
null
null
UTF-8
C++
false
false
1,488
h
CVisualProgress.h
/* Copyright (c) 2007 Cyrus Daboo. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
92ac949c4f36114beb5f3e6aba3a35c55728554d
857178cde25020429e3f6d672e5b3d2bd04c6973
/Interest.cpp
47f330c687b0ff87e04058a97984da2d56d0136c
[]
no_license
intelij/bank_oop_cpp
9c6cd226a7ed73a016bf16d37c5a7053a580156c
ec518b2382fc8122b4bc18b007996f6a9052463f
refs/heads/master
2023-06-14T17:40:28.831815
2021-07-10T19:26:13
2021-07-10T19:26:13
384,774,260
0
0
null
null
null
null
UTF-8
C++
false
false
924
cpp
Interest.cpp
#include"Interest.h" Interest::Interest() { } Interest::Interest(string type, float m, date d, time t) { typeOfInterest = type; amount = m; Date = d; Time = t; } void Interest::input() { Date.setDate(); Time.setTime(); cout << "Enter transection amount: "; cin >> amount; do { cout << "Enter type of int...
a5ec329f2856ad13ea5399d74ab45b44041c4bd5
fdfeb3da025ece547aed387ad9c83b34a28b4662
/Simple/CCore/inc/gadget/PtrLen.h
076e6a059a0a77b38dacf696aed5b4f3ede81920
[ "FTL", "BSL-1.0" ]
permissive
SergeyStrukov/CCore-3-xx
815213a9536e9c0094548ad6db469e62ab2ad3f7
820507e78f8aa35ca05761e00e060c8f64c59af5
refs/heads/master
2021-06-04T05:29:50.384520
2020-07-04T20:20:29
2020-07-04T20:20:29
93,891,835
8
1
null
null
null
null
UTF-8
C++
false
false
7,438
h
PtrLen.h
/* PtrLen.h */ //---------------------------------------------------------------------------------------- // // Project: CCore 3.00 // // Tag: Simple Mini // // License: Boost Software License - Version 1.0 - August 17th, 2003 // // see http://www.boost.org/LICENSE_1_0.txt or the local copy // // Copyrig...
aafa6d512db81abede78d6aa912e4dd0a0120c2e
1dda1083e4d03ab4f1e339c515fba5adb38268dd
/cube.cpp
f98e6bd609d24e3b7ed8dea22a92201e04d189a3
[]
no_license
imclab/3D-Tic-Tac-Toe
cef3fab803547a075c7dad8d331bb97943321f9e
90934c32d24cc4ab7fb55e55b3f0babf264c2432
refs/heads/master
2021-01-21T00:17:15.502197
2014-05-17T13:32:53
2014-05-17T13:32:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,106
cpp
cube.cpp
/* Copyright (C) 2008 by Wai Khoo AUTHOR: Wai Khoo FILE: cube.cpp CLASS: Cube DETAILS: Visualize the 3D Tic Tac Toe cube. Inherits from QGLWidget, which is OpenGL */ #include "cube.h" /* Constructor Setting up the cube, default rotation angle, and default cube selected. Assigning color: 1...
94c03b5b004d80a4b8491722f82306e7e1520beb
36ce92927aad48af03f2d2d38c3979261f47697e
/doc/MSc/msc_students/former/simen_reine/HovedOppgaven/VMC/SolidHarmonics/SolidHarmonics.h
7b605722df432c367b128edbebfda240ace1a90d
[ "CC0-1.0" ]
permissive
CompPhysics/ThesisProjects
47fe8f0215525bca42cc76485c75101c9ab10a36
8267e3c9b48ee6f46de391e0ec1cb250ae6476e2
refs/heads/master
2023-08-16T15:14:40.203860
2023-08-09T14:53:48
2023-08-09T14:53:48
42,999,924
9
4
null
null
null
null
UTF-8
C++
false
false
1,566
h
SolidHarmonics.h
#ifndef SolidHarmonics_IS_INCLUDED #define SolidHarmonics_IS_INCLUDED #include "../Domain/Domain.h" #include <iostream> #include <iomanip> #include "../SolidHarmonicsFuncs/SolidHarmonicsFuncs.h" #ifndef sqr_IS_INCLUDED #define sqr_IS_INCLUDED inline double sqr(double x) {return x*x;}; #endif // *********************...
d919459f7ea7026efcd65e165e4b96d0f7e9ae4c
f2631000e14e9f049cf8168baf955438a146d105
/lab9_3.cpp
f98eb2c692252d5625d5c41b220633435c931763
[]
no_license
cpe102/lab9-2562-2-protonnote
79656c695736dd53362b2f1e588f596a63714f5f
55bf473ded590a19dde271fc50af2437af49b260
refs/heads/master
2022-04-01T08:58:37.613008
2020-01-28T09:35:03
2020-01-28T09:35:03
236,682,547
0
0
null
null
null
null
UTF-8
C++
false
false
704
cpp
lab9_3.cpp
#include <iostream> //cout << "Number of data = "; #include <fstream> //cout << "Number of data = "; #include <string> //cout << "Mean = "; #include <cmath> //<< "Standard deviation = "; using namespace std; int main(){ ifstream score; score.open("score.txt"); string ...
839e8d37a860360224b5cb5f20a1f95d775e636e
965a026fd62a9c6d76e4d0dd683fd04d31bb2f65
/Code_Implementation/src/ToastGame/Timer/Timer.h
482373c90c50c9cec1b47bdea8dbc427f7982cef
[]
no_license
cr1tterp0wer/csc300-microwave
d2db6d69adaa139c407f07eed96c1ab5737bbe05
85d5aff424db37e871325994e787797a037b2830
refs/heads/master
2020-06-19T22:51:02.739568
2019-08-06T02:11:57
2019-08-06T02:11:57
196,903,873
1
0
null
null
null
null
UTF-8
C++
false
false
374
h
Timer.h
#pragma once #include <ctime> using std::time_t; class Timer{ //one hour static const int MAX_TIME = 3600; private: time_t currentTime; time_t prevTime; time_t secs; public: Timer(); Timer( int s ); virtual ~Timer(); void clearSeconds(); int getSeconds(); void se...
68ca566ed64b5b089ed88354ad9be3ef3be27247
b754091e462cc03c4d4dceada61be905dd8a456e
/cpu/q1.cpp
bdfd3721f7a15953a32e97a869345cdb24bc3e9d
[ "BSD-3-Clause" ]
permissive
eyalroz/tpch_q1_on_gpu
ae1a266efbb0dd4d8eb4116427739cde368eb564
5a1a0ca79a2a0ac8e4c48cb02e096e23cf6867cb
refs/heads/master
2020-03-24T09:22:20.618594
2018-08-17T16:07:02
2018-08-17T16:07:02
142,627,326
0
0
null
null
null
null
UTF-8
C++
false
false
7,991
cpp
q1.cpp
#include <sstream> #include <vector> #include <time.h> #include "common.hpp" #include "vectorized.hpp" #include "kernels/naive.hpp" #include "kernels/naive_compact.hpp" #include "kernels/hyper.hpp" #include "kernels/hyper_compact.hpp" #include "kernels/x100.hpp" #include "kernels/x100_old.hpp" // Commented-out per Tim...
71107863d54ea7d6f1431717cf862046a2816659
b7d57e803e9990d3a782c730d3d3bdfa6f0c83c2
/src/Backend/Window/GLFW/BackendGLFW.cpp
34ed1921ca68b1f42d0a11b8bf50e94288c79787
[ "Zlib" ]
permissive
texus/TGUI
f114ae502418599ddc8f26cd6ef0b29e12a314d3
3103f6e1279ae40b5a2fac2ef9125d56a97b41bd
refs/heads/1.x
2023-09-05T21:26:16.767847
2023-09-03T18:10:03
2023-09-03T18:11:01
4,234,723
739
140
Zlib
2023-09-03T16:40:26
2012-05-05T15:38:22
C++
UTF-8
C++
false
false
11,937
cpp
BackendGLFW.cpp
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus' Graphical User Interface // Copyright (C) 2012-2023 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. /...
305f1156637af1292e3d80c68b4e8979d5a84e1d
8daf7c920144001fdbe1ca37eacd9237a2fc75b7
/TableToUser/TableToUser/TableToUser.cpp
604f37b37776f0321d3d6b8a89f01b3b90b9b8cd
[]
no_license
MuggleBee/VR-CAD
5d3061981b849a740f2675cfea5c01d525c8e87f
09aec6411805f5dbc33193e5e9bd4e3dedbdca3b
refs/heads/master
2020-05-27T22:27:46.298495
2019-04-11T16:47:48
2019-04-11T16:47:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,697
cpp
TableToUser.cpp
#include "pch.h" #include <iostream> #include <stdio.h> #include <stdlib.h> #include <vector> #include <thread> #include <winsock2.h> #include <Windows.h> #include <WS2tcpip.h> #include <math.h> #include <tuple> #include <time.h> #include <strstream> #include <Windows.h> #include<tchar.h> #pragma comment(lib,"Ws2_32.l...
d7072ffbce02da3637e29b38ea176233198e963c
04a1b008ab612f9002db51404f7d48113ddb8624
/src/Data.h
62ac3ff65e230f8621e08e4904d1e7492e2db746
[]
no_license
liadc9/Taxi
66007930a6a35228fead9c831f147aef3817f0c2
39ef70fd47d097a3fbf5271284e8377043dacba9
refs/heads/master
2021-01-11T20:09:31.859312
2017-01-24T15:29:58
2017-01-24T15:29:58
77,460,754
0
0
null
null
null
null
UTF-8
C++
false
false
822
h
Data.h
// // Created by gal on 16/01/17. // #ifndef TAXI_DATA_H #define TAXI_DATA_H #include "TaxiCenter.h" #include "sockets/Socket.h" class Data { private: int numOfDrivers; TaxiCenter* taxiCenter; int port; Socket* socket; int accept; Driver* driver; public: Data(int numOfDrivers,TaxiCenter...
e1ac1641763d42cc64d13c0b9e0018231817331a
a1df43787df7c31f63e6052f67b4ec41c201e48a
/SRM146_Div2/p1000.cpp
6e407bf7eed54a16507efe83e2faac3028e31726
[]
no_license
BenjaminHolden/TopCoder
c071f03d5da1ba761030d31f71f73130884d9563
f22528acab792a994e9579dc730eeea41ab1045d
refs/heads/master
2021-01-20T03:31:39.277131
2014-09-17T06:49:46
2014-09-17T06:49:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,438
cpp
p1000.cpp
#include <vector> #include <iostream> #include <string> #include <climits> using namespace std; class BridgeCrossing{ public: vector<int> myTimes; enum Side{ START, END }; struct State{ vector<int> start_side; //holds indices of people on start side vector<int> end_side; Side mySide = ST...
1256369f83cf34ae34102a6ad3fc83b6f31ee2dd
f6f0fd9eb64c403a8dad02682a3650ecc7e3f71d
/LAB9.cpp
43586e336245c2a8b75651f84df3952b01bae36d
[]
no_license
MysticJ/LAB9
21b2391ecfd160ea9bfbbc8dc67bca9598d886c6
88a913b50811cdbaf4bc6c090fa4fd0b0b675842
refs/heads/master
2020-03-11T17:47:37.165813
2018-04-22T16:02:31
2018-04-22T16:02:31
130,157,362
0
0
null
null
null
null
UTF-8
C++
false
false
9,674
cpp
LAB9.cpp
//============================================================================ // Name : LAB9.cpp // Author : QIAN Shiyi & JIN Menghe // Version : // Copyright : Your copyright notice // Description : LAB9 //============================================================================ /* Graba-Graba! ...
64e0bac14cdf15134fe772711b793439e22aa32a
57abfa3c84b001ec0af8688723d47f5846c37b3c
/week08/8.2/Shape.cpp
82e8f7b0b374bd994b498a91683625a004301a3e
[]
no_license
mdnam2410/hcmus-oop
808e3d7ffd750c259b360c2a5170018d3fbd4f00
da3f70f0b090e984c1c4eb1b6638059dfc894806
refs/heads/master
2023-07-03T13:51:12.026369
2021-08-01T10:14:21
2021-08-01T10:14:21
316,934,644
0
0
null
null
null
null
UTF-8
C++
false
false
139
cpp
Shape.cpp
#include "Shape.h" #include <iostream> Shape::~Shape() { } void Shape::info() const { std::cout << "This is class Shape." << '\n'; }
08aabeeea3890cdb49b7cac55821ac5dcf35f6db
7e5ab2551f381d178e306884a24d99abffb3d089
/src/header.h
b8a4fcdd686b9a4015d8f873520641bf39d08ac8
[]
no_license
sworsman31415926/the_http_client
13beab48f50827044740c93ac45d2bfeaf7f5ced
6db8bb1dd2515d7aca40e95a95d29447f3e35647
refs/heads/master
2023-01-31T07:44:09.801141
2020-12-15T10:23:32
2020-12-15T10:23:32
321,630,644
0
0
null
null
null
null
UTF-8
C++
false
false
2,455
h
header.h
#ifndef HEADER_H #define HEADER_H #include <iostream> class Header { public: Header(); void setHost(std::string host); void setPath(std::string path); void addVariable(std::string variable,std::string value); void addCookie(std::string variable,std::string value); ...
ce2c2c7ccec4f4ffb3607fb411289a20d6ddb4bf
47da6d55a98505d8e880611bdbeb6aee2be95921
/ASC7/F_fei.cpp
1a0f098de618ac28f38e1aaaa313630121a77b71
[]
no_license
Totoro97/Andrew
a0c8c90fc7e6f72ec45f89b175299df9017062b1
0b0ed207dac6437a93eceabb919e49594403aa7f
refs/heads/master
2021-01-10T15:16:30.933521
2016-09-06T00:38:01
2016-09-06T00:38:01
52,795,203
0
0
null
null
null
null
UTF-8
C++
false
false
2,876
cpp
F_fei.cpp
#include <cstdio> #include <cstring> #include <cmath> #include <algorithm> #define S(a) ((a) * (a)) #define eps (1e-10) using namespace std; const double pi = acos(-1); struct point { double x,y; point (double x = 0,double y = 0) : x(x) , y(y) {} void read() { scanf("%lf %lf",&x,&y); } }; point operator + (point...
74bdf312e2663db6ec9a99f06987195a81dcc903
b8af6e912a5809bb426f3efe835955f8cd2c98b5
/StudentManager/shipai.h
338def378e61daeab73ab4e49f21f10c8ca0bbd5
[]
no_license
DICTATOR666/Basic-Student-Manager
801725642a648434dd217b10ce4818fe0df2dea3
221da44a27467cb4c2610985a4f303238bbfe08d
refs/heads/main
2023-05-04T01:31:39.807874
2021-05-24T10:57:13
2021-05-24T10:57:13
370,315,326
0
0
null
null
null
null
UTF-8
C++
false
false
295
h
shipai.h
//石牌校区学生 #pragma once #include<iostream> using namespace std; #include"student.h" class Shipai :public Student { public: Shipai(int id, string name, string major, int cId); //构造函数 void ShowInfo(); //显示个人信息 string GetCampusName(); //获取专业名称 };
16622d77560144e068a595942e87ba6be45d0db2
371d965e314f385c0f1fa99c0a0f45d0f5c74c73
/utils/unit_tests/main.cpp
db45a3dc5c9161fa33d52a67ef56e6ac163b9f56
[ "MIT" ]
permissive
orion-project/orion-qt
d9a833911efa7392d9ac3e3df313bd3f2e458d51
85388975fc7da430c6cb16f5f5ab47ca45321e32
refs/heads/master
2023-08-22T22:28:07.056983
2023-08-09T14:59:24
2023-08-09T14:59:24
69,646,682
8
6
null
null
null
null
UTF-8
C++
false
false
338
cpp
main.cpp
#include "testing/OriTestManager.h" #include "tests/orion_tests.h" #include <QApplication> int main(int argc, char* argv[]) { QApplication app(argc, argv); // It is used as settings storage location. app.setOrganizationName("orion_examples"); return Ori::Testing::run(app, { ADD_SUITE(Ori::Te...
b9a238fd8786e51099e66fc9ecfbbf85a3151dfd
8aad400620b0a65d0c37e467b94c398e20ff5ce0
/gui.cpp
ebb751ae7ed5c7b1cdf4ba109b6fdac4d499b3a9
[]
no_license
WWU-cptr143-sprouts/sprouts
48e5b6f527618d50ee8cad8bc72c540b7ac92594
eba879ec5ba45bba2996c95e97040b8954adf9fc
refs/heads/master
2020-04-05T18:59:11.333492
2014-06-11T16:21:58
2014-06-11T16:21:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,966
cpp
gui.cpp
#include "gui.h" /************** *Description: *Input: *Output: **************/ unordered_map<shared_ptr<GUIContainer>, weak_ptr<GUIRunner>> * GUIRunner::runners = nullptr; void GUIRunner::makeRunners() { if(runners == nullptr) runners = new unordered_map<shared_ptr<GUIContainer>, weak_ptr<GUIRunner>>...
855e050ffd4ec1bb6cd661d047c10e2ccd9e60f2
dc8e0ffa5a0da3059849440a2cff05a7a9428ad3
/PixelTrigonometry/src/testApp.cpp
772ca8177eefa998274d6dc45fbb0ba91290ff1a
[]
no_license
martoo6/ofStuff
a4922b709f9e8bfdf5fa91e653b2902c84383105
976da1a1a27ae9a022d8cb00356d6b3a37a82da2
refs/heads/master
2020-04-01T23:12:06.297904
2013-09-12T22:19:36
2013-09-12T22:19:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,730
cpp
testApp.cpp
#include "testApp.h" //-------------------------------------------------------------- void testApp::setup(){ img.allocate(ofGetWidth(),ofGetHeight(), OF_IMAGE_COLOR); } //-------------------------------------------------------------- void testApp::update(){ } //--------------------------------------------------...
67348bb18ea31acc7dfc69720591625446d3a92c
7aacdd31e65c81293b156d3b4beed28289152e13
/bluetooth_and_ultrasonic_hc_with_6_motors1.ino
4a60df395b5289e14f78429ceddc137774ee9c6d
[]
no_license
odaifarhat/Project_Electronics_Bluetooth-and-Ultrasonic-HC-with-6-Motors
b66e6fac02906ef850c77dfb906125b90c328901
fad265f2b9400c7507405a3fa706355ad39cb4d1
refs/heads/main
2023-05-31T18:40:10.722151
2021-07-07T18:23:54
2021-07-07T18:23:54
383,873,848
0
0
null
null
null
null
UTF-8
C++
false
false
2,093
ino
bluetooth_and_ultrasonic_hc_with_6_motors1.ino
/* July 7/7/2021 By Eng.Odai Farhat. Project_Electronics_Bluetooth-and-Ultrasonic-HC-with-6-Motors. Define a start for each engine. Programming three coordinated arm movements robot arms. */ #include <Servo.h> // char inputByte; //Bluetooth Servo servo1,servo2,servo3,servo4,servo5,servo6; in...
54aa7a273d4da3554752797fb393f76ed03dfb22
f072254ddbcf9d7d5b8c91f31019bcd47e3db1ad
/codechef/c++/exit.cpp
d070f5af760913486f30da4586df25891726ef30
[]
no_license
nitishkumar07/Competitive-Programming
87389fac93a525a84dcca882a982ff573599f222
020c70b6e4e6a747524eefd841968cda2c9a7af8
refs/heads/master
2023-01-23T06:03:00.480202
2020-12-02T10:39:32
2020-12-02T10:39:32
292,838,022
0
0
null
null
null
null
UTF-8
C++
false
false
203
cpp
exit.cpp
#include<bits/stdc++.h> using namespace std; int main() { int t=1,n; while(t>0) { cin>>n; if(n==42) exit(0); else cout<<n<<"\n"; } return 0; }
2880a0ef813e3a25069f3ade3adf8ece05f4d9e4
4ab081170168cf8fa9af875842c2f62a4ec08abb
/graph/Stoer_Wagner.cpp
684586dd298fb02c94223076854b7643d3e0820f
[ "MIT" ]
permissive
wangchaohui/lib
be32e1ab6bd3468af62d4c27024fccbf521cddf8
762e7bedad895b3a271c9d52aa9367a83e2ddd35
refs/heads/master
2021-01-21T12:39:34.857850
2014-12-25T07:47:48
2014-12-25T07:47:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
928
cpp
Stoer_Wagner.cpp
#include <stdio.h> #include <string.h> #define maxn 400 #define maxw 2000000000 int g[maxn+1][maxn+1]; int cost[maxn+1]; int n; int Stoer_Wagner() { int ans=maxw,i,j,m,mn,pre,t; while(n>1) { for(i=1;i<=n;i++)cost[i]=0; mn=-1; for(i=1;i<=n;i++) { pre=mn;m=-maxw; for(j=1;j<=n;j++)if(cost[j]>m){m=cost[...
84b2178be34b42324611adf237c19feaa5a82a77
b46470f4a770f582d12146e1dd0f8d8935826f55
/lib/mac_layer/pdu/mpdu.cpp
3923ee82824e6d87930127071d62945306fb6541
[]
no_license
AlbertaSat/ex2_sdr
29b91d6793a75bd2b1b5a79f12a21c7b894b6e28
aa9fff79dc2fcb615a9035d3ddd16ea802174acc
refs/heads/master
2023-08-16T13:48:39.590266
2023-04-26T19:27:55
2023-04-26T19:27:55
373,630,507
3
3
null
2023-04-26T19:27:57
2021-06-03T20:17:45
C++
UTF-8
C++
false
false
4,933
cpp
mpdu.cpp
/*! * @file mpdu.cpp * @author Steven Knudsen * @date May 25, 2021 * * @details The MPDU class. * * @copyright University of Alberta, 2021 * * @license * This software may not be modified or distributed in any form, except as described in the LICENSE file. */ #include "mpdu.hpp" #define MPDU_DEBUG 0 // set...
bd8f0e5ac568e91a06653d3b10eb24655a3c1342
da9c4798a6e30152382eb1ba876718b51b9bd4f2
/leetcode-cn-cpp/leetcode-cn-120/main.cpp
928fc9b6782c686ff5858f7f77cd111b8616f2d8
[]
no_license
zivyou/labofziv
cb2b51f48b3315a8f408eafa940fdc04e1797bfa
e0319d6bc1bbb417f49275bdd07c28019e4b4089
refs/heads/master
2023-08-17T03:10:05.615780
2023-08-07T06:42:05
2023-08-07T06:42:05
6,417,825
0
0
null
null
null
null
UTF-8
C++
false
false
1,195
cpp
main.cpp
#include <iostream> #include <vector> using namespace std; class Solution { public: int minimumTotal(vector<vector<int>>& triangle) { if (triangle.size() <= 0) return 0; int **dp = new int*[triangle.size()+1]; cout<<"OK"<<endl; for (int i=0; i<triangle.size(...
6f89e96218ca8b3641207796cb91325d2245a6ba
890cae9ca70d12d34924f399ed34f1dee9357f82
/96A_Football.cpp
44aea8f2e7069318a5392d82e4ffa4fdbb3d607b
[]
no_license
UrvashiKishnani/codeforces
0a7a8a41987d629b090fdf8bc09d5fed274cab26
97aeb7138e35be8f4d2d2f65e974bb634be0b92f
refs/heads/master
2020-04-04T01:09:02.572089
2019-06-14T19:39:07
2019-06-14T19:39:07
155,669,751
3
1
null
null
null
null
UTF-8
C++
false
false
505
cpp
96A_Football.cpp
#include <iostream> using namespace std; int main() { string a; int i,m=0,ct=1,b; cin>>a; b=a[0]; for(i=1;a[i]!='\0';i++) { if(a[i]==b) ct++; else { if(ct>m) m=ct; ct=1; ...
e1e4ae7a1a2dcdc934bc693fca1116ac3ed53f9d
39fe085377f3c7327e82d92dcb38083d039d8447
/core/sql/optimizer/MvRefreshBuilder.h
dea5fdc07a99df836df15520df4c529a528381f6
[ "Apache-2.0" ]
permissive
naveenmahadevuni/incubator-trafodion
0da8d4c7d13a47d3247f260b4e67618c0fae1539
ed24b19436530b2c214e4bf73280bc8e3f419669
refs/heads/master
2021-01-22T04:40:52.402291
2015-07-16T00:02:50
2015-07-16T00:02:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
31,563
h
MvRefreshBuilder.h
/********************************************************************** // @@@ START COPYRIGHT @@@ // // (C) Copyright 2003-2014 Hewlett-Packard Development Company, L.P. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You m...
7935d5fb37e35e2db4d7e8786d6610f9de4f7dc3
41c02ba28693bc255df72861145e8edd8dfcb3d8
/c++ DroneSim/droneex.cpp
45b482202b80e8fd2c62eca53fbf1113264dd7e2
[]
no_license
nevepura/drone-simulator
828a85f9d83a049b9b614d8ac7ca400c5c7d8d2a
45bab51a05ccf5daec2323663706ecf5ff4773f0
refs/heads/master
2020-08-30T23:09:44.832189
2019-10-30T12:41:40
2019-10-30T12:41:40
218,516,657
0
0
null
null
null
null
UTF-8
C++
false
false
386
cpp
droneex.cpp
#include "droneex.h" #include "eccezione.h" #include <cmath> using std::abs; droneEx::droneEx(bool o, int b, int x, int y):drone(o,b,x,y){} string droneEx::getName()const{ return "Drone Ex"; } coord droneEx::move(int x, int y){ if(abs(x)==1 && abs(y)==1 ){ return drone::move(x,y); } else{ ...