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
abe68c4d5a97719c6010b906ab7650cadde66efc
f2c0259c672277d6f17a715e10f5e5ecdd00d605
/smtk/mesh/utility/ExtractMeshConstants.h
49efc95c264cb2b97a5d1b88eb0eb0d10649ec6d
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Kitware/SMTK
83ff15620f801f12488ad238a4cf36f2998cfd14
a16cf5393f91d97dca2db0c2bd46d21864152c66
refs/heads/master
2023-08-31T18:54:44.534709
2023-08-28T14:35:32
2023-08-28T14:35:50
28,104,084
50
30
NOASSERTION
2023-07-20T11:08:10
2014-12-16T20:02:07
C++
UTF-8
C++
false
false
3,761
h
ExtractMeshConstants.h
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
103a513e2c8b7f1e002b8364c326e96ea361f509
29d5285c8eacf98933b64e2afcfbe09b09ad758f
/SE360Lab2/SE360Lab2/MazeFactory.h
7a8c6740e3e6bb980e77d49f5f6c414f4dcf568f
[]
no_license
Galbraithjt/SE360_Lab2
c2c9c694a5ff3fa1fc027980790f1a27feb02631
f9291773c2c25039b1b354a29a3296f1148d6e42
refs/heads/master
2021-01-13T09:37:25.201953
2016-09-27T17:31:55
2016-09-27T17:31:55
69,382,041
0
0
null
null
null
null
UTF-8
C++
false
false
462
h
MazeFactory.h
#ifndef MAZEFACTORY_H #define MAZEFACTORY_H #include <string> class MazeFactory { public: static MazeFactory* Instance(); // singleton access method virtual std::string className() { return std::string("MazeFactory"); } protected: MazeFactory(); private: ...
b05c0253d44aa1388eb09211cca2ea2f0ee49693
8b4592d03e4cc16f3de69189515e9eeb36e63b52
/subarray.cpp
f2aead579abc248c910e1313fedeeae66d3843fa
[]
no_license
koni24/array
68d350b8ae90e3c24057c3ab08e1414134f7994e
2d9fddf47bf5e24eba1fb5479a0c25de924fff41
refs/heads/main
2023-07-15T09:33:58.124550
2021-08-29T04:59:31
2021-08-29T04:59:31
392,357,495
0
0
null
null
null
null
UTF-8
C++
false
false
416
cpp
subarray.cpp
#include<iostream> using namespace std; void subarray(int *arr,int n){ for(int sp=0;sp<n;sp++){ for(int ep=sp;ep<n;ep++){ for(int i=sp;i<=ep;i++){ cout<<arr[i]<<" "; } cout<<endl; } } } int main(){ int n; cin>>n; int *...
068ffaba35c64cdd0ed21998df3b804c85fccd0d
84be7829b24b3286431040ac570728a79ff0dc1a
/PascalTriangle/pascalTriangle.cpp
6eab6ba57932d9e0f95832cb78400b8ae48c130f
[]
no_license
cfy-github/LeetCode
2d65df19da5bc34d0658d5b5e5bbd525a82d16cf
e1172fc5c94e5ce0cc2d358ccdd02a79b2bd4ab2
refs/heads/master
2021-01-20T21:20:40.275064
2014-07-08T02:30:39
2014-07-08T02:30:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
366
cpp
pascalTriangle.cpp
class Solution { public: vector<vector<int> > generate(int numRows) { vector<vector<int> > r; for(int i=0;i<numRows;i++) { vector<int> curr(i+1); r.push_back(curr); for(int j=0;j<=i;j++) { r[i][j]=(i==0||j==0||i==j)?1:(r[i-1][j]+r[i-1][j-1]); ...
3280e124e8c5fe9ec8df32bffe48319ea527c030
62669fbaa3d9b52bd34a8ab8bf781f2d18b3778b
/dlib/bigint/bigint_kernel_2.h
4c771cf372896aac8113a914f8d4627c6a6f5d98
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
davisking/dlib
05c04e5c73c8b92526c77431e9bb622974ffe3f2
f6c58c2d21a49d84967e48ffa33e7d1c783ae671
refs/heads/master
2023-09-06T08:22:13.063202
2023-08-26T23:55:59
2023-08-26T23:55:59
16,331,291
13,118
3,600
BSL-1.0
2023-09-10T12:50:42
2014-01-29T00:45:33
C++
UTF-8
C++
false
false
14,545
h
bigint_kernel_2.h
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_BIGINT_KERNEl_2_ #define DLIB_BIGINT_KERNEl_2_ #include "bigint_kernel_abstract.h" #include "../algs.h" #include "../serialize.h" #include "../uintn.h" #include <iosfwd> #includ...
28a0daa7c848877efab44b8257432e74fc7ce7e2
268d59529b0b81b906d11151dff53c3c03f49fee
/vstgui4/vstgui/lib/controls/cparamdisplay.h
bae11bc9cb1b4adaeff44ed6798a8a63839e5420
[]
no_license
jazzman31/VST3-SDK
4396d3d3f0b8080b02e43686c72426e3e704dce1
9da168bc8c9207e64b5c9ad0210d642094887f1f
refs/heads/master
2016-09-07T14:20:44.175681
2014-03-06T18:02:06
2014-03-06T18:02:06
17,487,209
1
2
null
null
null
null
UTF-8
C++
false
false
5,223
h
cparamdisplay.h
//----------------------------------------------------------------------------- // VST Plug-Ins SDK // VSTGUI: Graphical User Interface Framework for VST plugins // // Version 4.2 // //----------------------------------------------------------------------------- // VSTGUI LICENSE // (c) 2013, Steinberg Media Technologi...
ac81c7daa990e68edc387db9614c5e48c4f96ea4
26750e475fcd784c8ee8d6c035e85712ec86c19b
/MPIBasics/src/main.cpp
de6ec002e7cda6a1eb2673a5dda5db0e1e8dbc3d
[]
no_license
lombo-cmyk/SCproj
71c05b09276900ef8e798892786b278f4a08068b
9472cdf93c49edf3fa8dd5ce87b086391279bf70
refs/heads/master
2021-03-11T13:03:12.423536
2020-05-24T12:46:57
2020-05-24T12:46:57
246,531,495
0
0
null
2020-03-13T13:46:32
2020-03-11T09:42:25
CMake
UTF-8
C++
false
false
2,726
cpp
main.cpp
// // Created by lkania on 30.04.2020. // #include <mpi.h> #include <cmath> #include <iostream> #include "../include/Timer.h" #include "../include/MyMpi.h" void pointToPoint(int argc, char* argv[]){ MPI_Init(&argc, &argv); int rank, size; MPI_Comm_size(MPI_COMM_WORLD, &size); MPI_Comm_rank(MPI_COMM_WOR...
4aa7266f0f7e936c48bd06332aa3264566d6cc37
56857f68758a338fbdebcc88160abb5d6d8ba41d
/Lab5/Main - Copy.cpp
4d9a9a13500e81c93bb0157a30e06555445bd8cb
[]
no_license
russwads/csBeginner_2017
67ab6c8976d060b634acceb011ab7250ca15dabf
ee2d3131924badb2f1d71cdd2db7fe50ce371814
refs/heads/main
2023-03-07T10:08:31.348610
2021-02-21T03:56:59
2021-02-21T03:56:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,499
cpp
Main - Copy.cpp
/** LAB 5 -- Shunting Yard Algorithm / Expressions by Rusty Steel Wool "In computer science, the shunting-yard algorithm is a method for parsing mathematical expressions specified in infix notation. It can produce either a postfix notation string, also known as Reverse Polish notation, or an abstract syntax tre...
58d8c59eaa98f2a21e29a9c110f905f6ad64021a
0ed2930b1ad3b7b608c4f535ec07a31e275d457f
/CountingSort.cpp
815bda429819fa0b1c51bb3ab3ab1d88877cb841
[]
no_license
akkiitsme/Data-structures-using-C
5279d0ee942fe775a0ea21afe3a7bb1db2f2561c
ef1b4c886d90b413214faa4c7c0fb9c5d64461cf
refs/heads/main
2023-06-06T22:50:27.814947
2021-07-08T10:46:31
2021-07-08T10:46:31
380,207,157
0
0
null
null
null
null
UTF-8
C++
false
false
940
cpp
CountingSort.cpp
#include<stdio.h> #include<stdlib.h> //function declaration void getarr(int[],int); void putarr(int[],int); void CountingSort(int[],int[],int); //main function int main(){ int arr[20],arr2[20]={0}; int size; printf("Enter the size of an array:"); scanf("%d",&size); getarr(arr,size); CountingSort(arr,...
1278ebc4bebe30cd109722ba15f5d6d33b62c91a
ec882313fd79e2b906ab336eac0af059883353c2
/DataStructure/TernaryTree.h
8065e27b81771c6d698aacede0c39524954c804d
[]
no_license
unsccaptain/data-structure
fc6b1aa73a2d6b46f68b879b3888928cf21f3c82
fbd30d835cd3ab2b666ad9fffeeea90da4210852
refs/heads/master
2022-08-01T20:30:55.752328
2020-05-29T13:16:40
2020-05-29T13:16:40
258,714,645
0
0
null
null
null
null
UTF-8
C++
false
false
1,870
h
TernaryTree.h
#pragma once #include <string> #include <vector> /// this is a memory-efficient data structure to index the range of particular /// prefix.it is meaningless to implement it as a templete class namespace adt { using namespace std; struct Range { unsigned Start; unsigned End; explicit Range() = default; expl...
c7bb0c737a378e4f422d62786100eb274409c640
fab73cf72615bae97b28b3f3c3fd7191fdc2929b
/leetcode/BinaryTreeLevelOrderTraversalII.cpp
dd150fc984bbd47240b2b5a66d789628e9376bfd
[]
no_license
sunogame/testmyself
7b7010bd0b179a94de82a7a448302466a6e20955
e2f086b74144221276bbc2490ce9a4ca40b5c09b
refs/heads/master
2021-01-23T13:17:41.689317
2014-01-11T06:32:51
2014-01-11T06:32:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,180
cpp
BinaryTreeLevelOrderTraversalII.cpp
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ class Solution { public: vector<vector<int> > levelOrderBottom(TreeNode *root) { // Note: The Solution object is instant...
5a97201e23045d587512c9539647011102c8c051
efc39e68b3e7f588cebe247a485013c84624ff55
/plugins/datatools/src/table/TableSort.cpp
a0530ca17438fcb269ee29c1fc05112b71d2954b
[ "BSD-3-Clause" ]
permissive
invor/megamol
5d913a6ed5f8315f15c938f6494da84ac5093ece
36f1061d34e930927cb18ae6b79690fe79d6c0ba
refs/heads/master
2023-08-04T22:10:56.033868
2023-03-20T15:33:49
2023-03-20T15:33:49
204,038,195
2
0
BSD-3-Clause
2022-10-10T16:59:40
2019-08-23T16:58:27
C++
UTF-8
C++
false
false
4,939
cpp
TableSort.cpp
/* * TableSort.cpp * * Copyright (C) 2019 Visualisierungsinstitut der Universität Stuttgart * Alle Rechte vorbehalten. */ #include "TableSort.h" #include <algorithm> #include <cassert> #include <functional> #include <limits> #include <numeric> #include "mmcore/param/BoolParam.h" #include "mmcore/param/FlexEnumP...
a2f05b5418ae3ac30ed745f241c2876731fa1006
4cb1079297b4cff3c1a3e83fdc6b39a385a33346
/Lesson2/readHits_module.cc
556514594b22ec35ec1cee04704720e5e9f90d44
[]
no_license
lyon-fnal/gm2artexamples
8760c991d8c603c13edd0c75175ac6834a917ee0
f10e51913f2198ae25dbabc90a3bc58a5703c249
HEAD
2016-09-06T19:04:59.752902
2014-02-27T19:13:46
2014-02-27T19:13:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,776
cc
readHits_module.cc
// This is the readHits Art module. // This is an analyzer that will read HitData from the event and make some plots and a root tree // Art includes #include "art/Framework/Core/EDAnalyzer.h" #include "art/Framework/Core/ModuleMacros.h" #include "art/Framework/Principal/Event.h" // Root + Art includes #include "TH...
e7c0100f58ee4a7cec68044e8fdf47cd7daad62b
9b039790aae9ae72e4f3410c0b46a4ac5322acd6
/match_handlers.h
b20059f2ff3f37ad4d3fd2dd2f59a1d416140f7c
[ "BSD-2-Clause" ]
permissive
larsjuhljensen/tagger
8535d486052b17345733d1a72ac0706c96b728da
3773f7835d431ca0a3ccfeab545952a8f4c258e0
refs/heads/master
2023-03-07T07:48:47.827300
2022-07-20T12:52:49
2022-07-20T12:52:49
238,368,723
20
5
BSD-2-Clause
2022-02-09T09:57:12
2020-02-05T04:36:26
C++
UTF-8
C++
false
false
7,282
h
match_handlers.h
#ifndef __REFLECT_MATCH_HANDLERS_HEADER__ #define __REFLECT_MATCH_HANDLERS_HEADER__ #include "document.h" #include "file.h" #include "tagger_types.h" #include <climits> #include <vector> #include <unordered_map> using namespace std; typedef vector<SERIAL> SERIALS; typedef unordered_set<SERIAL> ENTITY_SET; typedef u...
1e88a0594360966d7152b84f4d290c5ab9f12cba
5543f690a81811a076bebc373b1512b29e8d1b1d
/Projeler_Section2/Ornek1.cpp
c89751961562de1c812d9c7517532e5382830c37
[]
no_license
gmihran/DijitalOyunlarKodYazimi1
d741ea3dc54ec9efea5f68049f9953c92d6d0c0c
82c04042cf909394665ea4a9f68406cccfe351c0
refs/heads/master
2020-08-02T08:22:56.098819
2020-02-15T17:35:25
2020-02-15T17:35:25
211,287,083
14
7
null
null
null
null
ISO-8859-9
C++
false
false
1,539
cpp
Ornek1.cpp
#include "pch.h" #include <iostream> /* Bu bir açıklama bloğudur. */ //Bu bir açıklama satırıdır. using namespace std; int main() { setlocale(LC_ALL, "Turkish"); //Türkçe karakterlerin projemize dahil edilmesini sağlar. //printf kodu ile C ve C++ programlama dillerinde ekrana çıktı verebiliriz. printf("Hello ...
6693e1235bfa5ed630825b2f753e0763d962affc
04a524c0b4df3ca0fccc6343a694b332aec6e523
/livearchive/4966.cpp
2deb7bacd93503983fcc666dde6bc38921e8299c
[ "MIT" ]
permissive
Victoralin10/ACMSolutions
93ce41fb6a250c021ce007913c4b8d809adeee6a
6d6e50da87b2bc455e953629737215b74b10269c
refs/heads/master
2021-01-21T04:40:21.643679
2018-09-07T01:54:50
2018-09-07T01:54:50
53,037,723
0
0
null
null
null
null
UTF-8
C++
false
false
1,577
cpp
4966.cpp
#include <bits/stdc++.h> #define pb push_back #define mp make_pair #define pii pair <int, int> #define all(v) (v).begin() (v).end() #define fi first #define se second #define ll long long #define ull long long #define ld long double #define MOD 1000000007 #define MAXN 100005 using namespace std; vector <int > G[MAXN...
eb13128c4cc26945d11854659e9622789a167416
e47243645d0695e765702d010e8b575e0efe899b
/Tests/src/SpeicherMagie.cpp
d7a758b4af5decb19fb48dbcdc7539b4a5d008aa
[]
no_license
CeadeS/MyCppCode
43b2e68585cfbb030c91bcfd5e6739f6a20d721b
781298c73217ab40fee59699488adc5f1faa67b6
refs/heads/master
2021-01-10T18:12:36.042542
2016-03-11T09:37:07
2016-03-11T09:37:07
53,499,382
0
0
null
null
null
null
UTF-8
C++
false
false
1,313
cpp
SpeicherMagie.cpp
/* * SpeicherMagie.cpp * * Created on: Mar 8, 2016 * Author: maho9219 */ #include "Tests.hpp" #include <memory> #include <stdio.h> #include <utility> int main(int argc, char **argv) { std::shared_ptr<Tests> foo = std::make_shared< Tests >(5,5); //foo.reset(); foo-> setCharAt(2,'Z'); char* c= foo->getCh...
839f313a0f12c48981e4f64fef7e3693693b43b0
201aaa1f4ad5933bc6cc6c1d826a88a919fd86ff
/src/kernel/util/type_traits.h
b87c0d1d2571ee95f152760d480ca7f27b5ca2fb
[]
no_license
Tyg13/tyleros
e304bdd9467b54ebceb915ce087ef94b2642010c
d6d3e0c3ad00889e1532d429d498bac04a3ab62b
refs/heads/master
2021-06-24T03:56:15.488877
2021-04-22T07:20:22
2021-04-22T07:21:58
216,700,049
0
0
null
null
null
null
UTF-8
C++
false
false
2,594
h
type_traits.h
#ifndef UTIL_TYPE_TRAITS_H #define UTIL_TYPE_TRAITS_H namespace kstd { template <typename T> struct remove_reference { using type = T; }; template <typename T> struct remove_reference<T&> { using type = T; }; template <typename T> struct remove_reference<T&&> { using type = T; }; template <typename T...
7c73a13bb2f2dc49f6a7544b1754b79dbfff822f
f88213364606807b3ccccac4b35c3746246f475d
/Lab12/Prog1.cpp
f4335c33ed78e2245285a0cffcb43132b68263db
[]
no_license
PemchingKue/CSC1500
12e06e7f3d6adca148b8384af0f603c1c944175c
6f0daac8cb9f63ece3a26845b4c00d78d66d9997
refs/heads/master
2020-03-13T23:17:45.807181
2018-04-27T18:42:25
2018-04-27T18:42:25
131,332,640
0
0
null
null
null
null
UTF-8
C++
false
false
1,445
cpp
Prog1.cpp
#include <iostream> #include "time.h" using namespace std; void normalize(double arr[]){ double sum = 0; for (int i = 0; i < 6; i++){ sum += arr[i]; } for (int i = 0; i < 6; i++){ arr[i] /= sum; } } void print(double arr[]){ for (int i = 0; i < 6; i++){ cout << arr[i] << "\t"; } cout << endl; } int fai...
951a5f4d7a2c6887f3a4d185c3bd7e58ac281301
7c2951637c5d4d65cac5d7221831b856a753d291
/Servers/RTNet_Server/headers/rt_encryption.h
da8da9204229e423eb22427181028da7ce24902d
[]
no_license
renntekstudios/Renntek-Networking
5420b68a863eb44efcebd01a66ae0af1b0722745
db1c95adc2257b52935629b4b5e470fc11df9ad9
refs/heads/master
2021-06-09T09:02:52.623157
2016-11-17T12:28:13
2016-11-17T12:28:13
70,437,596
1
0
null
null
null
null
UTF-8
C++
false
false
315
h
rt_encryption.h
#ifndef _RT_ENCRYPTION_H_ #define _RT_ENCRYPTION_H_ #include "enums.h" namespace RTNet { class RTEncryption { public: static rt_byte* Encrypt(rt_byte* input, int length, int* outLength); static rt_byte* Decrypt(rt_byte* input, int length, int* outLength); }; } #endif
a4e67115f0c242ff84adfa5aab94b0f730f9ab67
eb831f0eae24e871f4fe6cb584a83a45891541b0
/WonderBrush/src/canvas_view_states/RoundRectState.h
caada41fa382e5b0fbfdb56347870ba8c283c518
[ "MIT" ]
permissive
humdingerb/WonderBrush-v2
3f0e4be6bc6d7a51b23a9149f6392cb56927843b
a876a28b99c13414184b8f5a27567b03edc2b32e
refs/heads/master
2021-07-01T09:59:54.077533
2020-12-10T17:01:01
2020-12-10T17:01:01
195,271,147
0
0
MIT
2019-07-04T16:11:58
2019-07-04T16:11:57
null
UTF-8
C++
false
false
887
h
RoundRectState.h
// RoundRectState.h #ifndef ROUND_RECT_STATE_H #define ROUND_RECT_STATE_H #include "AutoShapeState.h" class RoundRectState : public AutoShapeState { public: RoundRectState(CanvasView* parent); virtual ~RoundRectState(); virtual bool MessageReceived(BMessage* message); void SetRoundCornerRa...
b9c26111af733c7bf8d19d9773e62903e60fed96
27e9ea7f277bf747ac262cd108c327561d4f3cb5
/CardGame/ValidateMoveEvent.h
1980321a2e041de150b7a2647b6c74f4103648c1
[]
no_license
CaptainAdmiral/Card-Game
4c17990f59bb2039c5c0efada7abb12430086eec
7da09e1ef507d83101009023601cb81b5d734e69
refs/heads/master
2022-04-04T13:03:59.541176
2020-02-13T03:15:46
2020-02-13T03:15:46
196,883,466
0
0
null
null
null
null
UTF-8
C++
false
false
449
h
ValidateMoveEvent.h
#pragma once #include "Event.h" #include "IValidationEvent.h" class Card; class Slot; class Player; class ValidateMoveEvent : public Event, public IValidationEvent { public: static constexpr EventType TYPE = "Validate_Move"; Card &card; Slot &slot; bool validatePositionOnly = false; ValidateMoveEvent(Card &card...
072e324fdde7ce285bce3280fbfba199038a2875
04facfc8b44b1ccdaaeadc2793d981af285f5df3
/LeetCode/C++/General/Medium/Permutations/main.cpp
ac92ef8ecdeab7ea1c41ae206f0f2037a9444a89
[ "MIT" ]
permissive
busebd12/InterviewPreparation
4423d72d379eb55bd9930685b12fcecc7046354b
78c9caca7b208ec54f6d9fa98304c7f90fe9f603
refs/heads/master
2022-11-02T23:51:46.335420
2022-10-29T06:45:40
2022-10-29T06:45:40
46,381,491
0
0
null
null
null
null
UTF-8
C++
false
false
1,469
cpp
main.cpp
#include <iostream> #include <unordered_set> #include <vector> /* * Solution: we use backtracking to generate all the permutations. However, since we want our permutations * to not have any duplicate numbers, we use an unordered_set<int>, skipIndices, to track which indices * we have visited before so we can skip t...
57b925027beba09ec25f55d68c26963801dd48fb
2fa880c8a06d635eb11ccf9e64b77382e3e825fa
/BANCHUNGK.cpp
d5c116626fe8b4e65f330e2446a641cf216467ac
[]
no_license
AtomicOrbital/SPOJ_PTIT
469e2acf66d4cd8851cc653c0df78f7c5f9d2625
d80395a87a13b564bfa370bb299e1216b3781a9e
refs/heads/main
2023-06-06T04:53:27.359301
2021-06-21T17:27:03
2021-06-21T17:27:03
null
0
0
null
null
null
null
UTF-8
C++
false
false
606
cpp
BANCHUNGK.cpp
#include<stdio.h> int main() { long N; long A[]={0,0,0,0,0,0,0,0}; int a,b,c,d; scanf("%ld",&N); scanf("%d%d",&a,&b); long k=1; int p=a<b?a:b; A[a]=1; A[b]=1; for(long i=2;i<=N;i++) { scanf("%d%d",&c,&d); if(c==a||c==b) A[c]++; else A[...
d459aaafc17a321ef854c97bf72391e80aab9a34
7173c681d6ff52da776d566385bdda574cbd57ff
/asciiArt.cpp
4111e536f2a3ad090ab67d0ab28d8369115dd7ed
[ "MIT" ]
permissive
X3N04/Text
5deb4b137eb3fd4a212d3c434eaef9266d550781
16ed9d0629eac854e409eb9caf03d99b8047b79e
refs/heads/master
2021-04-15T04:17:59.347103
2016-07-17T07:02:53
2016-07-17T07:02:53
63,519,024
0
1
null
null
null
null
UTF-8
C++
false
false
402
cpp
asciiArt.cpp
#include<iostream> using namespace std; int main() { cout << "____ ___ " << endl; cout << "\\ \\/ /____ ____ ____ " << endl; cout << " \\ // __ \\ / \\ / _ \\ " << endl; cout << " / \\ ___/| | ( <_> )" << endl; cout << "/___/\\ \\___ >___| /\\____/ " << endl;...
4178053df2c0cb16115837859f897abfea6f5b35
a6ea8edbbe881476924e97162e4f6f8e100d4f53
/module/include/vsexpress_include/afxvisualmanagerofficexp.h
89c13017e50bbf9ff26ccad238bff129100ad113
[]
no_license
anonbyte/pvpgn-magic-builder
d52e116558dd146f0a75012117f115e40c034e2a
127e75647d05931224e55edcfab0cd1d1f067344
refs/heads/master
2021-01-15T21:07:08.947665
2014-05-27T01:52:34
2014-05-27T01:52:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
10,874
h
afxvisualmanagerofficexp.h
// This MFC Library source code supports the Microsoft Office Fluent User Interface // (the "Fluent UI") and is provided only as referential material to supplement the // Microsoft Foundation Classes Reference and related electronic documentation // included with the MFC C++ library software. // License terms ...
16fcd1aab5bb1db7e31457c0aeafc5c06e0816b7
91a882547e393d4c4946a6c2c99186b5f72122dd
/Source/XPSP1/NT/printscan/fax/admin/faxadmin/ddevmain.h
55837c8ff4e6dd5e5702eb54c8611bae1bd9a8af
[]
no_license
IAmAnubhavSaini/cryptoAlgorithm-nt5src
94f9b46f101b983954ac6e453d0cf8d02aa76fc7
d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2
refs/heads/master
2023-09-02T10:14:14.795579
2021-11-20T13:47:06
2021-11-20T13:47:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,616
h
ddevmain.h
/*++ Copyright (c) 1996 Microsoft Corporation Module Name: dcomputer.h Abstract: This header prototypes the computer selection dialog. Environment: WIN32 User Mode Author: Darwin Ouyang (t-darouy) 30-Sept-1997 --*/ #ifndef __DIALOG_DEVICEMAIN_H_ #define __DIALOG_DEVICEMAIN_H_ #include "reso...
487d7a6f527b2431041740fe00f2c423ea727032
66c3f38b0de4ecc3946d861fa1128afe6220104b
/MangoDatabase/canceledorder.h
effa7d2e126ef7b4dbc2b4ca667bd2f064d07cf2
[]
no_license
WajdyEssam/mangotalaat
6cb21d1a51e646a4f68a6dfa248c20383cfdcdd0
3c6cbf140418162edf18465dd38f7df30e8f640b
refs/heads/master
2020-05-02T10:33:41.507352
2014-07-13T07:58:00
2014-07-13T07:58:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
419
h
canceledorder.h
#ifndef DATABASE_CANCELEDORDER_H #define DATABASE_CANCELEDORDER_H #include "MangoDatabase_global.h" #include "../MangoModel/canceledorder.h" namespace Database { class MANGODATABASESHARED_EXPORT CanceledOrder { public: static bool add(Model::CanceledOrder canceledOrder); static Model::CanceledOrder getById(i...
fc74a12d367ff10e13f5ecdd694c50fc54c0eecb
e481aadec134266259b0cc2d7c4c962bbe95b3a2
/drake/examples/QPInverseDynamicsForHumanoids/system/joint_level_controller_system.h
4f20ad30dd672b0f276ff1e2fe4e5fe00637835f
[ "BSD-3-Clause" ]
permissive
HarvardAgileRoboticsLab/drake
fa739ca2f19ef2e33c03624b5b93a5e2d4437b9d
77e9e279ab28f115c9ccfa9d5eb3e220c64c6626
refs/heads/master
2020-12-11T02:01:54.804539
2017-10-24T23:24:54
2017-10-24T23:24:54
44,820,511
8
9
NOASSERTION
2019-07-03T05:01:57
2015-10-23T15:10:06
C++
UTF-8
C++
false
false
5,876
h
joint_level_controller_system.h
#pragma once #include "bot_core/atlas_command_t.hpp" #include "drake/examples/QPInverseDynamicsForHumanoids/qp_controller.h" #include "drake/systems/framework/leaf_system.h" #include "drake/util/drakeUtil.h" namespace drake { namespace examples { namespace qp_inverse_dynamics { using systems::Context; using systems...
bb1d5260fd8744d606202316660ff22ae8ad0766
2efbb4ec77c4eeccbfb175abba0863ffca673287
/TetraRenderLib/RenderPipeline.cpp
5d4999cab695edebc107fcb471e552a21531c9d0
[]
no_license
fteppe/tetraEngine
102d291b3e51f01ea0c79d77a9d73cb7f126145f
a4110d5fd0cc3e6a37aec44abb1a093868d23c7d
refs/heads/master
2021-06-27T19:52:29.783248
2018-08-14T14:43:34
2018-08-14T15:08:17
100,283,379
1
0
null
null
null
null
UTF-8
C++
false
false
8,955
cpp
RenderPipeline.cpp
#include "RenderPipeline.h" #include "ShaderPostProcess.h" #include <functional> using namespace tetraRender; RenderPipeline::RenderPipeline(tetraRender::Scene &scene) { //std::unique_ptr<RenderPass> rp(new RenderPass); //We have to move the pointer since it is unique, so we have to transfer it and not do a simple ...
e59dda6297b89609df3e29e9beb78fefa176da3d
df758ba91058f068f881eed2f9105fee76c01f10
/src/dbus/internal/bus_thread.h
d6ebaefb6d58a491c81481542fcf63e17c208c42
[ "BSD-3-Clause" ]
permissive
refi64/zypak
1a68f33234c143f3a3bc6c4acc76c283bd61ed6f
ded79a2f8a509adc21834b95a9892073d4a91fdc
refs/heads/main
2023-08-04T21:05:33.768250
2023-07-21T23:07:41
2023-07-21T23:07:41
223,828,105
88
7
BSD-3-Clause
2022-03-25T23:19:24
2019-11-24T23:54:56
C++
UTF-8
C++
false
false
2,654
h
bus_thread.h
// Copyright 2020 Endless Mobile, Inc. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #pragma once #include <dbus/dbus.h> #include <atomic> #include <memory> #include <thread> #include "base/base.h" #include "base/evloop.h" #include "base/guarded_value.h" #in...
083874020f5893b83a0d3babe707f366ac73b275
98929eb901ec6e774690b455aaa7311ac70f1382
/ConsoleDLL/OptimizeGame.h
f23de4206bdbf528dc3f464249de2f29941a1604
[]
no_license
wyexe/BnsProjects_Korea
68cc5843b05376d56d052ce7f210dbfdc0c866cb
1c06e2f60a3c65f0635e1b20ae3b5b07b7b39fb6
refs/heads/master
2022-06-01T03:11:47.928354
2020-05-04T10:23:44
2020-05-04T10:23:44
261,142,312
4
1
null
null
null
null
UTF-8
C++
false
false
595
h
OptimizeGame.h
#ifndef __GITBNSPROJECTS_CONSOLEDLL_FUNCTION_OPTIMIZEGAME_H__ #define __GITBNSPROJECTS_CONSOLEDLL_FUNCTION_OPTIMIZEGAME_H__ #include <MyTools/ToolsPublic.h> class COptimizeGame { public: COptimizeGame() = default; ~COptimizeGame() = default; // BOOL Open(_In_ CONST std::wstring& wsGamePath) CONST; // BOOL Clos...
4bd3f3c3737045552b1961c0aa5605879f48b3a1
233676e340835a58e8041bdc82c313e599af415c
/Schweizer-Messer/sm_kinematics/src/transformations.cpp
b06cc4330a904c72f57a3c23bb5eb252f97c6994
[ "BSD-3-Clause" ]
permissive
ethz-asl/kalibr
9213daa87ed191ce1e05fba9f7424204c2d9734c
94bb8437a72a0d97a491097a7085bf3db4f93bba
refs/heads/master
2023-08-29T17:04:47.774244
2023-08-14T02:08:46
2023-08-14T02:08:46
20,293,077
3,744
1,341
NOASSERTION
2023-09-10T02:18:47
2014-05-29T12:31:48
C++
UTF-8
C++
false
false
4,321
cpp
transformations.cpp
#include <sm/kinematics/transformations.hpp> #include <Eigen/Geometry> namespace sm { namespace kinematics { Eigen::Matrix4d rt2Transform(Eigen::Matrix3d const & C_ba, Eigen::Vector3d const & rho_b_ab) { Eigen::Matrix4d T_ba; T_ba(0,0) = C_ba(0,0); T_ba(0,1) = C_ba(0,1); T_ba(0,2) = C_ba(...
8301b36a66b1973b24c13b54dc5030b4f0f436e3
2269bb3201ad683fd99b1a799b28d0cf2c59f1af
/LintCode/Rotate Image.cc
9f675be4494550684d16b251f2f7e0b07383a281
[]
no_license
TissueFluid/Algorithm
1353ad7133c1f5482abc002ae6d81a1d4d32905a
befcc8e2014d0c83520f0250497e4f3828ac3120
refs/heads/master
2021-01-10T15:13:17.822059
2017-02-27T06:58:09
2017-02-27T06:58:09
43,377,990
0
0
null
null
null
null
UTF-8
C++
false
false
825
cc
Rotate Image.cc
// Rotate Image // (i,j) (j,N-1-i) (N-1-i, N-1-j) (N-1-j,i) #include <iostream> #include <vector> using namespace std; class Solution { public: /** * @param matrix: A list of lists of integers * @return: Void */ void rotate(vector<vector<int> > &matrix) { const int height = matrix.si...
24cb5fa07ad06bda7fe537be9126145f7131d8c9
c37247c880ef102e9ccb3b53c5b2b71b11661c8d
/src/DesignLib/CDesignButtonAction.cpp
d965cd6bc2174ea555ffb8a777e611ad8a2394ae
[ "MIT" ]
permissive
Vladimir-Novick/DesignLibrary
c44917a1a6d6bf95cc2ad4cbdf10ab6bbaae69b8
57233a1401c4e63a010375c3c483355dd172d3f3
refs/heads/master
2023-09-03T07:25:39.033454
2021-11-06T15:01:04
2021-11-06T15:01:04
272,030,074
2
1
null
null
null
null
UTF-8
C++
false
false
4,029
cpp
CDesignButtonAction.cpp
// CDesignButton.cpp : implementation file // #include "StdAfx.h" #include "CDesignButtonAction.h" #include "DesignColors.h" #include "CDefaultAppFont.h" #ifdef _DEBUG #undef DEBUG_NEW #define DEBUG_NEW new(__FILE__, __LINE__) #define _CRTDBG_MAP_ALLOC #define new DEBUG_NEW #undef THIS_FILE static char ...
b03457ba89d3bf132c85e8d1fa4623998f906f77
b428e7824f3cd40f7a752d9b83068462001248b3
/C++/Lecture Algorithms and Data Structures/iterative algorithms/lineare_algebra/IntArray.h
2a7804a8ea0bf9268a208248cf562972f7677eac
[]
no_license
RobinTTY/LearningCollection
4a3a07fe4e99d9e10708e007b6be7ff62064a4e9
0daf33f61bc1433a0293dabdda5fbf2ff092060c
refs/heads/master
2023-08-16T19:18:58.772937
2023-08-09T22:40:03
2023-08-09T22:40:03
177,464,709
0
1
null
2021-08-09T17:52:28
2019-03-24T20:20:42
Python
UTF-8
C++
false
false
4,634
h
IntArray.h
/* -*-C++-*- * (c) Copyright 1998, Juergen Koch * * ALL RIGHTS RESERVED * */ #ifndef INTARRAY_INCLUDED #define INTARRAY_INCLUDED #include <iostream> #include "LinearAlgebra.h" namespace LinearAlgebra { //----------------------------------------------------------------------------- // // class IntArray // //---...
fc801f850a90afdf0f65f52d3c46880c07fadd3a
f4a267b452777bc08a72a9db3b04566a4e214115
/main_nums.cpp
b2d28c6cbbf9a35c70aa8ac55697e33fd72e282b
[]
no_license
Funix565/FileMapping
c338c95a5ec4906443d780c6caf08bb5ce9636ef
6beb556334f77a4e676d6810fc5883f9904d4ecc
refs/heads/master
2022-12-16T09:46:19.316237
2020-09-10T14:16:09
2020-09-10T14:16:09
294,426,587
0
0
null
null
null
null
UTF-8
C++
false
false
1,712
cpp
main_nums.cpp
#include <QCoreApplication> #include <stdio.h> #include <conio.h> #include <stdlib.h> #include <time.h> #include <QThread> void Write(char *fname); void Read(char *fname); //void StarsRead(char *fname); const int size = 50; int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); ...
2ac3c1cf2cb92e232b56905d738924b40a78215e
6a59a44410937dd10619c2ac016a3302670b7353
/tusa9/core/license.h
485e59897518351e1254943b98b4a20b0b46b513
[ "MIT" ]
permissive
akakist/tusa-chat
0dbf26674eb94deec56021085a9a7bcdb0239d5a
1dfedb4a15ad86727a0133f06b87a567114afe0d
refs/heads/master
2021-07-10T00:37:29.415885
2021-03-30T07:19:47
2021-03-30T07:19:47
235,997,118
0
0
null
null
null
null
UTF-8
C++
false
false
12,162
h
license.h
#ifndef LICENSE__H #define LICENSE__H #ifdef __WITH_LICENSE #else # ifdef __NO_LICENSE # else # error must define __WITH_LICENSE or __NO_LICENSE # endif #endif #ifdef __WITH_LICENSE #include "stdafx.h" #include <sys/types.h> #include <vector> #include <map> #include <stdio.h> #include "_mutex.h" #include "errs.h" #i...
41b40773e1da5fe4d78ddd3cc8f8351bed5c00f9
d09945668f19bb4bc17087c0cb8ccbab2b2dd688
/atcoder/abc101-150/abc139/f.cpp
9fcbb218514e967bae563a48678c35e93eb9e776
[]
no_license
kmjp/procon
27270f605f3ae5d80fbdb28708318a6557273a57
8083028ece4be1460150aa3f0e69bdb57e510b53
refs/heads/master
2023-09-04T11:01:09.452170
2023-09-03T15:25:21
2023-09-03T15:25:21
30,825,508
23
2
null
2023-08-18T14:02:07
2015-02-15T11:25:23
C++
UTF-8
C++
false
false
2,144
cpp
f.cpp
#include <bits/stdc++.h> using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;x<(to);x++) #define FORR(x,arr) for(auto& x:arr) #define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++) #define ALL(a) (a.begin()),(a.end()) #...
0c17f589109b91f6d155ea70db19fd12a363a35c
4db34f4ac120894642ff9404a2d06af2e3d5a3f3
/bmjcui/src/state/imagecheckstate.cpp
5007e02c47d35f30b2b7dd2d770d156f9614cd52
[]
no_license
zhanrui/apollo
a233449f27d7469e9d33d76bd4709bd05815ddc1
a43c007c9db340797b56649bc2b396d21ca50023
refs/heads/master
2020-05-19T18:55:37.053102
2015-05-24T22:45:54
2015-05-24T22:45:54
29,225,236
1
2
null
null
null
null
UTF-8
C++
false
false
5,337
cpp
imagecheckstate.cpp
#include "imagecheckstate.h" #include <QDBusConnection> #include "src/state/common/checktaskgroup.h" #include "src/common/globals.h" #include "src/ui/main/mainwindow.h" #include "src/ui/imagecheck/imagecheckwidget.h" #include "src/ui/detailreport/imagecheckrpt.h" #include "src/ui/base/staticbutton.h" #include "src/...
5c549aea21569a21566415f3ea30acd84613ed3f
169251c757f13d19b52ca3443fe4140ee6ceb5a8
/source/2019.08.14/江若璜/min.cpp
5a33bd2bd39921a2464a9b11199db9726ffb304d
[]
no_license
kcudcigam/Problems
e394dd75539f69107e2987126036f2638aeaf4e2
a53b473b9a5df5d91da13d52aba1c59ce1bc5a53
refs/heads/master
2023-07-25T06:26:40.350993
2019-08-29T11:24:07
2019-08-29T11:24:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,849
cpp
min.cpp
#include<bits/stdc++.h> using namespace std; typedef long long ll; const ll N=3005; ll n,A,B,C,D,a[N],s[N],ans; struct dp{ ll maxn,minx; }f[N][N]; template <typename T> void rd(T &x){ ll fl=1;x=0;char c=getchar(); for(;!isdigit(c);c=getchar()) if(c=='-') fl=-fl; for(;isdigit(c);c=getchar()) x=x*10+c-'0'; x*=fl; } ...
d9875ee5f28e1839f2d474c65ce29dd5e37a636a
f6b966ca46379cd6037ecffaa539ec1807205314
/Chapter_16_Exercises/Ch_16.cpp
639fa757b6015f0cf22a76cab9dadbfe0ca80f39
[]
no_license
guilhermezardo0/Programming-Principles-and-Practice-Exercise-Solutions
e39a811e06c58572f1c626d01efe205d3ee671c0
a7322501be813dd23962ea6104b998527cc5f55a
refs/heads/master
2021-09-06T03:22:40.960540
2018-02-02T01:25:58
2018-02-02T01:25:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
707
cpp
Ch_16.cpp
#include "Graph.h" #include "Simple_window.h" #include "Window.h" #include <FL/Fl.h> #include <FL/Fl_Box.h> #include <FL/Fl_Window.h> #include "../../std_lib_facilities.h" #include <cmath> int main() { //Drill------------------------------------------------------- //Lines_window win{ Point{ 100,100 },600,400,"lines...
fd622fa23d50f6ae90783dcdcbe0af36d476f2e8
ca5ee1c352020f88114de86089056aa9d105dff2
/filewatcherpp.hpp
5addaca55111c3fad7842eb4c9c79fab3cb3e78c
[ "GPL-3.0-only" ]
permissive
crablet/filewatcherpp
4061dae9e76dc9602bac7377292193e957f04c22
8cf3a718742ef6c1e11c3f0e41c7b6b489fa063c
refs/heads/master
2023-05-26T21:41:59.173351
2021-05-06T16:05:30
2021-06-04T12:41:53
351,828,296
2
0
MIT
2021-03-28T09:57:12
2021-03-26T15:30:27
null
UTF-8
C++
false
false
17,465
hpp
filewatcherpp.hpp
// Copyright (C) 2021 Qi Chen <love4uandgzfc@gmail.com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later v...
5927f318bd0472c691fa9ebd5d8f92d2895778c1
e568fcf70d23481da18734c2a9d30c1b5d95b265
/src/models_library/ten_tusscher/ten_tusscher_3_RS_common.inc
c8abfe4632a55d6552a842d1961b297ca49fad83
[ "MIT" ]
permissive
rsachetto/MonoAlg3D_C
0be1950a3c8f357d99ccd16e38f1da47ad7e9fe6
69875c8d01469a55c2ece0f902614b8bf0bd98c7
refs/heads/master
2023-07-09T08:18:48.118294
2023-06-26T18:38:18
2023-06-26T18:38:18
105,298,729
16
5
MIT
2023-06-26T11:31:15
2017-09-29T17:19:24
C
UTF-8
C++
false
false
8,944
inc
ten_tusscher_3_RS_common.inc
const real natp = 0.24; // K dependence of ATP-sensitive K current const real nicholsarea = 0.00005; // Nichol's areas (cm^2) const real hatp = 2; // Hill coefficient //Linear changing of atpi depending on the fibrosis and distance from the center of the scar (only for border zone ...
d860a77cf055f2cde21a277a35cb08f0147bfed3
6024842e34e7ee276ce07930cd50abff2e96fbe1
/Commonly Asked/Power_of_Numbers.cpp
b48aa50d6628814aa68decfdcc39dc9b8e3bc6b3
[]
no_license
TaishiRoy/CP
890e143f30b38ab79d133ce9a7b3f242a965c762
dd372b3805d262919b38b320a6f0e7c2c942ecc1
refs/heads/master
2023-02-27T20:12:31.718078
2021-02-01T18:15:31
2021-02-01T18:15:31
263,573,835
0
0
null
null
null
null
UTF-8
C++
false
false
371
cpp
Power_of_Numbers.cpp
// function implementing pow (%1000000007) while taking care of overflow // O(logN) time complexity O(logN) auxillary space long long power(int N,int R) { if(R==0) return 1; if(R==1) return (N%1000000007); long long sq = power(N, R/2) % 1000000007; sq = (sq*sq) % 1000000007; if(R%2==0) retur...
0cce68efe669cc26a54039548879fa29a05d543a
2765d0a19de9e401cc086e5cacebbb4b83ebdd41
/src/gcli/xrc/LoginDlg.cpp
b2270864d1a63cb9bcbf5074f41818b1c1d26d40
[]
no_license
mcejp/602sql11
d449eeda9194dc08422c0d544384f91fbcd83480
38915304dc33c818c8823d4f70d99ac729dca6c8
refs/heads/master
2020-03-30T03:40:45.755487
2008-08-06T07:28:57
2018-09-28T07:28:57
150,702,131
0
1
null
null
null
null
UTF-8
C++
false
false
8,880
cpp
LoginDlg.cpp
///////////////////////////////////////////////////////////////////////////// // Name: LoginDlg.cpp // Purpose: // Author: // Modified by: // Created: 01/23/04 09:38:05 // RCS-ID: // Copyright: // Licence: /////////////////////////////////////////////////////////////////////////////...
74fea3b8f65ae5c96e0abfa5fc7c8fae110519d7
b7d3db4d6d08c69da4197cd57e05439273278a24
/DSA/Offline-8/kounting-sort.cpp
7a510e33e9b0beea830ea5994159d7298c618c7d
[]
no_license
rebornplusplus/2-1-Diaries
743b7a5f04075dcfbf0d8c4e6594af8d874471e5
e4db7cde2ade330ba7e0d4e70efe2e455f4f8e6b
refs/heads/master
2020-03-12T10:17:29.960059
2019-06-07T01:52:37
2019-06-07T01:52:37
130,570,108
0
2
null
null
null
null
UTF-8
C++
false
false
454
cpp
kounting-sort.cpp
#include <bits/stdc++.h> using namespace std; const int N = 1000000+7; int cnt[N+N]; void kounting_sort(int *a, int n) { memset(cnt, 0, sizeof cnt); for(int i=0; i<n; ++i) ++cnt[a[i]+N]; for(int i=0, j=0; i<N+N; ++i) { while(cnt[i]--) a[j++] = i-N; } } int main() { int n; scanf("%d", &n); int a[n]; for(int...
8970e22d4b322774643b729cdd13990243e780ca
0b7f95a5a66eaa35738cd4e6b553e49175301959
/Source/System/Physics/Resolution/ContactPoint.cpp
ba0796db64171e8f43414bad5561a63637946b82
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
arian153/Engine5th
f993b45122de49e305e698f44ac9be4e2462a003
34f85433bc0a74a7ebe7da350d3f3698de77226e
refs/heads/master
2021-11-19T20:09:20.716035
2021-09-04T05:59:27
2021-09-04T05:59:27
219,928,073
1
0
null
null
null
null
UTF-8
C++
false
false
2,983
cpp
ContactPoint.cpp
#include "ContactPoint.hpp" #include "../../Core/Utility/CoreUtility.hpp" namespace Engine5 { ContactPoint::ContactPoint() { } ContactPoint::~ContactPoint() { } void ContactPoint::Clear() { global_position_a.SetZero(); global_position_b.SetZero(); local_positio...
9d2bf77c594e455fd117513bf1802f303c36990a
30d5b29dcd0da2e52fa1a9c2b70c6656120ab774
/MAX7219InternetClock/MAX7219InternetClock.ino
389be4cf4bb7f64dc3d8e6fee1bc1afa800e4dfe
[ "MIT" ]
permissive
hznupeter/Max7219InternetClock
18c2c25479ac91bd45fa99686fe3aed6fda58a61
b91b0a3d77f29986e994627c3bce911a8dddb941
refs/heads/master
2020-04-14T07:39:10.135473
2019-04-18T02:05:26
2019-04-18T02:05:26
163,718,216
1
0
null
null
null
null
UTF-8
C++
false
false
7,036
ino
MAX7219InternetClock.ino
#include "Settings.h" void Display() { //显示内容 //Serial.println(1); if (millis() < 5000) {//开机画面 scrollMessage(marqueeMessage); } else if ((minute() == 59 || minute() == 30) && second() == 0) { //显示日期,天气,温湿度,每隔半小时 Blynk.virtualWrite(V2, "https://api.seniverse.com/v3/weather/daily.json?key=" + APIKEY + "...
775c48c9c29956cc8a63e24a250ef52bcf745c6a
ea89ab2cae9922ea09cbb7192a5ba23e7f3386ef
/src/tasks/task_list.hpp
cad63a209fecc01b37b0d9a2f42ba99d8e305be2
[ "BSD-3-Clause" ]
permissive
eschnett/parthenon
10a23e1853f83883a940305d0d31d6e811045f25
9a0da417cc809aa8a63a36a522789b83af8070aa
refs/heads/master
2022-11-18T00:41:53.968398
2020-07-15T21:10:30
2020-07-15T21:10:30
280,213,761
0
0
NOASSERTION
2020-07-16T17:17:06
2020-07-16T17:17:05
null
UTF-8
C++
false
false
3,681
hpp
task_list.hpp
//======================================================================================== // (C) (or copyright) 2020. Triad National Security, LLC. All rights reserved. // // This program was produced under U.S. Government contract 89233218CNA000001 for Los // Alamos National Laboratory (LANL), which is operated by Tr...
edac041447db502725e73ddd7b1e1e4ddccb0fb3
b99694d8021271ef621a58a6f4323567cf0f0037
/Tema1_Album/Tema1_Album/Artist.cpp
270f13411d5b43f043cb053a42b661d78f4003c0
[]
no_license
Soare-Robert-Daniel/Project-Wheel
63f5d89f3513045c698cfbdaa07969a10d0c23ae
44f756bd3c859dc3a5efef4167d293d37527db7a
refs/heads/master
2021-04-12T03:55:37.513588
2018-05-26T10:05:58
2018-05-26T10:05:58
125,760,644
0
0
null
null
null
null
UTF-8
C++
false
false
2,275
cpp
Artist.cpp
#include "stdafx.h" #include "Artist.h" #pragma warning(disable : 4996) Artist::Artist() { } Artist::Artist(char * & nume, const int & varsta) : Persoana(nume, varsta) { } Artist::Artist(char * & nume, const int & varsta, vector<Album> & albume) : Persoana(nume, varsta) { this->albume = albume; } Artist::Artist(c...
8c8befae52ac8b2e30316e1e0efbe91643932610
48a8bac3aab22d4485ea9b4a89090023da3c1ac0
/src/DesktopCore/Network/Model/Credentials.h
72465096956bf1ca0ab35a1b00bec1d9fd4e27aa
[ "MIT" ]
permissive
lurume84/jirafy-desktop
8826cacf5e423bd26234b549e5ad238b260235ba
e5bba790371ca79dede990e7ee57205dd3e30647
refs/heads/master
2022-03-28T00:40:40.868636
2019-12-08T20:37:53
2019-12-08T20:37:53
198,171,816
5
1
null
null
null
null
UTF-8
C++
false
false
313
h
Credentials.h
#pragma once #include <string> namespace desktop { namespace core { namespace model { struct Credentials { Credentials(const std::string& host, const std::string& port, const std::string& token) : m_host(host) , m_port(port) , m_token(token) { } std::string m_host, m_port, m_token; }; }}}
d60c378369eaf298d10dd8d2c2933e11cda2a770
4db565dd7d86366ffeb1203be22e4ac5177a6ecd
/src/rce/leaderboard/Leaderboard.cpp
d5a276608058d861a97b1b287a86937253ffb91d
[]
no_license
Siocnarff/VierEenTwee
4eb1530aca53755ff8b7a28aa0ed0e23a0a7eaec
c5009579b4f8ae4b87bb1f247cb61e223c3357ce
refs/heads/master
2023-01-12T21:40:19.926139
2020-11-10T09:45:25
2020-11-10T09:45:25
300,160,483
0
0
null
null
null
null
UTF-8
C++
false
false
2,884
cpp
Leaderboard.cpp
#include "Leaderboard.h" #include <iostream> using namespace rce; Leaderboard::Leaderboard() { for(int i = 0;i < 20; i++) { finalScore[i] = 0; } RaceCounter = 0; } bool Leaderboard::getdisplayLeaderboard() { return displayLeaderboards; } void Leaderboard::setdisplayLeaderboa...
816f379bbccf43097b76850e5f41444725819954
2e2c142919b728417f464b1834bdab929693d85a
/C++/Overload Operators/overload operators.cpp
aa7edf7d17f6c6badccbb8940f76625c08d2966a
[ "MIT" ]
permissive
ryderdo/HackerRank
d6ce2fbe18375fb666b6611897179915e2203ebf
072c5796eb5907f45f214f1af45338d0c6830893
refs/heads/main
2023-04-25T06:09:04.331931
2021-05-17T03:48:15
2021-05-17T03:48:15
368,132,040
1
0
MIT
2021-05-17T09:39:40
2021-05-17T09:39:39
null
UTF-8
C++
false
false
793
cpp
overload operators.cpp
/* Author: Isaac Asante * HackerRank URL for this exercise: https://www.hackerrank.com/challenges/overload-operators/problem * Original video explanation: https://www.youtube.com/watch?v=YwbugfFbxR0 * Last verified on: April 17, 2021 */ /* IMPORTANT: * This code is meant to be used as a solution on HackerRank (li...
6e889c261cbb4dda268c8ca319708ff8c9e94b89
739c0df7e6a024b5243faabae737f02f83087269
/Uebungsblatt_5/Ubung_2/Ubung_2.cpp
463c165540e504c1b3c915d0ed26210593427f5b
[]
no_license
donald74/Wissenschaftlisches_Rechnen_SS2019
7b8ccb219e9543b9b93a6fb3727f346cc0fc28c1
04a3f95743e59c35897e03d82959987caec41fa9
refs/heads/master
2022-03-20T09:58:10.530424
2019-11-13T07:21:26
2019-11-13T07:21:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
500
cpp
Ubung_2.cpp
#include<vector> #include<iostream> #include<cmath> #include "NumVector.h" int main(){ NumVector v(3); v[0]=1; v[1]=3, v[2]=4; const NumVector& w=v; std::cout<<"norm is "<<w.norm()<<std::endl; std::cout<<"vector is ["<<w[0]<<", "<<w[1]<<", "<<w[2]<<"]"<<std::endl; } // void vectorTest(std::vector<double>& v){} // in...
ae4924efb4e7861b075f302e901b7cfdf4c4169b
32288d71675399966ae673537bca3ecda73f39dd
/src/server/MockServerFactory.cpp
b39bc46f3efdbad956a5868d64e88af2b92961aa
[]
no_license
buptbill220/imock
b613087a0fcead8cc60591825d2524096b90c87f
48c9245aa666d51dd84011fc9c89ec2cba854565
refs/heads/master
2020-05-04T05:48:41.002890
2016-12-05T12:16:43
2016-12-05T12:16:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
500
cpp
MockServerFactory.cpp
#include "MockServerFactory.h" #include "Log.h" #include "HttpServerMock.h" using namespace std; BaseMock* MockServerFactory::MockMap(const string& p) { if ("http" == p) { GLOG(IM_DEBUG, "new a http mock"); return new HttpServerMock(); } else if ("https" == p) { GLOG(IM_DEB...
ad49e93dcb573665222d1c28ead89c6ef93ec191
0cb85cd0c88a9b9f0cca4472742c2bf9febef2d8
/CS AdminKit/development2/include/nagent/conn/networklist.h
10f71c7e67d9a7b4e413a1adc080e5d8f61ab69f
[]
no_license
seth1002/antivirus-1
9dfbadc68e16e51f141ac8b3bb283c1d25792572
3752a3b20e1a8390f0889f6192ee6b851e99e8a4
refs/heads/master
2020-07-15T00:30:19.131934
2016-07-21T13:59:11
2016-07-21T13:59:11
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
11,234
h
networklist.h
/*! * (C) 2004 "Kaspersky Lab" * * \file conn/networklist.h * \author Дамир * \date 2006 * \brief Интерфейс, отвечающий за работу приложения с сетевыми списками * */ #ifndef KLCONN_NETWORKLIST_H #define KLCONN_NETWORKLIST_H /*KLCSAK_PUBLIC_HEADER*/ #include "./conn_types.h" namespace KLCONN_N...
300ef9d3227962b0014b53d9d7ef013890a76416
6daa5b9a1fddc031a6fb38d89e7e934a58bad733
/synthesis_creator.h
9fcc01fa9381de12ecdc6f60feeb3328a219db14
[]
no_license
RyanLiuNtust/performanceOptimizer
3bf34defbde817ba2676662b51c5f9fbcba3800e
9d5fc685ea7d8d0172959ee3c8434d9597fdb9f1
refs/heads/master
2021-01-10T18:43:42.219561
2014-06-20T13:54:38
2014-06-20T13:54:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
509
h
synthesis_creator.h
#ifndef Synthesis_Creator #define Synthesis_Creator #include <opencv.hpp> #include <fstream> #include <math.h> #include "FileSystem.h" namespace synthesizer { void synthesisData(std::vector<std::string>posImgs, std::string synDir, int &syn_w, int &syn_h, double syn_angle = 0, double scale = 1); void synthesis_groun...
e08fa77d3bc1589ef7ac2916c337cb9cd10207a1
9a8a12363855bad9953dde1dd849a14142018904
/GameAI/Tower.hpp
c84a5ebde8221c01960a0162f9042c5045d795b6
[]
no_license
fwx5618177/GameProjects-Xcode
c49649b2a265b730c9a6efe82c08714cf51c6818
9659f04710ef22e121f156606703bb694b64d296
refs/heads/main
2023-03-21T21:38:56.851288
2021-01-09T18:17:13
2021-01-09T18:17:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
466
hpp
Tower.hpp
// // Tower.hpp // GameAI // // Created by 千凡谷梦 on 2021/1/10. // Copyright © 2021 guyu2019. All rights reserved. // #ifndef Tower_hpp #define Tower_hpp #include "Actor.hpp" class Tower : public Actor { public: Tower(class Game* game); void UpdateActor(float deltaTime) override; private: class MoveComp...
608595a9130c496c63d6a8f782db64196db1360f
9d918f241e07cfd9b585b9ff02118ced687e2b43
/example/connector.cpp
f46908b6fa0f3cd10249d1029e223b80a269ef8b
[]
no_license
dycforever/netlib
4a895e7e213900164af8e965fefd52baecc6a959
4b3c0bcba8ae185d2a4800f1c31cb403005e9a59
refs/heads/master
2016-09-06T07:22:12.371421
2015-10-10T11:30:09
2015-10-10T11:30:09
13,979,918
0
0
null
null
null
null
UTF-8
C++
false
false
964
cpp
connector.cpp
#include "Socket.h" #include "InetAddress.h" using namespace dyc; std::string ip = "127.0.0.1"; std::string port = "8714"; int parseArg(int argc, char** argv) { int c; while((c = getopt(argc, argv, "hp:i:")) != -1) { switch(c) { case 'i': ip = optarg; brea...
41c4ef1cc0e5e37aa615167b1d2e9900ecf2d068
ce61a93f7e088229eba115e5bb591ac17d34e685
/client/client_udp.h
0966eb3538f7d632971b00a23e8346f5c2a7f2c1
[]
no_license
maltsevk/simple-client-server
1c13f226167891878ca3d9ca61f7a0aa752ddcce
b0cfbd259c5b3af3b4cfaae0a5a9d22df04318d1
refs/heads/master
2022-11-06T13:35:54.046726
2020-06-29T19:16:53
2020-06-29T19:16:53
275,888,877
0
0
null
null
null
null
UTF-8
C++
false
false
349
h
client_udp.h
#ifndef CLIENT_UDP_H #define CLIENT_UDP_H #include "client.h" class ClientUDP : public Client { public: ClientUDP(const std::string& address, int port); ~ClientUDP(); bool initialize() override; bool send(const std::string& message) const override; bool receive(std::string& message) const overrid...
d9dd296544ae2ab63bc99e902bd11dfbf40f9a72
aa00421be74c30034c457bb042771afe506bd9e4
/src/render/buffer/coRenderBuffer.h
77e89e085852e3e94a302c828ca28cfe74d50a1b
[ "MIT" ]
permissive
smogpill/core
e36ff38b37a53363e985214ce0fd55a543f94e10
c9798815b153627a701fec8572e408c706bc0e19
refs/heads/master
2023-08-12T06:56:18.301582
2023-07-30T09:46:32
2023-07-30T09:46:32
61,426,009
1
0
null
null
null
null
UTF-8
C++
false
false
395
h
coRenderBuffer.h
// Copyright(c) 2022 Jounayd Id Salah // Distributed under the MIT License (See accompanying file LICENSE.md file or copy at http://opensource.org/licenses/MIT). #pragma once #include "lang/result/coResult.h" class coRenderBuffer { public: coRenderBuffer(); ~coRenderBuffer(); void SetDebugLabel(const coConstString&...
7e4be7f1eeaf36e7681dd5efe3483fd2b85bb99f
503eeca00d23f16b0909ab03d9af345dfe96a5ba
/each sorting type/4 - shell sort.cpp
b4ef7300434e505cd1a02d9df9e98c8621c5aeb8
[]
no_license
defr0stt/Sorting-types
6608224434457c296c674ab4c9f1cc49ee4c4e2d
cde50f02e9d60b72776627b279c43d0703d5fc5d
refs/heads/master
2023-06-28T22:46:17.887880
2021-08-05T07:30:51
2021-08-05T07:30:51
387,402,208
0
0
null
null
null
null
UTF-8
C++
false
false
546
cpp
4 - shell sort.cpp
void Shell_sort(int mas[], int n) { int i, j, step; int tmp; for (step = n / 2; step > 0; step /= 2) //n - count of elements for (i = step; i < n; i++) // { //sorting with using whjile step!=0 tmp = mas[i]; for (j...
bfd5a7d8e1314f4475ff61db616926ca26714d7e
46d1cb7fd44d0c770f0ada83fb5638df7a79602f
/U2004_04_Battle4_Collision_reviewRestart/Source/U2004_04_Battle/CAnimNotifyState_Collision.cpp
447ea17a22c3508745dab49e6fc42eb23e5a7d99
[]
no_license
brightface/UnrealEngineCode
7c0ddc07374b6d767d00938aa2865ae7508a4419
d0bb064a98e1a8f6d054cd33d6f73de7b3a7f0ad
refs/heads/main
2023-01-19T03:26:06.645390
2020-11-23T15:10:04
2020-11-23T15:10:04
315,271,225
0
0
null
null
null
null
UHC
C++
false
false
1,212
cpp
CAnimNotifyState_Collision.cpp
#include "CAnimNotifyState_Collision.h" #include "Global.h" #include "Characters/CPlayer.h" FString UCAnimNotifyState_Collision::GetNotifyName_Implementation() const { return "CollisionPart"; } void UCAnimNotifyState_Collision::NotifyBegin(USkeletalMeshComponent * MeshComp, UAnimSequenceBase * Animation, float Total...
282b9d591335bb01c819261610ba2b7bfbf04475
684ff2c7807f900987a8c04da418ca4e74143266
/src/ray.h
4d6484af2ba30bd584cf0db0edac170f0f372c25
[ "MIT" ]
permissive
JamisHoo/Ray-Tracing
fa06d358e47ab21ec719a41fe11d08969b75d5e1
184364cb74e3e547332d09bd95de89241dad0f3d
refs/heads/master
2020-12-24T14:52:36.960607
2015-01-27T09:44:50
2015-01-27T09:44:50
29,854,660
0
0
null
null
null
null
UTF-8
C++
false
false
1,288
h
ray.h
/****************************************************************************** * Copyright (c) 2014. All rights reserved. * * Project: Ray Tracing * Filename: ray.h * Version: 1.0 * Author: Jinming Hu * E-mail: hjm211324@gmail.com * Date: Apr. 07, 2014 * Time: 14:50:33 * Description: Ray is a singl...
2beb7966e96fd0395804e286728ec5cff37b5ddb
91a882547e393d4c4946a6c2c99186b5f72122dd
/Source/XPSP1/NT/enduser/windows.com/wuau/wuaueng/ausessions.h
58ccf4a176d7bef1f8b506da1949ef49a0342c7d
[]
no_license
IAmAnubhavSaini/cryptoAlgorithm-nt5src
94f9b46f101b983954ac6e453d0cf8d02aa76fc7
d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2
refs/heads/master
2023-09-02T10:14:14.795579
2021-11-20T13:47:06
2021-11-20T13:47:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,981
h
ausessions.h
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 2000 // // File: ausessions.h // Definition of the Updates class // //-------------------------------------------------------------------------- #pragma once ...
9b75231b4002e7e1db89cb367c7d97bb9edec70a
199db94b48351203af964bada27a40cb72c58e16
/lang/du/gen/Bible49.h
f833958d3bb4dca91ff2e5751e52aa835d4e64dc
[]
no_license
mkoldaev/bible50cpp
04bf114c1444662bb90c7e51bd19b32e260b4763
5fb1fb8bd2e2988cf27cfdc4905d2702b7c356c6
refs/heads/master
2023-04-05T01:46:32.728257
2021-04-01T22:36:06
2021-04-01T22:36:06
353,830,130
0
0
null
null
null
null
UTF-8
C++
false
false
20,712
h
Bible49.h
#include <map> #include <string> class Bible49 { struct du1 { int val; const char *msg; }; struct du2 { int val; const char *msg; }; struct du3 { int val; const char *msg; }; struct du4 { int val; const char *msg; }; struct du5 { int val; const char *msg; }; struct du6 { int val; const char *msg; }; public: stati...
650435a3db1c849d5219cf6831f4610fdfa5c5a7
e38d93f032b4d1cc191797ec2a2b2824b799d9aa
/include/ast/Statement/NStatement.hpp
0946e76865a7f03a1b74f3d09afe98b13680e44d
[]
no_license
anjiann/GoLite
be45db50209061f0ba3b1a5475e7bab25e94832a
b0774d839375e6abb25d57a257bb111c8c15b860
refs/heads/master
2022-07-05T08:24:15.100942
2020-05-16T01:01:32
2020-05-16T01:01:32
264,287,482
0
0
null
null
null
null
UTF-8
C++
false
false
521
hpp
NStatement.hpp
#ifndef NSTATEMENT_H #define NSTATEMENT_H #include <memory> #include <vector> #include "../../abstractDispatcher.hpp" #include "../NAbstractAstNode.hpp" class NStatement : public NAbstractAstNode { public: NStatement() {} NStatement(const NStatement &src) = default; virtual void...
48b6408c44d0fa7464bcefe76d742e1a8fd46c89
45a6b6b2768afa6bd1d44bc21a0e1555589ade09
/dbcore/sm-alloc.h
7966456e7f7da18621cabab1fae94ffba01094e6
[ "MIT" ]
permissive
efficient/cicada-exp-sigmod2017-ermia
0356905d1445389dd09489c1cd3630a2721001a4
acdf15dd526be24f79024cae713f27cd5f3b3bfe
refs/heads/master
2023-08-01T02:23:48.795509
2017-06-09T21:54:44
2017-06-09T21:54:44
69,205,468
2
1
null
null
null
null
UTF-8
C++
false
false
4,255
h
sm-alloc.h
#pragma once #include <mutex> #include "sm-config.h" #include "sm-defs.h" #include "epoch.h" #include "../macros.h" #include "../object.h" #include <sparsehash/dense_hash_map> using google::dense_hash_map; typedef epoch_mgr::epoch_num epoch_num; // oids that got updated, ie need to cleanup the overwritten versions s...
ac4d2f1a6a9c9e133743b83ff7f83cbc46de9f46
3b48396c0c6fa9fa4c30b74ee505d0fe441af0e9
/Model.h
1abe40b5c3f33e73dc702b3c8ca364edb7a024ad
[]
no_license
linkkb/CxBKT
a9c865ae6819181953c4bb0f99867e0e28bc7da8
7d501488d6e7fbe40cfb1fbf1ec3733a99fd643f
refs/heads/master
2021-01-10T08:13:02.410553
2016-03-16T10:49:52
2016-03-16T10:49:52
45,060,229
0
0
null
null
null
null
UTF-8
C++
false
false
558
h
Model.h
#ifndef MODEL_H #define MODEL_H #include <iostream> #include <string> using namespace std; class Model { public: int num_resources; int num_subparts; double* learns; double* forgets; //MatrixXd As; double* As; double* guesses; double* slips; //MatrixXd emissions; double* emissions; double* pi_0; double p...
8cae1f2613a2d5e8d1ee9697bd4edf1b1441dfc5
30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a
/Implementation/1640.cpp
1100ed63a6e6ffd74c4e1e84c0cfb83d7dafe1fe
[]
no_license
thegamer1907/Code_Analysis
0a2bb97a9fb5faf01d983c223d9715eb419b7519
48079e399321b585efc8a2c6a84c25e2e7a22a61
refs/heads/master
2020-05-27T01:20:55.921937
2019-11-20T11:15:11
2019-11-20T11:15:11
188,403,594
2
1
null
null
null
null
UTF-8
C++
false
false
827
cpp
1640.cpp
#include <iostream> #include <string> #include <algorithm> #include <cmath> #include <vector> #include <sstream> using namespace std; int abs(int a) { return a<0? a*-1 : a; } int isprime(int a) { if(a == 2 || a == 3) return 1; for(int i=2; i <= a/2; i++) { if(a%i == 0) return...
ca55dc4ef21998ad266f4014952fca7a3076ba2c
1ebe6848a53234577f6f425dc7ff4e355139917e
/Computer_Science/Computer Science/CS 53 - Intro to Programming/CS53 - Price/hw10/main_fnct.cpp
9eaa678aab5355acdd0ff7b90b1411edd7667f64
[]
no_license
SoCmodder/School
c11c1df55ad9c98d2611a399e9535fb286887da0
c1a8bcde931a1d039f68191191307bd6d8625778
refs/heads/master
2021-01-19T18:11:02.595826
2012-09-27T03:54:40
2012-09-27T03:54:40
5,770,249
4
2
null
null
null
null
UTF-8
C++
false
false
6,761
cpp
main_fnct.cpp
/* programmer: robertoMurillo date: 11/11/05 * * file: main_fnct.cpp class: cs53 * * purpose: using classes. */ /********** DEFINITIONS **********/ #include <iostream> #include <ostream> #include "main.h" using namespace std; /********** CONSTRUCTORS **********/ // ...
1cf0e026cb8c22c7a023f2d80e30dbf21d8df44a
94f3d6dc7f1816e409521076ca55ea40539bd340
/recording_server2.0/video_codec/StreamParser.cpp
989286f2f3fbb7d183aeae0a84f66b381cf97f82
[]
no_license
h3c-beijing/kai-core-code
ce616d2e47105a99915803f6d42fcd45e51ddb5a
6cd67148336585afc9a18afa40ceaa1743cd37f1
refs/heads/master
2016-03-30T11:31:17.278713
2014-03-07T02:38:34
2014-03-07T02:38:34
15,791,675
0
6
null
null
null
null
UTF-8
C++
false
false
4,507
cpp
StreamParser.cpp
/********** This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) This libr...
494481ab956de22e2dce3bf14a495f11a86b49fc
3c62aad061b54eb0da7981f3e978197582fb529d
/keyvi/3rdparty/tpie/tpie/compressed/thread.h
1a9ad670d6ddcd800e72041dc060fbdacbe3d11a
[ "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.0-or-later", "GPL-3.0-or-later", "GPL-3.0-only", "LGPL-2.1-or-later", "LicenseRef-scancode-other-copyleft", "GPL-1.0-or-later", "LGPL-3.0-only", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "Apache-2.0" ]
permissive
subu-cliqz/keyvi
72dd920f03ed5b976287747bd41490a081b8657e
b8e57e6207244cc570e0d7d3970015aa1faf4254
refs/heads/master
2021-01-15T10:14:43.630925
2016-10-20T14:28:33
2016-10-20T14:28:33
71,902,050
0
2
Apache-2.0
2020-02-07T10:09:50
2016-10-25T13:54:02
C++
UTF-8
C++
false
false
2,718
h
thread.h
// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*- // vi:set ts=4 sts=4 sw=4 noet : // Copyright 2013, The TPIE development team // // This file is part of TPIE. // // TPIE is free software: you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public Li...
94e60d851c7c7fc76ed32dd9ef260a802c0fd0d3
383c417abca8aa70c4427a8679a7144a7ce26084
/src/Ray/tests/utils.cpp
cae875b17f06f19a2eeaab4ec3bdeeda1fd7821c
[ "MIT" ]
permissive
sergcpp/RayDemo
f3c4378e7e0af13aa594df071604756784690ddd
cba5e91afdaca34450398076918b209122ed2ae9
refs/heads/master
2023-08-28T02:34:04.104557
2023-08-27T17:30:52
2023-08-27T17:30:52
163,214,002
17
3
null
null
null
null
UTF-8
C++
false
false
9,796
cpp
utils.cpp
#include "utils.h" #include <cassert> #include <cstring> #include <fstream> #include <memory> #include <string> #include "../internal/Utils.h" namespace { // the following constants were copied directly off the MSDN website // The dwFlags member of the original DDSURFACEDESC2 structure // can be set to one ...
71dacaab49902de8684aff914d579139b5376480
555b6971c92299b14ead2e4cfc90d499e6b971d5
/InterviewBit/07 Linked Lists/Palindrome List/main.cpp
76980183926d0659bf6e9eea25ed557e7e14fae3
[]
no_license
M-Rodrigues/Programming
dc538cde56545c2477276093617e18385d2401cb
ebc782f721fca3a0ee81449dd78b75f7ef332f5f
refs/heads/master
2020-04-16T10:48:38.730265
2019-08-02T02:47:19
2019-08-02T02:47:19
165,517,658
0
0
null
null
null
null
UTF-8
C++
false
false
860
cpp
main.cpp
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ int Solution::lPalin(ListNode* A) { if (A == nullptr) return 1; ListNode *fast, *slow, *prev, *aux; prev == nullptr; fast = slow = A; ...
eda916aead2cfdc4a802af100b4583f903e5e697
6d6634c4978477e722438cd3dda533079661931f
/src/algorithm/moead_dd/moead_dd.cpp
c22164a693a68f1b6933c6e25a43c9073b3800ed
[]
no_license
COLA-Laboratory/EMOC
87d2c01eba162cf0d7e36240330c5d7e40515ea5
23f24ac32fc139134de3d525bd64770311b2a9d5
refs/heads/main
2023-08-04T06:52:08.380859
2023-07-26T14:31:55
2023-07-26T14:31:55
193,215,164
16
4
null
null
null
null
UTF-8
C++
false
false
12,633
cpp
moead_dd.cpp
#include "algorithm/moead_dd/moead_dd.h" #include <cmath> #include <iostream> #include <algorithm> #include <unordered_set> #include "core/macro.h" #include "core/nd_sort.h" #include "core/global.h" #include "core/utility.h" #include "core/uniform_point.h" #include "operator/sbx.h" #include "operator/polynomial_mutat...
675080be9b940f3f097b9e68bf7ce67957a8d9cf
9cce750ccc8317930181c14bcebe1672b3c68e44
/src/caffe/multinode/MlslSync.cpp
f3a051392864ef12f20947bf275f84f49ef04698
[ "BSD-3-Clause", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "LicenseRef-scancode-generic-cla" ]
permissive
liviust/caffe-1
3e8d502acf3bd5c35aa620350779de3cfdc16c27
cc00ffab6adba3dd4ff029c76253c12b584aa72c
refs/heads/master
2021-01-18T13:08:49.940035
2017-01-31T16:47:01
2017-01-31T16:47:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,315
cpp
MlslSync.cpp
#ifdef USE_MLSL #include "caffe/multinode/MlslSync.hpp" namespace caffe { template<typename Dtype> MlslSync<Dtype>::MlslSync(shared_ptr<Solver<Dtype> > root_solver) : solver(boost::make_shared<MlslSolver<Dtype> >(root_solver)) , initialized(false) , solver_thread_id(boost::this_thread::get_id...
8abec3ba218a3d8f6f8f922b4bbabf9c2597bd35
a4988815c6ee97616e79f207f31e17c2590ebaa1
/src/PciListenerImp2.cpp
c00be02e78ac2c4b6cb4c6d937afc4968b0eb338
[]
no_license
prampec/arduino-pcimanager
06a7c909e6b6f9a48727f32152d023898e781992
32052dedd25cdbfe29069d6c504f9cf10197f3d2
refs/heads/master
2021-01-25T05:11:05.734834
2018-07-24T20:53:43
2018-07-24T20:53:43
34,104,727
19
15
null
2018-07-24T20:53:44
2015-04-17T08:16:10
C++
UTF-8
C++
false
false
1,567
cpp
PciListenerImp2.cpp
/** * File: PciListenerImp2.cpp * Description: * PciManager library is an easy to use Pin Change Interrupt manager for Arduino. * * Author: Balazs Kelemen * Contact: prampec+arduino@gmail.com * Copyright: 2012 Balazs Kelemen * Copying permission statement: This file is part of PciManager. PciManager is...
c2728aed5d966974e4c095a9ef8e6d540f8ab33f
4bea57e631734f8cb1c230f521fd523a63c1ff23
/projects/openfoam/rarefied-flows/impingment/sims/test/nozzle1/2.94/grad(U)
386acdf51c5b40b1387e4cfac9402a71bf566f44
[]
no_license
andytorrestb/cfal
76217f77dd43474f6b0a7eb430887e8775b78d7f
730fb66a3070ccb3e0c52c03417e3b09140f3605
refs/heads/master
2023-07-04T01:22:01.990628
2021-08-01T15:36:17
2021-08-01T15:36:17
294,183,829
1
0
null
null
null
null
UTF-8
C++
false
false
108,279
grad(U)
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1912 | ...
c145d06689d9be551350d4fbcedf81ff2af06bad
8f2cfb4fc2bd40a7f1ca8703738533b8b8162ff1
/Source/InnoClient/WidgetManager.cpp
7b79b19f027a16da1188007db1570691c3b81f2c
[]
no_license
Zheneq/InnoClient
82c826bc5d5fd64e263f933e86167cb097616958
3bdbc18717a6de28e7651bb06d45bb80557acc55
refs/heads/master
2021-01-24T00:32:42.649954
2018-11-19T16:15:37
2018-11-19T16:15:37
122,769,267
1
0
null
null
null
null
UTF-8
C++
false
false
849
cpp
WidgetManager.cpp
// Fill out your copyright notice in the Description page of Project Settings. #include "WidgetManager.h" void UWidgetManager::Init(int32 Size) { Widgets.Empty(); Widgets.SetNum(Size); } UUserWidget* UWidgetManager::MakeWidget_Implementation(int32 Id) { // Do nothing by default -- we don't know what widget we are...
e3e17d017f671c4b8b1ae941f20cf693707405ff
5d2087943997873b4c241c9975625fdb77460055
/string and char.cpp
6a9fefc9bdb2a15dabcf618b136c04b2636517eb
[ "MIT" ]
permissive
ASAD-BE18/Cpp-Programs
b23cfd4d9f65e5d13f983e9bb8fa4410ab9b80c8
d942015e3e21e8fb13d1fc86049d65ffb9555fe3
refs/heads/main
2023-06-01T09:24:37.001662
2021-07-06T19:00:18
2021-07-06T19:00:18
383,569,046
0
0
null
null
null
null
UTF-8
C++
false
false
157
cpp
string and char.cpp
#include <iostream> using namespace std; int main () { string name; char ame[15]; cin>>name; cin>>ame; cout<<name<<endl; cout<<ame<<endl; }
3607d4e90ea1bf20947d351e16356722ce5f358b
7ab5c79d2716bc56c2fc2be9bf1cdcb8530379a4
/c++/Contests/ONI_9/ONI_9/2002 Braila/Ziua 1/Pentagon/pentagon.cpp
4dfc639befa2d4e904606f5cc765a86b3fe9413f
[]
no_license
TeoPaius/Projects
dfd8771199cd8a0e2df07e18dd165bf63ad08292
ced149ecf1243da2aa97bb1f0e4cd37140bd2d2d
refs/heads/master
2021-09-24T02:10:52.220320
2018-10-01T16:29:01
2018-10-01T16:29:01
104,876,094
1
0
null
null
null
null
UTF-8
C++
false
false
1,399
cpp
pentagon.cpp
// Autor: Mihai Scortaru #include <stdio.h> char a[200][200]; // matricea long nr[201]; // vectorul cu frecventele aparitiei blocurilor // nr[i] - numarul blocurilor de lungime i necesare int m, n; // dimensiunile matricei; void CitesteDate(void){ FILE *f=fopen("PENTAGON.IN","rt"); fscanf(f,"%d%d%*c",&m,&n...
d23890591154b8f1b396740721e953799f83a31a
749f95905c817e8602a32e1926c9e0e985dac41d
/content/project-x/leds/code/allLEDsTutorial.ino
ca4da0979725c92e8575227af5ebac45e5dfba74
[ "MIT" ]
permissive
nicogig/fleming-soc-website-source
fe9b522cd46f32f0486d2a466ba35936198ee9e9
440d3ddbe3a4eacc3d3612087f395789a9c0068d
refs/heads/master
2023-01-28T21:56:55.774333
2019-11-11T21:00:35
2019-11-11T21:00:35
202,980,796
0
0
MIT
2023-01-11T20:40:47
2019-08-18T08:54:30
JavaScript
UTF-8
C++
false
false
1,564
ino
allLEDsTutorial.ino
// NeoPixel Ring simple sketch (c) 2013 Shae Erisson // released under the GPLv3 license to match the rest of the AdaFruit NeoPixel library #include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> #endif // Which pin on the Arduino is connected to the NeoPixels? // On a Trinket or Gemma we suggest chang...
ac0664d4df6381c4a71e0e7e0bad2fade59c1c3a
ed5f85646525bee7b3fc8819af79d4ea95618286
/problem 51-100/92. Reverse Linked List II.cpp
b9a1c320292b628228121345f946a9cf0895daf2
[ "MIT" ]
permissive
just-essential/LeetCode-Cpp
221a03004991d62f419da407c577396aff0e312c
3ec49434d257defd28bfe4784ecd0ff2f9077a31
refs/heads/master
2020-05-18T13:20:41.279485
2019-10-01T16:40:16
2019-10-01T16:40:16
184,435,731
0
0
null
null
null
null
UTF-8
C++
false
false
1,292
cpp
92. Reverse Linked List II.cpp
/* Reverse a linked list from position m to n. Do it in one-pass. Note: 1 ≤ m ≤ n ≤ length of list. Example: Input: 1->2->3->4->5->NULL, m = 2, n = 4 Output: 1->4->3->2->5->NULL */ /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), n...
284b9fd31af37d72086f59b25176550862b6f880
e953ffbd9b3e9e8f9eded38749d419f2a866b6ac
/KESTD Ronin/Frontend/Export/KESTD/TerminalController.hpp
2f2525126709fbfa71568bb05a37673a22427fcc
[]
no_license
MarioSieg/KESTD-Ronin
3177c42287615ffba61fd8582ec5098db9fd8484
085ec97d95cfea2c057b59793dc58654ea7cd70f
refs/heads/master
2022-12-20T00:21:26.499276
2020-10-01T17:24:57
2020-10-01T17:24:57
286,109,989
11
0
null
null
null
null
UTF-8
C++
false
false
1,208
hpp
TerminalController.hpp
// ============================================================= // (C) Copyright KerboGames(R) Mario Sieg, Germany 2020! All rights reserved! // KESTD-Ronin // Mario // TerminalController.hpp // 31.08.2020 15:10 // ====================================...
19556ef2756347822c836be07f3b65e1ca41813d
82f9cd60507a66046d70fe03ea133d57a2c77424
/roster-project-C867/roster-project-C867/student.h
41cf5b5a82040e62b63ad061b9aceec32f83409c
[]
no_license
brandonpetterborg/WGU
4b32c4ce45a649e681af74f0e1e18b37a4580a7b
b2edcbc9885757481031dad946ad8a63a71b3c8b
refs/heads/master
2021-02-08T02:04:38.735897
2020-03-01T06:14:23
2020-03-01T06:14:23
244,096,758
0
0
null
null
null
null
UTF-8
C++
false
false
1,289
h
student.h
/* C867 Final Brandon Petterborg*/ #ifndef STUDENT_H #define STUDENT_H #include <string> #include <iostream> #include "degree.h" using namespace std; class Student { public: const static int number_days_size = 3; protected: string studentID; string firstName; string lastName; string emailAddr...
81629887d21fc2020f3f52b48895a47379ab0d27
e7926967d1e88166185bee5fb595741510afc220
/List.cpp
1a7af8e71ccc9a8cc79bf400c2df5b4fdf9296db
[]
no_license
urbanovich/oop_lr_3
910a9e08d4776d982d704e9965092cc11f842aa1
369f71ceab540b76f439e4c304bf61de7de951b2
refs/heads/master
2021-05-14T01:09:16.490746
2018-01-07T11:03:19
2018-01-07T11:03:19
116,558,190
0
0
null
null
null
null
UTF-8
C++
false
false
1,978
cpp
List.cpp
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: List.cpp * Author: setler * * Created on January 7, 2018, 12:59 PM */ #include "List.h" #include "Node.h" #includ...
6260c2cd2e753a2aad263db3e44a11e4d7b14196
36de6ca7b2d2320fba58cbe6952761ddd7ee5a0e
/Edge.cpp
07fc69b701a2e92307ff5cee548ca6c5f10915e0
[]
no_license
stupelc/Flight_Simulator-part2-
d118502cf1f0d83da624eba17df6c8e76a42cb0c
f7994aae59aaa7b3884e09e3b4f33b2cb65fc55b
refs/heads/master
2020-05-09T14:55:13.435572
2019-04-13T18:39:47
2019-04-13T18:39:47
181,214,056
1
0
null
null
null
null
UTF-8
C++
false
false
59
cpp
Edge.cpp
// // Created by almogg on 1/13/19. // #include "Edge.h"
b94082bc3aa3720f529504671da2ff295164f5f8
ae04470c3c266513002c2c5c9ac9b034614930cb
/11XX/zoj.1130.src.1.cpp
10e60be10bf72a05d15ae4b9d629466da948c252
[]
no_license
fish-ball/acm.zju.edu.cn
281315b9aab0517801ca780972a327642867eb7d
984d48539607ed082749204a81d4aecac5bdac53
refs/heads/master
2021-03-12T19:15:13.640962
2018-11-16T10:34:34
2018-11-16T10:34:34
14,883,882
1
1
null
null
null
null
WINDOWS-1252
C++
false
false
849
cpp
zoj.1130.src.1.cpp
// 3042284 2008-08-19 21:58:30 Accepted 1130 C++ 00:00.03 2800K ´ôÖ͵ÄÂý°å // DFS #include <iostream> #include <vector> using namespace std; vector<int> V[16]; bool B[35000]; int MASK, now; bool DFS( int x ) { B[x] = true; V[now].push_back( x ); if( V[now].size() == 1 << now ) { if( x ==...
9707b4afc24370cc4e37640b9875cdeb75649983
810e4606abf1e7aa5e36784d29061338535d8fc9
/Project/src/Timer.cpp
6a4acb24f86f4a1e1ca832f17d55f87dfafaef29
[]
no_license
AyukiGPD/GameLibrary
165dc761226b6b0ea0870c232b047f7b7107ca16
ea36c1936bb93a305664ceec322a1ab16be1d87c
refs/heads/master
2022-11-30T14:00:47.472260
2020-08-13T11:10:23
2020-08-13T11:10:23
286,667,919
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
1,452
cpp
Timer.cpp
//============================================================================= //! //! @file Timer.cpp //! @brief タイマー //! //! @author YKCH //! //============================================================================= #include "stdafx.h" //------------------------------------------------------------------------...
19c21c0926f0f660a9dca0d7865e58c56aa65035
d7c8eef037c29bfc28fdae98776413d2022db612
/947. 移除最多的同行或同列石头.cpp
18017700a090da9399508943a640de4e2d3225f1
[]
no_license
Stayaccept/LeetCode
0d3e83240ab9a3e51e8e153a2fd33f4f6ca43e8a
1b5a3afd54583ea9945342832fde1d8b053ad96c
refs/heads/master
2020-03-29T15:22:22.544462
2019-12-23T15:25:19
2019-12-23T15:25:19
150,060,048
3
0
null
null
null
null
UTF-8
C++
false
false
712
cpp
947. 移除最多的同行或同列石头.cpp
class Solution { public: int fa[1005]; int get(int x){ while(x!=fa[x]) x=fa[x]; return x; } void unite(int x,int y){ x=get(x); y=get(y); if(x==y) return; fa[x]=y; } int removeStones(vector<vector<int>>& stones) { int i,j,n; ...
70b82950db122d05fd8b58e2f9cffb4cc826cfa4
b9411a1f615c270d825275846dca53bd81666360
/linkedlist.h
00ba14297c3112345473fa6e1fc6a8da54068f0d
[]
no_license
ccampbell97/Assignment7
5b5cade854d93555eddd27e0bbad65fea58c5da4
4ea94b3f24123e7d6715fea374de3a4628d2ead2
refs/heads/master
2020-05-18T22:21:04.338110
2019-09-04T00:55:08
2019-09-04T00:55:08
184,689,429
0
0
null
null
null
null
UTF-8
C++
false
false
523
h
linkedlist.h
//begin linkedlist.h #ifndef LINKEDLIST_H #define LINKEDLIST_H #include <string> using namespace std; struct node { int data; node *next; }; class linkedlist { private: node *head; int count(); // RECURSIVE int sum(); // RECURSIVE public: linkedlist(); ~linkedlist(); // RECURSIVE vo...
7772ec014c076ca20e8b841f370a41b4da4064a2
a609aa0d3ef93fa65a89eb9f14ca6b32e125f00c
/libraryobjects/includes/LibraryObject.hpp
1815767489edcd387a0d2cafa548805cbd39eab6
[]
no_license
Epitech-Lyon/qt-engine
e2a9fb35889cd206e6f36336422e16abefee3085
fa7a17a678a99da63f0e696779d051f8baf42585
refs/heads/master
2022-12-27T06:29:06.138936
2020-03-30T10:57:22
2020-03-30T10:57:22
302,028,571
0
0
null
null
null
null
UTF-8
C++
false
false
1,708
hpp
LibraryObject.hpp
/* ** EPITECH PROJECT, 2020 ** qt-engine ** File description: ** LibraryObject */ #pragma once #include <QtCore/QString> #include <QtCore/QMap> #include <QtCore/QPair> #include <QtGui/QIcon> #include <QtCore/QJsonObject> #include <functional> namespace libraryObjects { class AObject; class LibraryFunction; class...
a8669a004e243f7d05c34b6df30ca7dcb4dcd0bb
6ff392c8d751f4d2821cc71658889c16df102298
/sensor/Buzzer/Buzzer.ino
1b731749ddf93d83d6afe76f621fc55c47462870
[]
no_license
JeerapatJOBBY/DenO
7f459d5b91df1f54c984e5971f4787ad9865021f
76d0ce7baed57ace388d077b85c5b2a01ef0dc08
refs/heads/master
2022-11-10T04:16:49.043696
2020-06-25T14:05:54
2020-06-25T14:05:54
271,458,898
0
0
null
null
null
null
UTF-8
C++
false
false
177
ino
Buzzer.ino
void setup(){ Serial.begin(9600); pinMode(2, INPUT_PULLUP); } void loop(){ while (digitalRead(2)== 0) { tone(8,100,1000); } Serial.println("NOTHING"); }
951e599ab825a996b49fa8c0557aeade09bfb2b4
0c22d527c18df1f4edb90523f01e4a56cdf58606
/NaoTH2011-light/NaoTHSoccer/Source/Core/Representations/Perception/PlayersPercept.cpp
bbb80476805f2295e51211104d201780895b3afd
[]
no_license
IntelligentRoboticsLab/DNT2013
3d9fdb1677858fe73006132cc47dda54b47ef165
ddc47ce982fe9f9cfaf924902208df1d5e53a802
refs/heads/master
2020-04-09T06:04:30.577673
2013-12-11T13:39:12
2013-12-11T13:39:12
9,521,743
3
1
null
null
null
null
UTF-8
C++
false
false
401
cpp
PlayersPercept.cpp
/** * @file PlayersPercept.cpp * * Definition of class PlayersPercept */ #include "PlayersPercept.h" using namespace naoth; void Serializer<PlayersPercept>::serialize(const PlayersPercept& representation, std::ostream& stream) { }//end serialize void Serializer<PlayersPercept>::deserialize...
e64c8e1ff3afee351803d8604a27a4b60465ec7d
259992f57e893d20e077bcdc75a08b063cc56951
/Silver Lobster/Game/Actions/action.cpp
5b76ac2c10d8d727ea929dddab53670b7f1e12e9
[]
no_license
indianakernick/Silver-Lobster
b013197ec193173e243fd5813ae346d66be1937a
09db1b3ca12a1fb2dd115f156015acaa401a456f
refs/heads/master
2022-05-21T02:09:51.380695
2020-02-03T04:13:23
2020-02-03T04:13:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
193
cpp
action.cpp
// // action.cpp // Silver Lobster // // Created by Indi Kernick on 27/1/20. // Copyright © 2020 Indi Kernick. All rights reserved. // #include "action.hpp" Action::~Action() = default;
27c62e600422c1058d9b2790445a94433d94de2e
43f4c02d75fd7ec1a37427300e220c99bc00da29
/TargetServer.cpp
457b641c1b502619916c4bf0c9349be24e0cfaf3
[]
no_license
RAR1741/RA14_RobotCode
366cc34f8652d222f97986807a5b49812343a850
895bc3eb0c8425256ceb7859399257f134cff972
refs/heads/master
2021-01-25T08:54:51.959082
2014-05-04T20:12:52
2014-05-04T20:12:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,024
cpp
TargetServer.cpp
#include "TargetServer.h" #include <errnoLib.h> #include <hostLib.h> #include <inetLib.h> #include <sockLib.h> #include "Task.h" #include "Timer.h" #include "WPIErrors.h" #include <vxWorks.h> #include <taskLibCommon.h> #include <sstream> #include <algorithm> #include <iostream> #include <string> #include ...
351d95ea6912c4671ffc432b09ff1bc5b10d9c77
e73121fcfcc4df2e7092a82f4810ce9615e9dd83
/Atcoder/4170.cpp
2ee2a451305cf9fe837f3e80416562a794af3f3f
[]
no_license
Redwanuzzaman/Online-Judge-Problem-Solutions
1aba5eda26a03ed8cafaf6281618bf13bea7699b
f2f4ccac708bd49e825f2788da886bf434523d3c
refs/heads/master
2022-08-29T04:10:31.084874
2022-08-14T18:20:30
2022-08-14T18:20:30
142,601,682
0
0
null
null
null
null
UTF-8
C++
false
false
230
cpp
4170.cpp
#include <bits/stdc++.h> using namespace std; int main() { int arr[3]; for(int i = 0; i < 3; i++) cin >> arr[i]; sort(arr, arr+3); int res = abs(arr[2] - arr[1]) + abs(arr[1] - arr[0]); cout << res << endl; }
3289a2c83c83fe3835a8cd9591155771f9479778
e946f3fec91da97381b62af8062f9b9a05070fcd
/541.cpp
151c30b2be5a049c52760ac8cd9c522e61e5251e
[]
no_license
joaobmcc/uva-Problemas-de-programacion
b73610c66630bfea957ef8555a62fe11f7d0b474
71dd31765d5ab0c09760f4d5032b9e624745746f
refs/heads/master
2022-12-24T12:03:03.773803
2020-10-10T16:17:25
2020-10-10T16:17:25
118,708,815
0
0
null
null
null
null
UTF-8
C++
false
false
688
cpp
541.cpp
#include <iostream> using namespace std; int main(){ int n; while(cin>>n, n!=0){ int cont,cont2,suma,f,c; int arr[128][128]; cont=0; for(int i=0;i<n;i++){ suma=0; for(int j=0;j<n;j++){ cin>>arr[i][j]; suma+=arr[i][j]; } if(suma%2==1){cont++;f=i;} } if(cont<2){ ...