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
0a6fd1237514f5ac21959c6d18543d9bd35315eb
34f2081361c2cdb28649db5c311b23ae45729867
/Uva/1_Introduction/AdHocPart1/InterestingRealLifeProblemsHarder/12342-tax-calculator.cpp
4c64a2248275c3b47d6b5c7332709bcec2a934fc
[]
no_license
shashank21j/CompetitiveProgramming
bd7d1516bda0047162293f62e78a8f3134021454
5e905ad7f59f36541baaa669391eba667f291a45
refs/heads/master
2022-02-14T08:12:05.656586
2022-01-30T02:56:15
2022-01-30T02:56:15
14,283,517
4
1
null
null
null
null
UTF-8
C++
false
false
867
cpp
12342-tax-calculator.cpp
#include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; int idx = 0; while (t--) { cout<<"Case "<<++idx<<": "; long long int tax = 0LL; int n; cin >> n; // cout<<n<<endl; if (n <= 180000) { cout<<0<<endl; conti...
0c2b64c3f1610cde4ee90f25b0b52c2e797f02bf
47ce55bba7a39f9a689c113d0127029bb30d20d0
/HEAD_650/pkgsrc/print/lilypond/patches/patch-lily_span-bar-stub-engraver.cc
1491ab846da6342c4c16ed40810c06de1074da2b
[]
no_license
CyberSys/qnxpkgsrcmirror
f1e8747ef7e46d6a16f2e6fba4f437ef640595a1
472534e11d14da5573bb86b12246d00e3ca87fb6
refs/heads/master
2022-12-19T09:31:48.664692
2015-01-30T16:05:07
2015-01-30T16:05:07
299,015,271
0
2
null
null
null
null
UTF-8
C++
false
false
366
cc
patch-lily_span-bar-stub-engraver.cc
$NetBSD: patch-lily_span-bar-stub-engraver.cc,v 1.1 2013/06/16 20:46:52 joerg Exp $ --- lily/span-bar-stub-engraver.cc.orig 2013-06-16 19:21:44.000000000 +0000 +++ lily/span-bar-stub-engraver.cc @@ -17,6 +17,7 @@ along with LilyPond. If not, see <http://www.gnu.org/licenses/>. */ +#include "config.hh" #include...
aed0e921effb5bfc7d581a02a01ddf41c7389e5d
737a0c2b00621b69c806f151a4a7c9ca5ef23793
/src/textureslice.cpp
80279c9dea8a55232c9a62812b35eea342b12e85
[]
no_license
ABI-Software/capclient
525219a5d1695f2a60c0a711e1298ef160169ec0
a4a8fa5a4200a5c6da372d42f6e2961bef14f1d3
refs/heads/master
2020-03-18T10:54:53.636926
2012-10-12T00:45:35
2012-10-12T00:45:35
134,640,147
0
0
null
null
null
null
UTF-8
C++
false
false
834
cpp
textureslice.cpp
#include "textureslice.h" #include "utils/debug.h" namespace cap { TextureSlice::TextureSlice(Material *material, std::vector<Cmiss_field_image_id> fieldImages) : material_(material) , fieldImages_(fieldImages) { } TextureSlice::~TextureSlice() { std::vector<Cmiss_field_image_id>::iterator it = fieldImages_.beg...
1ba959061e2ce58c281d62b565317fce253fcab4
b998e99f2856ec2b5002c12b183c7631e22912e1
/KaKao/KaKao2021/무지의_먹방라이브.cpp
f8102141d2687115c6f547db06054c455d93ad73
[]
no_license
geunwoobaek/Problem_solving
e31554ab3232da6436d26a934526fdc2781ddc77
2c43304232f043fd28608e2d76a4e26c395b8597
refs/heads/master
2023-05-23T13:40:43.588085
2021-06-13T13:24:18
2021-06-13T13:24:18
265,751,395
2
0
null
null
null
null
UTF-8
C++
false
false
1,054
cpp
무지의_먹방라이브.cpp
#include<bits/stdc++.h> using namespace std; #define ll long long map<int,int> foodMap; vector<int> foodVec; ll findSum(vector<int>& vec,int target){ ll sum=0; for(int i:vec){ if(target>=i) sum+=i; else sum+=target; } return sum; } int solution(vector<int> food_times, long long k) { ...
412d0b734d1cea262fa3ccbb322a3939001bc6de
fb0b1861e134fca8f09240ffaaca271ca749e1c8
/sketchup/LoopInput.hpp
4094c28ffbbaf44f28e31cafa628d55c32524917
[]
no_license
saedrna/remesh_skp_files
0b7f3ee55bbdfe8dad6952e419a8d0f99a1787e5
3364ff17da82afdbfe1dfc456fd3b9a7b598038e
refs/heads/master
2021-01-20T00:30:23.019732
2017-04-23T13:39:21
2017-04-23T13:39:21
89,144,708
5
0
null
null
null
null
UTF-8
C++
false
false
4,892
hpp
LoopInput.hpp
// // LoopInput.hpp // // Sketchup C++ Wrapper for C API // Copyright (C) 2016 Hidetomo (Tom) Kaneko // // 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,...
d2b10aea346b6a92522cbb91e6cc9f5c3435c4b0
7133ef383fa618d4fe72dd058729cf8428784e17
/BasicDataStructure/BST.cpp
730b3809bc5183ce96559846d11d3147a20228de
[]
no_license
supermcu/DataStructure-Algorithm
0d7bd946c0d64a4ff567fe2d4f7e979ebc405cef
70100344654024306f6d398f8e3caaf4bf31129b
refs/heads/master
2022-01-31T19:34:09.986257
2019-06-13T03:13:24
2019-06-13T03:13:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,160
cpp
BST.cpp
// // BinarySerachTree.cpp // test // // Created by KevinLiu on 16/12/22. // Copyright © 2016年 KevinLiu. All rights reserved. // #include <iostream> typedef struct node { int value; node * pLeft; node * pRight; node(int val = 0) { value = val; pRight = NULL; pLeft = N...
c78be39b27991b5bed543b1182e2e143270210c3
b80e33d275e7df6c2ddd48bcba1ee51e26480338
/RC car code/RC_car.ino
a036a01d6322dcba2fa94c186bedae398a470bc6
[]
no_license
kholoudsamy97/ASUMobiCarG48
8b5af57de4625ea813e33ccfd7211ac853b92198
d5f1f0922760348f5ad92f236753dafc02f62901
refs/heads/master
2021-04-30T03:53:44.083387
2018-07-08T09:54:00
2018-07-08T09:54:00
121,524,512
0
5
null
2018-07-06T21:17:23
2018-02-14T15:11:00
C++
UTF-8
C++
false
false
3,661
ino
RC_car.ino
//our L298N control pins const int LeftMotorForward = 8; const int LeftMotorBackward = 12; const int RightMotorForward = 4; const int RightMotorBackward = 7; int getDistance ; #define RF 4 //right forward #define RB 7 // right backward #define LF 8 //left forward #define LB 12 //left backward char x ; byte de=11,in...
8d9d8c47faad366efea21cb68307ba96c0a7e497
6c2bddf5b07d154fa866e42ff55e2370cf4a7a3a
/LabkiGosia/MateuszWleklinski/Lab06/functions.cpp
9bdb3c1552ad66c7701882ca9ca7a6ef3938656a
[]
no_license
FizHubWasTaken/Cpp
a0a13eb8976bc8bda53e101afe7906d5d83cd867
64483e8b8828f093eb6babbb740a76804b26eec5
refs/heads/main
2023-01-29T03:27:21.288446
2020-12-02T18:52:15
2020-12-02T18:52:15
317,952,849
0
0
null
null
null
null
UTF-8
C++
false
false
1,572
cpp
functions.cpp
#include "headers.h" void SumTest() { Debug("1. Testing summing parameters.."); bool test1 = sum(1.0, 2.0, 5.0) == 1.0 + 2.0 + 5.0; Debug("\t1.0 + 2.0 + 5.0 = ", ""); Debug(1.0+2.0+5.0); bool test2 = sum(3.14, 9.81, 21.37, 7.0) == 3.14+9.81+21.37+7; Debug("\t3.14 + 9.81 + 21.37 + 7.0 = ", ""); Debug(3.14...
6b2fa1ac8ac07f8bddff211ffd4dbbd2e4837a6e
4c0c5c29e0a736b636e669fb810eb23836da6b48
/projek.cpp
4c8e9f487711d2a9a4aca078f06b4bffd58a2c8a
[]
no_license
rifkistwn/Pemrograman-Terstruktur
4a73c5604bb6136415d32b2d676ff0171a38aa78
7f3c6f809d335b4c551738414486f4e9edb24e35
refs/heads/master
2020-03-11T18:22:44.759855
2018-04-23T04:41:20
2018-04-23T04:41:20
130,175,741
0
0
null
null
null
null
UTF-8
C++
false
false
197
cpp
projek.cpp
#include <iostream> #include <string.h> using namespace std; void array(){ for (i=0;i<10;i++){ for (j=0;j<10:j++){ string int main(){ cout<<"Hello world"<<endl; return 0; }
6119762d683aff7a8a66f1c726ab75f7da61e039
573ab921dd30de38b7e37d7157fa05201b1bb8d9
/src/design-patterns/visitor1-cpp17.cpp
a833f814b6e0e75cc26ab1780965a53837fe8c18
[]
no_license
ilovelibai/C-Cpp-Notes
4cab2320e34fc9991d2e16c0eb4bdc10fad35231
cea44f898b06215e127f63375282905568feda14
refs/heads/master
2022-11-30T23:55:48.541167
2020-08-18T17:50:26
2020-08-18T17:50:26
289,960,881
1
0
null
2020-08-24T15:06:38
2020-08-24T15:06:38
null
UTF-8
C++
false
false
4,496
cpp
visitor1-cpp17.cpp
// Brief: Generic visitor pattern implemented with C++17 variants // Author: Caio Rodrigues //------------------------------------------------------------------ #include <iostream> #include <cstdio> #include <string> #include <memory> #include <functional> #include<type_traits> // C++17 Variant std::variant and st...
3912c3d9a93ea2e7dfded42c2fc8bb6386da73a9
9cfb5e0fd4af48b28fe8b2ebf12d64503d877a3e
/sequence_to_set/c++/solution.cpp
2a0664b785bbc2eee946ca8293971cfd641f49e3
[]
no_license
dnuffer/dpcode
ca5547ee42adef5fbe9e9171d65ffb84bd25d8bb
0c772f1f4e86b1c8e21547a3865e0d1259dd020b
refs/heads/master
2021-01-10T18:38:09.582635
2018-02-21T14:57:53
2018-02-21T14:57:53
4,272,218
35
5
null
null
null
null
UTF-8
C++
false
false
1,304
cpp
solution.cpp
#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE scratch #include <boost/test/unit_test.hpp> #include <set> #include <iterator> #include <vector> #include <array> template <typename C> auto make_set(const C& seq) -> std::set<typename std::iterator_traits<decltype(std::begin(seq))>::value_type> { typedef typenam...
9d30a4c940a99ba9b3237892468873a7a9503d85
de8566db6f92103165b07a24ceacf8b20a7ac542
/blang/bcode/v2/bcode.cc
95b1ccce74200de8143799054b0c95a4046ba1a3
[]
no_license
Irwin1985/cerbo
a786ab8af9e4b2f139898bd1ddf557fb6d89b5dd
559df220dc842318c4c2d81100b56bf6587c91a6
refs/heads/master
2022-09-01T15:46:17.400733
2020-05-27T19:21:37
2020-05-27T19:21:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,876
cc
bcode.cc
#include <cassert> #include <fstream> #include <cstddef> #include <functional> #include <iomanip> #include <iostream> #include <sstream> #include <stack> #include <string> #include <string.h> #include <vector> using namespace std; typedef vector<uint8_t> bytes; ///////////////////////////////////////////////////////...
d4e98a2cec3d53c89d5b5ec053c148b55209d1b5
aa0cd440b6e08f09e305caf3f3eda21c18ce8b94
/src/core/test/random.cc
8f00482c01a74b72f1d81c0135f0e19ef42f9436
[ "BSD-2-Clause" ]
permissive
StevenLOL/bob
adc74d675dae3fa2be986e37fb40c95cb4346706
0659829943f5b18ed0b6513ad25fa3999e4cf59c
refs/heads/master
2020-04-01T13:53:16.896558
2014-09-12T11:24:29
2014-09-12T11:24:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
966
cc
random.cc
/** * @date Thu Mar 3 20:17:53 2011 +0100 * @author Laurent El Shafey <Laurent.El-Shafey@idiap.ch> * * @brief Test the random functions * * Copyright (C) Idiap Research Institute, Martigny, Switzerland */ #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE core-random Tests #define BOOST_TEST_MAIN #include <b...
cbed4e9bfa4b782b461877f54df458fc702dc1aa
47a4b9901faf9742273b02ba14444d8d555b65a4
/CodeChef/XXOR.cpp
8593e1fae3c1b12fac05bf801f6c4b2606e2ef38
[]
no_license
Aulene/Competitive-Programming-Solutions
a028b7b96e024d8547e2ff66801e5377d7fb76cd
81d2705263313755399f2e3b6e01e029d40f61a6
refs/heads/master
2021-06-27T20:03:53.657351
2019-04-25T19:48:29
2019-04-25T19:48:29
101,798,734
3
0
null
null
null
null
UTF-8
C++
false
false
1,019
cpp
XXOR.cpp
#include <bits/stdc++.h> using namespace std; #define int long long int #define mod 1000000007 #define p push #define pb push_back #define mp make_pair #define f first #define s second int a[100007]; int bitz[100007][37]; signed main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n, m, q, i, j, l,...
1601bb18c0fe3b737a43eafc769b2469fee95d02
0ef4c9b88c10391c733b789d3260441c45c00400
/RPG/src/RPG.cpp
195743223dc1787f67d9a81ece17020cbb53eaa9
[]
no_license
imed-elhadef/RPG
d4cbb6aaa6b09339e40c6710c02b07d88bcb5395
34a4ed002593c3f6be07a9fed46f6cb76f064a08
refs/heads/master
2021-01-10T09:43:16.887310
2016-01-18T22:30:57
2016-01-18T22:30:57
48,595,588
0
0
null
null
null
null
UTF-8
C++
false
false
1,105
cpp
RPG.cpp
//============================================================================ // Name : RPG.cpp // Author : Imed Elhadef // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #i...
4ec652ef7f8f8cff7e2b39f3718ac9b54e0cd63b
ad4e2b9ef0dadca8dad8b5283b87dc15f4eb95e5
/CPP/guessing game/guessing_game.cpp
fa9798d7976cedbf9d423620626384b649ef5b71
[]
no_license
bamcod/PubCodeHub
0491b7f360b4012b78d9693322f25d8732d70ab9
d41e4aeeeb49e3ed82d4ec97850415a36698cb28
refs/heads/master
2021-01-18T03:09:35.129796
2013-09-03T15:09:37
2013-09-03T15:09:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,321
cpp
guessing_game.cpp
/** Guessing Game Copyright 2009 Travis Crowder travis.crowder@spechal.com Published under the MIT License */ #include <iostream> int main(int argc, char* argv[]){ /** Create our variable to hold the guess made */ int guess = 0; /** Let's keep track of the number of guesses ma...
db1cc186cb1d2b195e6dd9d2bf726805895e275b
718fe3d88edc3413df945392d71fe2061945f8d4
/lab3/Задача 1.cpp
d2c808187df8d80f840ecdac7b7b9de372123c51
[]
no_license
AlekhinKirill/C-_labs
d93066bac1f9939770645a7490d0259d4a5d4da3
802635a19fe81410b83fe00a1dcff3ff1bce4dc7
refs/heads/main
2023-06-02T15:56:10.762903
2021-06-24T08:57:07
2021-06-24T08:57:07
334,904,041
0
0
null
null
null
null
UTF-8
C++
false
false
385
cpp
Задача 1.cpp
#include <iostream> using namespace std; int main() { int N, i, Answer; float mean, Sum_1; Sum_1 = 0; Answer = 0; cin >> N; int* arr = new int[N]; for (i = 0; i <= N - 1; i++) { cin >> arr[i]; Sum_1 += arr[i]; } mean = Sum_1 / N; for (i = 0; i <= N - 1; i++) { if (arr[i] > mean) ...
4939637195e48d1fec1af5b85faf9d7b4dd22dfb
7b75c44f2f80d215a85a8c0d98eb8945c5eacd9b
/TCPtest/src/server.cpp
716cbba4e77d77a3306c1ff8ec90fbee2ba376d2
[]
no_license
wangxizhe/TCPtest
2c77319e12aad0ddbdb6fe01c588137f7d3831ec
b028ce1c2459a75d8f2d7b19059ac0edc4044a0e
refs/heads/main
2023-01-10T03:49:56.203980
2020-11-10T10:46:07
2020-11-10T10:46:07
311,626,142
5
0
null
null
null
null
UTF-8
C++
false
false
5,615
cpp
server.cpp
/**************************** * 文件名:server.cpp * 创建人:东北大学-王希哲 * 描 述:东北大学无人驾驶实验室、TCP/IP、服务端 * 日 期:2020-11-5 * 版 本:1.0.0 ***************************/ #include "stdlib.h" #include <ros/ros.h> #include <pcl_ros/point_cloud.h> #include <pcl_ros/transforms.h> #include <tf/transform_listener.h> // PCL specific includes ...
fe736cad45c8531fd4bf6c64bb8a0e553be0e16e
02e3fdee2aa285df6680f3ecfacc131ed60e71cd
/source/Sprite/Sprite.cpp
8f234e248ca11d8da296d0b8dfc4a763ecdb32f6
[ "MIT" ]
permissive
shyam-king/2DGame-engine
bf62e557a5f8caebfc72ce61e3d8010a9d43754a
9fb33cf33abeef86dbe26e18a3b8e380e0d5e961
refs/heads/master
2020-05-22T07:10:16.511761
2019-05-13T07:13:44
2019-05-13T07:13:44
186,258,256
1
0
null
null
null
null
UTF-8
C++
false
false
1,263
cpp
Sprite.cpp
#include<SDL.h> #include<SDL_image.h> #include<iostream> #include<vector> #include "Sprite.h" using namespace std; Sprite::Sprite(SDL_Renderer *Renderer, const char* ImageStrip, uint8_t n){ SDL_Surface *sur = IMG_Load(ImageStrip); nFrames = n; renderer = Renderer; int w = sur->w / nFrames; int h = sur->h; ...
81101719becb57cc90333af60d2330e1b3a21660
e9047b26c1633476c1326fb4a1ee3526e9bb69a0
/lab_4/test_1/test_1.cpp
271f71218216272a2ff5affa1f75a0dfcc21d21b
[]
no_license
manunia/labs_c
0a66112579198c26d91746916ba0905db99f2ec0
95a18e7cee2b1bae66334d2503c76a5871903841
refs/heads/master
2020-05-27T16:32:49.612816
2019-05-26T17:31:12
2019-05-26T17:31:12
188,702,034
0
0
null
null
null
null
UTF-8
C++
false
false
5,965
cpp
test_1.cpp
// test_1.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы. // #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <cstdlib> using namespace std; //typedef int DataType; typedef std::string mark; typedef std::string country; typedef int year; typedef int volum...
43eff9fcb5574643daa8fde36f2c5215739529bd
4f80e47a9ccf9e43362daa7a9b5c50d6c3f2b3ee
/ui.h
3231249f6fe1a89af3f5f9b6f2ba453849d35ab8
[]
no_license
cybaer/derMehrschritt
23a4b83091762f75a6965efc753850decc49c75b
83958cb237b915be52bfa34def56b332b9183429
refs/heads/master
2020-04-05T22:57:50.078978
2019-01-11T17:36:41
2019-01-11T17:36:41
41,742,806
2
0
null
null
null
null
UTF-8
C++
false
false
2,640
h
ui.h
/* * ui.h * * Created on: 17.11.2015 * Author: cybaer */ #ifndef UI_H_ #define UI_H_ #include "HardwareConfig.h" using namespace avrlib; class App; static const bool GREEN = false; static const bool RED = true; // Switch_Row_Column static const uint32_t SW_1_1 = 0x00000001; static const uint32_t SW_1_2 =...
dc2b140b1ae894b1a67c2eafd80f964e3cbbedf9
af82fd89093f68794e854838f1f511869a3a19b4
/src/gui/Album/Filter/guiAlbumFilter.h
17bdf5cf3ee72acf0f76f60407142275c781c53c
[]
no_license
Beber7310/BoomGUI
6f76054aa52f1c42de4712b3f8abddd2ac9038e7
758c61dcbd6ca93133b72b34f10b3666de106f34
refs/heads/master
2023-03-30T02:22:31.159385
2021-03-27T16:50:56
2021-03-27T16:50:56
103,022,181
0
0
null
null
null
null
UTF-8
C++
false
false
582
h
guiAlbumFilter.h
/* * guiAlbumFilter.h * * Created on: Sep 14, 2017 * Author: dosdab */ #ifndef SRC_GUI_ALBUM_GUIALBUMFILTER_H_ #define SRC_GUI_ALBUM_GUIALBUMFILTER_H_ #include <guiBase.h> #include <guiList.h> #include <guiButton.h> #include <guiItemFilter.h> class guiAlbumFilter: public guiBase { public: ...
8ef84363f170bbb269aadbf954135bd4ea314263
e3e93008a40c0e8f5945a146fb22ab97c0520495
/GeneralGUI/GeneralGUI/GGUIInputProcess.cpp
da56f4a8cb06e73a28f73651fbdfca3dcea293ae
[]
no_license
cnsuhao/GeneralGUI
32c0a74702982d2d59abc1cf0bf0d718a368295b
cb42bd3eb39729fc4597329ea79510222cf6f1e1
refs/heads/master
2021-05-31T23:27:46.203540
2016-04-10T10:53:30
2016-04-10T10:53:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,026
cpp
GGUIInputProcess.cpp
//----------------------------------------------------------------------------- // GGUI处理用户的输入 // (C) oil // 2012-09-26 //----------------------------------------------------------------------------- #include "GGUIStdAfx.h" #include "GGUIInputProcess.h" #include "GGUIWindow.h" #include "GGUIWindowManager.h" //--------...
177b77bf5669e54f0db34db20b8178b393cfdb93
af0ecafb5428bd556d49575da2a72f6f80d3d14b
/CodeJamCrawler/dataset/10_119_76.cpp
b332a69141dd066a0a63254851c14318e864ed93
[]
no_license
gbrlas/AVSP
0a2a08be5661c1b4a2238e875b6cdc88b4ee0997
e259090bf282694676b2568023745f9ffb6d73fd
refs/heads/master
2021-06-16T22:25:41.585830
2017-06-09T06:32:01
2017-06-09T06:32:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,557
cpp
10_119_76.cpp
#include <iostream> #include <cstdio> using namespace std; int main(){ int T, R, k, N; int gs[1001]= {0}; bool sign[1001] = {false}; int ns[1001] = {0}; int nsum[1001] = {0}; int next[1001] = {0}; cin >> T; for(int i = 1; i <= T; ++i){ cin >> R >> k >> N; for(int jx = 0; jx < N; ++jx){ ...
b6a46213c653b98f37c0c0afd968cd44c69ebc62
a457cab53804a9eb9a8f6a4da1f05f00ab2917ad
/lib/JsonStaticString/JsonStaticString.h
9d72dc14c0b4f3444ff7c25fcc8c50801237a54f
[ "MIT" ]
permissive
vt77/WeatherStation-outdoor-sensor
5ca595cd8a501492c0de24e8d0380a69bfdbfcc0
c5a91794a421ece85844a93664c20745f1657e8a
refs/heads/main
2023-08-21T19:20:31.104365
2021-10-14T16:05:14
2021-10-14T16:05:14
390,832,290
2
0
null
null
null
null
UTF-8
C++
false
false
1,500
h
JsonStaticString.h
#ifndef __JSON_STATIC_STRING #define __JSON_STATIC_STRING #include <string.h> namespace vt77 { #define MAX_STRING_VALUE_LEN 96 template <unsigned S> class JsonStaticString { private: char buffer[S]; bool _append_pair(const char * key, const char * value) { if(strlen(buffer...
c8ee20434a09933ede269d377e2f9219fe824e25
e07399ac7a4b7928e62a1b59155ee0d04e423d4f
/clients/include/blas1/testing_rotm_strided_batched.hpp
c22155a1d89822412f854832cf49655869e23da4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zaliu/rocBLAS
bf5cca20c7af9004034a00489d5bc3956abf07a3
a42b39f2651d6995eb88a4df3bacb1e77f0df41f
refs/heads/master
2021-10-27T15:01:06.651380
2021-08-31T19:07:01
2021-08-31T19:07:01
124,825,140
0
0
MIT
2018-03-12T02:52:00
2018-03-12T02:52:00
null
UTF-8
C++
false
false
14,693
hpp
testing_rotm_strided_batched.hpp
/* ************************************************************************ * Copyright 2018-2021 Advanced Micro Devices, Inc. * ************************************************************************ */ #pragma once #include "cblas_interface.hpp" #include "norm.hpp" #include "rocblas.hpp" #include "rocblas_init.h...
fc6242a92bd954cb83921bba28094c6d35e996d5
3ae56c7a147fc50a3b7cb1b8285aec38624a60b6
/src/game.h
c94d4916943b507d4a2b4c526ecbf9698c37a9eb
[]
no_license
SS47816/CppND-Capstone-Snake-Game
e87056c01f7a962b6786fffd96bc298d731949ba
6c415b31a8f773d58e9188ce604ce4ec91bdea44
refs/heads/master
2022-10-11T18:58:48.737337
2020-06-13T23:23:24
2020-06-13T23:23:24
271,861,281
0
0
null
2020-06-12T18:06:12
2020-06-12T18:06:11
null
UTF-8
C++
false
false
639
h
game.h
#ifndef GAME_H #define GAME_H #include <random> #include <memory> #include "SDL.h" #include "controller.h" #include "renderer.h" #include "snake.h" #include "food.h" #include "obstacle.h" class Game { public: Game(std::size_t grid_width, std::size_t grid_height); void Run(Controller const &controller, Renderer &...
4652f6135e07f967bbef68d73ad67f37ce50b62c
15a35df4de841aa5c504dc4f8778581c00397c87
/Server1/Engine/Ext/netdsdk/include/EpollReactor.inl
af8e229daefb45f01db374fcf106c9af146cc2e0
[]
no_license
binbin88115/server
b6197fef8f35276ff7bdf471a025091d65f96fa9
e3c178db3b6c6552c60b007cac8ffaa6d3c43c10
refs/heads/master
2021-01-15T13:49:38.647852
2014-05-05T12:47:20
2014-05-05T12:47:20
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,961
inl
EpollReactor.inl
inline EpollReactorHandlerRepository::EpollReactorHandlerRepository () : max_size_ (0) , handlers_ (0) { } inline int EpollReactorHandlerRepository::is_invalid_handle (NDK_HANDLE handle) const { if (handle < 0 || handle >= this->max_size_) return 1; return 0; } inline int EpollReactorHandlerRepository::handle...
5cde2adb7d9dd32030f5852f96fca828ff2ad04a
d8dcee749abdc9d7d9541bc7fbcdfad393399ec6
/DataFillers/interface/FillerEventInfo.hh
d7d09a0f7a53098a3ca4dff529f2430b4ed43479
[]
no_license
xmniu/ZCounting
c6e4263baa651fb8301df0a77d327b798442ad17
ad7302c39a430ec8c4600b47d968d871d5a7d1d6
refs/heads/master
2021-01-20T09:44:43.724094
2017-05-05T13:08:31
2017-05-05T13:08:31
90,280,104
0
0
null
null
null
null
UTF-8
C++
false
false
1,914
hh
FillerEventInfo.hh
#ifndef ZCOUNTING_DATAFILLERS_FILLEREVENTINFO_HH #define ZCOUNTING_DATAFILLERS_FILLEREVENTINFO_HH #include <string> #include "FWCore/Framework/interface/Frameworkfwd.h" // declaration of EDM types #include "FWCore/Framework/interface/EDAnalyzer.h" // EDAnalyzer class #include "FWCore/ParameterSet/interface/P...
8493622996d043d2171f7095b6e1cbacf9449534
44594e9517af2fb8e858f2e8f5da88ecfc701ddd
/custom-moos/MOOS_Jul0519/MOOSCore/Core/libMOOS/DB/ATLASLinkConsumer.cpp
98a8a98f8b7e4372f84c2dc4f0c095149db96092
[]
no_license
jrharbin-york/atlas-middleware
1dd53bc0531d17aeabcaa00d85ec4ca1ce7a3787
cfbd357746b0214483a367439c3efff9b8e2e3a1
refs/heads/master
2022-08-15T03:06:14.479239
2021-05-20T21:21:19
2021-05-20T21:21:19
212,563,034
0
3
null
2020-12-04T03:36:25
2019-10-03T11:27:46
C++
UTF-8
C++
false
false
3,712
cpp
ATLASLinkConsumer.cpp
#include <activemq/core/ActiveMQConnectionFactory.h> #include <activemq/library/ActiveMQCPP.h> #include <activemq/util/Config.h> #include <cms/BytesMessage.h> #include <cms/Connection.h> #include <cms/ExceptionListener.h> #include <cms/MapMessage.h> #include <cms/MessageListener.h> #include <cms/Session.h> #include <cm...
0afac05a0622c53ea88c6406652b6cd6e9bbbcfe
563274f7013cd9c3bee34b0a579c6d1a32609a08
/folktest/clientclass.cc
bbe7ba442f9c4621bac9d32d533c8b8d5b9d4d0e
[]
no_license
HideinBushes/MessagingSystemWXZ
4c777212612d57e01aec75c0fd5ba36d589a62e8
3297c1a2e54ea9213a02d0ff044041bc01ba0683
refs/heads/master
2021-01-10T17:49:52.271373
2015-12-16T19:36:34
2015-12-16T19:36:34
45,877,741
0
0
null
null
null
null
UTF-8
C++
false
false
1,434
cc
clientclass.cc
#include <iostream> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdlib.h> #include <unistd.h> #include <netdb.h> using namespace std; #define bufsize 1024 class Client{ private: int sockfd; int portNum; char buffer[bufsize]; struc...
697070502a59a68ef0f2190ec9685bd36dbbd223
b25bc563dbb37a12244d2375c5816de9231c6c63
/PowerPlant/_In Progress/_Constructor Additions/LInPlaceHostView.cp
2040408be259425a51ef1a5d977d7c6ce0850eb7
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "ISC" ]
permissive
mattgallagher/Mines
cae97a293bea9431c173b62fbc6a7115bfa4828d
cb159c358b12787dca9b8328d7f6083f07377b52
refs/heads/master
2021-01-13T13:00:09.404274
2018-10-24T12:15:04
2018-10-24T12:15:04
78,709,769
28
3
null
null
null
null
WINDOWS-1252
C++
false
false
10,261
cp
LInPlaceHostView.cp
// Copyright ©2005, 2006 Freescale Semiconductor, Inc. // Please see the License for the specific language governing rights and // limitations under the License. // =========================================================================== // LInPlaceHostView.cp PowerPlant 2.2.2 ©1996-2005 Metrowerks Inc. // =======...
a7ad5db1add3004929439e71da1e1161a1dc755a
41530cf71c1777e2066440f252c25d257269749a
/RealTimeScheduling/HelperRobot.cpp
544055f673b1c2f9b33b1db0921035ca3cf9e0ff
[]
no_license
aazim18/CPlusPlus
5420190090aebba3671f37e67ec2e07704967796
f558c68458b88d88af4e584a790cbe67043fcff3
refs/heads/master
2020-06-15T10:40:24.503561
2019-07-04T16:50:24
2019-07-04T16:50:24
195,275,386
0
0
null
null
null
null
UTF-8
C++
false
false
304
cpp
HelperRobot.cpp
/* * HelperRobot.cpp * * Created on: Mar 23, 2015 * Author: azim1866 */ #include <iostream> #include <string> #include "HelperRobot.h" #include <fstream> using namespace std; HelperRobot::HelperRobot() { this->inprogress=2; this->queued=2; } int HelperRobot :: FinishWork() { queued--; }
dea0c5b31ae966d597c91a9b8e6a9921ec06bb17
1c23e8800c4751077a1695b89ae7aae601dd91ab
/Source/SlapKnight_Legacy/Units/Worker.h
0e7f1feb246042db99b2010aada4ddbab517de83
[]
no_license
Paxton89/SlapKnight_Legacy
e5fd4e9fafabd658267013f85c02c542f5c8f4a0
b0305b6e70346d901f84b0ea5b442dad363c6be4
refs/heads/main
2023-08-31T08:06:59.580717
2021-10-26T14:31:06
2021-10-26T14:31:06
411,214,574
0
0
null
null
null
null
UTF-8
C++
false
false
211
h
Worker.h
// J #pragma once #include "CoreMinimal.h" #include "SlapKnight_Legacy/Units/BaseUnit.h" #include "Worker.generated.h" UCLASS() class SLAPKNIGHT_LEGACY_API AWorker : public ABaseUnit { GENERATED_BODY() };
67481abd5109ecf6e00ba7b9e383160f3b2531c3
966715244b0f937e48305f2753ebde5544809325
/include/Dlink/vector.hpp
ca3a76137beea8717eb564829a22400c8b8e01df
[ "MIT" ]
permissive
DlinkLang/Dlink
970569fb4e0be8bdf79948e418178ef3e110137c
bbe36adf3f1591bd27ad6edcd45d5ad33fcb1781
refs/heads/master
2020-03-22T20:09:47.423408
2018-11-19T12:13:39
2018-11-19T12:14:19
140,577,462
6
0
null
null
null
null
UTF-8
C++
false
false
11,408
hpp
vector.hpp
#ifndef DLINK_HEADER_VECTOR_HPP #define DLINK_HEADER_VECTOR_HPP #include <vector> #ifdef DLINK_MULTITHREADING # include <initializer_list> # include <memory> # include <utility> # include <mutex> #endif namespace dlink { #ifdef DLINK_MULTITHREADING template<typename Ty_, typename Allocator_ = std::allocator<Ty_>> ...
422a719f19bd5af2ffe5eeb5d42384885d6712e6
ff93b3d44693687f0e8dd9dec525ce4ac08c317c
/agents/minilibs/Route.h
29188feeac4145f578c4fc7776e9395193f14f99
[]
no_license
agiordana/HAT
6ea2b5a6b3a635e6702ccf8573133a65c8c14c9a
f61f0783c8d9f9d4e3b1374eb6475f4d88f95ff9
refs/heads/master
2020-12-24T07:54:07.078444
2018-10-01T12:39:05
2018-10-01T12:39:05
59,103,594
3
0
null
null
null
null
UTF-8
C++
false
false
1,738
h
Route.h
#ifndef new_soap_Router_h #define new_soap_Router_h #include <iostream> #include <vector> #include <string> #include <regex.h> #include "../tinyxml/tinyxml.h" #include "../libjson/libjson.h" using namespace std; // superclasse che prefissa tutte le classi che dovranno ricevere un uri da eseguire class RouterExec { ...
a999ba82e043e62a872dbd59781b02e6186fddee
115b07b4ca5bae4d1dd567e8cb5a1366cbf72c9b
/Source/Flopnite/Private/FNAnimInstance.cpp
06da74f53e5dfe2b001cd875271475fb47af66e5
[ "MIT" ]
permissive
BEASTSM96/flopnite-ue4
7cc6c9c86c9448a79a99d7aeb5d93435b99a0fb7
76193544a6b7fe6b969864e74409b6b5a43f3d7a
refs/heads/v2
2023-05-25T02:48:23.277991
2020-10-10T16:20:02
2020-10-10T16:20:02
301,183,398
0
0
MIT
2021-06-06T14:50:56
2020-10-04T17:13:54
C++
UTF-8
C++
false
false
1,132
cpp
FNAnimInstance.cpp
// #include "FNAnimInstance.h" #include "GameFramework/CharacterMovementComponent.h" #include "FNCharacter.h" UFNAnimInstance::UFNAnimInstance() { /* */ IsInAir = false; Direction = 0.0; } void UFNAnimInstance::NativeUpdateAnimation( float DeltaSeconds ) { Super::NativeUpdateAnimation( DeltaSeconds )...
190e509046ac8f2efdb76d6e50e676c197f94aa2
ecee6bbff0dea9c54f01f2c72462d694dbde4e7a
/SteeringEquation/SteeringEquation.ino
1d278980a236de469ff7febe6eb04f187adeaabd
[]
no_license
BigOto2/2015-16
a958b01015ba66f0c8a5ae5fa1c1683e6c11a2a1
5724a659943e8db6c66f66b9e95ca4c338232434
refs/heads/master
2021-01-14T10:21:18.095442
2015-11-22T00:16:32
2015-11-22T00:16:32
46,627,711
0
0
null
2015-11-21T18:22:48
2015-11-21T18:22:48
null
UTF-8
C++
false
false
2,215
ino
SteeringEquation.ino
#define ANGLE_MAX 100 //The maximum angle in either direction that the rover should pivot (in radians) #define ANGLE_MIN .01 //The angle at which we approximate it as going straight (in radians) #define LENGTH_TO_PIVOT 100 //The straight line distance from the pivot point to the point between the wheels (the axle) #def...
cd4c6d746eebb44b59c784ccdbff72b729a57ad1
144e322915d5b1be5ff4e1c8188ee589f337cd39
/CS179.14B_FinalProject/GameServer/GameServer.cpp
16533f1b76b8eb0708357db6681c1b8449b7656c
[]
no_license
raphaelreventar/CS179.14B_Finals
a0159b61d82fecb65b366e3fceef4f1c9d117855
f0b76af04c28535ed1d17ca984a69e3d05b05f24
refs/heads/master
2021-06-02T09:28:33.151659
2016-06-17T04:54:33
2016-06-17T04:54:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,013
cpp
GameServer.cpp
#include <string> #include <system_error> #include <iostream> #include <vector> #include <chrono> #include <array> #include <functional> #include <algorithm> #include <unordered_map> #include <atomic> #include <boost/asio.hpp> #include "GameMessage.h" using namespace std; typedef chrono::steady_clock Clock; const a...
67e23b1b317ef456ece3a6861d9481fb885c6c3f
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/git/gumtree/git_old_hunk_91.cpp
bca9ea86f488d08c90933cb3d7dc5b9b713ba8ba
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
595
cpp
git_old_hunk_91.cpp
append_signoff(&sb, ignore_footer, 0); } if (fwrite(sb.buf, 1, sb.len, s->fp) < sb.len) die_errno(_("could not write commit template")); strbuf_release(&sb); /* This checks if committer ident is explicitly given */ strbuf_addstr(&committer_ident, git_committer_info(IDENT_STRICT)); if (use_editor && include...
f29e6963fcdf2d01c770919dc19cca336c808eea
44227276cdce0d15ee0cdd19a9f38a37b9da33d7
/alien/standalone/src/core/alien/handlers/profiler/BaseMatrixProfiler.h
5f1764679363bf4f940bd0ef92075866082b7875
[ "Apache-2.0" ]
permissive
arcaneframework/framework
7d0050f0bbceb8cc43c60168ba74fff0d605e9a3
813cfb5eda537ce2073f32b1a9de6b08529c5ab6
refs/heads/main
2023-08-19T05:44:47.722046
2023-08-11T16:22:12
2023-08-11T16:22:12
357,932,008
31
21
Apache-2.0
2023-09-14T16:42:12
2021-04-14T14:21:07
C++
UTF-8
C++
false
false
3,412
h
BaseMatrixProfiler.h
/* * Copyright 2020 IFPEN-CEA * * 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 to in wri...
f0579d0822cae8803980fb3a1bb57f91b6f88d26
7367f0562cc9edb6a040c39733a902b576be18e3
/8x8/Arduino/sketch_apr14a/sketch_apr14a.ino
50b78fd0c43893651860fdf5885b2160cda5c8fd
[]
no_license
depli-ds/Labo-Depli-DS
97dbbbdb7095f74fe4b8416a28541955c2ac19c0
be764df4d0be14d44f1b636963a7a6a36ccebc83
refs/heads/master
2020-05-17T05:55:03.397647
2014-08-21T11:57:59
2014-08-21T11:57:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,857
ino
sketch_apr14a.ino
#include <Rainbowduino.h> byte display[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; char vel[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
fa9019931b24ddcfe1bf75d6e9bd663f28a6232e
5f1b3538c48c95674f9a378b9d3f715abb6221d6
/Punteros_6.cpp
f68c43fd9c84236dcf69ade9ba42fda61a6c8728
[]
no_license
danivivi/Taller2_StrucII
0141219033a25f61f5d744c16c6e45b52ba5dcc3
a874c33108112546bc453b4f6e3fe761849fd610
refs/heads/master
2021-04-09T17:55:22.955301
2018-03-18T03:59:00
2018-03-18T03:59:00
125,690,804
0
0
null
null
null
null
ISO-8859-10
C++
false
false
1,150
cpp
Punteros_6.cpp
#include <stdio.h> #include<stdlib.h> /*programa que usa una funcion para almacenar numeros en un arrglo dinamico posteriormente en otra funcion buscar un numero en particular*/ void leer_arreglo(); void buscar(); int *v1; int num; int main() { leer_arreglo(); return 0; } void leer_arreglo(){ printf("Ingrese...
89741216e661a15829236b4e7491e408c02fce4a
000cef8bf769732c20d5412f68b0fba102a48b66
/singleCPU/heatEquation2d/heat2d.cpp
e79e2d5ca7ba68a04062ad63b557a35f38e59d6c
[ "MIT" ]
permissive
Cxb1993/Matlab2CPP
31fcef8e7af7db308b6174eb7cec148acc34d853
b4a865fbcb006a342fb76acab12bd1a5d80a5339
refs/heads/master
2021-06-20T14:12:38.918251
2017-08-09T01:35:40
2017-08-09T01:35:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,127
cpp
heat2d.cpp
#include "heat2d.h" void Manage_Memory(int phase, int tid, float **h_u, float **h_un){ size_t domainSize; if (phase==0) { // Allocate whole domain variable h_u on host computer (master thread) domainSize= NX*NY*sizeof(float); *h_u = (float*)malloc(domainSize); *h_un= (float*)malloc(domainSize); ...
00b6cd05791e2a1f8e8f87609bd66151b23b6146
06c4be5d8aa3ef41c7ece9b3df49887dd69dbd52
/KernSem.h
f3b60d47683c85af389517575d4874a1d8ce314d
[]
no_license
sofijaf/os1
4a6d4d8d7ea543aa16b0e1f47a2720ac4659cda0
d4b1a70c9edcd038534d1f3165351906825ce3cf
refs/heads/main
2023-01-05T07:09:58.075479
2020-10-25T12:49:28
2020-10-25T12:49:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
390
h
KernSem.h
/* * KernSem.h * * Created on: Oct 18, 2019 * Author: OS1 */ #ifndef KERNSEM_H_ #define KERNSEM_H_ #include "semaphor.h" class Queue; class SQueue; class KernelSem { public: KernelSem(int init, Semaphore* s); virtual ~KernelSem(); int wait(Time maxTimeToWait); int signal(int n); int val(); int valu...
b5654740cd9c5813124c5303a0e04c8c908445d6
89bf144a6777b1b51fa704dab02e16fcb0870bdc
/6_motion_control_PID/heading_controller/heading_controller.ino
a5bfabf25f9d34e2c3cb7de8f9fd62931e038c24
[]
no_license
fznsakib/arduino
4002d850cf591123c62d87b71765ffefe05d0c85
f105a0e0b6aab8b3b2f074c4c771213145f23571
refs/heads/master
2020-09-06T16:56:33.330586
2019-12-11T11:29:37
2019-12-11T11:29:37
220,486,318
0
0
null
null
null
null
UTF-8
C++
false
false
3,418
ino
heading_controller.ino
#include "encoders.h" #include "pid.h" #define L_PWM_PIN 10 #define L_DIR_PIN 16 #define R_PWM_PIN 9 #define R_DIR_PIN 15 #define DIR_FWD LOW #define DIR_BKD HIGH #define OUTPUT_LIMIT 215.0 // Proportional, Integral and Derivative gains for position controller #define kp_left 0.5 #define ki_left 0.0 #define kd_lef...
444a84574dada67f6fff47f90de74747d04af98c
a75d9471acfc74a84455ab0809b062e42becb8c7
/ch04/SpeedFactory/Odometer.cpp
afaa2558e83e2214e524be4a71cec405f0a5a455
[ "MIT" ]
permissive
ajunlonglive/Hands-On-Design-Patterns-with-Qt-5
035e57e0d06f1cc6e831d614cb4ac4753001ee5b
00f3f7de9ce75f86e056bf9be942d169bb96d7ff
refs/heads/master
2023-08-14T14:18:48.868284
2021-09-21T23:22:00
2021-09-21T23:22:00
null
0
0
null
null
null
null
UTF-8
C++
false
false
630
cpp
Odometer.cpp
#include "Odometer.h" #include "Blackboard.h" #include <QTimer> Odometer::Odometer(QWidget *parent) : QLCDNumber(parent), KnowledgeSource() { setDigitCount(7); setSmallDecimalPoint(true); setDecMode(); } Odometer::~Odometer() { } void Odometer::setBlackboard(Blackboard *a_blackboard) { Knowle...
5ed71211d77bfe18dc855da25232e93c998d9a1f
2e1dd0d5557e8945e87602b010675eacc67b088c
/Dfs(wr)_단지번호붙이기.cpp
27bbc0dcf21437715f89bcc28a836a73251c104d
[]
no_license
overnew/CodeSaving
7df25fd386f19fdb133601b14c493730e55bae0e
f0a1a4ccb69e4f34364cfea786b8a4cbe62bb2a8
refs/heads/master
2023-08-11T00:13:35.955455
2023-07-29T11:00:57
2023-07-29T11:00:57
243,216,637
1
0
null
null
null
null
UTF-8
C++
false
false
1,265
cpp
Dfs(wr)_단지번호붙이기.cpp
//https://www.acmicpc.net/problem/2667 /* bfs로도 풀수 있는 문제. DFS의 경우 -> 스택을 활용해 최근에 넣은 것을 pop해 4가지로 뻗어 나감. BFS의 경우 -> 큐를 활용: 먼저 넣은 것을 먼저 pop해서 4가지 분류를 큐의 뒤에 */ #include <iostream> #include<string> #include<string.h> #include<algorithm> #include<vector> using namespace std; int n,cnt; //int arr[25][25]; string ar...
53db9e8c3e5b4123992c9a7b9d3864faa729c86d
0ded9cc64bb71c088f39db0c71ac85144627920c
/pwx/probe/ibase/pxw-users/pwx-users.cpp
a947e656de2f389b08ef2f83b058ee1d3a41e7e4
[]
no_license
povloid/projects_before_2007
fd09063922ed3dbc73b58217752961784ce86b94
2a672b97df21aec9be65b1a6e38601311dacee91
refs/heads/master
2020-06-05T02:41:56.916028
2014-11-02T08:42:39
2014-11-02T08:42:39
null
0
0
null
null
null
null
KOI8-R
C++
false
false
7,534
cpp
pwx-users.cpp
#include <ibase.h> #include <iostream> #include <string> using namespace std; //Эта структура предназначена для хранения переменных типа SQL_VARYING #define SQL_VARCHAR(len) struct {short vary_length; char vary_string[(len)+1];} //Начало главной процедуры программы int main (void) { //Константы, необходимые дл...
e881404cfeeb3bfe3503a675477f12ee7658a789
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5652388522229760_1/C++/mgch/main.cpp
67c79282c8822411aa0dd2efb19175586bef4e7b
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
1,052
cpp
main.cpp
#include <stdio.h> #include <algorithm> #include <assert.h> #include <set> #include <map> #include <complex> #include <iostream> #include <time.h> #include <stack> #include <stdlib.h> #include <memory.h> #include <bitset> #include <math.h> #include <string> #include <string.h> #include <queue> #include ...
f3fd97f7f1368dec0cc06d337a44fd524a58dffc
4a6eb31b6efd60be0f3d4c32b3a88e02cc1885ac
/jcpp/src/main/cpp/jcpp/lang/JString.cpp
c80d8c122654c9cc13d5264b373f97d0b4d9c871
[]
no_license
jeffedlund/rpc
3f84389973651ff77ad09b53459778953843e310
17cba8f2ab4fce50361693db8f59ccf46c19ae78
refs/heads/master
2021-01-10T20:14:04.687475
2013-06-10T09:16:29
2013-06-10T09:16:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,707
cpp
JString.cpp
#include "JString.h" #include "JClass.h" #include "JSerializable.h" #include "Collections.h" #include "QString" #include <algorithm> #include "JObject.h" #include "JBits.h" using namespace jcpp::io; using namespace jcpp::util; namespace jcpp{ namespace lang{ class JStringClass : public JClass{ publ...
8ca8a337e43d4b1d3c6aa8f266830b531921efa3
424937067222cef3c416fcc2a7754efd37ba856b
/src/tools/tools.hpp
71d9e83777deceaf3aa51a05065ef7a3d1555a63
[]
no_license
zkerriga/irc-server
e3723621b6f6686fcdbe928dfa035c522ec8dd0f
0cdf6236b8a911a9e4f763ad8be1125465fe0d27
refs/heads/main
2023-03-26T23:36:01.264731
2021-04-01T17:18:43
2021-04-01T17:18:43
330,881,280
1
3
null
2021-04-01T17:18:43
2021-01-19T06:07:30
C++
UTF-8
C++
false
false
5,912
hpp
tools.hpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* tools.hpp :+: :+: :+: ...
afd7cabafb17c4bab2b37aadb1feb24cd205d40a
c47d35768ccf61ac69076d13d50f4a02afe1cfc1
/src/Memory/AlignedMallocator.hpp
bc587a1a266a84ed775e61c8068b45bc441b2cb0
[ "MIT" ]
permissive
epicbrownie/Epic
8eaecc7624739bd91ec86d1cf830cebded068c3c
c54159616b899bb24c6d59325d582e73f2803ab6
refs/heads/master
2020-04-12T06:43:21.216759
2018-04-15T20:33:49
2018-04-15T20:33:49
64,624,266
0
0
MIT
2018-04-20T13:25:18
2016-08-01T00:59:25
C++
UTF-8
C++
false
false
2,582
hpp
AlignedMallocator.hpp
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2016 Ronnie Brohn (EpicBrownie) // // Distributed under The MIT License (MIT). // (See accompanying file License.txt or copy at // https://opensource.org/licens...
c2c22a29b0386e3e0a47fbfc390a292da1cded25
f455f24b30f3ec8d252682a7d453a82d2bc4e5ba
/src/Circle.cpp
5ec501f20786f00a883262ba61572ea8551e2fbb
[]
no_license
is-xuwei/cpplearning
3ca97556946abd6133371fc844f6bb2232ba8742
001ef639e928d5cb8562b0010c0e62a0f6146560
refs/heads/master
2023-07-21T18:29:18.672121
2018-07-17T14:52:33
2018-07-17T14:52:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
347
cpp
Circle.cpp
#include "Circle.h" #include <iostream> using namespace std; Circle::Circle() { //ctor } Circle::~Circle() { //dtor } int Circle::do_draw() { cout<<"Circle do_draw"<<endl; return 0; } int Circle::do_erase() { cout<<"Circle do_erase"<<endl; return 0; } int Circle::do_sum(int a, int b, int c)...
6a4d66ef264456a6d7317e2ef02435772c9b9518
488d475a9dbf18ff76acded0625b7bba9f7fb335
/Urok3Modul6DZ/Funkcii.cpp
5f3405adf0ed3e38bab462c64c3600c3e88ad404
[]
no_license
medvedev1990/Urok3Modul6DZ
4feaa712040583555efd8cb9890a400d3ad01b1a
da96fa099ac7d7a8ce8679d65f28e436d0adde65
refs/heads/master
2020-04-07T13:44:29.647459
2018-03-07T10:08:14
2018-03-07T10:08:14
124,216,927
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
1,324
cpp
Funkcii.cpp
#include<iostream> #include<stdio.h> #include<time.h> #include<locale.h> #include<stdarg.h> #include"Header.h" int i; int ploshad(int *a, int *b) { return *a * *b; } int ploshad(int *a, int *b, int *am, int*bm) { return ((*am * 100) + *a) * ((*bm * 100) + *b); } int u(int *a, int *b) { return *a + *b; } double v ...
b3e7895209657b6e209d35b13e6d03244e7f3b99
90001cbbb5fd5b5048cc6f9f1265a583c6147ad4
/design model/8. strategy patten/stategy.cpp
d2c4464eb5f1cdfe81baee7c14d7e67db09993da
[]
no_license
Toursar/mycode
44fd6c905ca1a861cef6e3d4a8bc52425a45eb88
c3b5cb6210cf4a16d74c310f6865aeaa24cec0e2
refs/heads/master
2023-02-12T23:14:22.836529
2021-01-09T02:58:50
2021-01-09T02:58:50
289,463,849
1
0
null
null
null
null
UTF-8
C++
false
false
1,462
cpp
stategy.cpp
#include<iostream> using namespace std; //策略模式,类似于状态模式,策略模式侧重于对同一个操作产生不同的方法完成 //状态模式则是,不同状态会产生不同操作 class strategy { public: strategy(){} virtual ~strategy(){} virtual void using_strategy() = 0; }; class version1_strategy : public strategy { public: version1_strategy(){} ~version1_strategy(){} ...
cc30d6422ad6c34c8a33bd578a6d69925c0c2a66
89c7bead0bfb7b3b4d3d53450cc69bc4db47b7c2
/SD4/MineCraftClone/Code/Game/General/Utils/Neighborhood.hpp
5e8a2ac1f16e32b798aba9351f327dd1e6a160b7
[]
no_license
itsdrell/SoftwareDevelopment
73fb218ae002a4dc3cd9bbed8f50ccc1a2d8a2f4
546b0d59e21f25a9b951ca0adc38783c1305f7ab
refs/heads/master
2020-03-19T00:43:23.348211
2019-05-08T17:21:37
2019-05-08T17:21:37
135,498,540
0
0
null
null
null
null
UTF-8
C++
false
false
1,817
hpp
Neighborhood.hpp
#pragma once #include "Engine/Math/Vectors/IntVector2.hpp" #include <vector> //==================================================================================== // Forward Declare //==================================================================================== //=============================================...
002c4e1c19c129f7eb6ea1a13835222faf44117a
aa7f08e2a11774e462c36c644a93103c747a6b30
/Source/CeleX5Demo_Client/mainwindow.cpp
9a887dadb88ab22eac10948dc5cc55ca9ac0be29
[ "Apache-2.0" ]
permissive
CelePixel/CeleX5-ZYNQ
55d12d25a606ed9086ed7721c45c611f1c0f2596
de1058cb4905984f2a1279ec612105d70a7c117b
refs/heads/master
2021-07-03T23:10:22.572553
2020-09-09T07:14:47
2020-09-09T07:14:47
168,104,471
1
3
null
null
null
null
UTF-8
C++
false
false
822
cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QCloseEvent> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) , m_pCX5Widget(NULL) { ui->setupUi(this); this->move(10, 10); bool bCeleX5Device = true; if (bCeleX5Device) { this-...
fb8a7bb901dbdc5b2e451ae2817b69b126b5ffbb
813c4a4fac8c27ef56f47d2e30f3f6b907ee8f5f
/ifcrypt/memp.h
6cf5f75ca43056408ee38da6c0b416754cbd415e
[]
no_license
bhlzlx/MyOpenGLProjects
8bae13956f6a641ca7cad097c078d9897115c1e4
57e12866d4f847f56f1310ffcda592b3c008ca77
refs/heads/master
2020-12-24T05:40:16.897897
2017-10-13T10:32:44
2017-10-13T10:32:44
92,964,636
1
2
null
null
null
null
GB18030
C++
false
false
5,921
h
memp.h
#pragma once #include <cstdio> #include <mutex> #include <cstdint> #include <mutex> #include <cassert> namespace iflib { class MEMPException { public: enum MemOper { MemOperAlloc, MemOperFree, }; MemOper oper; }; template < class T, uint8_t ALIGN = 3 > // 默认8字节对齐 class MEMP { private: static c...
e196d74413ded09938babc9b8c736bf00eea627b
67b68b6b5197ee30f54333fc2cec9d01644fe8a8
/rowgenerator.cpp
42e5a626ec44a1388d6de80e64746d1898897d5b
[]
no_license
Leofierus/skyscraper-ps
376dbf53ab0b69ce8b16bc518a3df07665dbe628
769388c2b52b3ac8b3c23ec78f91457cc3f2f020
refs/heads/master
2021-06-01T02:22:24.442962
2016-07-15T16:34:28
2016-07-15T16:34:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,092
cpp
rowgenerator.cpp
#include "rowgenerator.h" #include "ui_RowGenerator.h" #include <QFileDialog> #include <QTextStream> #include <QMessageBox> RowGenerator::RowGenerator(QWidget *parent) : QDialog(parent), ui(new Ui::RowGenerator) { ui->setupUi(this); } RowGenerator::RowGenerator(list<vector<SkyScraper> >& poss...
c62d023b31ae36d0728d7694b34170cdbdea1b3d
61f661ee029c4aaf113350483ac9cd4d53f674dc
/NEUPlateR_server-master/Business/TollStation/toll_station.cpp
913a71b0d51c8b19022ec0b947dfb74c01630f5f
[]
no_license
jingma-git/NEUPlate
17488cf06c4679b0502bf280c0817e25ec557c2d
79bf7c001e3d395a82e131414d22954f70ff8029
refs/heads/master
2023-08-14T06:40:59.921182
2021-09-25T06:57:08
2021-09-25T06:57:08
409,620,951
0
0
null
null
null
null
UTF-8
C++
false
false
1,613
cpp
toll_station.cpp
#include "toll_station.h" CTollStation::CTollStation() { } CTollStation::CTollStation(const QString &id, const QString &name, QString &province, std::vector<CLane>& lanes): m_id(id),m_name(name),m_province(province),m_lanes(lanes){} CTollStation::CTollStation(QJsonObject &obj){ m_id = obj.value("id").toStri...
bb19c2fcf951bc5c8f6400938c30361bedc127e9
ea91bffc446ca53e5942a571c2f7090310376c9d
/unittests/utils/ReverseIterationTest.cpp
3adf1f6d0bbc5476ca29a29ae83118380e7463f4
[]
no_license
macro-l/polarphp
f7b1dc4b609f1aae23b4618fc1176b8c26531722
f6608c4dc26add94e61684ed0edd3d5c7e86e768
refs/heads/master
2022-07-21T23:37:02.237733
2019-08-15T10:32:06
2019-08-15T10:32:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,893
cpp
ReverseIterationTest.cpp
// This source file is part of the polarphp.org open source project // // Copyright (c) 2017 - 2019 polarphp software foundation // Copyright (c) 2017 - 2019 zzu_softboy <zzu_softboy@163.com> // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://polarphp.org/LICENSE.txt for license info...
fa311eb9c790c0ee1b538f5739b4bb0b5583d8d4
5e76ce59592bf5f959eb3ca48e50626eac03d3ec
/tests/compatibility.cc
95a4394e10d08fcef21a5a74ffd666c6ae5f7a3d
[ "MIT" ]
permissive
minkezhang/giga
2d8607c6ca52c68b7ea14f876b2a0e493d8fe0a8
bae6fe295e417b132ba5b6064fb25906188e3cbe
refs/heads/master
2021-05-27T07:08:57.423281
2014-10-03T04:23:59
2014-10-03T04:23:59
20,339,954
1
1
null
null
null
null
UTF-8
C++
false
false
570
cc
compatibility.cc
#include <map> #include <vector> #include "libs/catch/catch.hpp" TEST_CASE("giga|compatibility") { { INFO("WARNING: system does not support files larger than 4GB"); CHECK(sizeof(size_t) > 4); } { std::vector<uint8_t> v; REQUIRE(v.size() == 0); v.push_back(1); v.clear(); REQUIRE(v.size() == 0); //...
0861cce4ef63acb95dfc161da631e37633db368a
2e359b413caee4746e931e01807c279eeea18dca
/2210. Count Hills and Valleys in an Array.cpp
7aab39fc8d2468d542b621a528787c8af59fd65e
[]
no_license
fsq/leetcode
3a8826a11df21f8675ad1df3632d74bbbd758b71
70ea4138caaa48cc99bb6e6436afa8bcce370db3
refs/heads/master
2023-09-01T20:30:51.433499
2023-08-31T03:12:30
2023-08-31T03:12:30
117,914,925
7
3
null
null
null
null
UTF-8
C++
false
false
413
cpp
2210. Count Hills and Valleys in an Array.cpp
class Solution { public: int countHillValley(vector<int>& a) { int i = 1, ans = 0; while (i+1 < a.size()) { int pre = a[i-1]; while (i+1<a.size() && a[i]==a[i+1]) ++i; if (i+1==a.size()) break; if (a[i]>pre && a[i]>a[i+1] || a[i]<pre && a[i]<a[i+1]) { ...
6cebddac195f0a2814189fa5b89e80d0a160fb5f
b428bd322c86e27044d7a30fedd671cedc995239
/Cocos2d-x/PandaGhost/Classes/GameScene.cpp
1eab7d827999c3a086a8d17a5e5d874bd13bd714
[]
no_license
JoregeSanz/MyRepo
497f18f0d2730bc90859342541be4f8796b297f5
7ea6c91a006f5d544e9734e2fd20dc1ba685f1cc
refs/heads/master
2021-01-10T16:39:32.949602
2015-11-09T22:34:19
2015-11-09T22:34:19
45,870,063
0
0
null
null
null
null
UTF-8
C++
false
false
58,739
cpp
GameScene.cpp
// // GameScene.cpp // PacMan // // Created by jyn on 1/31/14. // // #include "GameScene.h" #include "SimpleAudioEngine.h" //#include "Config.h" #include "WinScene.h" #include "GameOverScene.h" #include "TitleScene.h" using namespace CocosDenshion; #define Accelerometer_Interval 1.0/10.0 #define Update_Interval 1...
7f745721b779934df33d2fa02cfaa95cb52d4a8d
f23e378e2b8a2c91841b054c559c0d0696f811fd
/chaper3/vector/318.cc
23f7ee2eecf9d85079bc504197a866e9945c763a
[]
no_license
linw/Cpp_Primer
3cfa80c7b25af8a2b98617f581ef53d2c8378f3f
bfdc8ee8be9463ba5070a8cfdf5ce5bf29ad4c7e
refs/heads/master
2021-01-23T16:30:33.930374
2011-10-25T02:49:45
2011-10-25T02:49:45
2,570,157
0
0
null
null
null
null
UTF-8
C++
false
false
667
cc
318.cc
/* * MODULE NAME: 318.cc * PROJECT: cpp_primer vector * AUTHOR: 林炜 * DATE: October 23, 2011 * DESCRIPTION: 习题 3.18 */ #include <iostream> #include <vector> #include <string> using std::cout; using std::cin; using std::endl; using std::vector; using std::string; int main() { vector<int> ivec; for(vector<in...
9beda632ebbd75041a3ce09116e46ac8c941c6c4
0ad79ae1e3367cce9d0ba8962af4c4a72d88c02d
/A Maths Engine/MEMatrices.h
5715a108ffc9a0b7de1150a5567d917ab6813add
[]
no_license
JoshuaJWatt/A-Maths-Engine
0a83ff8bd8bdcebaa4f53fbe620c78ec01c39710
088952299a5bd70320eebd259dd855ac408bd893
refs/heads/main
2023-04-07T20:31:20.890230
2021-04-03T16:06:34
2021-04-03T16:06:34
354,333,594
0
0
null
null
null
null
UTF-8
C++
false
false
1,207
h
MEMatrices.h
#pragma once #ifndef MEMATRICES_H_ #define MEMATRICES_H_ #include <iostream> //#include "MEVectors.h" namespace MathsEngine{ class matrix2x2 { public: float matrixData[4]; matrix2x2(); matrix2x2(float m0, float m1, float m2, float m3); float det(); }; class matrix { public: float matrixData[9]; ...
7b5ffe7a825952db3eaddea5f5fa3d82f047d2ac
1f84fd078570475d2510339bab2439b5193af03d
/source/vxEngineLib/Graphics/Font.cpp
c7414358bf8d52071d1e6ddb6e25c0fd1f19c619
[ "MIT" ]
permissive
DennisWandschura/vxEngine
df138077cdb9f40461c83e99a8851de593b098f2
1396a65f7328aaed50dd34634c65cac561271b9e
refs/heads/master
2021-01-16T00:17:47.703611
2015-10-11T10:44:53
2015-10-11T10:44:53
32,484,686
1
0
null
null
null
null
UTF-8
C++
false
false
1,710
cpp
Font.cpp
/* The MIT License (MIT) Copyright (c) 2015 Dennis Wandschura Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
de8a85070910254662124587556356ebce1d59f9
1ed1ed934e4175bb20024311a007d60ae784b046
/PALPAR/PALPAR.cpp
7771e93a405c0738076f790e8c53c3eecee12833
[]
no_license
kkkcoder/Code_in_thptchuyen.ntucoder.net
f568cddc01b641c9a6a3c033a4b48ca59bb6435e
c4c0e19ea56a6560014cbb6e4d7489fb16e8aad7
refs/heads/master
2023-07-16T16:15:39.421817
2021-08-29T15:56:35
2021-08-29T15:56:35
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,651
cpp
PALPAR.cpp
// Một cách tách xâu 𝑆 thành nhiều xâu con khác rỗng 𝑤1, 𝑤2, … , 𝑤𝑘 mà 𝑤1 = 𝑤𝑘, 𝑤2 = 𝑤𝑘−1, … // được gọi là PALPAR bậc 𝑘. // Yêu cầu: Cho xâu 𝑆 tìm cách tách PALPAR có bậc lớn nhất. // Input // - Dòng đầu chứa số nguyên 𝑇 (𝑇 ≤ 10); // // - Tiếp theo là 𝑇 dòng, mỗi dòng chứa một xâu chỉ gồm các kí tự ‘a’...
f9dcac263154a7bd4a52eaea55c51e474b21b8f4
2045ab194dccdf69ca312589cf968278248e9a27
/ts-messages/messages/UATADSBData.h
b6c09edef6d43da4b6ffc2d380592aab0988dfdb
[]
no_license
manish-drake/ts-wrap
427d1e7cf2e1cfa3d63b4bde576eead9a06d0c04
c165024102985aea9942f6ca2f217acdaf737ce5
refs/heads/master
2020-08-28T04:10:03.493253
2020-01-29T15:48:04
2020-01-29T15:48:04
217,583,116
0
0
null
null
null
null
UTF-8
C++
false
false
15,577
h
UATADSBData.h
#ifndef __UATADSBData_h #define __UATADSBData_h #include <stdio.h> #include <stdlib.h> #include <string> #include "TServerMessage.h" class CUATADSBData:public TServerMessage { const int mFormatVersion = 2; char* json_string; public: static const unsigned int mCmdID=0x1; CUATADSBData(void) { ...
31c0a0a975facb35eaa29506b132262952c8dd76
690873d5e074175f931a5232db30a789b31d867a
/scene_edit_polyhedron_item_automoc.cpp
8f232e403838b5a824f5fd9bc46f8082af5b4d04
[]
no_license
Dwgjjdxq/MyCGAL
0c3f9a4b7a9283614ec40c86b8fab2d9389cef26
348155deb322b71dacfd24fbc1779c2d6c32fc62
refs/heads/master
2021-01-01T16:18:47.314896
2017-07-20T08:05:16
2017-07-20T08:05:16
97,808,432
0
0
null
null
null
null
UTF-8
C++
false
false
91
cpp
scene_edit_polyhedron_item_automoc.cpp
/* This file is autogenerated, do not edit*/ #include "moc_Scene_edit_polyhedron_item.cpp"
c633a2fc44aa9d41f64b85dda3bae43952eb7464
002c4552f31d579cbfafd99998d7c8e1ee373e26
/Spiral Matrix II .cpp
20e8a8e24f982fb8170348a5f4c7052b9abf403c
[]
no_license
ranshiwei/Leetcode-new
4e7499fefc7be57425c1e34b2bd5a78afccdbcd4
c300a375dab1c3e0571cb648966d51b5f556102a
refs/heads/master
2020-04-05T22:44:40.471080
2015-04-22T11:47:22
2015-04-22T11:47:22
31,878,571
0
0
null
null
null
null
UTF-8
C++
false
false
1,251
cpp
Spiral Matrix II .cpp
#include <iostream> #include "header.h" using namespace std; class Solution { public: vector<vector<int> > generateMatrix(int n) { if(n<=0) return result; for(int i=0;i<n;i++){ vector<int> t(n); result.push_back(t); } //result(n,vector<int>(n)); ...
92f897306d79b870dc292ed9b1f396bbd6809d6d
d4b969fe1378e424f95a7631de95c795fc1959b4
/Samples/BatchSupport/BatchSupport/SampleHelper.h
70ab61e04d1b70ea13099a4d252ea9542600ba84
[ "MIT" ]
permissive
ceejliu/Windows-Machine-Learning
412a376be0666797014991d4918c898f70d06ee7
c5639799f27dace488606ff6ccdc9edd72cf3cb7
refs/heads/master
2021-05-20T00:14:27.900404
2020-03-31T21:53:58
2020-03-31T21:53:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
996
h
SampleHelper.h
#pragma once #include <string> #include <unknwn.h> #include <winrt/Windows.Media.h> #include <winrt/Windows.Graphics.Imaging.h> #include "FileHelper.h" namespace SampleHelper { // Convert SoftwareBitmap to std::vector<float> std::vector<float> SoftwareBitmapToFloatVector( winrt::Windows::Graphics::Imaging::S...
6c9c0b2fde670097fa433de51a86c21e34d32448
98cc94789c971c991965da547b845fd4365a68bc
/client/src/mapwindow.h
9f8d93d3f2174d6d03ecd18ec0fd7b4cbb3469af
[]
no_license
FrancoLiberali/Worms-TallerI
218b27f9dbc1c51ef3a8b39c86c60f146519cece
3f5ba4480ffcc657d9e068ead99a88abd2c78318
refs/heads/master
2020-03-18T07:13:06.841713
2018-06-26T19:12:53
2018-06-26T19:12:53
134,439,457
0
1
null
null
null
null
UTF-8
C++
false
false
676
h
mapwindow.h
#ifndef MAPWINDOW_H #define MAPWINDOW_H #include <QDialog> #include "ProxyClient.h" #include "Room.h" #include <map> namespace Ui { class mapWindow; } class ProxyClient; class mapWindow : public QDialog{ Q_OBJECT private: bool verifyValid(const std::string& str, const char* errorMsj); Ui::mapWindow *u...
5ef768eeacfa5374f1154bed276a70102bb432bd
6301e2e3669b5f194253e099527212cfe5e4fc92
/剑指offer/无缓存交换/无缓存交换.cpp
7c963f335dc08859a7c51765026d7be21d04da0c
[]
no_license
jiongdu/Algorithm
253ff365d812aefdd12f25970530775cb3b75e4d
14e58057da7439d9818cfb9547d4b5713c1e1e26
refs/heads/master
2021-06-05T10:18:01.631658
2021-05-02T06:58:54
2021-05-02T06:58:54
62,377,889
4
3
null
null
null
null
UTF-8
C++
false
false
423
cpp
无缓存交换.cpp
/************************************** * @author dujiong * @date 2016.10.23 * @version V0.1 **************************************/ class Exchange { public: vector<int> exchangeAB(vector<int> AB) { // write code here //std::reverse(AB.begin(), AB.end()); //return AB; AB...
76c1240db4a59c76243a5f4104849a171f3ed5dc
da0eeef79ee2a97840dfba53a3bb8996e44ab077
/imagelabelclass.h
e4e2cef4f4255851c2457f3562f94a23f5f52660
[]
no_license
lppop6/project_2
f7645b607c69a63433b3a797782874eb647cb9ac
f897b7a480600ea535f741f0fa2aa27e2d5fbcda
refs/heads/master
2023-05-14T04:32:06.311276
2021-06-08T02:06:23
2021-06-08T02:06:23
368,118,403
0
0
null
null
null
null
UTF-8
C++
false
false
6,740
h
imagelabelclass.h
#ifndef IMAGELABELCLASS_H #define IMAGELABELCLASS_H #include <QWidget> #include <QDebug> #include <QWheelEvent> #include <QMouseEvent> #include <QLabel> #include <QKeyEvent> #include <QApplication> #include <QImage> #include <QPainter> #include <QThread> #include <screenshotthread.h> #include <QVector> ...
5947259c8630bcd6f86227426ee4928b6c52c5cd
e9d25873a3ad52f77938bae1789bb2f95a877bce
/indra/llmath/llbboxlocal.cpp
2582003b3fb85dfabfc28219f83b35503d0c06a8
[]
no_license
Shyotl/SingularityViewer
e9267237a93a13f68c7c6f538a59990f08ddc332
ab5bce69ee11b116e4e57639532d8c0a49af23fd
refs/heads/master
2021-01-17T05:59:12.026799
2020-05-17T03:52:08
2020-05-17T03:52:08
1,090,174
14
5
null
null
null
null
UTF-8
C++
false
false
1,740
cpp
llbboxlocal.cpp
/** * @file llbboxlocal.cpp * @brief General purpose bounding box class (Not axis aligned). * * $LicenseInfo:firstyear=2001&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the t...
0391edbcdd94e8908aa76187f66a34bc4dd5c317
b16de68e851c6dc498a2c00203477502f1db172a
/src/MicroKernel/handlers.cpp
f5b1bffe206565e3ab1fe65ccbe462233af3ccd8
[ "MIT" ]
permissive
intigonzalez/playing_with_qemu
27d18ff0842d9f8cbce46e06014eeb54ab474fa7
26ef765535142e3adc0472b934eed44e93371f65
refs/heads/master
2016-09-08T02:05:01.484973
2014-09-24T21:57:34
2014-09-24T21:57:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,512
cpp
handlers.cpp
#include "includes/global.h" #include "kernel.h" #include <system_calls.h> #include "video.h" #include "ThreadControl.h" /** * * */ static const char * messages[] ={ "0 - Divide Error", "1 - Debug Exception", "2 - NMI Interrupt", "3 - Breakpoint", "4 - Overflow", "5 - Bound Range Excee...
709365828a310e06fefc349151f12c1e44424d6f
be3d7eae5479326ef90bdcbef0a0beecb71fec3e
/InterviewBit-Solutions/Strings/Palindromic_String.cpp
7838b60201c677ca89e01618b80964084b20cc5b
[]
no_license
SurajChadha/dayzzofCode
0fa6752259615704c79436bd53a83cedf72e5872
ff36c128c9cac33233b109da3fd320a3a24d4786
refs/heads/master
2023-08-24T21:51:31.734866
2020-09-10T17:26:28
2020-09-10T17:26:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
370
cpp
Palindromic_String.cpp
int Solution::isPalindrome(string A) { string curr = ""; for(auto x : A){ if(isalpha(x)){ curr += tolower(x); } else if(isdigit(x)) curr += x; } int i = 0 , j = curr.size()-1; // cout << curr << endl; while( i < j){ if(curr[i...
e2a828fb90eab5ae0bb4d2639017339a28481fe5
c1b03b59b3974058e3dc4e3aa7a46a7ab9cc3b29
/src/module-ml_linear/Feature.cpp
b517f597d7a494fec678a19d8c5f02d92a0749d7
[]
no_license
gura-lang/gura
972725895c93c22e0ec87c17166df4d15bdbe338
03aff5e2b7fe4f761a16400ae7cc6fa7fec73a47
refs/heads/master
2021-01-25T08:04:38.269289
2020-05-09T12:42:23
2020-05-09T12:42:23
7,141,465
25
0
null
null
null
null
UTF-8
C++
false
false
2,429
cpp
Feature.cpp
#include "stdafx.h" #include "Feature.h" Gura_BeginModuleScope(ml_linear) //----------------------------------------------------------------------------- // Feature //----------------------------------------------------------------------------- Feature::Feature() : _cntRef(1), _nNodes(0), _nodes(nullptr) { } Feature...
acc0967a203df38388c0a4c617f59ab547a0a3ec
551de85294d3c314df8b69a3049a2b0e9247660e
/leet/heap/reorganize-string.cpp
8b48a192abda18d39ea1e8066a168794ef730b61
[]
no_license
rehassachdeva/coding-practice
078adaf9df8c8e6bd39875453cff39cc1e5af41e
7a41c62638d61f203faf305328bbefe9ab31dc2c
refs/heads/master
2022-12-17T16:52:56.889261
2020-09-25T10:34:24
2020-09-25T10:34:24
278,559,965
0
0
null
null
null
null
UTF-8
C++
false
false
966
cpp
reorganize-string.cpp
class Solution { public: string reorganizeString(string S) { map<char, int> m; int n=S.size(); for (auto& c : S) m[c]++; for (auto& [k,v] : m) { if (v>(n/2+n%2)) return ""; } priority_queue<pa...
2b8e962b0cdb5def0f558c1f8f820eae9946aae0
c07694d7005784539fd96ef93120c1d9dd477498
/hackerrank/algorithms/warmup/the_love_letter_mystery/the_love_letter_mystery.cpp
ba95b7d7bd8a2f10748f84b7889039fc4ebde443
[]
no_license
edran/code-exercises
31355ca25c6758ab77efe120c87f4d7ae326cde8
3c1475c132f4e912d228fbd8142722ba7430ff84
refs/heads/master
2021-01-17T11:03:43.905019
2017-02-05T19:52:07
2017-02-05T19:52:07
30,782,078
0
0
null
null
null
null
UTF-8
C++
false
false
385
cpp
the_love_letter_mystery.cpp
#include <vector> #include <iostream> #include <cmath> using namespace std; int op_palindrome(string s) { int sum = 0; for (int i = 0; i < s.size()/2; i++) { sum += abs(s[i] - s[s.size() - 1 - i]); } return sum; } int main() { string word; int t; cin >> t; for (int i=0; i<t; i++) { cin >> ...
b3f3229ebf219c5884ee0b0ab5623a2ce24b4ccc
46f2e7a10fca9f7e7b80b342240302c311c31914
/2_lids_driven_flow/cavity/0.0738/U
876a291eb25afeaf34b6fc82c81b358fc139a787
[]
no_license
patricksinclair/openfoam_warmups
696cb1950d40b967b8b455164134bde03e9179a1
03c982f7d46b4858e3b6bfdde7b8e8c3c4275df9
refs/heads/master
2020-12-26T12:50:00.615357
2020-02-04T20:22:35
2020-02-04T20:22:35
237,510,814
0
0
null
null
null
null
UTF-8
C++
false
false
61,421
U
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*-------...
c6a2562c24e222c5ad1040b8fc52f03e56a58351
b70b6ae1f1707d03ae5b8ea0c8f64fe995874faf
/SimpleGameFramework/Vector.cpp
ffc5fb52be4a8790f85e6996aa15b55d4f7b3bb3
[]
no_license
Qiao712/SimpleGameFramework
cdaf2c52ed5eae2ac1f53e308eaf08fea87cd5c6
50f687f04e3610a8c19f51f1279b3e8844a50766
refs/heads/master
2023-03-10T20:05:38.830170
2021-02-26T13:36:27
2021-02-26T13:36:27
336,698,707
3
0
null
null
null
null
UTF-8
C++
false
false
1,223
cpp
Vector.cpp
#include "Vector.h" #include <cmath> void Vector::round() { x = ::round(x); y = ::round(y); } Vector Vector::operator+(const Vector& rhs) const { return Vector(x + rhs.x, y + rhs.y); } Vector Vector::operator-(const Vector& rhs) const { return Vector(x - rhs.x, y - rhs.y); } double Vector::operator*(const Vecto...
fa9b6412408a3655c805aa0ff92c460b990d2315
0fb3f2465fb86f83e61ffc3e5cc2806851f7bc97
/main.cpp
75fff3c0bd04e6c2b8349c061a4e608790d11cc5
[]
no_license
Gumisia/FirstCpp
e42de4b5ab9126d045f5c9bcdd5d76e3d512c81f
a09e2238b11f455ec39c4c4aae26848f6a8e2b1b
refs/heads/master
2020-04-01T09:41:18.256157
2018-10-15T09:20:28
2018-10-15T09:20:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,115
cpp
main.cpp
#include <iostream> #include <string> using std::cout; using std::string; using std::endl; struct student { int index; int semestr; string name; }; enum marka { szkoda=1, bentlej=1, bwm=3 }; struct samochod { int przebieg; marka marka; }; student create(); void to_string(student...
c78d79625da665fba6851788271f1f00810c5370
0577a46d8d28e1fd8636893bbdd2b18270bb8eb8
/components/ad_blocker/adblock_rule_service_storage.cc
4b38c4f681376b51f3717ea582fe744f44921b8c
[ "BSD-3-Clause" ]
permissive
ric2b/Vivaldi-browser
388a328b4cb838a4c3822357a5529642f86316a5
87244f4ee50062e59667bf8b9ca4d5291b6818d7
refs/heads/master
2022-12-21T04:44:13.804535
2022-12-17T16:30:35
2022-12-17T16:30:35
86,637,416
166
41
BSD-3-Clause
2021-03-31T18:49:30
2017-03-29T23:09:05
null
UTF-8
C++
false
false
20,280
cc
adblock_rule_service_storage.cc
// Copyright (c) 2019 Vivaldi Technologies AS. All rights reserved #include "components/ad_blocker/adblock_rule_service_storage.h" #include <map> #include <utility> #include <vector> #include "base/files/file_util.h" #include "base/json/json_file_value_serializer.h" #include "base/json/json_string_value_serializer.h...
51c69ca6e10699875c9c61e8ac6cdef7e6c23c03
3dd2e3c133ac404ec041ba961cef1cd231ce8bc3
/RealtimeMasking/EasyBitmap.h
ca74964ad55c4031090226a2fcaed916bb7cad83
[ "MIT" ]
permissive
webrtcman/RealtimeMasking
f5cbe5a1b422a0586cf7c111ed4685b94a3fed4a
09c7e57209a47d760b5b7a4edae551cdee3411c4
refs/heads/main
2023-06-08T16:30:03.894862
2021-07-04T11:34:17
2021-07-04T11:34:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
585
h
EasyBitmap.h
#include "stdafx.h" #include <gdiplus.h> class EasyBitmap: public Gdiplus::Bitmap { public: EasyBitmap(int width, int height, int format); BOOL EasyLock(); void EasyUnlock(); BOOL EasyGetPixel(const int& x, const int& y, COLORREF& colorout); BOOL EasySetPixel(const int& x, const int& y, const COLORR...
0e5f793af86f9bc021cf17f1cd26d1cb7289bcf6
8f1ff728f3f2323bdf07223e57e9538f22c7e1d0
/text render/sort_app.cpp
4af8f5edb385886407c49cce2fc8d5b55e847243
[]
no_license
dizuo/xrender
aded8dd71d9bf3ead64a457647b4c93535fadee2
e067126d041307aef70c55f88acde81b8582ad00
refs/heads/master
2021-01-13T02:10:33.799223
2015-11-04T13:35:09
2015-11-04T13:35:09
7,849,218
3
0
null
null
null
null
GB18030
C++
false
false
2,176
cpp
sort_app.cpp
// peteryfren 2013/6/18 // 归并排序,函数指针 #include <stdio.h> #include <stdlib.h> #include <time.h> #define MAX_SEED 50 void produceSeed(int*); void printSeed(int*); void transformSeeds(int* buffer, int length, void(*pfunc)(int*)); void mergeSort(int* buffer, int beg, int end); void merge(int* buffer, int beg, int mid, i...
97f555350ca8ebbc5c190d84e4bea2fea3376f6e
6c190188c80a2e65a33db8d033aff3e27b60aa7f
/Assembly line 2/Untitled1.cpp
60542faf70afb7596e63c27aa73f059a5465d97c
[]
no_license
NasimulNabil/Algorithms
ed8cbc5c876b747aba31df70abf6bacec5e27917
0efdb69e57307e1f62a82ccbc6a54cf3a9d7a439
refs/heads/master
2020-09-15T11:32:56.505251
2019-11-22T15:33:54
2019-11-22T15:33:54
223,432,793
0
0
null
null
null
null
UTF-8
C++
false
false
1,234
cpp
Untitled1.cpp
#include<bits/stdc++.h> #define COL 5 int min(int a,int b) { if(a<b) { return a; } else { return b; } //return (a<b)? a:b; } int assembly(int a[][COL],int t[][COL],int e[],int x[]) { int T1[COL],T2[COL],i; T1[0]=e[0]+a[0][0]; T2[0]=e[1]+a[1][0]; for(i=1;i<COL;...
f269a397cce71200076f128f70ff44a5c0ff0663
ab5650c5b95d312eec138dab34d17ecc443b21d0
/src/iptcpport.cpp
81418e7a537eb6977bb01db38337c2672b0479fe
[]
no_license
vehar/la10cee
b3fa956ef6ed9e440a17d29be2ec9ed189340e69
6a165833a245ff0479f3750557b191ca86fb8c7a
refs/heads/master
2023-03-17T15:23:12.112901
2015-02-18T16:00:58
2015-02-18T16:00:58
null
0
0
null
null
null
null
UTF-8
C++
false
false
580
cpp
iptcpport.cpp
#include "iptcpport.h" const int IPTCPPort::operator<(const IPTCPPort& rhs) const { bool ipAEquals = (ipA() == rhs.ipA()); bool ipBEquals = (ipB() == rhs.ipB()); bool portAEquals = (portA() == rhs.portA()); bool portBEquals = (portB() == rhs.portB()); if(ipAEquals && ipBEquals && portAEquals && portBEquals) { ...
230bbaa5dbcc0d0630b98bdd307be198844849d4
ee1423adcd4bfeb2703464996171d103542bad09
/dali-adaptor/dali-adaptor-c84ae21/adaptors/tizen/public-api/adaptor-framework/common/timer.cpp
5ca256f374cbe7c290375c8717213526959d37df
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-flora-1.1" ]
permissive
sak0909/Dali
26ac61a521ab1de26a7156c51afd3cc839cb705a
0b383fc316b8b57afcf9a9e8bac6e24a4ba36e49
refs/heads/master
2020-12-30T12:10:51.930311
2017-05-16T21:56:24
2017-05-16T21:57:14
91,505,804
0
1
null
null
null
null
UTF-8
C++
false
false
1,955
cpp
timer.cpp
// // Copyright (c) 2014 Samsung Electronics Co., Ltd. // // Licensed under the Flora License, Version 1.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://floralicense.org/license/ // // Unless required by applicable law or a...
e16dc4f06f41e221db6d73f0f26576d424d71b1b
39adfee7b03a59c40f0b2cca7a3b5d2381936207
/codeforces/100923/F.cpp
75450ee67703d0f0def9dd2b6a6a09905f4bf3a2
[]
no_license
ngthanhtrung23/CompetitiveProgramming
c4dee269c320c972482d5f56d3808a43356821ca
642346c18569df76024bfb0678142e513d48d514
refs/heads/master
2023-07-06T05:46:25.038205
2023-06-24T14:18:48
2023-06-24T14:18:48
179,512,787
78
22
null
null
null
null
UTF-8
C++
false
false
2,622
cpp
F.cpp
#include <bits/stdc++.h> #define FOR(i,a,b) for(int i=(a),_b=(b); i<=_b; ++i) #define FORD(i,a,b) for(int i=(a),_b=(b); i>=_b; --i) #define REP(i,a) for(int i=0,_a=(a); i < _a; ++i) #define DEBUG(X) { cout << #X << " = " << (X) << endl; } #define PR(A,n) { cout << #A << " = "; FOR(_,1,n) cout << A[_] << ' '; co...
6b2d1a297f2a181a87f176d775ab0fac529ed83c
bfde4011af07835e900aa6ea43b6bd39df0ec122
/Castlevania/Flame.cpp
7173ca4946d9c47424a545bd38c161985f5a5b92
[]
no_license
giaphat12/Castlevania
85e85c7f3c07574128ecf1879e1cd4535285404f
abb8076cb45d02c6c48f5df54d2dbea2f4783d05
refs/heads/main
2022-12-31T19:41:06.332085
2020-10-26T02:24:42
2020-10-26T02:24:42
307,237,735
0
0
null
null
null
null
UTF-8
C++
false
false
228
cpp
Flame.cpp
#include "Flame.h" void Flame::Render() { if (isDestroy) { return; } animations[0]->Render(0, x, y); } void Flame::Update(DWORD dt, Scene* scene, vector<LPGAMEOBJECT>* coObject) { Effect::Update(dt, scene, coObject); }
328af4ddb18234ac56b13a5e96d7727c466908b8
7cd98c72046c66558b747ec4820dfdcc1ea14c7e
/src/messages/messageInterface.h
8c686a69c6f7ef1818b27a2721163a4c7384cce3
[]
no_license
zeegleho/livenasal
0970ad975b53deea70bc9d403071e0c7258508f8
3389ef0428ca5f682bd2e86eab25f4e219e934eb
refs/heads/master
2020-04-20T21:52:39.501039
2016-01-08T06:22:31
2016-01-08T06:24:35
38,202,301
0
0
null
null
null
null
UTF-8
C++
false
false
991
h
messageInterface.h
/* * Copyright (c) 2015, zeegle.ho@gmail.com, He Zhigang, Beijing * All rights reserved. * LiveNasal, a simulator of nasal, created by zeegle.ho/he zhigang. */ #ifndef MESSAGEINTERFACE_H #define MESSAGEINTERFACE_H #include "messageSeverityType.h" #include "messageDef.h" #include "messages.h" class MessageInterf...
59fa198d360a62661a13ac8282046bd5b15ad598
0eff74b05b60098333ad66cf801bdd93becc9ea4
/second/download/xgboost/xgboost-gumtree/dmlc_xgboost_old_hunk_734.cpp
6f1d649618faf1cad9f1ddec27034af2c4d40725
[]
no_license
niuxu18/logTracker-old
97543445ea7e414ed40bdc681239365d33418975
f2b060f13a0295387fe02187543db124916eb446
refs/heads/master
2021-09-13T21:39:37.686481
2017-12-11T03:36:34
2017-12-11T03:36:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
566
cpp
dmlc_xgboost_old_hunk_734.cpp
// linear boost automatically set do reboost if (booster_type == 1) do_reboost = 1; } if (!strcmp("num_pbuffer", name)) num_pbuffer = atoi(val); if (!strcmp("do_reboost", name)) do_reboost = atoi(val);...
db3725f75462c65e062a9108148465c8c0a6da04
90846161ccce5a881dff1762b733c26f5d32db26
/main.cpp
7a4f14ac890a6a338d6df11e462c90ec40a1fd09
[]
no_license
ecepanagiotisntua/polynomial
40c54ac16cc1a1f4aa920431e50067ad1bce98b1
3970f5ad423c869bd0002c376f1e93a6dddebe09
refs/heads/master
2022-04-23T18:23:51.766273
2020-04-30T10:47:05
2020-04-30T10:47:05
258,971,004
0
0
null
null
null
null
UTF-8
C++
false
false
2,726
cpp
main.cpp
#include <iostream> #include <cmath> using namespace std; class Polynomial { protected: class Term { int exponent; int coefficient; Term *next; Term(int exp, int coeff, Term *n): exponent(exp), coefficient(coeff), next(n) {} ~Term() { delete next; } friend class Polynomial; friend ostream; }; int size; ...
8c9642af8113d9e9bdea95b4d5e7e37094c096eb
a1595e54ca38f03adec6c1e288baff269d409ec9
/Bit Manipulation/subsets.cpp
348d145579522f24743aee15f0846a5dad3c4f21
[]
no_license
biswa1612/Data-Structure-And-Algorithm
4bbe400ef262e0afc92e2fcb795727dc1dc82d85
afbef87036497da13be11765dafacf16aef25fc7
refs/heads/master
2023-07-06T16:14:37.124474
2021-08-15T20:54:13
2021-08-15T20:54:13
null
0
0
null
null
null
null
UTF-8
C++
false
false
458
cpp
subsets.cpp
#include<bits/stdc++.h> using namespace std; void subsets(int arr[], int n){ for(int i=0;i<(1<<n);i++){ //2 to the power n is equal to 1<<n....for 2 to the power 2 =4 ....1<<2 = 0100 for(int j=0;j<n;j++){ if(i & (1<<j)){ cout<<arr[j]<<" "; } }cout<<en...
8e5f7587688927f180444acf065eb096daa391c1
5b3bf81b22f4eb78a1d9e801b2d1d6a48509a236
/codeforces/round_526/kvass2.cc
0ea0dcdad3396e3d162b5243862479ccfe6f3e19
[]
no_license
okoks9011/problem_solving
42a0843cfdf58846090dff1a2762b6e02362d068
e86d86bb5e3856fcaaa5e20fe19194871d3981ca
refs/heads/master
2023-01-21T19:06:14.143000
2023-01-08T17:45:16
2023-01-08T17:45:16
141,427,667
1
1
null
null
null
null
UTF-8
C++
false
false
572
cc
kvass2.cc
#include <iostream> #include <vector> #include <algorithm> #include <cstdlib> using std::cout; using std::endl; using std::cin; using std::vector; using std::min_element; using std::min; int main() { int n; long long s; cin >> n >> s; vector<int> v(n); for (int i = 0; i < n; ++i) cin >...
b775763af0f11c7398e669a874eea58bb061829b
1fddc0f5ebe01106ebe718ad1dc2475dbdcfc47e
/SPOJ/P172PROH - ROUND 2H.cpp
b79f34d92cf4f0a4186bf948795bc111ad702940
[]
no_license
not-a-wjbu-war/Source-Code
15e253334c0a7a81a8218ef14f0a4d6d14005984
3eec0a26e665ebda5c6cbf0dc178100076d00a64
refs/heads/master
2023-06-01T11:12:29.844593
2021-06-14T17:44:51
2021-06-14T17:44:51
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,060
cpp
P172PROH - ROUND 2H.cpp
// // Code By CodeWar :3 #include <bits/stdc++.h> #define pb push_back; typedef long long i64; const int mod = 1e9+7; using namespace std; string s; void input(){ cin >> s; } void solve(){ int cnt = 0; for(int i = 0 ; i < s.length() ;i++){ if(s[i] == 'c' && (s[i + 1] == '=' || s[i+1] == '-')){ ...
8e199b5ebbf0ae0a80220bb55f96a82a35f9149d
37639d9fb2e1c3c06f51dc749ea16e9d75b40538
/Hache.hpp
60e97b2671f3fc55c91b267a1d39450eb9144d3d
[]
no_license
vgiauffret/BasicRPG_VG
d06ed8f741902330093c49e404a58ac0199ec95d
18e5dcd779fd8bd4bdc824d09a3315d2fbcdbce7
refs/heads/master
2021-05-20T10:49:54.414812
2020-04-03T12:51:57
2020-04-03T12:51:57
252,258,063
0
0
null
null
null
null
UTF-8
C++
false
false
559
hpp
Hache.hpp
#ifndef __HACHE_HPP #define __HACHE_HPP // ////////////////////////////////////////////////////////////////////// // Import section // ////////////////////////////////////////////////////////////////////// // STL #include <string> #include <Weapon.hpp> class Hache: public Weapon { protected: public:...