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
748c59add0274a66e3736a8fa16431084b1b4a4f
b14138c0e1b13dcd02fe86f2a36513de5a39be48
/ab5067_balancewindow.cpp
d25b82441ccaa39ae4c4ff19910a908166795dab
[]
no_license
arshbansall/Banking
690876936a0b45be801890d06e0664db51cd136f
b00d756111d6e1fe63d56d94f9d032e45dc6052b
refs/heads/master
2022-07-13T17:26:22.778898
2020-05-08T21:44:19
2020-05-08T21:44:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
677
cpp
ab5067_balancewindow.cpp
/* Arsh Bansal 3 May 2020 Revision History */ #include "ab5067_balancewindow.h" #include "ui_balancewindow.h" BalanceWindow::BalanceWindow(QWidget *parent, Customer* customerIn) : QDialog(parent), ui(new Ui::BalanceWindow) { ui->setupUi(this); customer = customerIn; double checkingBalance = bank...
30261119c4f0dc8c4c57338685e0b7bbdde5480f
71e9598ca83775932b81e1a93cc2b9e2793d9329
/Classroom.h
f38967958974750c774f6e8a44b3534ede2cca91
[]
no_license
ilias000/Early_morning_reporting_students_to_school
f5bf62c8f2065d6bd76378e41150ae3e726b3c12
da0f44897caead3f091a3a801e8b31aca2daa780
refs/heads/master
2023-03-09T00:41:50.702238
2021-02-18T10:43:27
2021-02-18T10:43:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
603
h
Classroom.h
#ifndef CLASSROOM_H #define CLASSROOM_H #include "Student.h" #include "Teacher.h" #include <iostream> using namespace std; class Classroom { int CclassMax, numberOfStudents; Student **student; Teacher *teacher; public: Classroom(const int); // constructor ~Classroom(); // destructor ...
bec9c5f72090e164cce5c5b38a647da2c42066c4
20c5a9cc71d0592b28261e6865ae2c8c36617f25
/src/OldPathway.cpp
389cb0efad92b8bb3fb60ba20d846cde17d691d4
[ "MIT" ]
permissive
meshula/OpenSteer
178dd10200e480a01ed517bfaa24f08db126a0dc
710432341807f5597b62fa168f194f9ef2640c8e
refs/heads/master
2023-04-15T21:59:39.327778
2022-03-10T07:47:41
2022-03-10T07:47:41
16,267,264
281
53
NOASSERTION
2023-03-31T06:44:18
2014-01-27T02:28:11
C++
UTF-8
C++
false
false
9,254
cpp
OldPathway.cpp
// ---------------------------------------------------------------------------- // // // OpenSteer -- Steering Behaviors for Autonomous Characters // // Copyright (c) 2002-2005, Sony Computer Entertainment America // Original author: Craig Reynolds <craig_reynolds@playstation.sony.com> // // Permission is hereby grante...
25628699a18c377d2fbea29a4a003920aa3209fd
9c0fc36cc1f0d513c83ac1a1aeb121dc160278c9
/rtmp_flv/FlvTag.h
a66577e1375817b90bb720f3de8d497f928a7d93
[]
no_license
wangfuli217/MyTinyTests
93f9539018b7904f737ee8c0ced7133113817e0a
c09023a176039ead83b44469d1cff4b00e689776
refs/heads/master
2022-04-05T04:22:00.271313
2020-02-22T08:49:39
2020-02-22T08:49:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
932
h
FlvTag.h
#ifndef FLV_TAG_H_ #define FLV_TAG_H_ #include "FlvCommon.h" #include "FlvTagHeader.h" class FlvTagData{}; enum FlvTagType{ kFlyTagTypeAudio = 8, kFlyTagTypeVideo = 9, kFlyTagTypeScriptData = 18, }; class FlvTag : public FlvBase{ public: explicit FlvTag(char* buff, int len); ~FlvTag(); public:...
6d30f4323c2479a067c8bb4ed0a44e7526b8fe1d
2d27054c1ee0202302f40094b9c21cf43a455318
/appendix/tools/Make/aCode/test/MOCK_glut.cpp
e8755205404181b031c0c83e31f62679f25007d0
[]
no_license
rblack42/cosc2325.sp19
909bafb65c5a3094b8fed076baad70dd00f462f9
1cd5b2c0f60041ec6d55bbfc7d315e0c74013fca
refs/heads/master
2020-04-16T04:59:53.244728
2019-01-30T13:40:17
2019-01-30T13:40:17
165,289,261
0
0
null
null
null
null
UTF-8
C++
false
false
556
cpp
MOCK_glut.cpp
#include <iostream> using namespace std; int state_x, state_y, state_w, state_h; void init(void) { cout << "running mock init function" << endl; } void getState(void) { state_x = 50; state_y = 50; state_w = 640; state_h = 480; } int getScreenX(void) { //!<return current screen X return sta...
0b9247c13e34eaa739873891ec18e3f9719de165
a6cd82aee15bfa7667a0cbe90bb4f8970c640a8e
/ch07/AssocGen.h
225491c7895f79136c3ada035bca7616833e1148
[]
no_license
wangkendy/TiCpp
0d07e9c5aebe3d76e4b2f4bc5c0368f8c999a7bb
9466cdfd0aaa91a636dcacc957b06a83fe532d36
refs/heads/master
2016-09-05T17:50:53.772495
2013-03-14T07:33:34
2013-03-14T07:33:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
411
h
AssocGen.h
//: C07:AssocGen.h // The fill_n and generate_n equivalents // for associative containers. #ifndef __ASSOCGEN_H__ #define __ASSOCGEN_H__ template<class Assoc, class Count, class T> void assocFill_n(Assoc& a, Count n, const T& val) { while (n-- > 0) a.insert(val); } template<class Assoc, class Count, class Gen> voi...
de3a09af008e2915bb6446e1f4958fe5ae360fbe
f01260fb2fd187295c91dcba48c6283497c2b38b
/server/sources/Server/ConvInfo.cpp
edf24e37c274f71258d7b8bc1ba8bdde12d2394a
[]
no_license
loic-lopez/cpp_babel
7b92414d7643543eb72a2adfc2067d423762085b
e95a44e318f5605447e232004b39dc23fb2033ad
refs/heads/master
2020-04-24T13:02:38.117974
2019-02-22T02:24:05
2019-02-22T02:24:05
171,974,745
0
0
null
null
null
null
UTF-8
C++
false
false
1,302
cpp
ConvInfo.cpp
// ██████╗ █████╗ ██████╗ ███████╗██╗ ██████╗ ██╗ ██╗███████╗██████╗ // ██╔══██╗██╔══██╗██╔══██╗ ██╔════╝██║ ██╔═══██╗██║ ██║██╔════╝██╔══██╗ // ██████╔╝███████║██████╔╝ █████╗ ██║ ██║ ██║██║ ██║█████╗ ██║ ██║ // ██╔══██╗██╔══██║██╔══██╗ ██╔══╝ ██║ ██║ ██║██...
19b38d29ce439e94cecf68ac7b5f87a3cdbee57b
9bdc01fddc660053e23eaf89302f9b8e5daaefdf
/src/elements/roadmap.cpp
ce2e795a53f9c67f9f3d61a8ca0101a5a122bb1e
[]
no_license
hello-starry/MotionExplorer
51d4ca1a1325567968ac2119de7c96b0345e5b10
01472004a1bc1272ce32a433fe6bde81eb962775
refs/heads/master
2023-08-14T21:20:22.073477
2021-09-07T17:51:20
2021-09-07T17:51:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,561
cpp
roadmap.cpp
#include "roadmap.h" #include "gui/common.h" #include "common.h" #include "planner/cspace/cspace_multiagent.h" #include <ompl/multilevel/datastructures/PlannerDataVertexAnnotated.h> #include "planner/cspace/validitychecker/validity_checker_ompl.h" #include <boost/graph/dijkstra_shortest_paths.hpp> #include <boost/forea...
f854ec5edceda4b554933e322dfd926660eb53e0
f80d19d58816c14cf51b6457d017ccb1b01918ea
/src/world/chunk.cpp
757464f3924f9b3d8f6669d27dbd2995801a6eb7
[]
no_license
piochelepiotr/minecraftClone
378a277d88d35ab36f1ef517598800b99355e6c5
c4389f5f4f7a8164658e7943050119a0508dcd00
refs/heads/master
2021-05-11T02:53:44.298323
2018-11-03T02:24:20
2018-11-03T02:24:20
117,897,006
0
1
null
null
null
null
UTF-8
C++
false
false
8,689
cpp
chunk.cpp
#include "chunk.h" #include <iostream> #include "toolbox/perlinnoise.h" using namespace std; const int Chunk::m_numberRowsTextures = 2; const int Chunk::WORLD_HEIGHT = 5; Chunk::Chunk(int startX, int startY, int startZ, ModelTexture *texture, Loader *loader) : Entity() { m_position = glm::vec3(startX, startY, st...
c3324a802738ed4ad86a6526c672a3e3bdbbc918
269011a0a9d9acb6c4faf36ef4e5c9ddbcbec6f8
/test/tmvaEvaluator.cc
257195891c5358728745625183095fee558fa228
[ "MIT" ]
permissive
RemKamal/ROOTDataHelpers
77858a65d40834a8f0e8c38bfb400c53c1291596
e3cfe3fd284412c1a97db8fbe323210fe2aa301b
refs/heads/master
2021-01-21T23:29:24.649372
2015-08-24T12:06:56
2015-08-24T12:07:15
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,782
cc
tmvaEvaluator.cc
#include <boost/property_tree/ptree.hpp> #include <boost/property_tree/ini_parser.hpp> #include <TFile.h> #include <TTree.h> #include <TMVA/Factory.h> #include <TMVA/Reader.h> #include <interface/AutoTree.hh> #include <string> #include <sstream> #include <vector> using namespace std; int exit_with_message(const char...
e186f0fa42992d1c96f308b945df75b0ebad4482
3ea34c23f90326359c3c64281680a7ee237ff0f2
/Data/3536/H
599b0e5345fb6532c40c8bcf4261b89cf8a98202
[]
no_license
lcnbr/EM
c6b90c02ba08422809e94882917c87ae81b501a2
aec19cb6e07e6659786e92db0ccbe4f3d0b6c317
refs/heads/master
2023-04-28T20:25:40.955518
2020-02-16T23:14:07
2020-02-16T23:14:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
92,217
H
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | foam-extend: Open Source Cstd::filesystem::create_directory();FD | | \\ / O peration | Version: 4...
17125c0c756408efe78de143ddc7f1606d3454b6
f230d1d5398189bf2e36f6f3436a291b170df1af
/hpp/lighting.h
481657202814705180ca76fd24720ed385af8ab9
[]
no_license
Madoww/Hide_From_The_Dark
3f96c922a4a164123a9faadb733964b6d43bd2b9
e8c9358b11abcd9c0a717b67fe38116c88c03aaf
refs/heads/master
2020-09-13T11:38:29.725072
2019-11-19T18:46:40
2019-11-19T18:46:40
222,764,477
0
0
null
null
null
null
UTF-8
C++
false
false
4,539
h
lighting.h
#ifndef LIGHTING_H #define LIGHTING_H #include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include <iostream> #include <fstream> class lighting { public: bool fire = false; float scale = 0; lighting(std::vector<sf::Sprite>&treeshadows) : m_layer() { burnt.loadFromFile("Sources/Textur...
16c4548a48724c82ce7a35f4433ecba6c027c26a
3f3095dbf94522e37fe897381d9c76ceb67c8e4f
/Current/OBJ_2nd_Find_Fossil.hpp
a999ae44be2d24eeb3f0c3f864cc8730ef34bcac
[]
no_license
DRG-Modding/Header-Dumps
763c7195b9fb24a108d7d933193838d736f9f494
84932dc1491811e9872b1de4f92759616f9fa565
refs/heads/main
2023-06-25T11:11:10.298500
2023-06-20T13:52:18
2023-06-20T13:52:18
399,652,576
8
7
null
null
null
null
UTF-8
C++
false
false
158
hpp
OBJ_2nd_Find_Fossil.hpp
#ifndef UE4SS_SDK_OBJ_2nd_Find_Fossil_HPP #define UE4SS_SDK_OBJ_2nd_Find_Fossil_HPP class UOBJ_2nd_Find_Fossil_C : public UOBJ_FindItems_Base_C { }; #endif
9b8685d4bd9c2539a6d5c857f63904b62f8579d0
0954958443d9f01c60258f5689249440316174dc
/Knighto/src/Player.cpp
196bee87f5b9267fc7c1c534ead5ea588c1a117d
[]
no_license
Etherion33/Knighto---2D-Platformer
f3d9767c71501a71702bcae7fd877ee5fcd4ab31
57bec58e233a916600527ddaade0e19f68e3063e
refs/heads/master
2021-09-06T23:57:14.919598
2018-02-13T19:05:54
2018-02-13T19:05:54
109,484,175
0
0
null
null
null
null
UTF-8
C++
false
false
2,211
cpp
Player.cpp
#include "../include/Player.h" #include <iostream> Player::Player(Entity_Manager* entmgr,const sf::Texture& spritesheet) : Character(entmgr,spritesheet) { this->m_enType = EntityType::Player; this->m_Name = "Knighto"; this->m_health = 100; this->m_maxVelocity = { 100.f,150.f }; this->m_Speed = { 512.f,50.f }; t...
69e44d6dc58f0c7b640a1757476739fa310f3f1f
86dbc997ec774dcdfb2600a0a6973514faebc572
/src/ProjectSettings.h
cc482e0157f85ca7471a1dfb9cc0948d8c63d9ed
[]
no_license
w23/stameska
a19eb65487fc525112eb77cdd074bfdbd9092bfc
1d6c2db1e9117d5051541eae401ebceece2e93e2
refs/heads/master
2023-05-31T09:49:18.184744
2022-05-02T06:30:19
2022-05-02T06:30:19
167,215,751
6
2
null
2022-05-01T23:25:09
2019-01-23T16:33:02
C
UTF-8
C++
false
false
557
h
ProjectSettings.h
#pragma once #include "Export.h" #include "Expected.h" #include <string> struct ProjectSettings { struct { std::string config_filename; } video; struct Audio { int samplerate = 0; int channels = 0; int samples = 0; int samples_per_row = 0; int pattern_length = 16; float *data = nullptr; } audio; s...
e880f3a70372f660523c0b2f659f73e56252fe1b
1df0f2dd40099cdc146dc82ee353e7ea4e563af2
/shared/h5/HAsset.h
27818f3363d599c55300dff5a4eeab8e3b3a61ef
[]
no_license
chuckbruno/aphid
1d0b2637414a03feee91b4c8909dd5d421d229d4
f07c216f3fda0798ee3f96cd9decb35719098b01
refs/heads/master
2021-01-01T18:10:17.713198
2017-07-25T02:37:15
2017-07-25T02:37:15
98,267,729
0
1
null
2017-07-25T05:30:27
2017-07-25T05:30:27
null
UTF-8
C++
false
false
1,366
h
HAsset.h
/* * HAsset.h * julia * * Created by jian zhang on 4/1/16. * Copyright 2016 __MyCompanyName__. All rights reserved. * */ #include <HBase.h> #include <Boundary.h> namespace aphid { template<typename T> class HAsset : public HBase, public Boundary { int m_active; public: HAsset(const std::string & name...
4f69b6a18ed69c514ef1583c90ca8bd6b4cb56e5
54ad700aee625c4073cf993a0f468f9954b390f3
/unittest/UMEUnitTestSimd1024b.cpp
12fd80256b7fef54bc8d3c75cc24d2d542d009d9
[ "MIT" ]
permissive
sparks-code/umesimd
ed2b05d54b4b7dc7d8489733be79cc2f7a0cfa92
6f72452743151b76ecb9ddf4dd696d263b45cb74
refs/heads/master
2023-03-16T05:48:13.475265
2018-01-19T08:24:44
2018-01-19T08:24:44
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,418
cpp
UMEUnitTestSimd1024b.cpp
// The MIT License (MIT) // // Copyright (c) 2015-2017 CERN // // Author: Przemyslaw Karpinski // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including wit...
d52e79e1eb255e25cc36a380e856a189af69c9fb
2417cfa64db3dcdc20e7434a4c7916f70dffe6d7
/mpi_purposive_sampling/mpi_FCM.cpp
aba1ae3a8f735ae38feef1f96a2710dcc8be079a
[]
no_license
lipe12/websevice
985c58736abc18d55095d1a0c7123128a24f4d92
a06f602c43ce73f573b7f1d2469d9370fa144f02
refs/heads/master
2021-01-19T06:13:54.286914
2020-02-06T03:22:27
2020-02-06T03:22:27
61,343,122
0
1
null
null
null
null
UTF-8
C++
false
false
16,705
cpp
mpi_FCM.cpp
/*算法描述: FCM聚类算法采用的是给定类的个数K,将N个元素(对象)分配到K个类中去使得类内对象之间的相似性最大,而类之间的相似性最小 */ #include "mpi_FCM.h" #define INF_T 0.01 mpi_FCM::mpi_FCM(int number,int maxIteration,float error) { this->number = number; this->maxIteration=maxIteration; //this->tolerance=0.65; //2.5m //this->tolerance=0.45; //1m this->tolerance=err...
cfc74c2b03ac9f8b9983046f8739a327411ca70c
b5d788437be09c1ab7bb34ae84070ed0bce35d31
/src/latex/tikz/TikzElementConfiguration.cpp
bf9d690711a4d279023f5a256b914bd755b1d47f
[ "LicenseRef-scancode-generic-exception", "BSD-3-Clause", "Apache-2.0" ]
permissive
wlike/sfcpp
94ee38258edc826aed702a3c793e22be66d9b84a
b929419b13c35fff199c6c65e87ecffae9963cfc
refs/heads/master
2021-07-14T07:34:37.097587
2017-10-18T08:29:27
2017-10-18T08:29:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,468
cpp
TikzElementConfiguration.cpp
/* Copyright 2017 The sfcpp Authors. 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 required by applicable law or agreed...
d66c591b66a46ef1709c22a520abcb1d7cf54e21
4dbfd2b70fa7ea4e4af4b19bbe2ecaa620d70738
/Externals/MayaDataModel/include/MayaDMBulge.h
a9307e4267bfdf5796b5b4fef0d7931c9ff55cec
[ "MIT" ]
permissive
RemiArnaud/OpenCOLLADA
e347f5ff7cbe886490ba10c7828e5b6038060021
cdcd7e7131c640842c99b5066c7320d2ac4899a0
refs/heads/master
2023-08-21T09:58:01.559798
2023-08-06T08:38:52
2023-08-06T08:38:52
6,890,659
15
2
null
2023-08-06T08:38:53
2012-11-27T20:48:34
C++
UTF-8
C++
false
false
1,287
h
MayaDMBulge.h
/* Copyright (c) 2008-2009 NetAllied Systems GmbH This file is part of MayaDataModel. Licensed under the MIT Open Source License, for details please see LICENSE file or the website http://www.opensource.org/licenses/mit-license.php */ #ifndef __MayaDM_BULGE_H__ #define __MayaDM_BULGE_H__ #include ...
f32fabece7c49f2b7fd43e53e806c1442557c9ae
68a6f31644fd40c3d95e751062b8feb214dd2c9f
/include/tasks/queues/types/Transaction.h
2f9ba6e78a4a0a16e40235e0ddd7b4c0877b7a55
[]
no_license
skelstar/Esk8.Board.Controller
3d58a8fff43411d84279b5b69a4ff664cfd3f0ac
97620500550ca1f31b44d42463abd2a3dfe6bbc5
refs/heads/master
2021-08-09T20:19:23.033826
2021-06-28T03:56:58
2021-06-28T03:56:58
215,162,864
0
0
null
2021-06-28T03:56:58
2019-10-14T23:24:09
C
UTF-8
C++
false
false
2,339
h
Transaction.h
#pragma once #include <VescData.h> #include <QueueBase.h> #include <elapsedMillis.h> #include <shared-utils.h> class Transaction : public QueueBase { public: enum SourceType { CONTROLLER, BOARD_RESPONSE, }; static const char *getSourceType(SourceType type) { switch (type) { case CONTROL...
cf1c641128079375db897a78c32f0622a6215b77
da5401ee4c48180f03779d89493855df30078a6c
/Leetcode/others/59.螺旋矩阵Ⅱ.cpp
74e4febab6dbb1aa517568b476cfe3a82f65cfe6
[]
no_license
whime/dataStructure-algorithm
ca0e00dd6bd13a4d58e47c242d6cef40a98c5f5c
ae672475171012b3587c9048f174518c2b5d7bf8
refs/heads/master
2021-09-21T21:26:25.800137
2021-08-29T02:03:56
2021-08-29T02:03:56
175,344,988
0
0
null
null
null
null
UTF-8
C++
false
false
901
cpp
59.螺旋矩阵Ⅱ.cpp
/** 给定一个正整数 n,生成一个包含 1 到 n2 所有元素,且元素按顺时针顺序螺旋排列的正方形矩阵。 */ class Solution { public: vector<vector<int>> generateMatrix(int n) { vector<int> row(n,0); vector<vector<int>> res(n,row); if(n==0) return res; // int count=pow(n,2); int num=1; int left=0,right=n-1,up=0,down...
471668bf2a8401139938d4230e4ea71ed6aff5f4
c88512967628dffb32ba28912480c9fb5344d143
/Exercise_4.3/VanillaMain_Exr_4_3.cpp
b107709f7448e8ce52ef381d7d88f47d7cc19f9a
[]
no_license
cycbill/Cpp_Design_Patterns_and_Derivatives_Pricing
fd31a6cb645588de51eb4516316331526451401c
c44df0e5791b7eb3ea53a3cb7fb3fc7f380d6953
refs/heads/master
2020-07-13T07:42:11.233552
2019-10-03T01:48:48
2019-10-03T01:48:48
205,035,734
1
0
null
null
null
null
UTF-8
C++
false
false
1,538
cpp
VanillaMain_Exr_4_3.cpp
/* requires PayOff3.cpp, Random1.cpp, SimpleMC6.cpp Vanilla3.cpp Parameters.cpp */ #include "../_headers/SimpleMC6.h" #include "../_headers/Vanilla3.h" #include "../_headers/Parameters.h" #include "../_headers/Arrays.h" #include "PiecewiseConstant.h" #include <iostream> int main() { double Expiry; double St...
5f41fb80331fa501cc42c4be41a55149f89a8474
042983c6b28fd12d37652bc90390b0e59ee71c4d
/source/images/filters/classifiers/GraphVertexPythonSVMClassifier.tpp
e5d1c90d435b34f16dc1475295d7f9371485c755
[]
no_license
cigarfish/latticeCollagen
26718aae8cb5a9c6ade428d1e6fd47abe3b71348
74ac165a2e63f8f0aa7501ce8c6568ac8a407d9e
refs/heads/master
2020-03-21T23:07:33.057342
2018-10-11T16:03:01
2018-10-11T16:03:01
139,167,691
0
0
null
null
null
null
UTF-8
C++
false
false
11,582
tpp
GraphVertexPythonSVMClassifier.tpp
/////////////////////////////////////////////////////////////////////////////////////// // // // File Name: GraphVertexPythonSVMClassifier.tpp // // ...
bbc068ba3a658a632a4c52f4ec0f2dc6abf1935f
b9a6e74c99728874dc9ba7bbb705ad76d01394ea
/Castlevania/Weapons.cpp
e8014d5fe49bd3347deaaa637de0f2aeaacebeb6
[]
no_license
tudautroccuto741/Castlevania
ce416f28d9fbf4179afbf4d71e3b473cd9de566f
28417f18151ff6cca8376d5784dcdbb968657172
refs/heads/master
2021-04-10T15:06:07.032534
2020-08-07T12:59:22
2020-08-07T12:59:22
248,913,413
0
1
null
null
null
null
UTF-8
C++
false
false
2,767
cpp
Weapons.cpp
#include "Weapons.h" #include "debug.h" #include "Simon.h" #include "Knife.h" #include "Boomerang.h" #include "Aquafina.h" #include "Axe.h" CWeapons * CWeapons::__instance = NULL; // Add the corresponding weapon with the weapon name void CWeapons::Add(int weaponName, LPGAMEOBJECT weapon) { weapons[weaponName].push_...
af933676a741f9d9dbc578f36036a15573ed45aa
84ea17552c2fd77bc85af22f755ae04326486bb5
/Ablaze-Core/src/Graphics/Resources/Models/Rectangle.cpp
bdb286f23fbf982cc36fb834d714c2d77027de97
[]
no_license
Totomosic/Ablaze
98159c0897b85b236cf18fc8362501c3873e49f4
e2313602d80d8622c810d3d0d55074cda037d287
refs/heads/master
2020-06-25T20:58:29.377957
2017-08-18T07:42:20
2017-08-18T07:42:20
96,988,561
1
1
null
null
null
null
UTF-8
C++
false
false
1,130
cpp
Rectangle.cpp
#include "Rectangle.h" namespace Ablaze { Rectangle::Rectangle(const String& name, const maths::vec2& size, const Color& color) : Model(name, new VBO(4 * sizeof(Vertex), BufferLayout::Vertex()), new IndexBuffer(6 * sizeof(GLuint)), maths::vec3(size.x, size.y, 0)) { Create(color); } void Rectangle::Create(const...
c695d6a8d529eebac8b32a22ca600d28927e872d
6a913e248eee9921fd6f344bd31f5a936981acf3
/elderstatusdelegate.h
f0d1d39e84ede85a80aa1dae2775f1593bbfee52
[]
no_license
nhosproject/OSProject
96e2efff02a2d74e5b449922dc8a23f58646fe7d
0bc5ef82eb197c942c0a5409342d8de815e80c6c
refs/heads/master
2021-01-01T19:06:39.690654
2014-07-09T00:19:44
2014-07-09T00:19:44
21,601,310
0
1
null
null
null
null
UTF-8
C++
false
false
326
h
elderstatusdelegate.h
#ifndef ELDERSTATUSDELEGATE_H #define ELDERSTATUSDELEGATE_H #include<QItemDelegate> class ElderStatusDelegate:public QItemDelegate { public: ElderStatusDelegate(QObject *parent = 0); void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const; }; #endif // ELDERSTATUSDELEG...
eff09d44d017db95a01f94e4295ec2c444f8c525
aa9bd498c11e91fc6278af31a40d5aa2ad352fe1
/client/src/MiniCMD.cpp
7696affbb96b0067c74338dfc0ae98896b22e274
[]
no_license
timxx/minicmd
225b253042b6cf756fbed98deb14d1d045a359f1
fc0cae3f13a3d028bd6e8eeacb6f0aceefad8d36
refs/heads/master
2020-05-17T18:47:20.750184
2012-03-22T07:15:53
2012-03-22T07:15:53
32,268,019
0
0
null
null
null
null
UTF-8
C++
false
false
56,850
cpp
MiniCMD.cpp
/* ============================================================================ Name : MiniCMD.cpp Author : Just Fancy Project Home : http://code.google.com/p/minicmd/ ============================================================================ MiniCMD, mini commander for Symbian OS phone ...
d9ce9bdafe276de7be03792a4e27008752a2b214
4178f7bf3a27d71aea1f9861287f567e18278675
/Olympick_HaNam/buoi_4.Function.array/bt1.cpp
a7e99434b46d323ae12884e5c5c9eaab858f38e5
[]
no_license
Minglee2018/Olympick-K12
a0fc89c1c94252227251364584fc6365f2e2b097
1e027a08a7b6385af51635773dc8b1c8e9e2b7f8
refs/heads/master
2020-03-29T20:34:07.603638
2019-01-10T19:52:55
2019-01-10T19:52:55
150,318,176
1
0
null
null
null
null
UTF-8
C++
false
false
236
cpp
bt1.cpp
#include<bits/stdc++.h> using namespace std; int n; int main() { cin>>n; int dem1=1; int dem2=2; for(int i=3;i<=n;i++) { if(i%2!=0) dem1+=i; else dem2+=i; } cout<<dem1<<" "<<dem2; }
c9b5e5395efc876ee0f2c2b8e264863bf1fd4452
288324d90ab9e4d247a9cc8b7d21b82c8f1724fc
/UserSide/client.h
15213340124dc0499b69c43d60790c11ab04d069
[]
no_license
natalieberg/AquariumProject
6b87734aaca6e4f2660b8db53c51c150be925181
c5f86e95bc5e242ccacbf57f0088c3c5c93689c8
refs/heads/master
2021-08-28T04:51:02.047462
2017-12-11T08:04:57
2017-12-11T08:04:57
107,388,778
0
0
null
null
null
null
UTF-8
C++
false
false
394
h
client.h
#ifndef CLIENT_H #define CLIENT_H #include <stdio.h> #include <string.h> #include <sys/socket.h> #include <arpa/inet.h> #include <stdlib.h> #include <mutex> #include <queue> #include <string> #include "definitions.h" extern "C" { int connectUDP(); void listenUDP(struct TemperatureStruct *temperatureStruc...
82985808ff1e24c23126c3e5b29b8726290b1873
136b2710349523800dc553e7fe315277e3beb602
/Projects/Engine/src/Engine/Core/ECS/System.h
5c956f0066c20633c54b28929c3962743e39a758
[]
no_license
jonathan2222/VulkanEngine
f5f16daaed2f37f0c78447314c68318da61dd61c
2c3650682ad6c014bc9d560681f33daf251435d1
refs/heads/master
2023-08-28T02:44:01.624870
2021-10-05T14:17:06
2021-10-05T14:17:06
235,889,779
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
389
h
System.h
#pragma once namespace ym { class System { // Can filter which entities will be processed by: // * All — the archetype must contain all of the component types in the All category. // * Any — the archetype must contain at least one of the component types in the Any category. // * None — the archetype must not...
35054028a0cd1d5ea64dbab173d989f2c4149794
070688f1f1e0b29f767061d5901f763743631048
/src/Handler.cpp
1d756e703003339ca7e290997cdb672bc9b0b080
[]
no_license
Aykelith/SFML2-QuadTree
f074414149f9e8aa6cc14cec82b24da955f9f478
084ce2d75b5f2b35a86f8bc4fa8db177af9694af
refs/heads/master
2021-01-02T08:21:04.960257
2014-04-04T18:30:37
2014-04-04T18:30:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,601
cpp
Handler.cpp
#include "Handler.hpp" Handler::Handler(): m_qt(sf::FloatRect(0,0,800,600)) { m_window.create(sf::VideoMode(800,600), "QuadTree"); run(); } void Handler::run() { while(m_window.isOpen()) { sf::Event event; while (m_window.pollEvent(event)) { if(event.type == sf::Event::Closed || (even...
16b35e472d9771b5eae503d399d54430746ee708
e7aa683f6d0331ffbf61d51d98b6d271be92eaee
/University 3rd Year OpenSceneGraph Assignemnt/OSG_Assignement/OSG_Utils/NodePrinter.h
da5502f9dea6ca279d98f705f70e2a5ae231c997
[]
no_license
maxhap/University-OpenGL2.0-OSG
60e8fd9e6b79ef500acc1181f89a87280fb59bf5
e7a1a6c1fbb3716411ce197f18dfd3bcc25c7aeb
refs/heads/master
2016-09-10T14:27:41.775455
2014-09-12T08:42:36
2014-09-12T08:42:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,337
h
NodePrinter.h
#ifndef _NODEPRINTER_ #define _NODEPRINTER_ #include "stdafx.h" #include "NodeFinder.h" using namespace std; template<class T> class __declspec(dllexport) NodePrinter : public NodeFinder<T> { public: NodePrinter( osg::NodeVisitor::TraversalMode mode ) : NodeFinder<T>( mode ) { pLastNode = NULL; _uiLevel = 0;...
223cb911c4c47d2f5cf6004366ffeba0679747c8
a4b6e8c4c5ffffd3c211d7eb8f7338b7a912b23e
/WiiRotationsTest/Main.cpp
49f89aedfa1bddac1ecb7fcfec0b7fe3e7e08385
[]
no_license
daragao/wiiarmctrl
10accbba76319730c76b6d89b19c9c0af05015b2
866cebe943c9fe763db2cd9b0bf2fc9c96d82ea5
refs/heads/master
2016-09-06T06:05:25.008381
2015-03-20T09:50:14
2015-03-20T09:50:14
32,530,925
0
0
null
null
null
null
UTF-8
C++
false
false
2,888
cpp
Main.cpp
/*#include <stdio.h> #include "glWindow.h" //MAIN int main(int argc, char *argv[]) { //-------- printf("\n\n--------- OpenGL :D ---------\n\n"); //glWindow *glWin = new glWindow(argc, argv); return 0; } */ #include <iostream> #include <cstdlib> #include <GL/glut.h> using namespace std; // ...
ea64ccf259d872cb5b10539e52ceb5c89afa1968
6db54cff6d29bbaa597c5c80e0632dac0eb39a26
/source/Ashes/Buffer/StagingBuffer.cpp
fc36ff8d724264b58f0fa275c7a7e4434e5d392e
[ "MIT" ]
permissive
Chaanks/Ashes
62fdcb6aaf558b6b80f18c9961c94f05251362df
e3d2b42b7b3e9aced385e203bbe6badddb2166ec
refs/heads/master
2020-05-19T07:10:07.618947
2019-05-04T10:57:11
2019-05-04T10:57:11
184,881,467
0
0
null
2019-05-04T10:33:32
2019-05-04T10:33:32
null
UTF-8
C++
false
false
21,154
cpp
StagingBuffer.cpp
/* This file belongs to Ashes. See LICENSE file in root folder. */ #include "Ashes/Buffer/StagingBuffer.hpp" #include "Ashes/Buffer/Buffer.hpp" #include "Ashes/Command/CommandBuffer.hpp" #include "Ashes/Core/Device.hpp" #include "Ashes/Core/Exception.hpp" #include "Ashes/Image/Image.hpp" #include "Ashes/Image/ImageVie...
62fc8a559abfbbb1e027c00791e42bb3abe9eb76
8480798c94a29a3c12716bc898bc9da91d8fd76a
/Week_11/Screen_saver.hpp
25adfaa803f5293b0fe8a74728cca741765b2723
[]
no_license
Azurifle/fantasyworld
d623e908d66f69b75573f59d6026482315be4e35
358a48c20e1bd4e01446f09122627cd28a5981f1
refs/heads/master
2020-03-15T16:09:39.131840
2018-07-15T18:49:32
2018-07-15T18:49:32
132,229,464
0
0
null
null
null
null
UTF-8
C++
false
false
898
hpp
Screen_saver.hpp
#ifndef G6037599_SCREEN_SAVER_HPP #define G6037599_SCREEN_SAVER_HPP #pragma once #include "Delta_time.hpp" namespace G6037599 { class Star; class Screen_saver final { public: static void run(); private: static Screen_saver m_instance_; static GLFWwindow* glfw_window(); static void key_callb...
35eab362ef40e200cf038f6d5e01aa1dd2527a69
c04f7b920d7e889af9844be494af1cb0b1daaad9
/library/include/darcel/reactors/builtin_translator.hpp
dbc96f1acd05b82c2a1aca40d9f199533ce0d516
[ "MIT" ]
permissive
lineCode/darcel
0ce492489ea2b916fbbd0c2adbc9012327066325
a9c32989ad9c1571edaa41c7c3a86b276b782c0d
refs/heads/master
2021-10-11T12:57:32.827574
2019-01-25T21:42:34
2019-01-25T21:42:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,589
hpp
builtin_translator.hpp
#ifndef DARCEL_BUILTIN_TRANSLATOR_HPP #define DARCEL_BUILTIN_TRANSLATOR_HPP #include <iostream> #include "darcel/reactors/chain_reactor.hpp" #include "darcel/reactors/count_reactor.hpp" #include "darcel/reactors/enum_to_string_reactor.hpp" #include "darcel/reactors/first_reactor.hpp" #include "darcel/reactors/fold_reac...
77fc0de108344afe3e0934b48fa0e64112a69075
229f25ccda6d721f31c6d4de27a7bb85dcc0f929
/solutions/codeforce/Codeforces Round #685 (Div. 2)/D. Circle Game/solution.cpp
9c519d4804ecf59a9e89bfc716489ba4c2604689
[]
no_license
camil0palacios/Competitive-programming
e743378a8791a66c90ffaae29b4fd4cfb58fff59
4211fa61e516cb986b3404d87409ad1a49f78132
refs/heads/master
2022-11-01T20:35:21.541132
2022-10-27T03:13:42
2022-10-27T03:13:42
155,419,333
0
0
null
null
null
null
UTF-8
C++
false
false
967
cpp
solution.cpp
#include <bits/stdc++.h> #define endl '\n' #define ll long long #define fori(i,a,b) for(int i = a; i < b; i++) #define forr(i,a,b) for(int i = a; i >= b; i--) #define fore(i,a,b) for(int i = a; i <= b; i++) #define ft first #define sd second #define all(v) v.begin(), v.end() #define sz(v) v.size() #define pb push_back ...
4418787b246b69da4eb26e6474ec39f1bd121511
e97df22359edd6a59d24469663ee22529fe0abad
/11074.cpp
e97016cf9c93d2753535a3a9220b470f15751f19
[]
no_license
rofi93/UVA
826d8c07a5410638b8843b66176bc1c6a389c129
08f418b11410f142590322451904f260d606e3f7
refs/heads/master
2020-12-10T13:07:50.131831
2018-09-23T18:53:38
2018-09-23T18:53:38
64,331,702
0
1
null
null
null
null
UTF-8
C++
false
false
1,671
cpp
11074.cpp
/* -------------------------------- */ /* Name: MD. Khairul Basar */ /* Institute: HSTU */ /* Dept: CSE */ /* Email: khairul.basar93@gmail.com */ /* -------------------------------- */ #include<cmath> #include<cstdio> #include<cctype> #include<cstdlib> #include<cstring>...
57af6be217da7af9f4ab4c47e578f9d87a9d721d
8b3be4eb51afe179d7278671e5f49b282c71ce09
/ProyectoFinal/OperadorLogaritmo.h
fbb282af63ddcd56dc3d0e7ddb1a47a196fe7b61
[]
no_license
fugar09/PFinal
b1a119c871d3b57a0566b0f62758626548d2ec55
cd6e79664a77f071990c0a0d5e2ba263accf3538
refs/heads/master
2016-09-06T17:47:12.711549
2015-07-14T00:47:48
2015-07-14T00:47:48
38,515,274
0
0
null
null
null
null
UTF-8
C++
false
false
227
h
OperadorLogaritmo.h
#pragma once #include "OperadorUnario.h" class OperadorLogaritmo : public OperadorUnario { public: OperadorLogaritmo(); Operando * operar(DoublyLinkedList<Operando*> l); char getSymbol(); virtual ~OperadorLogaritmo(); };
6743bc21952f6cc995e45fb480780fb55d7215d7
21c65874d72e31a9c4120aaf166695ffabdce018
/Phong Illumination/src/model.h
a1bf1a0e80be72c7aae4f4bac0a59726ca5cf80b
[]
no_license
rockyvon/opengl
240c8844f480d0be4166fd89769ac67a523ed94b
700e305774a705b8832da156cf6a39a91aeb36fb
refs/heads/master
2020-04-09T02:30:11.313207
2018-12-20T13:04:31
2018-12-20T13:04:31
159,943,345
1
0
null
null
null
null
UTF-8
C++
false
false
898
h
model.h
#pragma once #include "opengl.h" #include "mesh.h" #include "config.h" #include <map> #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> using namespace Assimp; class ModelLoader { public: ModelLoader(); ~ModelLoader(); virtual void loadScene(string path) = 0; void draw(Sha...
1fe88f30153a3628e6e6083d636930b3b5b62777
46258ffa27f761a69d29e4cd33fa01f609f87e12
/C++/MemoryManagementSimulator/src/simulation/simulation.cpp
934fe00903ee6a2f4885133ac69b5f9e6190273b
[]
no_license
dkern27/CollegeProgramming
eb5ffb9bfbf0a7a158eb63659cc47a3e22513542
83916177c17229c607eae53fd79fa2523c657009
refs/heads/master
2021-01-22T11:24:46.943672
2017-06-28T21:47:19
2017-06-28T21:47:19
91,986,722
0
0
null
null
null
null
UTF-8
C++
false
false
4,682
cpp
simulation.cpp
/** * This file contains implementations for the methods defined in the Simulation * class. * * You'll probably spend a lot of your time here. */ #include "simulation/simulation.h" #include "process/process.h" #include <iostream> #include <fstream> #include <sstream> #include <iomanip> using namespace std; voi...
4d223ea4230e6e0f51c99e63a7e305f05a2615a3
c90a56e7d7752b041fc5eb38257c5573cef346c6
/src-linux/Draft.cpp
54d12ecfe9bfc7b61aa15d68f5dc3f3141585cd9
[]
no_license
random-builder/design_cadquery_ocp
a4c572a72699bad52ca5f43f30bb7c15d89072ff
2af799a9f1b2d81fd39e519b2f73e12b34a14c0a
refs/heads/master
2021-05-21T23:10:23.833461
2020-03-29T15:34:46
2020-03-29T15:34:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
21,990
cpp
Draft.cpp
// std lib related includes #include <tuple> // pybind 11 related includes #include <pybind11/pybind11.h> #include <pybind11/stl.h> namespace py = pybind11; // Standard Handle #include <Standard_Handle.hxx> // includes to resolve forward declarations #include <Geom_Surface.hxx> #include <Geom_Curve.hxx> #include...
f57119608e16e0ffab4737a92996a060c6f7cdfc
7aaa96c2a3b4847db65c5cb7959c41f8705c6db1
/RGBtoGray/cam06.cpp
0b7dbaae2ffd2618e8c3c955bf461c8c28a36f83
[]
no_license
YeonWon123/2019_Image_Processing
9b16f50ba681d8b4f1bd088222512cb12c8d9a1a
cef1e69f4e16a7f3d6f45c156dce6322ae232fb3
refs/heads/master
2020-04-22T00:15:10.677469
2019-05-20T16:47:59
2019-05-20T16:47:59
169,972,612
4
1
null
null
null
null
ISO-8859-1
C++
false
false
1,586
cpp
cam06.cpp
// cam06.cpp : Definiert das Klassenverhalten f? die Anwendung. // #include "stdafx.h" #include "cam06.h" #include "cam06Dlg.h" #ifdef _DEBUG #define new DEBUG_NEW #endif // Ccam06App BEGIN_MESSAGE_MAP(Ccam06App, CWinApp) ON_COMMAND(ID_HELP, &CWinApp::OnHelp) END_MESSAGE_MAP() // Ccam06App-Erstellung Ccam06App...
f2804a0e4f72e902c0e6fa748ca4f6ed38feffb4
dc61e8c951f9e91930c2edff8a53c32d7a99bb94
/src/core/io/serialization/versionconverter.cpp
e218e1ae51264dad5b9a29a862c357e3e1c987ee
[ "BSD-2-Clause" ]
permissive
johti626/inviwo
d4b2766742522d3c8d57c894a60e345ec35beafc
c429a15b972715157b99f3686b05d581d3e89e92
refs/heads/master
2021-01-17T08:14:10.118104
2016-05-25T14:38:33
2016-05-25T14:46:31
31,444,269
2
0
null
2015-02-27T23:45:02
2015-02-27T23:45:01
null
UTF-8
C++
false
false
10,372
cpp
versionconverter.cpp
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2014-2015 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
aa2db3e54c2926f0218e1814d272fd9a49dd686d
198d0202dacedb1e6c2a644def38fdab182b7235
/DP/A2OJ/AIBOHP.cpp
c9b0f294db2c0d9ef4c67cdd75cd7aef23121a51
[]
no_license
Leerw/ProgrammingPractice4ZJU
12233746ed20c97e6d16c2fbf7d7d04d80e09178
ab81f0b4feb4e7ddb6a9a83b82c03cd4ec33c3de
refs/heads/master
2021-04-03T06:19:39.043870
2018-09-07T14:40:29
2018-09-07T14:40:29
125,162,723
1
0
null
null
null
null
UTF-8
C++
false
false
686
cpp
AIBOHP.cpp
#include <bits/stdc++.h> using namespace std; int dp[6010][6110]; char s[6110]; int rec(int i, int j) { if (i > j) { return INT_MAX; } if (i == j) { return 0; } if (i == j - 1) { return s[i] == s[j] ? 0 : 1; } if (dp[i][j] != -1) { return dp[i][j]; } ...
6a4b73441a26403bbe0b9b0fb4964cfbc574ba90
97e996b3270344dc419bb38e38da847b5dbd59b8
/game.cpp
0887143e8280c5b4bfba043331eeaccce90aeff8
[]
no_license
crimsonlander/tic-tac-toe
78b94ceef30857b2df22c8ed07eab11d6ce51487
07c13ab25184af53e7a92a76d495d977f36019cf
refs/heads/master
2021-01-01T19:17:00.364609
2015-07-09T22:08:14
2015-07-09T22:08:14
38,846,128
0
0
null
null
null
null
UTF-8
C++
false
false
1,323
cpp
game.cpp
#include "game.h" #include <string> #include <stdexcept> #include <cmath> void game::make_turn(pos p) { if (_a[p.first][p.second] != ' ') throw std::runtime_error("Incorrect move!"); else if (_current_player == 1) { _a[p.first][p.second] = 'X'; _current_player = 2; } else { ...
809b54041ea899cd04a36e31cd3843bff0f7eb85
8b4f7e8e746b8592a2289337a2013d7cf7d04c44
/Life.cpp
676a5b9f1105b42c261422f117db6234cdee185d
[]
no_license
seansu4you87/osclaser
8f0aac69dc9d803f097df34a9938fbabe25fde14
dcd3bcb898db4957209c9c04115b2375aea7ab35
refs/heads/master
2021-01-01T16:55:14.318564
2010-02-18T03:52:17
2010-02-18T03:52:17
32,344,063
0
0
null
null
null
null
UTF-8
C++
false
false
2,633
cpp
Life.cpp
// Life.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "Color.h" #include "Ld2000.h" #include "OSCLaserController.h" #include <iostream> #include <cmath> #include <cstring> #include <pthread.h> //OSC stuff #include "OscReceivedElements.h" #include "OscPacket...
4547988c22899803de296f6f78b9c30ecb7141a0
410310a17cf20792cd6055e0566f66a87eaeeda0
/ContainsDuplicate3.cc
6bba60835dc325f4a1ecb20ec9a070b035056d66
[]
no_license
foreverhy/leetcode
cf63d9ef574b9d4bb9c42742a2ad04f5a6f2ec5e
3ef49ea27095f8ca6583417f2e021e93ac3e1f76
refs/heads/master
2016-09-10T09:50:12.221471
2015-11-29T07:26:58
2015-11-29T07:26:58
29,521,544
2
0
null
null
null
null
UTF-8
C++
false
false
920
cc
ContainsDuplicate3.cc
#include "leet.h" #include <algorithm> #include <cstring> #include <set> class Solution{ public: typedef long long i64; bool containsNearbyAlmostDuplicate(vector<int> &nums, int k, int t) { std::set<i64> set; int size = nums.size(); for (int i = 0; i < size; ++i) { if ...
db066420b2590298ee9663a49bd35ffeede8f432
8e0b50f4046f8002fd03c2746af359c6227d044d
/src/TerminatingProcessLearningTriggeringKernel.cc
8377199e9f053029a30b2217d5a89b5ec4291611
[ "BSD-3-Clause" ]
permissive
akhvorov/MultiVariatePointProcess
83a6e36c9d5acb0516adce1274113f3777afb7b8
5c8d3a85acf6ca703e4922abf85ca72fa5997fca
refs/heads/master
2020-04-15T23:56:39.195710
2019-06-07T05:43:14
2019-06-07T05:43:14
165,118,205
0
0
null
null
null
null
UTF-8
C++
false
false
12,364
cc
TerminatingProcessLearningTriggeringKernel.cc
/** * \file TerminatingProcessLearningTriggeringKernel.cc * \brief The class implementation of TerminatingProcessLearningTriggeringKernel. */ #include <vector> #include <cmath> #include <functional> #include <iostream> #include "../include/TerminatingProcessLearningTriggeringKernel.h" #include "../include/Utility.h"...
7a5546b32bc1c3f6578887a645289c42bcf5d900
bcf138c82fcba9acc7d7ce4d3a92618b06ebe7c7
/rdr2/0x804425C4BBD00883.cpp
283fae2cc4d75839f37168524ece92266aa65444
[]
no_license
DeepWolf413/additional-native-data
aded47e042f0feb30057e753910e0884c44121a0
e015b2500b52065252ffbe3c53865fe3cdd3e06c
refs/heads/main
2023-07-10T00:19:54.416083
2021-08-12T16:00:12
2021-08-12T16:00:12
395,340,507
1
0
null
null
null
null
UTF-8
C++
false
false
584
cpp
0x804425C4BBD00883.cpp
// camera_photomode.ysc @ L4003 bool func_110() { int iVar0; if (func_151()) { iVar0 = TASK::_0x804425C4BBD00883(Global_35); if (func_152(iVar0) == 2041469314 || func_152(iVar0) == -77448735) { return false; } else { if (func_152(iVar0) == 0) { if (SCRIPTS::_GET_...
64efb0c16e7d94889ab49bad8415cafe93e53cdb
b207b13659b33b7d6b7b721fc7db811465e6d932
/old2/types/get_time.cpp
e99df193663518ae3cf9adc4ec9bfb36ee0ba8ad
[]
no_license
BackupTheBerlios/reshaked-svn
c99570088cb79a2b1900115a3d1f5a9c095f59d5
d9a6b614b3d8aa486d8b5bf05e46fe564476dae4
refs/heads/master
2020-06-02T18:17:32.828688
2008-08-20T17:28:16
2008-08-20T17:28:16
40,818,420
0
0
null
null
null
null
UTF-8
C++
false
false
710
cpp
get_time.cpp
// // C++ Implementation: get_time // // Description: // // // Author: Juan Linietsky <reduzio@gmail.com>, (C) 2006 // // Copyright: See COPYING file that comes with this distribution // // #include "get_time.h" namespace ReShaked { GetTime *GetTime::singleton=0; unsigned int GetTime::get_time_msec() { if (!sing...
73029f4373148a22b4fb5e33b82549b005f069b5
31ac07ecd9225639bee0d08d00f037bd511e9552
/TestDrawPic/RenderController/StatesController.h
689aa69d076fd4a34cb542614d1c3cecc8100d3e
[]
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,953
h
StatesController.h
#ifndef StatesController_h__ #define StatesController_h__ #pragma once #include "irrEngine/IRenderController.h" #include "irrEngine/MetaRenderController.h" #include <map> template<typename State> class StatesController : public IRenderController { public: typedef typename std::shared_ptr<StatesController<State>> ...
458d4113abe1f419bc3121bb633323f5ff7f4b22
cdf9e136afd7460ddac7acd73aa95b3188e83807
/block.cpp
3684edff64d3a04ad2ae7680fce5d7103ee596c7
[ "MIT" ]
permissive
peakstack/Simple-Blockchain
e2edc050090950f404fbe251af74a4edc2b934ad
36f5707a402548c2c69241f903da13a4f48c5b65
refs/heads/master
2020-04-17T15:57:26.850080
2020-01-10T16:30:58
2020-01-10T16:30:58
166,720,774
1
0
null
null
null
null
UTF-8
C++
false
false
996
cpp
block.cpp
#include "block.h" void block::mine(uint_fast64_t difficulty) { char *hash_string_c = new char[difficulty + 1]; uint_fast64_t rounds = 0; while(rounds < difficulty) { hash_string_c[rounds] = '0'; ++rounds; } hash_string_c[difficulty] = '\0'; std::string hash_string(hash_st...
4b7a8829e4d9a0bf98460577a14f3d086bee2125
b2ba24e10cb6f2ad85651ee0a967cce97c3b0cd1
/Lista 1/EX2.cpp
cd9bbc1eabbbae37c5850ee09b661e593f263200
[]
no_license
Ropaca/ED_UFBA
e963dad08d857fc8f3892a3f4840be1ad065dbe1
257f0b731bac08045e9ad32d1f9b26570b4ddc85
refs/heads/master
2020-05-18T06:08:46.784375
2014-09-30T19:36:34
2014-09-30T19:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
356
cpp
EX2.cpp
#include <stdio.h> #include <stdlib.h> int maior (int a, int b) { if(a<b) printf ("O maior valor = %d, O segundo maior valor = %d", b, a); else printf ("O maior valor = %d, O segundo maior valor = %d", a, b); } int main() { int A, B; printf("Digite um valor\n"); scanf("%d",&A); printf("Digite outro valor\n");...
9e2c846807bc8238bd0d7228a20d5892b97bcbfc
84737883b1a0dc218331027d31e9c67584e7da2e
/SmallbankBenchmark/SmallbankSiteConfiguration.h
1523b1242dc2b02808bd3c30984bd9fd2bf0837d
[ "Apache-2.0" ]
permissive
Cavalia/Cavalia
b12940211bd539123dca21837afda84f7f9eb986
d6a48ad5b4e28301ca02512ce7b70de98af003f5
refs/heads/master
2021-01-18T12:12:16.338787
2018-09-27T03:48:18
2018-09-27T03:48:18
46,721,730
121
33
null
2016-03-19T05:10:36
2015-11-23T13:24:40
C++
UTF-8
C++
false
false
807
h
SmallbankSiteConfiguration.h
#pragma once #ifndef __CAVALIA_TPCC_BENCHMARK_SMALLBANK_SITE_CONFIGURATION_H__ #define __CAVALIA_TPCC_BENCHMARK_SMALLBANK_SITE_CONFIGURATION_H__ #include <Benchmark/BenchmarkSiteConfiguration.h> #include "SmallbankMeta.h" namespace Cavalia { namespace Benchmark { namespace Smallbank { class SmallbankSiteConfigu...
7302bf71b5d0f71b3692b34f51846ad9a1f7dabe
c3d4f43717d0c098a9bb99f1c60d0688f5057e1d
/baekjoon/acm.cpp
c59a130202a5c1906ddc483ceb3e858774ad417d
[]
no_license
moneymaniacteam/algorithm
96701ab7e140ec26c7363fccd1929c8e948319ff
516175e33bc1d42d556fa43bf1fce0725eaa12c4
refs/heads/main
2023-05-05T12:28:20.234649
2021-05-25T16:56:30
2021-05-25T16:56:30
362,050,705
0
0
null
2021-04-27T09:13:19
2021-04-27T09:13:18
null
UTF-8
C++
false
false
801
cpp
acm.cpp
#include <iostream> #include <cstdio> #include <algorithm> using namespace std; int ary[101]; int line[101]; pair<int, int> set[101]; int setcnt = 0; int cnt = 0; int j = 0; int main() { int n, k; cin >> n >> k; for (int i = 0; i < n; i++) { scanf("%d", ary + i); } for (int i = 0; i < n; i++) { set[j].first...
91b954d808babcd4404dd5fc23e62778dfa9f129
697d8dcb9b39ef858cad57d7eced694590821ded
/AashrayBhaiyaKanjoosHain.cpp
a8c529c5f45ffb482e45290690084d6efba4620a
[]
no_license
KevinMathewT/Competitive-Programming
e1dcdffd087f8a1d5ca29ae6189ca7fddbdc7754
e7805fe870ad9051d53cafcba4ce109488bc212d
refs/heads/master
2022-02-14T09:37:31.637330
2020-09-26T16:15:26
2020-09-26T16:15:26
147,362,660
4
4
null
2022-02-07T11:13:38
2018-09-04T14:52:29
C++
UTF-8
C++
false
false
2,738
cpp
AashrayBhaiyaKanjoosHain.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; // Author - Kevin Mathew // Birla Institute of Technology, Mesra ll n, q, max_depth, depth[100010], hash[100010], revHash[100010], parent[18][100010], vis[100010]; char c[100010]; vector<ll> tree[100010]; const ll p = 31, m = 1e9 + 9; void findParen...
4b6048c2a9285160ccf3b8ad8c28d3852cab34df
f0d9fff45f20f35408935195459c726b7be6a62a
/Game.cpp
f6174baf00913538eb6c54767683bed321d3ea81
[]
no_license
TMalicki/PathFinder-algorithms
5c67ee94bd5666d383ef80bf7fcfdcaa85ef0ff5
447ed02f0a6ccc65fe6c3ffdd931d6497de93528
refs/heads/master
2021-01-08T08:24:05.445484
2020-03-27T17:26:56
2020-03-27T17:26:56
241,970,186
0
0
null
null
null
null
UTF-8
C++
false
false
4,343
cpp
Game.cpp
#include "Game.h" Game::Game(sf::Vector2i amountOfTiles, sf::Vector2f sizeOfTiles) { window = new sf::RenderWindow(sf::VideoMode(amountOfTiles.x * sizeOfTiles.x, amountOfTiles.y * sizeOfTiles.y), "PathFinder"); map = new Map(amountOfTiles, sizeOfTiles); editor = new Editor(map); dt = 0.0; double delayA...
466f4d8aa13387756a7090caad9c539fd3a07008
5c9b213e914ab609b2ba91b78eb239125cb1c9dd
/controller.cpp
d8eb72f402ebbb5d1efac2da5c524eaa04aa55f5
[]
no_license
zbahr/evolving-ms-pacman
66f66768b2ffbb46a9b9320e47d73126eea735e9
9ce0114aee150690127cfdf8bd0682279e5ac42c
refs/heads/master
2023-08-27T11:18:19.538382
2021-11-07T21:08:43
2021-11-07T21:08:43
425,613,204
0
0
null
null
null
null
UTF-8
C++
false
false
5,523
cpp
controller.cpp
// controller.cpp // CS 5401 - Assignment 2c - Competitive Coevolutionary Search // // Created by Zachary Bahr on 10/31/18 // Copyright © 2018 Zachary Bahr. All rights reserved. #include "controller.h" // Add a vertex to the state eval tree Vertex Controller::addVertex(Node n) { n.id = currentNodeId; curr...
4fc994a0540ba86003c355f12752e1820cc62f8b
c08a26d662bd1df1b2beaa36a36d0e9fecc1ebac
/uifw/AvKon/aknhlist/src/aknsinglecolumnstylesubtitlerow.cpp
38844f15c7448095a66ca00f121b9fd561531542
[]
no_license
SymbianSource/oss.FCL.sf.mw.classicui
9c2e2c31023256126bb2e502e49225d5c58017fe
dcea899751dfa099dcca7a5508cf32eab64afa7a
refs/heads/master
2021-01-11T02:38:59.198728
2010-10-08T14:24:02
2010-10-08T14:24:02
70,943,916
1
0
null
null
null
null
UTF-8
C++
false
false
10,123
cpp
aknsinglecolumnstylesubtitlerow.cpp
/* * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available * at the URL "http://www.eclipse.org/legal/epl-...
bb01b10c00a70e292a2505ae500167a7ef90c320
bfd335f14da27f1919756135fae05f479ce09278
/substr.cpp
15b498346ff6b5fdc7952854bcf5fdd5f1698a60
[]
no_license
boothvic/algorithm
0b0bff1484c8c41b87532238adcc55eb86ce8f7a
9162bb6186cff08636e950b2ef0c216f884a84d7
refs/heads/master
2021-09-15T23:04:41.951042
2018-06-12T11:09:46
2018-06-12T11:09:46
103,229,059
0
0
null
null
null
null
UTF-8
C++
false
false
1,447
cpp
substr.cpp
/* * Author: L.F.N File Name: substr.cpp * Created Time: 2018年06月10日 星期日 00时55分53秒 * Github: https://github.com/boothvic * * Code description * */ #include <iostream> #include <string> #include <vector> using namespace std; pair<int, string> fun(const string& str) { vector<string> substrs; int maxco...
6987af379b70a22254f1397c05373b436c0bad14
24fa02274a4112e255bc6aa71013055fb66fa92d
/global.h
8d45c3f4e133ec21ee1a6052bf9f88eaf50fcdc4
[]
no_license
bubi-luka/BubiLink
7a129d981a39366d1afd9d35ae4feb08764e8e44
e6c9ee227c75a3c0e5340d202b9511ed1728eee1
refs/heads/master
2020-06-02T05:55:56.391486
2013-05-06T20:58:08
2013-05-06T20:58:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
704
h
global.h
#ifndef VARNOST_H #define VARNOST_H #include <QApplication> #define vApp ((global *) qApp) class global : public QApplication { Q_OBJECT public: explicit global(int &argc, char *argv[]); ~global(); // Getters QString id_user() const; QString id_profile() const; QString id_campaign() cons...
65b90ed93f9a73af3ec82d32ecb478e09e812d20
340bba5a46fe9a3214f0175a4b339e94a3792fef
/src/server.cpp
47c6e672ab0cd7cd26e88e463e4ca73e25578333
[]
no_license
ghadd/edu-DirMonitor
4e4a06653db5383e3c98a7297c5fcaa56a685ad9
a6ee1a3b4942b0471a09b8a4480e2652c4020816
refs/heads/develop
2023-02-14T20:41:03.181334
2021-01-12T21:21:11
2021-01-12T21:21:11
323,963,324
0
0
null
2021-01-12T21:19:07
2020-12-23T17:29:13
C++
UTF-8
C++
false
false
6,264
cpp
server.cpp
#include "server.h" // set base setting of server(create socket, bind him and listen) void Server::setupThis() { // Create a socket (IPv4, TCP) listenfd_ = socket(AF_INET, SOCK_STREAM, 0); if (listenfd_ == -1) { throw std::runtime_error("Failed to create socket. errno: "); } // Listen to port on any a...
9ba7648708699f1e7658d33af89049a4aec35ba4
5111a59dee2e1b4fc32c7354a31991b1469004f7
/CoordinateSys/CoordinatePaper.h
ce9f3bcaa6f462e64508fcc40cf6ad1f09139007
[]
no_license
wangyaoyang/GeometryForFun
863008c29cbd4270c1d3abeab3880d94f0ee258d
fa9d2444ec433e2528386766ecc89cf52e53f7e2
refs/heads/master
2023-05-04T04:00:08.763444
2021-05-18T04:42:09
2021-05-18T04:42:09
368,401,289
0
0
null
null
null
null
GB18030
C++
false
false
3,939
h
CoordinatePaper.h
#pragma once #include "Calculat.h" #define SYMMETRY_ONE 0 #define SYMMETRY_X_2 1 #define SYMMETRY_Y_2 2 #define SYMMETRY_Z_2 3 #define VALIDATE_NON 0 //check box = empty #define VALIDATE_ONE 2 //check box = gray #define VALIDATE_TWO 1 //check box = selected class CCoordinateMapping { private: double m_PI; double...
c586ef566595c3fc2bb34f3cabb6a67fa1436b39
fea6372e4ca628ce07813e68d5bf3c48c6353750
/CoolGE/core/src/render/Camera.cpp
b251e4956d11081606e85547be4e40d7062f18c1
[]
no_license
teddyMeng/CoolGE
c1f780f3875263d874b5124cdd54bb5802b4b50a
97ce01cb381c720401e5542f5bdc9092e8b366a0
refs/heads/master
2020-12-30T14:34:12.924219
2017-06-09T09:16:01
2017-06-09T09:16:01
91,067,554
0
0
null
null
null
null
UTF-8
C++
false
false
1,001
cpp
Camera.cpp
#include "Camera.hpp" #include "Math.hpp" namespace CoolGE { Camera::Camera() { this->ViewParams(Vec3f(0, 0, 0), Vec3f(0, 0, 1)); this->ProjParams(PI / 4, 1, 1, 1000); } void Camera::ViewParams(Vec3f const & eye_pos, Vec3f const & look_at) { look_at_ = look_at; pos_ = eye_pos; view_mat_ = MathLib::look...
c21ef13e4c437c7dfc40431dad415840f4926b73
ba7b39eec4ffd608936ab796facb16f9d0240aef
/src/Part/Kit.cpp
e892ecbf38fe68fcc2956ceeeaf6e4dc16cae00d
[]
no_license
DomMarcone/OptimalDrone
7460183d923495f3850ba7935096938cbdd824a2
81f0d18e99f67b109dc5b03dc3126edbead18d55
refs/heads/master
2020-08-22T13:09:04.399728
2019-10-30T14:04:01
2019-10-30T14:04:01
216,401,644
0
0
null
null
null
null
UTF-8
C++
false
false
2,390
cpp
Kit.cpp
//Kit.cpp #include <Part/PartInterface.hpp> #include <Part/Kit.hpp> #include <Part/PartTypes.h> #include <Part/FlightController.hpp> #include <Part/ElectronicSpeedController.hpp> #include <Part/Battery.hpp> #include <Part/Frame.hpp> #include <Part/Motor.hpp> #include <Part/PowerDistributionBoard.hpp> #include <Part/P...
bf50bee086a84a17b0917c1ef28033b5883536da
370881312084d8d2ce0f9c8dce147b81a3a9a923
/Game_Code/Code/CryEngine/CryAction/Network/PlaneBreak.cpp
3b0e18592ac2fb2ec13b5ada2005e7b466d5736d
[]
no_license
ShadowShell/QuestDrake
3030c396cd691be96819eec0f0f376eb8c64ac89
9be472a977882df97612efb9c18404a5d43e76f5
refs/heads/master
2016-09-05T20:23:14.165400
2015-03-06T14:17:22
2015-03-06T14:17:22
31,463,818
3
2
null
2015-02-28T18:26:22
2015-02-28T13:45:52
C++
UTF-8
C++
false
false
8,905
cpp
PlaneBreak.cpp
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2007. ------------------------------------------------------------------------- $Id$ $DateTime$ Description: network breakability: Plane breaks ------------------------------------------...
46c924356c1f352726e0cc96b15dd7a47b7995aa
4b3cbd9e773970d93957da1ef431b6864f5a1432
/src/CinderBox2D/Dynamics/Contacts/cb2Contact.cpp
fd0088ecb9d11d76380b9d254a1b7d47289e347a
[]
no_license
ashmeltin/CinderBox2D
5b932c5e999aed69d66c438e0c8784faa3460008
5a607621a3a1f6206405dd52bff8f87728fc9ed5
refs/heads/master
2021-05-27T17:58:27.402859
2013-12-07T02:10:27
2013-12-07T02:10:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,579
cpp
cb2Contact.cpp
/* * Copyright (c) 2006-2009 Erin Catto http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, * i...
1214ccd1bb69b9eea1c79e5a640ad0c7f15ec5ee
1c390cd4fd3605046914767485b49a929198b470
/poj/P3194.cpp
4864c857b43e3d36d043014d0740f5e11cff7a42
[]
no_license
wwwwodddd/Zukunft
f87fe736b53506f69ab18db674311dd60de04a43
03ffffee9a76e99f6e00bba6dbae91abc6994a34
refs/heads/master
2023-01-24T06:14:35.691292
2023-01-21T15:42:32
2023-01-21T15:42:32
163,685,977
7
8
null
null
null
null
UTF-8
C++
false
false
703
cpp
P3194.cpp
#include<stdio.h> #include<string.h> int n,x,y,w; int m[120][120]; int dx[4]={0,0,1,-1}; int dy[4]={1,-1,0,0}; int dfs(int x,int y) { if(m[x][y]==-1) return 0; int re=1,now; now=m[x][y]; m[x][y]=-1; for(int i=0;i<4;i++) if(now==m[x+dx[i]][y+dy[i]]) re+=dfs(x+dx[i],y+dy[i]); return re; } i...
5bd62152a3ef54c06c99aa48512dd0a8f34645f9
af396dd6e9d8087ad5f6b411730aae234f448b23
/base/utils/configure.cpp
7d0dcee00156141a7df3b9d2904c8899d6512948
[]
no_license
ijaychen/jengine
bc90763b6d81472150eb5baa135e60c971f3aa26
11ad34c0494b6d23ab067b7edc48af85a93b8d68
refs/heads/master
2021-01-10T09:41:52.418984
2015-10-26T03:58:48
2015-10-26T03:58:48
44,941,600
1
0
null
null
null
null
UTF-8
C++
false
false
183
cpp
configure.cpp
#ifndef BASE_UTILS_CONFIGURE_H #define BASE_UTILS_CONFIGURE_H #include "../global.h" #include <string> namespace base { namespace utils { void test_utils() { } } } #endif
7df05142547c6b3688429d22d4875a192534a9d0
6861230929ac6a938e6cb1824cb55ab2e9ea7be9
/body.cpp
5232dfc25fd79e0c2cda01014c861c9f44a20767
[]
no_license
abekkine/simula-gra
837c30170f5930d4241565852e13b4c35fe2422b
3908406c777c87d61a76f2eb9ee9ebb111ba2f96
refs/heads/master
2020-04-05T14:32:51.298919
2017-07-05T04:38:14
2017-07-05T04:38:14
94,676,348
0
0
null
null
null
null
UTF-8
C++
false
false
13,014
cpp
body.cpp
#include "body.h" #include <stdlib.h> #include <math.h> #include <iostream> #include <random> #include "display.h" namespace body { double cx = 0.0; double cy = 0.0; double cz = 0.0; double Seed; double Mass; double TimeStep; double SpeedRange; double GravityConstant; double Ex...
0dacfe9401b1be4c0f265505db700e8ecaca679a
20d1d2914d361fbc329865df9c6f2ed0b7e6d06b
/1042-1070/1053_11042939(AC).cpp
e530e048097dc7bad4b68e569ad0872ba84db39b
[]
no_license
Annab96/CodeUp
10d019f0adc6c4ad216e6813d79d443de8c3b747
7f66d7c6d743d90855cf5f982d02997720a7fc2e
refs/heads/master
2020-08-23T23:33:33.981716
2019-10-30T05:31:19
2019-10-30T05:31:19
216,724,824
0
0
null
null
null
null
UTF-8
C++
false
false
154
cpp
1053_11042939(AC).cpp
#include <stdio.h> int main(){ int n; scanf("%d", &n); if(n==1) printf("0"); else if(n==0) printf("1"); else return 0; }
51170bc05753c226fa311f50ae77b669623aeb02
d0cdccf1ecdcd6e1f7744977be9e824eb8206574
/src/Screen.cpp
149aba58b5137fb49490257e8bdc87d0f2ca0aee
[]
no_license
mihhaiii/car-store1
09402e281b4970d34a683e934be0d9e0bb4e2f33
91e9479297f769ba8b15ea4baff9334cb66459af
refs/heads/master
2016-09-14T20:03:22.777291
2016-05-25T14:44:08
2016-05-25T14:44:08
58,675,761
0
0
null
2016-05-21T22:34:54
2016-05-12T20:48:42
C++
UTF-8
C++
false
false
246
cpp
Screen.cpp
#include "Screen.h" Screen::Screen() { //ctor _texture.loadFromFile("images/screen.jpg"); _sprite.setTexture(_texture); } Screen::~Screen() { //dtor } void Screen::show(sf::RenderWindow& window) { window.draw(_sprite); }
7d2bddac237f9f237eadf3cf9881b0b2c763d7d5
0ec82c160d27c43de73f0cde3f33852b7847643b
/Sem1/Algo/Assignments/Assignment_DP_Graph/3.cpp
00a034fe6291382e62ed921d67b9716e6d445d21
[]
no_license
Bhavesh-Gulecha/Assignments_IIITB
2619fac82843ec2c09f13b59ea512e205226366a
691021f6764eb9a7831456ea7e4fe6d75a855215
refs/heads/master
2020-04-07T13:16:23.602281
2018-11-16T19:07:45
2018-11-16T19:07:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,639
cpp
3.cpp
#include<bits/stdc++.h> #define pb push_back using namespace std; struct Node { int no; int weight; int max_val = INT_MIN; int max_child_weight = INT_MIN; }; vector <Node> adj[1000]; Node nodes[1000]; bool visited[1000]; void dfs(Node u) { visited[u.no] = true; bool flag = ...
b2cf50f394cbc54ceb0bd08c8a0484e4e6e8c13b
bfc25ad1d6f57df069a5e456eb7ecfa8e5d0aba5
/seqSieve.cpp
8744e4bd551bddb369e21fe395fc587cf73a84c1
[]
no_license
rjstorres/CPAR---The-Sieve-of-Erastosthenes
ea7abea4437b06a20401815621f297dd53ef7138
cd48312bdc7a1adfb5d155349a626fbbd2246bdf
refs/heads/master
2020-05-16T10:21:48.141632
2019-05-21T10:42:39
2019-05-21T10:42:39
182,980,367
0
0
null
null
null
null
UTF-8
C++
false
false
2,351
cpp
seqSieve.cpp
#include <iostream> #include <iomanip> #include <math.h> #include <omp.h> #include <fstream> #include <vector> using namespace std; double sequentialSieve (unsigned long long n) { n = pow(2,n); vector<bool> primes(n,false); unsigned long long k = 3; double timeCounter = -(double)clock(); ...
0dc47679acf6fab991d0be0129b21ec308777973
b34fa2931d6d3774925c03aa08495a2de494491e
/part-1/scanner/include/token.hpp
422c50e3dee14115c0c40dc63927d0935a88d3f8
[]
no_license
Riounis/SparkAPITransformer
daa1d163d19f7ef4c3fa878c6141ab8e9a26c74e
323ab02a8703aca4e57140fe8134536e979dfed5
refs/heads/master
2020-04-05T01:44:00.223819
2018-12-13T02:52:56
2018-12-13T02:52:56
156,447,423
0
0
null
null
null
null
UTF-8
C++
false
false
1,243
hpp
token.hpp
#ifndef TOKEN_HPP #define TOKEN_HPP #include <string> #include <iostream> #include "regex.hpp" #define RESWORD 1 #define ID 2 #define NUM 3 #define STRING 4 #define SYM 5 #define SPACE 6 typedef struct { int type; std::string token; std::string to_string() { //st...
1eeada3e6420f608a30ab9aa7070fcd1e4f1aa36
a3d6556180e74af7b555f8d47d3fea55b94bcbda
/chrome/browser/ui/views/bookmarks/bookmark_menu_delegate_unittest.cc
42eebff97d35077cc056463cff7eb83beb190592
[ "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
12,969
cc
bookmark_menu_delegate_unittest.cc
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.h" #include <memory> #include "base/memory/raw_ptr.h" #include "base/strings/utf_string_conversions.h" #inc...
83da0baa91b9bf199683fe3b48ff70932e289888
00ce39387c73f99231b83d06a7add3b240f94a28
/1 - Freshman Year/Spring/CS182/SBBST/MySBBST.cpp
296f91c8e6fef37c914be9768b6dbde0993d0f5d
[]
no_license
agincel/SIT
f2224dece26fafe851c1a18efd8f2dbfcbe622d5
42688ddfc4c359e79c328feeb1ca2a6c4a5e1352
refs/heads/master
2021-05-16T03:06:50.576161
2018-05-14T02:03:26
2018-05-14T02:03:26
35,850,044
0
0
null
null
null
null
UTF-8
C++
false
false
1,669
cpp
MySBBST.cpp
#include "MySBBST.hh" #include <iostream> #include <cstring> using namespace std; /* Adam Gincel MySBBST.cpp This file contains the isValidTree method for the AVL Tree. I pledge my honor that I have abided by the Stevens Honor System. */ //public isValidTree template bool MySBBST<int, int, intintCompare, intintCom...
63d758d05fd362bdb60e3f19ef0040133a507723
d9008b05af4cc292233c0c4e14f0080e3be4f97a
/lang/System.h
2899edfb41636e6b4b8c31f76a07317ae527d913
[]
no_license
hashikawau/backups
14890eefd1d0b3a374123fd217d3e665fde55662
eb6e239536ee0b5215db845303ce94f51e1f4dcb
refs/heads/master
2020-04-18T22:55:19.045846
2019-04-06T12:33:38
2019-04-06T12:33:38
167,808,035
0
0
null
null
null
null
UTF-8
C++
false
false
485
h
System.h
#ifndef __Windows_lang_System #define __Windows_lang_System //=========================================================== //=========================================================== class System { private: System(); ~System(); public: static long long int currentTimeMillis(); }; //====...
6c7fd263d1fda8842b4d8a198d1a3bb01003444b
4ca4d0ab0d5db7828cfd2af8a57bef13d1be5090
/atividade-03/include/Config.h
ed2bc96fa7b3110b83ba3dfd99fbc97912c49002
[]
no_license
davicfg/UFRN-lp1-2020-5
8b97a881426f387770d331f5ce703b36f7d21951
941365732356795b14540bcc46cf8d0cfe4725f2
refs/heads/master
2022-11-24T19:41:47.159334
2020-07-21T02:00:56
2020-07-21T02:00:56
272,798,693
0
0
null
null
null
null
UTF-8
C++
false
false
262
h
Config.h
#if !defined(CONIF_H) #define CONIF_H #include <string> struct Config { Config(const std::string& filename); std::string path; std::string default_format; std::string filename; int load_config(); int create_default_file(); }; #endif // CONIF_H
9a8c8a476f08a3ecf85f5f77ce63d22519d82f42
24c6c4c156800d03ccc444306af5010ae600d465
/UVA/01. Accepted/01. Adhoc/12293 Box Game.cpp
d013db7c412b5effaefbec22d37117ee58272be5
[]
no_license
RajibTheKing/ACMProgramming
5e1ba7e4271b372ddd2e2cf417bd1bffe5cd838a
d89e94fc671c7138c97d4fb9d197d5abbca99f6f
refs/heads/master
2021-12-14T01:33:09.537195
2021-12-05T19:58:17
2021-12-05T19:58:17
67,598,402
1
0
null
null
null
null
UTF-8
C++
false
false
324
cpp
12293 Box Game.cpp
#include <stdio.h> #define LL long long int main () { LL n; while ( scanf ("%lld", &n) && n ) { LL num = 1; while ( num < n ) { num *= 2; num++; } if ( num == n ) printf ("Bob\n"); else printf ("Alice\n"); } return 0; ...
7dda181be72ab47c1e6482efc963fbdae4839b6b
73e6b4b46006e4b0642941275552ae31d21dde35
/Algorithme et programmation/TP2/rendu/Teddy Dousset- Alexandre Pacaud.cpp
c3b4fa3a5c7f0c81f1c47c541f80731102f1c787
[]
no_license
alejandro-reyesamaro/enseignement_nantes
6fe7430db1ee08e3b1e412d3821b8b886b430573
932dfa50ab8abbea2b6f605ead1fdcc4c35f8d60
refs/heads/master
2021-01-22T18:32:39.708860
2017-05-12T16:08:36
2017-05-12T16:08:36
85,087,797
1
0
null
null
null
null
UTF-8
C++
false
false
1,159
cpp
Teddy Dousset- Alexandre Pacaud.cpp
//Alexandre Pacaud et Teddy Dousset groupe 243 #include <iostream> #include <cmath> using namespace std ; bool nb_premier(int p) { int i; for (i=2; i<=sqrt(p); i++) { //un nombre est premier si on ne trouve aucun diviseur entre 2 et sa racine if (p%i==0) { // on regarde si i divise p ...
4ce4b014cbc0d06cffca448b25099f6d82828a54
680504735161a2ec8562e64a1c43a658e6656492
/ex3/valid_date.cpp
1ca222de631acfa96df98df81ca4884bddbbe5d3
[]
no_license
fmi-lab/up-2018-kn-group2-sem
47b08060afcf4b81bd60ebbbfe684b7b34970d3b
7ff999b2da5a4c5bec871e1e4e33db71cd6bfc4f
refs/heads/master
2020-04-01T17:02:36.979052
2019-01-18T14:15:18
2019-01-18T14:15:18
153,410,264
0
0
null
null
null
null
UTF-8
C++
false
false
2,007
cpp
valid_date.cpp
#include <iostream> using namespace std; int main() { int day, month, year; // input cout << "Enter a date (dd mm yyyy): "; cin >> day >> month >> year; // it's a kind of magic int maxDaysInMonth = 0; // Option 1 if (month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 ...
8a1806be3cc0f658ac00351926454b9a9a856067
7baac8f89469c641f48d203646d47b2e3ff9988b
/66/WayToZero/main.cpp
ece7a879c01d8673c1e12ceb109b74361d717565
[]
no_license
MaratZiganshin/EducationalCodeForces
d6b6fc40354d652305d322d70fb9e8f558f976eb
de88c66e7499d7a2ebbb48e4f92f1ced808586b8
refs/heads/master
2020-06-12T21:54:18.651115
2019-07-14T14:52:10
2019-07-14T14:52:10
194,437,169
0
0
null
null
null
null
UTF-8
C++
false
false
680
cpp
main.cpp
#include <iostream> #include <vector> using namespace std; int main() { long long t; cin >> t; vector<long long> result; for (long long i = 0; i < t; i++) { long long n, k; cin >> n >> k; long long count = 0; while (n != 0) { if (n % k == 0) ...
2409d87f05d14a882fb8163220c0f74c168189e2
df0f62bd539c87e239e1836093443832fce84336
/perceptron_layer.cpp
6798c34b00fdf1e67ad23ec73c826a56c23b967d
[]
no_license
rcomrad/PerceptronClassifier
a8d511c1778e00803077c1f98e8ea320a8f1139d
02c147c0576e7fb707f1e3ef3e43f6d296c5a3d3
refs/heads/master
2023-05-26T00:37:18.295699
2018-12-07T16:12:20
2018-12-07T16:12:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,570
cpp
perceptron_layer.cpp
#include "perceptron_layer.h" //-------------------------------------------------------------------------------- // Perceptron layer implementation // //-------------------------------------------------------------------------------- PerceptronLayer::PerceptronLayer(uint_32 aInputsNumber, uint_32 aNeuronsC...
bf0c2b11eb4a7e4e0407cba70912923d925dcff8
f0c4ebbf54d5aed19df22b760c5b0ce5257829c5
/shared/render/irenderable.cpp
9588daa136974aa45fdfabcbf289e2f59675d410
[ "MIT" ]
permissive
proydakov/zeptobird
e85f3c5a2e3eca9b2bb63624d898c83e05f50318
c9e64aa8bd11e4ed9254bea222b03c6d027b6145
refs/heads/master
2021-06-16T02:16:05.766348
2021-04-18T12:51:43
2021-04-18T12:51:43
67,238,634
6
1
MIT
2019-06-16T17:08:31
2016-09-02T16:34:38
C++
UTF-8
C++
false
false
58
cpp
irenderable.cpp
#include "irenderable.h" irenderable::~irenderable() { }
c590158c31764375bf23679509b2c202103e2f69
398786944277195735b76c47a6802097d5e7ee4b
/ImageProcessingFilters/vtkPolyDataMySQLTextWriter.cxx
761ad75313e7ef7e358c39a5bfe0643c0c973d2e
[ "BSD-2-Clause" ]
permissive
krm15/GF2Exchange
8e56a12cf30695406591ef4e39205e2c09bc5712
690513a7edb90f2a58f4f771791d19cc1dd350fa
refs/heads/master
2021-01-24T18:39:45.425172
2017-03-09T17:53:59
2017-03-09T17:53:59
84,469,134
0
1
null
null
null
null
UTF-8
C++
false
false
4,229
cxx
vtkPolyDataMySQLTextWriter.cxx
/*========================================================================= Author: $Author: arnaudgelas $ // Author of last commit Version: $Rev: 1150 $ // Revision of last commit Date: $Date: 2010-03-30 15:00:47 -0400 (Tue, 30 Mar 2010) $ // Date of last commit ===============================================...
b3b419620acd6e77e4229eee8045b526ccc0f041
31649ad74626b06a37a4f96d64bd75b10e0ff4b2
/Uva/501.cpp
b58d972525ef6abd498fcafb66b77a7cdccf0edb
[ "MIT" ]
permissive
Dito9/ICPC
bd4d8ec92a6a58ed74d0d78328f2963e4bb9c1d0
757a9ee9fdd8cc83b5d9f3e492b6b5a8223d45aa
refs/heads/master
2020-05-15T07:27:02.745585
2014-03-07T07:01:28
2014-03-07T07:01:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,087
cpp
501.cpp
#include <cstdlib> #include <cstdio> #include <iostream> #include <sstream> #include <fstream> #include <string> #include <vector> #include <deque> #include <queue> #include <stack> #include <map> #include <set> #include <algorithm> #include <numeric> #include <f...
37935d046f46454087a8a7b9e49a7260910962ba
db01773d3f6dec3cb15dc9446eb75f41ec3757fc
/16/knapsack_01/knapsack_01.cpp
5a47e32ae90fd8813b5994edad3500b4bddf9ee5
[]
no_license
coolsnowy/CLRS
786c23caa3f88e34b4146ac21e85c6854c6b01f1
6d78dbe3ff646259c2b263ef86ef44db64bdfd61
refs/heads/master
2020-03-24T16:56:25.819760
2018-10-15T04:27:47
2018-10-15T04:27:47
142,843,681
1
0
null
null
null
null
UTF-8
C++
false
false
1,318
cpp
knapsack_01.cpp
#include <iostream> #include <string> #include <vector> #include <stack> #include <map> #include <list> #include <stack> #include <stdexcept> #include <typeinfo> #include <exception> #include <queue> #include <iterator> #include <unistd.h> #include <cassert> #include <fstream> #include <cmath> #include <forward_list> #...
5a1dad83543070e9d56bfbf64622a50b6ac9a1e5
63bce0eee182ff7674a333aa4475d2273189b4fb
/SEM 3/DSPS/Assignment 2/Assignment2.cpp
04ddfa0916a29d3d83ee00f6d21a37405cc61bf5
[]
no_license
abrar-abu/Engineering
0538d7bd0b2925560f668c28349e0596de117ac5
e8c7f2c146bef4b1a04d545e2a0ddd163d3dfebe
refs/heads/master
2021-08-06T14:48:48.627249
2017-11-06T07:40:12
2017-11-06T07:40:12
106,986,470
2
0
null
null
null
null
UTF-8
C++
false
false
6,605
cpp
Assignment2.cpp
/* * @Author: ubuntu * @Date: 2017-11-06 11:23:27 * @Last Modified 2017-11-06 * @Last Modified time: 2017-11-06 11:33:10 */ #include<iostream> using namespace std; class node //Declaration of Class { public: int data; node *prev; node *next; node() //Default Constructor ...
6b4a3a540e2a14cc08e1641197a447907aae4142
fa50ab598350886d1dc3190a0f4861f637668b95
/source/tnn/core/default_network.cc
ed022ccc421d2aa98371f30c4b851dd5fe87dbdf
[ "BSD-3-Clause" ]
permissive
shaundai-tencent/TNN
d3cfe79da2cb5b70cbcf6fa9a00467da529485e4
6913aecb193c584e3fe4fcb32508d417744827c4
refs/heads/master
2023-07-17T14:57:52.586520
2021-08-17T06:04:19
2021-08-17T06:04:19
397,153,709
1
0
NOASSERTION
2021-08-17T07:32:31
2021-08-17T07:32:30
null
UTF-8
C++
false
false
26,727
cc
default_network.cc
// Tencent is pleased to support the open source community by making TNN available. // // Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy o...
861136a7586b24daf49689e8a416b81f7713509d
1b5588f7c5ba611f1f3c411b2c6fe9794297abfc
/src/displayUtility.cpp
d72ff9db263ed48f3ccc83c63158e12cdc0a7ab0
[]
no_license
FedeAi/freeRtos-extruder
6a90d5d1f19f4c6fc51fc4710828dd2eba22d5f8
c41eca5cf5b85c69e2781011747c0aebfb103e10
refs/heads/master
2022-02-15T10:38:06.144393
2019-07-25T16:46:51
2019-07-25T16:46:51
174,852,216
1
0
null
null
null
null
UTF-8
C++
false
false
1,114
cpp
displayUtility.cpp
#include "displayUtility.h" #include "configuration.h" #include "menuManager.h" #include "temperatureManager.h" #include "Extruder.h" #include "Menu.h" DisplayManager::DisplayManager(unsigned portSHORT _stackDepth, UBaseType_t _priority, const char* _name, uint32_t _ticks, MenuManager * aMenuManager, TemperatureMa...
3d867de0bb5d8716fddd7792344cbab62f06d7a2
c31e46a9a3199aa2eea81d61fb0de27317354e88
/P4largestPalindrome.cpp
c61b9b07dc413eb083f231f344c382e2fa17cd33
[]
no_license
SeanSiders/projectEulerSolutions
268fcb617c92f6c34fd8744f567171eca1370304
0aa69178f7e3065de94b354b4b8c631873199d65
refs/heads/master
2020-12-03T20:03:47.780622
2020-01-02T22:11:39
2020-01-02T22:11:39
231,467,949
0
0
null
null
null
null
UTF-8
C++
false
false
788
cpp
P4largestPalindrome.cpp
#include <iostream> #include <cmath> uint64_t largestPalindrome(uint64_t n) { /*return the largest palindrome that is the product of two numbers with n digits*/ uint64_t largestP = 0; uint64_t top = pow(10, n) - 1; uint64_t bottom = pow(10, (n - 1)) - 1; for (uint64_t i = top; i > bottom; i--) { for (uint64_t...
41ddf8c060d32c8a242c533ab98acb58d18eadb2
49f608d8bcb5c1f468564f5f47b3f98c3ec239df
/abacus/core/impl/x86/x86_runtime_api.cpp
d958a5cee045f6599c19a47acb7495c7a01fe918
[]
no_license
endurehero/WW
f767ee482eedd9ce7f2bf6bf2da79ee80223abfa
137a5ef09db138b4c55230df72d0d9c28d897a3f
refs/heads/master
2020-06-27T13:37:26.779513
2019-09-26T03:54:07
2019-09-27T10:38:09
199,966,976
1
0
null
null
null
null
UTF-8
C++
false
false
2,617
cpp
x86_runtime_api.cpp
#include "abacus/core/target_wrapper.h" namespace WW{ namespace abacus{ #ifdef USE_X86 static const int MALLOC_ALIGN = 64; static inline void* mallocAlign(size_t size){ size_t offset = sizeof(void*) + MALLOC_ALIGN - 1; char* p = static_cast<char*>(malloc(size + offset)); if(!p){ return null...
d5fc98044addde8ecf93729f399888599fa7b008
48c71e8e6b3d4a1693bc912fb273e5fdd3d1ae41
/LinkList/node.h
1203148f7e2d50f14b5f9a53b4c873e24ce5dcf8
[ "Apache-2.0" ]
permissive
Epochyy/DataStructure
c4c4b623d9ac764afab3f11a6b14d27a79f04678
fb09658fb6f76fbfcd3e3433e5a74b248dc50dd1
refs/heads/master
2021-10-19T15:26:40.086408
2019-02-22T05:33:41
2019-02-22T05:33:41
95,552,777
0
1
null
null
null
null
WINDOWS-1252
C++
false
false
313
h
node.h
//node.h ½ÚµãÀà template <typename T> class node { public: node(); node(T data); ~node(); node<T> *next; T data; }; template <typename T> node<T>::node() { next = NULL; } template <typename T> node<T>::node(T data) { this->data = data; next = NULL; } template <typename T> node<T>::~node() { }
bbd9a70301439b1b8eb0c98516a3ede1afc9b663
1dca551611e643f5692f726f6f3e90c6c00eb7f7
/DatabaseEngine/dbmodificationrule.cpp
75ff149686ec85618192f8fc3d55facf57c2b15c
[ "MIT" ]
permissive
HowCanidothis/DevLib
d47b977dfa01999e4fd8f26cad7ef2c9c77471fa
58fb0fa099cc6cb5f58ad2e8481bc4ca3758cdfb
refs/heads/master
2023-08-22T21:21:47.705274
2023-08-16T09:41:32
2023-08-21T15:40:18
282,774,252
0
1
MIT
2022-12-22T05:17:14
2020-07-27T02:23:37
C++
UTF-8
C++
false
false
8,575
cpp
dbmodificationrule.cpp
#include "dbmodificationrule.h" #include "dbtableheader.h" #include "Core/Private/dbtablefielddelegate.h" DbCopyFieldDelegate::DbCopyFieldDelegate() : CopyFieldFunction(nullptr) , DestinationOffset(-1) , DefaultValueSetter([](CastablePtr&){}) { } void DbCopyFieldDelegate::Copy(CastablePtr& source, Casta...
da1b4157db75016ca3609b9ed7e64a45289d50a8
b35d01edf8c2a8fcf36100f3dad4561805e1824a
/src/glwrap/PBRUniforms.h
528f74d1c9289d15c477d1e633a4a345a9d4821a
[]
no_license
Dekuboy/CoBeBeEngine
b853a6117bf286b30e59f02dc071e66b93983a48
63683cc4c5e216c746ca346f857701b48ee4ef83
refs/heads/master
2022-08-03T22:44:54.086184
2022-07-11T15:15:08
2022-07-11T15:15:08
212,793,969
1
0
null
null
null
null
UTF-8
C++
false
false
696
h
PBRUniforms.h
#include <glwrap/TextureUniforms.h> namespace glwrap { enum PBRTexture { colour, metalRough, normal, occlusion, emissive, colourFactor, metalRoughFactor, normalFactor, occlusionFactor, emissiveFactor }; class SingleUniform : public TextureUniforms { public: void getUniformName(int _enumTyp...
2ceb3eceaf48d85b57e891b965836a8e2dbe912c
5d4f3ccfbea9e92f4cb0907f50e618d728059941
/MINVOTE2.cpp
dbbc5a704e60d4947d8666615226207fc84961ce
[ "MIT" ]
permissive
govind1996/COMPETITIVE-PROGRAMMING
b563a369bc76b498e6ab8d0d9a350d8d4216ea57
338d5a7026a444a509f65bccfce5eab9c91c5a03
refs/heads/master
2018-12-22T13:32:17.328655
2018-10-03T15:00:45
2018-10-03T15:00:45
108,137,687
2
2
MIT
2018-10-03T15:00:47
2017-10-24T14:21:36
C++
UTF-8
C++
false
false
1,643
cpp
MINVOTE2.cpp
#include<bits/stdc++.h> using namespace std; int main() { long int t; cin>>t; while(t--) { long int n; scanf("%ld",&n); vector<long int> arr(n); // vector<long int> fs; // vector<long int> bs; vector<long int> sum(n+1,0); vector<long int> ans(n+2,0);...
c223f50e18b9cd9a405fe0a6a3bda19f1c2af3b7
5d1d7efcc341b7ea20a7355d0532e52994b12d05
/04/03/main.cpp
783ade367bc9c77822645f2ef79d46599cc89155
[]
no_license
violetfeline/cppBasic
23a5fb854c1957dd9347c4dc8047c32ec676add4
cceb7fbcff0bc481f51bcab7a8895f322a84d6a4
refs/heads/master
2023-02-08T22:26:03.836021
2020-12-27T16:32:32
2020-12-27T16:32:32
324,794,012
0
0
null
null
null
null
UTF-8
C++
false
false
790
cpp
main.cpp
#include <iostream> #include <string> class TRAIN { public: std::string city_from = ""; std::string city_to = ""; std::string number = ""; }; int main() { int n; std::cin >> n; TRAIN* trains = new TRAIN[n]; for(int i = 0; i < n; i++) { std::cin >> trains[i].city_from >> trains[i].city_to >> trains[i].num...