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
579c07e7fc267b2ff9008872856fbab0bc728d7f
ed32cd8a42421f9ae31cf7bf6b13ee6fe4a7a1bb
/main/effects/effectFactory.cpp
32ca9bd70c4146f5ad861cf5c5a1e4b2923b15ae
[ "MIT" ]
permissive
mirronelli/neopixel
78b753c4eccad4b9194cfd1ce9c8448471ac4edc
3525fe269c767b92ad0d245efcd8f7701fbf1d63
refs/heads/master
2021-06-26T18:13:09.867563
2021-02-12T11:18:19
2021-02-12T11:18:19
209,723,620
8
3
null
null
null
null
UTF-8
C++
false
false
4,446
cpp
effectFactory.cpp
#include "effectFactory.h" #include "effect.h" #include "stars.h" #include "solid.h" #include "police.h" #include "rainbow.h" #include "snake.h" #include <string> using namespace std; Effect *EffectFactory::CreateEffect(string effectDefinition, int defaultCount, int defaultDelay) { Effect *effect = nullptr; size_...
c07dabc2cd1c2f0a3173798e3255c9686ba4c02f
ad1f470af681ed5c2156fa806cab354bede41e42
/Source/RhythmOfTheDemon/Actors/Components/RandomMovementComponent.h
13cab4b43de68ae159ba792f44572fa67b87d0bb
[]
no_license
Lawlets/FlowFighter
a2e3bce69bd331842562a139f8e739600671051b
f98dc08033592e0e4b27801eacf91347c8de1c21
refs/heads/master
2021-05-27T10:51:01.853660
2020-04-09T03:38:03
2020-04-09T03:38:03
254,255,328
0
0
null
null
null
null
UTF-8
C++
false
false
1,105
h
RandomMovementComponent.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Components/ActorComponent.h" #include "RandomMovementComponent.generated.h" UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) ) class RHYTHMOFTHEDEMON_API URandomMovementCompo...
ba96957e9ca0ddf26da971129ebc7fe94472cde2
e9f686a3d83d5e65479c60ecad1414a31c817a7a
/main.cpp
4e5bb8eefac959f200da5dc8e8493ba461ecb063
[]
no_license
kvu787/rdma_queue
8baab1d71f2fbf9a99ea83da991ad964fa32cc55
1f9c44b586968a60ea11f3895691ef4edcb12df0
refs/heads/master
2021-01-01T05:24:22.595096
2016-04-26T21:16:15
2016-04-26T21:16:15
57,162,318
2
0
null
null
null
null
UTF-8
C++
false
false
4,193
cpp
main.cpp
// This code uses MPI (Message Passing Interface) to setup RDMA connections // between 1 consumer node and many producer nodes. It is intended as // scaffolding for a single-consumer, multi-producer queue over RDMA. // // make && srun --label --nodes=5 --ntasks-per-node=1 ./main #include "verbs_wrap.hpp" #include <mp...
37a963c155426fe0d2c36b1b54ea6a288763e6c8
8ac522d6d19225ee863a71d124451cf437d662b7
/vseros/2018/lvl1/4/simple.cpp
5211b8e857bcc4180709674f5d309b1a859b3a08
[]
no_license
Soberjan/Study
86490ba6fa918e977b9a0514a2604ea055167c3a
35ab609290f65fdf144cf2183752b38527f40f16
refs/heads/master
2020-03-28T17:33:10.175534
2020-01-22T17:06:14
2020-01-22T17:06:14
148,800,521
0
0
null
null
null
null
UTF-8
C++
false
false
896
cpp
simple.cpp
#include <iostream> using namespace std; int n; int main() { //freopen("tests/04", "r", stdin); cin >> n; char *s = new char[n]; if (n % 2 == 0) if (n/2%2 == 0){ for (int i = 0; i < n / 2; i++) s[i] = s[n - i - 1] = i % 2 == 0 ? '+' : '-'; for (int i = ...
ba0d968c31fac8d5671079019a52fb7ebeb3cd58
a4618556f7bd7ecb9b8c835b5be6c313e65e65cf
/HW/HW5.1/HW5.1/源.cpp
7bd6813cf6515abc8d5f0bb4c2e285ff316cffc3
[]
no_license
cgccomeau/TsinghuaCpp
f4e70eb982cecd350416a1d3f3cddb3a617791db
b9711bd83b1013f7f1c35ec6fe4a405f702fc4b0
refs/heads/master
2022-12-26T11:08:55.546261
2020-10-06T02:17:12
2020-10-06T02:17:12
301,590,023
0
0
null
null
null
null
UTF-8
C++
false
false
449
cpp
源.cpp
#include <iostream> using namespace std; class Width { public: static int count; Width() { count++; } ~Width() { count--; } }; int Width::count = 0; int main() { Width w, x; cout << "#objects = " << w.count << endl; { Width w, x, y, z; cout << "#objects = " << w.count << endl;...
227386fbfbb62cf2f55ae5fd707ee846e429831a
09f020bb8060f7e615856cd11c34dfcc3acc499b
/1/11.cpp
52b45ee02495021683fc96b0af640c9ad6364061
[]
no_license
wangzhenbang1999/C-Homework
509aa72b38f79e14065e8c0d8409f84409358c05
5999e464d077350825501a88ef05b9bdf4dbe646
refs/heads/master
2020-04-03T05:28:03.472518
2018-12-17T07:23:24
2018-12-17T07:23:24
155,046,772
1
0
null
null
null
null
UTF-8
C++
false
false
346
cpp
11.cpp
#include<iostream> #include <string> //#include <Regex> using namespace std; int main() { // string str = "31312weqe"; // //getline(cin, str); // regex rx("[0-9]+"); // bool isNum = regex_match(str.begin(), str.end(), rx); // if (isNum) { // cout << stoi(str)+1<< endl; // }else { // cout << "[Error] not number" << ...
79e0cfaffe19ebc6322670e558ab3ce7418a561f
28f18e6b5ec90ecbe68272ef1572f29c3e9b0a53
/include/boost/geometry/strategies/closest_points/spherical.hpp
d2846c722dbc8c64a551ccfd503b5783bb35b1f5
[ "BSL-1.0" ]
permissive
boostorg/geometry
24efac7a54252b7ac25cd2e9154e9228e53b40b7
3755fab69f91a5e466404f17f635308314301303
refs/heads/develop
2023-08-19T01:14:39.091451
2023-07-28T09:14:33
2023-07-28T09:14:33
7,590,021
400
239
BSL-1.0
2023-09-14T17:20:26
2013-01-13T15:59:29
C++
UTF-8
C++
false
false
2,027
hpp
spherical.hpp
// Boost.Geometry // Copyright (c) 2021, Oracle and/or its affiliates. // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle // Licensed under the Boost Software License version 1.0. // http://www.boost.org/users/license.html #ifndef BOOST_GEOMETRY_STRATEGIES_CLOSEST_POINTS_SPHERICAL_HPP #de...
bef4c5f58bc3c4efd25f0f75a58069ce557f4b37
8e8cdf669786b4d280272868ae3cfb3feac19c59
/src/AppModes/AttractModeTimer.cpp
819e35de5ff1f4b2bbbab803ea8d6b7a7644db79
[ "BSD-2-Clause" ]
permissive
wrld3d/wrld-example-app
e1ad99814d80a11ce13d6941543119c989d26704
c7622c3ee359b2d06d881d234c780b07a2d0ee58
refs/heads/master
2022-11-07T23:31:54.091568
2022-11-02T15:18:12
2022-11-02T15:18:12
22,911,969
79
37
BSD-2-Clause
2022-11-02T15:18:14
2014-08-13T10:33:12
C++
UTF-8
C++
false
false
525
cpp
AttractModeTimer.cpp
#include "AttractModeTimer.h" #include "IUserIdleService.h" namespace ExampleApp { namespace AppModes { AttractModeTimer::AttractModeTimer(Eegeo::Input::IUserIdleService& userIdleService, const long long attractModeTimeout) : m_userIdleService(userIdleService) , m_attractModeTim...
0cedccc7bf82da13f2b7bb2d805478906de246d9
73771669e543af12cdb9200abe9122e8c11e7d4c
/pollyMorphism/main.cpp
73436d56a1f0a6a385223059741eb55bc18066be
[]
no_license
eaglebjkbv/cpp
8251166d68a85bb5b11e17fcfea362fb2115196d
ff2f4ad0edd272d192a96e0ac72a2d013d04185a
refs/heads/master
2023-03-16T03:20:03.919056
2023-03-14T17:52:50
2023-03-14T17:52:50
191,027,216
0
0
null
null
null
null
UTF-8
C++
false
false
1,065
cpp
main.cpp
#include <iostream> class Post { protected: int postId; std::string postReceiver; std::string postSender; public: Post(int postId, std::string postReceiver, std::string postSender) { this->postId = postId; this->postReceiver = postReceiver; this->postSender = postSender; ...
2ab8b6c242d0e8effdd1b0cee6bdf137e52ba659
91d8ed17883f236eb09e7c122a02bad649fd2d99
/Tugas 5/bentukan lain no 9.cpp
93d7cadcc8623accfaebf32b8372a8a62a389572
[]
no_license
TestCross03/MuhArifSetiaBudi_13020190051
b7c3da43a338c03ffc3ed980510c06bbf654edbc
57e0973aeeb217b1991c0696e3ca686815f5caaf
refs/heads/master
2021-07-25T13:54:44.481621
2021-03-17T11:00:59
2021-03-17T11:00:59
245,768,216
0
1
null
null
null
null
UTF-8
C++
false
false
292
cpp
bentukan lain no 9.cpp
#include <iostream> using namespace std; struct orang{ char nama[30]; int umur; }; void muncul (struct orang *st){ cout << "nama = " << st->nama << endl; cout <<"umur = " << st->umur; } int main(){ struct orang pegawai = {"arif",15}; muncul(&pegawai); }
06d9ed9561d7a48ccbca05edc5295332611fcd8f
4e29395020ce78f435e75e0b3f1e09b227f6f4d8
/ataraxia/ai-sdk/cpp/src/app/huanyuanka/infer.cpp
70e471bd901680a75486c51816f7364a8a17804c
[]
no_license
luoyangustc/argus
8b332d94af331a2594f5b1715ef74a4dd98041ad
2ad0df5d7355c3b81484f6625b82530b38b248f3
refs/heads/master
2020-05-25T21:57:37.815370
2019-05-22T09:42:40
2019-05-22T09:42:40
188,005,059
5
3
null
null
null
null
UTF-8
C++
false
false
8,158
cpp
infer.cpp
#include "common/infer.hpp" #include <string> #include <vector> #include <opencv2/opencv.hpp> #include "glog/logging.h" #include "common/archiver.hpp" #include "common/image.hpp" #include "common/protobuf.hpp" #include "helper.hpp" #include "inference.hpp" #include "platform_tensorrt.hpp" #include "proto/inference.p...
35ef945be0ab59514194bcfe1381b1ce8a493c0a
2a5d4544cf877439f4d274738750e0bb607d1c72
/hackerrank/codeagon 15-16/makethemost.cpp
57db6f6877028e22c6a5acd89901752317e0b6c9
[]
no_license
shivam215/code
65294836832a0eb76a2156a872b1803bb0b68075
d70751ca0add4a42a0b91ee8805eda140028452a
refs/heads/master
2021-01-11T08:32:55.557166
2017-09-13T16:00:41
2017-09-13T16:00:41
76,486,143
0
0
null
null
null
null
UTF-8
C++
false
false
2,670
cpp
makethemost.cpp
#include <bits/stdc++.h> #define inf 1000000000 #define mod 1000000007 #define scano(x) scanf("%d",&x) #define scanll(x) scanf("%lld",&x) #define scant(x,y) scanf("%d%d",&x,&y) #define pb push_back #define mp make_pair #define ll long long #define vi vector<int> #define pii pair<int,int> #define vpii vector< pii > #def...
3449e6539b1d480cb4d13e4794b2282d42d3c5d7
99c65edf3225337d5e6a4d3c1dfb7bb7cb76dcbb
/src/InverseKinematics/InverseKinematics.h
f4a06bd960739d51d653196e13bce2b8cbdc725e
[]
no_license
GuyNoimark/Scorbot-Arduino-Code
0beb8e8b3ea35834b860bc7930261122d44e31d1
b41b402e16baa8f8400006572869058fe9d9d0fe
refs/heads/main
2023-04-29T01:57:18.205670
2021-05-10T13:23:18
2021-05-10T13:23:18
317,828,030
4
0
null
null
null
null
UTF-8
C++
false
false
415
h
InverseKinematics.h
#ifndef kinematics #define kinematics #include <Arduino.h> class InverseKinematics { private: float armLength1 = 22.2; float armLength2 = 22.2; float gripperLength = 13.5; void errorMessage(String message); public: float theta0; float theta1; bool possibleLocation; String error = "No error"; Inve...
02dbb108f3cc3b017f84b9ffc716128dd0014e0c
6680f8d317de48876d4176d443bfd580ec7a5aef
/Header/misTest/PackageImageRelMatcher.h
dcb901f3a3a2d1eb16299c46e3ab1e5e797f1329
[]
no_license
AlirezaMojtabavi/misInteractiveSegmentation
1b51b0babb0c6f9601330fafc5c15ca560d6af31
4630a8c614f6421042636a2adc47ed6b5d960a2b
refs/heads/master
2020-12-10T11:09:19.345393
2020-03-04T11:34:26
2020-03-04T11:34:26
233,574,482
3
0
null
null
null
null
UTF-8
C++
false
false
622
h
PackageImageRelMatcher.h
#pragma once namespace parcast { class PackageImageRelMatcher { public: PackageImageRelMatcher(const PackageImageRelationship& data) : m_PackageImageRel(data) { } bool operator() (const PackageImageRelationship& other) { return IsEqual(m_PackageImageRel, other); } static bool IsEqual(const Pa...
16ce30c74417a069671a0e2ca4ad623230f91e85
ccd4d7da1ff39cdffe80b18e5a2ebf9b8d94f546
/Client/QColorPicker/QColorViewer.h
8b1dab865cc4b621a7fcaf30318617e04ae5b09d
[]
no_license
lelou6666/celendel
3fcfff7e3249644d3698d0028c5a08c67ecc5ae3
ef556f60a5aa1c84bd196a5b372372db29b38814
refs/heads/master
2021-01-18T16:26:04.616353
2012-07-22T20:56:56
2012-07-22T20:56:56
null
0
0
null
null
null
null
UTF-8
C++
false
false
568
h
QColorViewer.h
#ifndef DEF_COLORVIEWER #define DEF_COLORVIEWER #include <QWidget> #include <QPainter> #include <QPaintEvent> class QColorViewer : public QWidget { Q_OBJECT public: QColorViewer(QWidget *parent = 0); void setPen(const QPen &pen); QPen pen() const; void setColor(const QColor &co...
a16dca336f74bbd16aaf3c19557c690df05d29e1
624dec6cd817ce5746d2aead0256ec258aa4f80c
/cugl/src/audio/CUMusicQueue.h
0816bb1eb978ddff3e57c8943884adbe91a11fde
[]
no_license
kl4kennylee81/Canon
ffb890c52fd25a070305475a9d6514cb8357cfb0
002ff16a626cb453d74a889d44084c9100251ea3
refs/heads/master
2021-11-20T10:28:27.934126
2021-10-31T05:55:07
2021-10-31T18:50:18
83,085,221
0
0
null
2017-09-20T22:45:17
2017-02-24T21:43:14
C
UTF-8
C++
false
false
15,246
h
CUMusicQueue.h
// // CUMusicQueue.h // Cornell University Game Library (CUGL) // // This module provides support for playing streaming music from MP3, OGG, WAV // or other files. This class provides a simple channel abstraction that // hides the platform specific details. Background music is not meant to be // accessed...
d1bd09dd063f7b74d58b4f2ff5ce01cbd511bbf5
4749946f4decadaeb92e172d9ebea3f9914478a8
/cs124_prj03.cpp
51ddef3076f5c7bbe504b5dfbc3d5bfc077d56fb
[]
no_license
dongchanlim/Cplusplus
a5f455802858d8b6af643594fa8307e1d77e8dec
739b1d32858345a72a4c6869489866d998d95c6d
refs/heads/master
2020-06-22T06:56:38.579823
2019-07-18T23:41:45
2019-07-18T23:41:45
197,664,907
0
0
null
null
null
null
UTF-8
C++
false
false
5,739
cpp
cs124_prj03.cpp
/*********************************************************************** * Program: * Project 03, Monthly Budget * Sister Hansen, CS124 * Author: * Dongchan Lim * Summary: * Displaying a personal monthly finance program to a user. * Ask a user to input her/his monthly income, living expenses, * taxe...
a4da159aea123137665653e4fa4071452bb43b8b
95957325cc5d1376e9ad1af1899795b92ab9fa1a
/mscoree.dll/mscoree.dll.cpp
6d747f1f2b76dd77025472de7f6fbbd564e1bc66
[]
no_license
SwenenzY/win-system32-dlls
c09964aababe77d1ae01cd0a431d6fc168f6ec89
fb8e3a6cdf379cdef16e2a922e3fbab79c313281
refs/heads/main
2023-09-05T07:49:10.820162
2021-11-09T07:30:18
2021-11-09T07:30:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
23,923
cpp
mscoree.dll.cpp
#include <windows.h> #include <shlwapi.h> extern "C" { extern void *ptr_CLRCreateInstance; void *ptr_CLRCreateInstance = NULL; extern void *ptr_CallFunctionShim; void *ptr_CallFunctionShim = NULL; extern void *ptr_CloseCtrs; void *ptr_CloseCtrs = NULL; extern void *ptr_ClrCreateManagedInstance; void *ptr_ClrCreateMan...
bae9ddf93f61fd9ad845dec6ea220a23a7bf273a
5d3ee8d02dc363bce1602bda3dce9b5092956ce7
/MeetingCore/Core/AudioCapturer/AudioCapturer.cpp
00919e0e4430835c8655dde26e0899a01ee8d201
[]
no_license
EMCJava/EMCMeeting
b8fbb4aa51404fc4a6f387c54d92b77d55a75b5a
8e8b41bbb155f999f6b89707c4ba11b41b69ce6b
refs/heads/master
2023-06-10T12:21:19.641472
2020-09-03T14:31:29
2020-09-03T14:31:29
270,252,972
0
0
null
null
null
null
UTF-8
C++
false
false
3,471
cpp
AudioCapturer.cpp
// // Created by samsa on 6/20/2020. // #include "AudioCapturer.hpp" AudioCapturer::AudioCapturer(std::deque<Socket::Message> *stream_buffer, float record_length, float record_interval) : m_audio_stream_ptr(stream_buffer), m_audio_chunk_size_sencond(record_length), m_record_interval(record_interval)...
ea817dfff2c85475bca1a1ad945bc1cbd0f0c4d3
3d75079a7b6ae3cf886789340aac7c6a479b72e8
/src/corsika/LongFile.cxx
c0ef59559d6d66cd8b40c84103071d97acff616d
[ "BSD-2-Clause" ]
permissive
afedynitch/corsika_reader
44244b141887c97ddf5d9b4ff5ca266c8dbd1ce9
984425bf2573667f1d36f7fcc218dca55283bac4
refs/heads/master
2022-04-09T20:20:25.158647
2020-03-16T02:57:12
2020-03-16T02:57:12
113,652,922
0
0
NOASSERTION
2020-03-16T02:57:13
2017-12-09T08:00:53
C++
UTF-8
C++
false
false
17,224
cxx
LongFile.cxx
/** \file Implementation of the Corsika shower reader \author Lukas Nellen \version $Id$ \date 29 Jan 2004 */ #include <corsika/Constants.h> #include <corsika/LongFile.h> #include <corsika/IOException.h> #include <fstream> #include <sstream> #include <string> #include <cmath> #include <cstdio> #include <iostr...
a5c7f19ec68f72438fb3dfe73f6defd017a66265
d7eef8405fbbdcc39bfa0406611ee73e61850336
/Lab7/Lab7/FilmInMemoryRepository.cpp
4561f043b8cda5f538ff3888d5d709a94b0cd5ee
[]
no_license
Micu-Felix/OOP_LAB7
23cb832c03d70927fe1741cb32ab9f3dcdab014b
79d0ad7a2b7a497b13eacf4e8be8c8ec77ee5afb
refs/heads/master
2022-09-24T01:36:02.090951
2020-06-06T09:53:02
2020-06-06T09:53:02
269,473,747
0
0
null
null
null
null
UTF-8
C++
false
false
1,678
cpp
FilmInMemoryRepository.cpp
#include "FilmRepository.h" #include <algorithm> #pragma once class RepositoryInMemory : public FilmRepository { private: vector<Film> repository; public: RepositoryInMemory() : FilmRepository() { repository = {}; }; int size() override { return repository.size(); }; bool delete_film(co...
3296e878b1fe9e4cbf5bced36c1ca23002470492
3710cc500057549e63b854b864fee2eb2480555b
/code/7_Vector.cpp
08bccf08f87d002f16aa7497beeaf8b3a4fef143
[]
no_license
hwdong-net/cplusplus17
151c9968816904c35a94dca4b784638487ba63f7
c573ec591ad4f6c2d47200dc292855ebc91557d9
refs/heads/master
2023-05-24T22:03:39.945044
2023-05-21T02:54:31
2023-05-21T02:54:31
200,647,731
95
32
null
null
null
null
GB18030
C++
false
false
4,915
cpp
7_Vector.cpp
#include <iostream> #if 0 class IntArray { int* data{ nullptr }; //指针变量指向动态分配的内存块 int size{ 0 }; //data指向的动态数组的大小 public: IntArray(int s) :size(s) { data = new int[s]; //分配一块动态内存,地址保存在data中 if (data) size = s; std::cout << "构造了一个大小是" << s << "的IntArray对象\n"; } ~IntArray() { ...
429fb31dcafc4e9c95fbbb2f89c796604c30890f
1bd2698bde9265ab4741358c2b8e1bec1901e7f9
/Tonb0.1/AutLib/Continuum/Mesh/Entities/Element/Mesh_ElementAdaptor.hxx
4393dffe7224365616888dee52534de42fc251f9
[]
no_license
amir5200fx/Tonb0.1
150f9843ce3ad02da2ef18f409a100964c08983a
7b17c6d2b3ddeca8e6b2900967b9599b0b1d61ed
refs/heads/master
2022-01-17T09:47:25.291502
2019-06-14T13:27:39
2019-06-14T13:27:39
169,406,796
0
0
null
null
null
null
UTF-8
C++
false
false
880
hxx
Mesh_ElementAdaptor.hxx
#pragma once #ifndef _Mesh_ElementAdaptor_Header #define _Mesh_ElementAdaptor_Header #include <Standard_TypeDef.hxx> namespace AutLib { template<class ElementType, int NbCmpts> class Mesh_ElementAdaptor{}; template<class ElementType> class Mesh_ElementAdaptor<ElementType, 3> { /*Private Data*/ const Elem...
094a23f65024e5c75dfd50b0ff21a676bfba1f6a
02516a036b94802b652a28bcd2b8073e45918448
/src/pfInputForce.cpp
82ecae5029982c9c67a4f53b9b698c6bc472d06e
[]
no_license
chaomy/pfPPmpiFix
a7b0b758cdcf50e706c70280c064347162602610
38563046e26a836c26eeb98a9fbd070e330c4351
refs/heads/master
2021-09-05T06:03:13.276245
2018-01-24T16:06:14
2018-01-24T16:06:14
118,788,525
0
0
null
null
null
null
UTF-8
C++
false
false
2,467
cpp
pfInputForce.cpp
/* * @Author: chaomy * @Date: 2018-01-20 16:53:38 * @Last Modified by: chaomy * @Last Modified time: 2018-01-23 19:26:41 */ #include "pfHome.h" using std::cerr; using std::cout; using std::endl; using std::ifstream; using std::vector; void pfHome::readConfig() { /* read atomic force file */ configs.clear(...
2a0b889f4cd3f64fde6a432c3faf2b192caa353a
a2cd415fad7516c79844459d5d064896316baf18
/PanicAttackDetection.ino
b3b704b2a6812760184e160e8180883e162f0ed6
[]
no_license
boktah/YSWearables
128f020f944cdc6d7b24dc80a2f3d50424ab2f30
25572de3ba49435e0e5818be43517913fd4ff3e2
refs/heads/master
2020-03-22T16:23:51.530261
2018-07-13T12:57:53
2018-07-13T12:57:53
140,324,166
0
0
null
null
null
null
UTF-8
C++
false
false
4,976
ino
PanicAttackDetection.ino
// import required libraries #define USE_ARDUINO_INTERRUPTS true #include <PulseSensorPlayground.h> #include <Adafruit_Si7021.h> int i = 1; // used to control temp sensor print outputs unsigned long time = 0; // used to reset marks on accel // may be used to toggle on/off the alert for a particular sensor bool accelAl...
c2ab0fe83c91673e6380ea689ce353c2cd081aed
3c2c03ec18880e2b43f6326a4daec1f1b87abdd9
/mod_04/ex01/Character.hpp
f137851e4ff535774a95c430cf5194ecfa3c012d
[]
no_license
aristotelis-bobas/cpp_modules
97da17c685d9e7344b9f73ad02b25d9c9afd2fb7
e815912dc55b5a26969750c341d3441486aa117e
refs/heads/master
2023-01-02T08:57:48.225945
2020-11-01T19:31:21
2020-11-01T19:31:21
297,717,685
0
0
null
null
null
null
UTF-8
C++
false
false
1,641
hpp
Character.hpp
/* ************************************************************************** */ /* */ /* :::::::: */ /* Character.hpp :+: :+: ...
02e8ad2858892ce3b9d60cb9dcec92eadf2685a2
df0efbe363727771ea5ef8ae9fe87ad56b216383
/main.cpp
591e2e10d9678df29d4838744ef1f6f2e60047ce
[]
no_license
Mopedonaut/PerfScopeEvaluation
caa75c6d325af317d447e03c738832405ef756ec
3ce438b606aa2955cf25832d8e96850ff16d7fed
refs/heads/master
2021-01-01T16:50:31.826667
2015-05-28T18:12:55
2015-05-28T18:12:55
35,549,581
0
0
null
null
null
null
UTF-8
C++
false
false
828
cpp
main.cpp
/* * main.cpp * * Created on: May 28, 2015 * Author: mark */ void unfrequentFunctionLevel6() { // no op } void unfrequentFunctionLevel5(int level) { while (level > 5) { unfrequentFunctionLevel6(); --level; } } void unfrequentFunctionLevel4(int level) { if (level > 4) { unfrequentFunctionLevel5(l...
a2cf4720c1121efbbe4c9ae0c6f5ceeefe68d99e
11f37c2af971187824419ed3cb751a252f6d8a19
/CODECHEF/numgame/main.cpp
ff341228eade069df6c983177bf913bbd09cc3ea
[]
no_license
devos50/programmingchallenges
c1fd97062bf85d0999d91cbf51b30a56b628972e
004e64337b1c140023f520aef15781640e108842
refs/heads/master
2020-06-07T07:30:10.246738
2015-01-19T18:29:10
2015-01-19T18:29:10
29,485,114
0
0
null
null
null
null
UTF-8
C++
false
false
226
cpp
main.cpp
#include <iostream> using namespace std; void solve() { int n; cin >> n; if(n % 2 == 0) cout << "ALICE" << endl; else cout << "BOB" << endl; } int main(int argc, char *argv[]) { int t; cin >> t; while(t--) solve(); }
c93b411d3b89e1fb19287bd49c0004f358788f59
2fda9e8e3cce71f0b11c72df92d1b931b57ba572
/src/rtFileCache.h
0ed5bcfe2ce9b91288579bdce086ed42e3ce076a
[ "Apache-2.0" ]
permissive
mateusz-hobgarski-red/pxCore
519385eabd37e23818c37b73577d232356001a22
dddf99ed360c7fa4a98a40c92fc3d0ded864e841
refs/heads/master
2020-08-09T19:59:56.287360
2019-11-20T13:37:18
2019-11-20T13:37:18
214,161,586
1
0
NOASSERTION
2019-10-10T11:11:26
2019-10-10T11:11:23
null
UTF-8
C++
false
false
3,468
h
rtFileCache.h
/* pxCore Copyright 2005-2018 John Robinson 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 agree...
eff170698efdab49ba3fd23fcb0c727cd4303e1a
a99d6d5389e7d08ab26b1b79fef4c82d9d37f68e
/src/CardPile.cpp
a3f50981e64a36d16a9357ee9da93b971ae5dfa3
[]
no_license
luijavi/Five-Card-Draw
5e9fa42f9395379e0d18bf9ff503aa0e163fe010
d38805c269c16cefb52d41ced912960bd331ec86
refs/heads/main
2023-07-17T02:40:01.188946
2021-09-07T00:23:02
2021-09-07T00:23:02
403,771,904
0
0
null
null
null
null
UTF-8
C++
false
false
2,074
cpp
CardPile.cpp
#include <cassert> #include <algorithm> #include <random> #include <chrono> #include "CardPile.h" CardPile::CardPile(std::size_t pile_size) : capacity(pile_size), top(-1), cards(nullptr) { cards = new Card[capacity]; } CardPile::~CardPile() { delete[] cards; cards = nullptr; } void CardPile::Push(Card card) {...
cc62ae7f299b9956a31b59114314b816dbbe1b13
485d20ffb43ddced64d6508ea770c874325ed2ad
/final/5-final02/src/ttRope.h
910ecd434e744159bf9fb2fba68694738c9a828f
[]
no_license
firmread/aynir
16af463e26ad72e313814260b0accd1ff475df03
d625f1a8b6785daee49951521cc192dc14311678
refs/heads/master
2021-01-24T23:36:00.262194
2013-05-13T01:49:38
2013-05-13T01:49:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,057
h
ttRope.h
// // ttRope.h // final02 // // Created by PengCheng on 5/4/13. // // #ifndef __final02__ttRope__ #define __final02__ttRope__ #include "ofMain.h" #include "ofxBox2d.h" #include "ttChar.h" enum _rope_condition{ R_NO_USE, R_PUSH, R_SWING, R_DESTROY, R_MINIGAME, }; class ttRope{ public: void ...
5e3ed0f70e6d08771b8f8d300707fe896f493c43
cdfd953afa78d3c4cc4218b1d90e4dfb25e04ec0
/Vapor/include/renderer/SceneRenderer.h
88f2f6ec2251e89e7909658841df8587f6fff18f
[]
no_license
jakubzika/Vapor
e73eecd832a5ac5386976fb24bd67321e28f8b7a
a0c9afb38babb5f110cbb5a6333b9980c329987b
refs/heads/main
2023-05-01T21:41:04.085033
2021-05-20T23:57:51
2021-05-20T23:57:51
351,738,587
0
0
null
null
null
null
UTF-8
C++
false
false
4,220
h
SceneRenderer.h
/** * \file SceneRenderer.h * \author Jakub Zíka * \date 2020/20/5 * \brief description * * Handles rendering scene data. * Models do not render themselves. They pass their data from Scene graph traversal to the renderer. * And renderer can sort the models accordingly for best performanc...
35030c7c0f59671b26b652977dd4a6811f970963
610a0449e3f8318f4cee5981524e79fa643d5045
/univ/sogang 2019/champion-e.cpp
425e20811c1421f5028ecbbb1591943aee96f6bd
[]
no_license
Namnamseo/ps-archive
8f570339a0a7847ce08af4eb6342f41ec8a6a1e5
9f9b219731212dbef741198270b12913b329fc0f
refs/heads/main
2022-07-08T07:06:42.080035
2022-07-06T14:31:45
2022-07-06T14:31:45
134,520,321
2
0
null
null
null
null
UTF-8
C++
false
false
701
cpp
champion-e.cpp
#include <iostream> using namespace std; using ll = unsigned long long; ll mod; ll modmul(ll a, ll b) { ll r = 0; while (b) { if (b&1) { r += a; if (r >= mod) r -= mod; } a <<= 1; if (a >= mod) a -= mod; b >>= 1; } return r; } ll ipow(ll b, ll e) { ll ret = 1; while (e) { if (e&1) ret = modmul(ret, b); ...
8c0f3ee470a4ba6e7c1428fd710d340f54286fa1
6abb92d99ff4218866eafab64390653addbf0d64
/AtCoder/othercontests/old/halfAndHalf2.cpp
62e03eecffbae77a33e5e6dba621a03a691b4879
[]
no_license
Johannyjm/c-pro
38a7b81aff872b2246e5c63d6e49ef3dfb0789ae
770f2ac419b31bb0d47c4ee93c717c0c98c1d97d
refs/heads/main
2023-08-18T01:02:23.761499
2023-08-07T15:13:58
2023-08-07T15:13:58
217,938,272
0
0
null
2023-06-25T15:11:37
2019-10-28T00:51:09
C++
UTF-8
C++
false
false
517
cpp
halfAndHalf2.cpp
#include <bits/stdc++.h> using namespace std; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int A, B, C, X, Y; cin >> A >> B >> C >> X >> Y; int res = 0; if(A + B > C * 2){ if(X > Y){ if(X > C * 2) res = C * 2 * X; else res = A * (X - Y) + C * 2 *...
0bb9bf5fb08331dd308f88e87f6283c58e62163a
fae437954b628d41ea2c7bd8a4c45f56eca6e6c1
/tst/EnergyPlus/unit/PackagedTerminalHeatPump.unit.cc
59ab2ded236834d208dca5af6a709804247fd241
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
nrgsim/EnergyPlus
7d11c0de68db36401422194d37e97bfe9198d32f
3d73032a0480c45a963058e33473c85424cbba4a
refs/heads/develop
2020-06-25T04:43:21.150576
2017-06-13T15:44:22
2017-06-13T15:44:22
94,235,982
1
0
null
2017-06-13T16:51:18
2017-06-13T16:51:18
null
UTF-8
C++
false
false
38,932
cc
PackagedTerminalHeatPump.unit.cc
// EnergyPlus, Copyright (c) 1996-2017, The Board of Trustees of the University of Illinois and // The Regents of the University of California, through Lawrence Berkeley National Laboratory // (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights // reserved. // // NOTICE: This Softwa...
8fa2a14130118fd5e625df1e3be38d1767b9016b
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1485488_0/C++/smn/B.cpp
8e04d1d73c9ee905625720e468c895a2302381ea
[]
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
2,591
cpp
B.cpp
#include <cstdio> #include <cstdlib> #include <cmath> #include <climits> #include <map> #include <set> #include <iostream> #include <memory> #include <string> #include <vector> #include <algorithm> #include <functional> #include <sstream> #include <stack> #include <queue> #include <cstring> using namespace std; typede...
fcccdb676dd920607fc0ad914d582468b095f3e9
4f116b78d77eb23fe3c54f292511c9d73cd78cd4
/libIlargia/include/isdl/SDLAssetManager.h
3fcfcd632ce9607aa492d7132f00dcdf406e50b0
[ "MIT" ]
permissive
Rubentxu/Ilargia
99645571814183942de9ba62602aa6eade5e2215
e8367fff3402d43c02bb27ab7561f6075e64bedc
refs/heads/master
2016-08-12T13:34:47.010324
2016-04-08T10:46:53
2016-04-08T10:46:53
50,248,568
1
0
null
null
null
null
UTF-8
C++
false
false
1,132
h
SDLAssetManager.h
#ifndef __SDLAssetManager__ #define __SDLAssetManager__ #include "core/Manager.h" #include <SDL2pp/SDL2pp.hh> namespace Ilargia { class ILTexture: public AssetMap<SDL2pp::Texture>{ protected: std::shared_ptr<SDL2pp::Renderer> _renderer; public: std::string baseDir; ILTexture(std::...
be3e6c9d93d14bce778592c820380ab5a9b6dd4a
5a1f2a8fa38be9f7d66bf81c920cfa86aa7641ee
/Lib/src/CHANNEL.HPP
398e7449c102aa917e749b45ccce91cc09f7add1
[]
no_license
gemcore/MIL-STD-161B
f5fb07aaff5597f986fe069efb8ec8414edc74c7
ebeabd7207c22a3327700db2369556daf5a53eef
refs/heads/master
2020-04-05T12:38:18.777236
2017-07-21T23:52:00
2017-07-21T23:52:00
95,200,068
1
0
null
null
null
null
UTF-8
C++
false
false
2,229
hpp
CHANNEL.HPP
/* Data Channel definitions */ #ifndef CHANNELHPP #define CHANNELHPP #include <stdio.h> /* C Standard input/output i/f */ #include <stdlib.h> /* C Standard Library i/f */ #include "slist.hpp" /* C++ Toolkit singly linked list class */ //#define SERIAL #ifdef SERIAL #include "serial.hpp" /* Serial port I...
ccfa93c6e892f9b07738283dbb673efd95d6a1d7
8ca117ac2aab1980c1977bf4717f49cf5cecbbf7
/header/exceptions/NotEnoughSpaceException.hpp
a7cc0d1659c01a7bd4f3dcc46a3b2f462d1a700d
[]
no_license
bendem/SchoolCars
06df70e0e670a7a9bbe5a17101b3b7056a46e116
5144065bef06246a82305499e47c7176b79f219b
refs/heads/master
2021-01-01T16:31:12.895666
2015-01-23T07:21:22
2015-01-23T07:21:22
27,227,914
0
0
null
null
null
null
UTF-8
C++
false
false
306
hpp
NotEnoughSpaceException.hpp
#ifndef NOTENOUGHSPACEEXCEPTION_HPP #define NOTENOUGHSPACEEXCEPTION_HPP #include "exceptions/Exception.hpp" class NotEnoughSpaceException : public Exception { public: NotEnoughSpaceException() : Exception("") {} NotEnoughSpaceException(const String& message) : Exception(message) {} }; #endif
3710c8ab1ba5bed7a8198be370f5e0b157e1fd4c
85e5e67b0ddb32701b6aad5c3d2a428c768bb41c
/Engine/DeadState.cpp
bc2d0a5496ea6e825abefaa2d1dc40a48a61e4b0
[]
no_license
lim-james/Allure
a6ebca6b2ca1c70bc2108f8ae710c2a88117657d
6d837a49254d181babf546d829fc871e468d66db
refs/heads/master
2021-07-18T04:31:08.130059
2020-08-21T03:30:54
2020-08-21T03:30:54
205,639,206
0
0
null
null
null
null
UTF-8
C++
false
false
857
cpp
DeadState.cpp
#include "DeadState.h" #include "Physics.h" #include "SphereCollider.h" #include "SpriteAnimation.h" #include "SpriteRender.h" #include "EnemyLife.h" void States::Dead::Enter(unsigned const & target, EntityManager * const entities) { entities->GetComponent<SphereCollider>(target)->SetActive(false); entities->GetCom...
92986e9a2832ed68bc4c2713a09a99a289e8b39c
be5295b393829f336ac86518ead28ee6353aa86a
/SCPM.cpp
e4e502a3c3f692b6901d92ea533c58b2836f7ee7
[]
no_license
sserna1231/SCPM
b018dcfda1fedf9426b6bba85486ceba33cf92c8
5014244b9877e3eabfdee532459e8c79c20724ee
refs/heads/main
2023-06-08T07:06:43.366923
2021-06-21T18:14:28
2021-06-21T18:14:28
379,020,208
0
0
null
null
null
null
UTF-8
C++
false
false
11,284
cpp
SCPM.cpp
#include "ampl/ampl.h" #include <chrono> #include <cstdio> #include <forward_list> #include <fstream> #include <iomanip> #include <iostream> #include <stack> #include <string> #include <tuple> #include <unordered_map> #include <vector> using namespace std; constexpr double TIME_LIMIT = 300; // Tiempo límite de cada e...
b140884c8f86fa1d9f2775c39e6ab044519be617
425ce74ed3a506ba5fe336c4009c3cfa72676a16
/advancedlinewidget.cpp
8668018cb72fc10b228faf7cd019b1fc4413d20f
[]
no_license
Argasio/marionettaPlus
36e335873477200136c4d1f0e013de5c9b6cbf2d
d5c63f7054f05d56a6880a4ea60997f9dae5dfcc
refs/heads/master
2023-07-10T06:29:40.944537
2021-08-25T14:49:25
2021-08-25T14:49:25
273,514,566
0
0
null
null
null
null
UTF-8
C++
false
false
1,378
cpp
advancedlinewidget.cpp
#include "advancedlinewidget.h" #include "ui_advancedlinewidget.h" #include "myview.h" #include "animation.h" #include "stick.h" #include "uiItems.h" extern int W; extern int H; #define CS V->myAnimation->currentFrame->currentStickFigure->currentStick #define CURRENTSTICKFIGURE V->myAnimation->currentFrame->currentSti...
37dd4db5821f6a8ed490027db08138239cf679e9
31e35cd05d563634b6ac8d528394aef228aee052
/005/sol005a1-2.cpp
a7fbecab7970af0b53c0f67e82b48466729f252e
[]
no_license
makio93/typical90
cd2a5afb334fd2063a7fdd6c5fb5f6b9ecf260fa
8ef53984cb98fb42b5a3569d554e9348298d75cf
refs/heads/main
2023-06-23T05:23:09.283117
2021-07-10T23:41:16
2021-07-10T23:41:16
382,003,845
0
0
null
null
null
null
UTF-8
C++
false
false
1,690
cpp
sol005a1-2.cpp
// 005a1-2 自力/小課題1まで/ACLなし // 自力解法: 桁数と余りの値を状態として桁DP // 黄diff #include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, n) for (int i=0; i<(int)(n); ++(i)) #define rep3(i, m, n) for (int i=(m); (i)<(int)(n); ++(i)) #define repr(i, n) for (int i=(int)(n)-1; (i)>=0; --(i)) #define rep3r(i, m, ...
54d382e53fa8c03cbef65d87f89c887bb466499e
181968b591aa12c3081dbb78806717cce0fad98e
/src/demos/FallingObjectsDemo.h
ff94bc6fc682491105b3cd68c5ef6dbe14370ab9
[ "MIT" ]
permissive
Liudeke/CAE
d6d4c2dfbabe276a1e2acaa79038d8efcbe9d454
7eaa096e45fd32f55bd6de94c30dcf706c6f2093
refs/heads/master
2023-03-15T08:55:37.797303
2020-10-03T17:31:22
2020-10-03T17:36:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
809
h
FallingObjectsDemo.h
#ifndef FALLINGOBJECTSDEMO_H #define FALLINGOBJECTSDEMO_H #include <modules/demo_loader/Demo.h> #include <data_structures/BoundingBox.h> #include <scene/scene_graph/SGCore.h> class ApplicationControl; class FallingObjectsDemo : public Demo { public: FallingObjectsDemo(ApplicationControl* ac, std::string name, ...
b77c1729fb84322025774d0fd71cb41b9d2cb302
005018e7024d96212e943ccee9a26fef09380079
/exemplo2.cpp
53380f95a837271f2f6690bb9d123fa43daca2ed
[]
no_license
mmarques-ssz/ADS-ED1-20210323
50edaa03bf791e5ecf236e9a8b360539d4ad6e83
cfe025c9ae23fc2e182b20f0a3b2b565932b96f1
refs/heads/main
2023-03-29T04:19:54.154076
2021-03-23T23:52:05
2021-03-23T23:52:05
350,890,139
0
0
null
null
null
null
ISO-8859-1
C++
false
false
1,116
cpp
exemplo2.cpp
#include <iostream> #include <iomanip> using namespace std; int main(int argc, char** argv) { int i; double d; cout << "Digite valor int: "; cin >> i; cout << "Digite valor double: "; cin >> d; cout << "Valor int digitado: " << i << endl; cout << "Valor double digitado: " << d << endl; c...
8a6898329c71e5f0432ba00de89f3e00562e7b9a
e56ea9b859957f5eba8ae929c669895a17951119
/shared/CamPath.cpp
0a5c78cbfca36b149938cdd7c28a4cf5c37274a7
[]
no_license
nkoep/advancedfx
a3d9f0bde5a6de0466b11987df31594d8df53a5b
fcb2bbc748f00dd45d25b0bf794d383ade1abad1
refs/heads/master
2021-01-21T01:03:49.357727
2015-08-06T11:42:54
2015-08-06T11:42:54
40,301,809
0
0
null
2015-08-06T11:41:28
2015-08-06T11:41:28
null
UTF-8
C++
false
false
10,523
cpp
CamPath.cpp
#include "stdafx.h" // Copyright (c) advancedfx.org // // Last changes: // 2014-11-03 dominik.matrixstorm.com // // First changes: // 2014-11-03 dominik.matrixstorm.com #include "CamPath.h" #include "rapidxml/rapidxml.hpp" #include "rapidxml/rapidxml_print.hpp" #include <iterator> #include <stdio.h> ...
eb459a38aee56e30408b51c82b14e5e8cade8d50
c9dc5e843035b78e1795c533cad5c914b1992bce
/point_cloud_closure.h
2aa7d3a70e3f212ea93b917b938c65aaa86c3c46
[]
no_license
zhanyifei/PointCloudProcess
3cef428b71b7d7a3fc2c4f2ecd483e8062d80b4a
9cf7b03968b8db7b13cbf4360bdf1957558c008e
refs/heads/master
2020-12-24T06:57:42.995739
2016-08-16T11:30:18
2016-08-16T11:30:18
64,204,533
0
2
null
null
null
null
UTF-8
C++
false
false
1,209
h
point_cloud_closure.h
#pragma once #include <boost/filesystem.hpp> #include <Eigen/Eigen> #include "macros.h" #include "cloud_stamp_rot.h" #include "params.h" CLOUD_BLEND_DOUBLE_NAMESPACE_BEGIN class PointCloudClosure { public: PointCloudClosure(void); ~PointCloudClosure(void); static int main(const closure_params &params); ...
bcf03c1a735d8a0d6fb262f1b614f96c8c4def7b
b1aff0dc98ba204e18e3a28cf806e22a69aabee9
/src/objetos3D.cpp
56351f2e8255f8b0ae317122abfd1080523c8827
[]
no_license
flpduarte/cg-tank-wars-3d
827f697bb7e3aad09dac29f34ad9d701b2d81287
6c02e3c427a9eaa2f169560732a2d1df817d879c
refs/heads/master
2021-06-17T14:33:30.030928
2021-01-12T17:01:33
2021-01-12T17:01:33
134,923,377
0
0
null
null
null
null
UTF-8
C++
false
false
13,049
cpp
objetos3D.cpp
/** * objetos3D.hpp * * Tank Wars versão 3D * Baseado no jogo Tank Wars, por Kenneth Morse * * * Autores: * Guilherme Felipe Reis Duarte RA: 120805 * * Implementa as funções que desenham os objetos 3D na tela. Objetos incluem * tanques, projéteis e explosões. * * Todos os objetos são desenhados na orig...
3cdcc0117a64c59029d19e3d34e413b934f421e5
65458ed8ca5423c5b0eabf6b88685259c7f80fda
/fraig/src/cir/cirMgr.h
9d8caf0755a0994a57b5b2d863d793bfbdb789e5
[]
no_license
dexterkan/2016-Fall-DSnp
ffb9c214a017af6d55643e2efba4c5fdbd27b9b1
77d465f2149474962b7f1045873fb6f5870a92fc
refs/heads/master
2020-07-23T21:39:24.310790
2017-06-15T11:16:09
2017-06-15T11:16:09
94,360,242
0
0
null
null
null
null
UTF-8
C++
false
false
3,249
h
cirMgr.h
/**************************************************************************** FileName [ cirMgr.h ] PackageName [ cir ] Synopsis [ Define circuit manager ] Author [ Chung-Yang (Ric) Huang ] Copyright [ Copyleft(c) 2008-present LaDs(III), GIEE, NTU, Taiwan ] **********************************...
812e9f0f642b6ee30e0ceae212f14c108eee40cc
44e7730aa2215bc3259259411cce04e71961dc89
/src/disassembler.cpp
d6c917a843b9482f08f274b613b38ec90ae5c40d
[]
no_license
chuckries/nes
7e77cce1e06a5e99016a5defe3ae42e0c5a98e57
e0eeee5495a16c91e2ffec371f5d6998fce5f3c8
refs/heads/master
2021-01-21T04:41:50.644199
2016-05-25T16:14:22
2016-05-25T16:14:22
52,247,018
3
1
null
2016-03-07T17:37:42
2016-02-22T04:27:17
C++
UTF-8
C++
false
false
489
cpp
disassembler.cpp
#include "stdafx.h" #include "diassembler.h" #include "decode.h" #if defined(TRACE) Disassembler::Disassembler(u16 PC, IMem* mem) : _PC(PC) , _mem(mem) , _pInstr(nullptr) { } Disassembler::~Disassembler() { } void Disassembler::Disassemble(DisassembledInstruction& disassembledInstruction) { disassem...
61c1d1f01af4fdfeaaed21ba84590a1cf5f1ca06
6a9d8120fde2093a1f578f5835a42612c489772c
/c/fun/MAURA03.CPP
74aa5ec8b4d87eefc9eea3f12573ff2e877fe8fa
[]
no_license
nileshkadam222/C-AND-CPP
53b1dc64b8c8ab7c880ad95b5be2cd8f5f92d458
468b18ad81aa23865b2744eb0c35e890bf96b6d8
refs/heads/master
2020-11-27T16:29:39.220664
2019-12-22T06:46:33
2019-12-22T06:46:33
229,528,475
0
0
null
null
null
null
UTF-8
C++
false
false
287
cpp
MAURA03.CPP
#include<stdio.h> #include<conio.h> #include<math.h> void main() { int a,b; int power(int a,int b); clrscr(); printf("enter the value of a,b=\n\n"); scanf("%d%d",&a,&b); power(a,b); getch(); } int power(int a,int b) { int value; value=pow(a,b); printf("value=%d",value); return(value); }
8058aefebb32c4efe2d079977e9de8b59878ebd4
3fdecb9d46f759f70bb5b2d29da25bb63e27de93
/Longest_Common_Subsequence.cpp
ffdd9cc2767bd45ebafd259024b65090f772653a
[]
no_license
abinashkg/Algorithm
f48b54aff5ef279617c36d8ac51d62fcba12f987
e8d61d82417fc6bd9f275327996a657d69c40e32
refs/heads/master
2020-12-24T11:45:56.451802
2016-11-06T19:56:48
2016-11-06T19:56:48
73,015,021
0
2
null
null
null
null
UTF-8
C++
false
false
1,730
cpp
Longest_Common_Subsequence.cpp
#include<cstdio> #include<iostream> #include<cstring> #include<cstdlib> #define FOR(i, b, e) for(int i = b; i <= (int)(e); i++) using namespace std; char str1[25005],str2[25005]; int c[20005][20005],m,n; int LCS() { m=strlen(str1); n=strlen(str2); for(int i=0;i<=m;i++) for(int j=0;j<...
2b0da803f27b9b0d6d4afb10af391bae94263c27
a17f2f1a8df7036c2ea51c27f31acf3fb2443e0b
/thuoj/组合数问题.cpp
0979c300c0d1558ed68b3fe5d8bf5cab022394d6
[]
no_license
xUhEngwAng/oj-problems
c6409bc6ba72765600b8a844b2b18bc9a4ff6f6b
0c21fad1ff689cbd4be9bd150d3b30c836bd3753
refs/heads/master
2022-11-04T01:59:08.502480
2022-10-18T03:34:41
2022-10-18T03:34:41
165,620,152
3
1
null
null
null
null
UTF-8
C++
false
false
2,231
cpp
组合数问题.cpp
#include <cstdio> #include <cstring> #include <unordered_map> using namespace std; #define MIN(X, Y) ((X) < (Y)? (X): (Y)) int ans[10001][10001], pos; int primes[65536], vis[65536]; unordered_map<int, int> curr; void init(){ pos = 0; memset(vis, 0, sizeof(vis)); for(int ix = 2; ix != 65536; ++ix){ if(!vis[ix]) p...
23172aaa256546fae7c3f178c8ff39d99d03f113
33706611c9d9ec351e295b1ad3f00cdcf69a632b
/pluralSight/structural-adoptorToDecorator/Adaptor/include/MovieApiAdapter2.h
c368fd99beefddc3c9a258a6f9fb5da50b8e19db
[]
no_license
BhanuKiranChaluvadi/solid-design-principles
cde522dac30e1048b76b4db876240922c4696143
3e38ffbf8536b720f93f20e36cb69d227f10f1ad
refs/heads/master
2023-07-29T19:30:50.283438
2021-09-12T19:17:08
2021-09-12T19:17:08
244,964,471
4
0
null
2021-09-08T12:24:22
2020-03-04T17:38:55
C++
UTF-8
C++
false
false
304
h
MovieApiAdapter2.h
#pragma once #include "MovieDbRepository.h" #include "TheMovieDbApi.h" class MovieApiAdapter2 : public MovieRepository, public TheMovieDbApi { public: MovieApiAdapter2(std::string api_key) : TheMovieDbApi(api_key) {} std::shared_ptr<MovieData> GetById(const std::string &movie_id) override; };
4c477a5f24d26aa218c0b21abbff5c93fc78a328
2293d5d5ffddaa00b30403c87b377e9436ce92d4
/src/Resources.cpp
263a87de96bdb46896f79b58b874a8b4936ea941
[]
no_license
Anders1232/IDJ-Tuto-Game
d926adad8ad5dc74e55c17af22e96aa573b87c6a
685e767e07d134dfbdc9b9b20ddb8aead75446c1
refs/heads/master
2021-01-19T12:47:57.660410
2017-04-12T11:53:30
2017-04-12T11:53:30
88,046,045
1
1
null
2017-04-12T11:50:47
2017-04-12T11:50:46
null
UTF-8
C++
false
false
813
cpp
Resources.cpp
#include "Resources.hpp" std::unordered_map<std::string, SDL_Texture*> Resources::imageTable{}; SDL_Texture* Resources::GetImage (std::string file) { auto it = imageTable.find (file); if (it == imageTable.end()) { SDL_Texture* texture = IMG_LoadTexture (Game::GetInstance ().GetRenderer (), file.c_str ...
533a31fbb22d849da04e82bf3622b4279fb52e91
9b33799bf704cc0dda493ee9323486ef1c01a955
/software/TestSketches/FlashWipe/PowerControl.cpp
2ac2baf4513e6a116da3611c1afc295afd8d8ca8
[]
no_license
574737922/FOSSASAT-2
27895ab895eb00cacd96c52306d1ae95066ca97b
6594d0a38ecc4257e8626bf7099299c1301c8869
refs/heads/master
2022-07-19T00:22:39.816246
2020-05-25T10:49:29
2020-05-25T10:49:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
283
cpp
PowerControl.cpp
#include "PowerControl.h" void PowerControl_Watchdog_Heartbeat(bool manageBattery) { // toggle watchdog pin digitalWrite(WATCHDOG_IN, !digitalRead(WATCHDOG_IN)); // manage battery (low power, heater, charging) if(manageBattery) { //PowerControl_Manage_Battery(); } }
494ef6ac82a377d7265585e52e1a7cd9a3e97afa
5249bb39ed18a90666ea069f0a437ef8a28d449e
/include/footer.inc
8d97521e8d43568352da0f0fadede4933f8181fa
[]
no_license
SergioPacheco/taxbr
0754e298104c6a5a9cfb4b89c90d079c9d9727ee
26e83b7bf4b757f4555134cb3e5ac7b2d985560a
refs/heads/master
2022-11-25T05:31:00.149525
2020-07-24T08:52:23
2020-07-24T08:52:23
282,108,166
1
0
null
null
null
null
UTF-8
C++
false
false
173
inc
footer.inc
<!-- Copyright Notice: This script was written by Sergio Pacheco, and is free for you to use. Keep software free. And please leave this copyright notice. Thanks. -->
fda72f5073a9c2d8fff0d220291f2a44bdfedd45
9f8a069f7d337a022cae89e3e5b75d161c832e2d
/Heat_Transfer/BuoyantSimpleFOAM/buoyantCavity/900/p_rgh
6eca4bfff762401de9abc1c26b08126da8914fe9
[]
no_license
Logan-Price/CFD
453f6df21f90fd91a834ce98bc0b3970406f148d
16e510ec882e65d5f7101e0aac91dbe8a035f65d
refs/heads/master
2023-04-06T04:17:49.899812
2021-04-19T01:22:14
2021-04-19T01:22:14
359,291,399
0
0
null
null
null
null
UTF-8
C++
false
false
731,487
p_rgh
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1912 | ...
09af6682842451baecf39bf7cf0924c565df9271
d21c3427800f8dd1fcbf34cd2768a65fdcae3a27
/code/cytosim/src/math/matrixbase.h
974426046f340d9a9992cad05e4bd589fde1bc64
[]
no_license
manulera/LeraRamirez2019
b4e5637b76b988e3ae32177e7e894f85f9b6e109
bc42559d500d6e3270d1e8ab0e033a9e980b5e48
refs/heads/master
2023-02-12T22:56:05.410164
2021-01-13T10:10:24
2021-01-13T10:10:24
329,267,089
0
0
null
null
null
null
UTF-8
C++
false
false
9,492
h
matrixbase.h
// Cytosim was created by Francois Nedelec. Copyright 2007-2017 EMBL. #ifndef MATRIX_BASE #define MATRIX_BASE #include "real.h" #include "smath.h" #include "assert_macro.h" #include <iostream> #include <iomanip> class Random; /// Fortran-style matrices of small dimensions: 1, 2 and 3 /** Square matrices of small...
6dbfcf598b1b86cd1fb812ef49aa2c526d784013
f6602796607fdbe2286dad795090aad7e4e89312
/dragonpoop_alpha/dragonpoop/core/dpmutex/dpmutex_writelock.cpp
5eef5b9c9b1aa04f015b60e015f69375457d64fb
[]
no_license
rvaughn4/dragonpoop_alpha
a38ffde088a35d7c43a0e96480fd99ac2e2794a9
5a516c21749a63c951cb19c75f6325b9af484d4e
refs/heads/master
2020-04-05T22:51:38.273761
2016-01-20T09:54:11
2016-01-20T09:54:11
39,721,963
0
0
null
null
null
null
UTF-8
C++
false
false
347
cpp
dpmutex_writelock.cpp
#include "dpmutex_writelock.h" namespace dragonpoop { //ctor dpmutex_writelock::dpmutex_writelock( dpmutex *m ) : dpmutex_lock( m ) { } //dtor dpmutex_writelock::~dpmutex_writelock( void ) { } //returns true if write lock bool dpmutex_writelock::isWriteLock( void ) { ...
d2a350507533fe8e5e927663c68ea18ae30c7ac8
f3a69d6bc8a63fcce3dda89533ed4b70546b6a20
/main.cpp
8daff0ebfac44d74ad9d4c4a06d5cfbfa9a9f7af
[]
no_license
tianhe712/2SecKeyServer
9c66b4fa328f86eed19b2c05c85d557c9de9d6ff
d7352ca6d22404345e3bb2847e95aa82e8272f74
refs/heads/master
2020-06-19T19:06:39.264470
2019-07-14T14:14:51
2019-07-14T14:14:51
196,837,079
0
0
null
null
null
null
UTF-8
C++
false
false
794
cpp
main.cpp
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <cstring> #include "ServerOperation.h" using namespace std; //密钥协商服务端 int main() { ServerInfo info; //1. 从配置文件中读取服务端配置信息 memset(&info, 0, sizeof(info)); strcpy(info.serverId, "1111"); strcpy(info.dbUser, "SECMNG"); strcpy(info.dbPas...
b609cc83aae13f60068919710798568d06cd5b4b
67d46d972d59e715f67de1b69ee2f6ca802d478d
/AliceLibrary/source/UI/UI.cpp
f5fe43e217484faef4f93c51c7e5f148fa8fcd76
[]
no_license
kaosu7201/AliceGame
b8212d74c9d61cc3cd57c2bc4b50b90f3c437957
fcc05f4860645836e5554644b3b1eb772d0879fa
refs/heads/master
2022-02-23T12:25:56.030451
2019-07-19T08:54:22
2019-07-19T08:54:22
197,704,336
0
0
null
null
null
null
UTF-8
C++
false
false
554
cpp
UI.cpp
#include "UI.h" UserInterface::UserInterface() { } UserInterface::~UserInterface() { } UICampus::UICampus() { } UICampus::~UICampus() { } void UICampus::Start() { ApplicationBase *appBase = ApplicationBase::GetInstance(); Setpivot(0, 0); RECT rect; rect.left = 0; rect.top = 0; rect.right = appBase->Disp...
d23447eedc85b6a895e1788fbaded0d4bf8b8a30
83999abe709487485ba1fb69c65392752b15c9fb
/strings.cpp
80aec7069db0b44f3a4ba340d5bbdaed91bce4a9
[]
no_license
Nirbhay007/gfg-problems
90aacbd05683761eb2581a09a345dded89366d6b
24d3ccee73f824c4e12314c5a3d4172fb0ae86aa
refs/heads/main
2023-06-16T07:11:27.101017
2021-07-06T10:07:22
2021-07-06T10:07:22
378,103,497
0
0
null
null
null
null
UTF-8
C++
false
false
1,015
cpp
strings.cpp
#include <bits/stdc++.h> using namespace std; //program to count each character in the order they come void count(string s) { int letter[26] = {0}; for (int i = 0; i < s.length(); i++) { letter[s[i] - 'a']++; } for (int i = 0; i < 26; i++) { if (letter[i] > 0) { cout << char(i + 'a') << " " << letter[...
5864178b8ebc4c92c2850e04d7da6e718f0d23af
7f7ab1c74123a6d356b3f0b39e6185cd056e409a
/Innokentiy.ino
5abc0576c345f1eba2b4fa8e878fc53c02925a07
[]
no_license
Andreyyes/Innokentiy
8abeecf6c7017b0ba03cc4797c0229ec03b78f10
14e6a928a8e57895add5c9ed8b0cdbed899ad866
refs/heads/master
2020-03-19T00:41:35.103555
2018-05-31T08:56:36
2018-05-31T08:56:36
135,496,856
0
0
null
null
null
null
UTF-8
C++
false
false
13,783
ino
Innokentiy.ino
#include <Adafruit_NeoPixel.h> #include <SBUS.h> #include <Servo.h> #include <Wire.h> #include "core.h" #include "constants.h" //#include <Thread.h> Servo servoTiltClav; Servo servoTorisonClav; Servo servoManipulator; Servo servoSensor; int servo[4] = {SERV_MID_MANI, SERV_MID_DAT, SERV_MID_TILT, SERV_MID_TORISON}; Ad...
5ba81f126610a135d8f8b0012e0daaf22e028814
c5d4ea4ee10be688c02b26f27b33247b5c0b7dcf
/sources/Utilities/file_save_dispatcher.cpp
666c889ce22b69e6bda3e5c865821cde2b4c2709
[]
no_license
shotaYNU/GraphLibrary
cbac9ee6b4f6b3931b48593d51cd75f28b666a74
047122e8559430c62f60ed8e9cce5c8569d0aa08
refs/heads/panel
2020-06-13T16:56:37.544108
2017-02-12T11:55:41
2017-02-12T11:55:41
75,709,753
0
0
null
2017-02-12T11:55:42
2016-12-06T08:15:06
C++
UTF-8
C++
false
false
543
cpp
file_save_dispatcher.cpp
#include "file_save_dispatcher.hpp" FileSaveDispatcher::FileSaveDispatcher() { saveDirectoryPath = ""; commonName = ""; currentSaveNums = 0; } FileSaveDispatcher::~FileSaveDispatcher() { } void FileSaveDispatcher::save(string _data) { ofstream outfile(saveDirectoryPath + "/" + commonName + to_str...
1d6ef02d09529672b17909b0fd1b6b258f4ef869
b7860e4ce7e9de3c2fa4682392683a39ea3766db
/First idea/articleediteur.cpp
d1e21f3d7b6614cc175cfb110bfa95a2363f407a
[]
no_license
AlexandreMazgaj/Note_Taking_software_using_Qt
3e1f8dc99253d03adb258de68c62777fc4ec6d75
351de1d5398f09c5fab8700d07fb40a810e60093
refs/heads/master
2021-01-19T13:41:47.010942
2018-02-13T21:58:36
2018-02-13T21:58:36
88,101,605
0
0
null
null
null
null
UTF-8
C++
false
false
1,812
cpp
articleediteur.cpp
#include "articleediteur.h" #include <QMessageBox> #include <QObject> ArticleEditeur::ArticleEditeur(Article& a, QWidget* parent): QWidget(parent), article(&a), id(new QLineEdit(this)), titre(new QLineEdit(this)), text(new QTextEdit(this)), save(new QPushButton("Sauvegarder", this)), idl(ne...
7465ae5bf37c77ae8839685caa5e3b456a6a9beb
4f6b88956b5bc3caaa6d9d7a72e0605495b61e7f
/teekkarinSekoiluSeikkailut/UI/handlers/Lautaset.cpp
45a0e18370cf7376a6826c0494c4d8fdaf57df4b
[]
no_license
Temez1/ohj3-projekti
0d39a3c2ad4e44ab92f86c84ddee3867673167f0
d0ad2f02f85b511cbbe32ea2441e64daef4f2834
refs/heads/master
2023-02-09T17:17:35.943653
2020-11-25T12:07:05
2020-11-25T12:07:05
326,271,462
0
0
null
null
null
null
UTF-8
C++
false
false
1,379
cpp
Lautaset.cpp
#include "Lautaset.h" #include <QDebug> Lautaset::Lautaset(int lautasetPadding, QWidget *parent): QWidget(parent), PADDING_(lautasetPadding) { } void Lautaset::init(int lautanenAmount, Player *player) { LAUTANEN_AMOUNT_ = lautanenAmount; for (int i = 0; i < lautanenAmount; ++i) { auto lauta...
7452e905ccc354afa1eebee086cbc6c22f773767
4b7f47a3323310d2bdd8585f5124f6dffcedf40c
/F405_Main/Application/DSP/Reverb/Reverb.cpp
96bb8b137546b4f5da51daa5848387cfb61e5b03
[ "MIT" ]
permissive
cracked-machine/DSPGuitarPedalF405
a270b8063a916e8c457c1bef74d357e787cd36a6
f8937a43fe054b455ed671d093122ecb774fa08d
refs/heads/main
2023-06-21T08:49:38.129590
2021-07-26T09:36:30
2021-07-26T09:36:30
357,000,574
0
0
null
null
null
null
UTF-8
C++
false
false
3,799
cpp
Reverb.cpp
/* * Reverb.cpp * * Created on: Apr 20, 2021 * Author: chris */ #include <Reverb.hpp> BasicReverb::BasicReverb() { // Create the reverb buffers. Should only be done once at system startup combfilter1 = new(std::nothrow) IIRCombFilter(3460*2, 0.805, 1.0f); combfilter2 = new(std::nothrow) IIRCombFilter(...
8da3408f239c9a2a5ce3662ff3a9a17055fc7f90
55fb5383a3a8648d0329b1f5694ccefe72303757
/GKp/AbstractGameObject.cpp
b5cac6e7c74487a8ff06998ea7b3ec9660fa3129
[]
no_license
benq95/SimpleGameEngine
c4f2527066b93f7cf1a29212589445e4354d85fd
73ab6a5385dd2a864170c43e602a824944a22008
refs/heads/master
2021-06-28T13:07:54.907244
2017-09-15T21:40:32
2017-09-15T21:40:32
103,693,372
0
0
null
null
null
null
UTF-8
C++
false
false
147
cpp
AbstractGameObject.cpp
#include "stdafx.h" #include "AbstractGameObject.h" AbstractGameObject::AbstractGameObject() { } AbstractGameObject::~AbstractGameObject() { }
805c4d7555b3a3e745cb05551617726762007b18
628ff7ae915be87ac91f0c4ef92ee66b0cf5c58b
/1197050014_Andi Malia Fadilah Bahari_MODUL3_contoh 1.cpp
0082269a40f77af72a573d2f01fea1e9a37c4ff8
[]
no_license
andimaliaAMFB/Algoritma-dan-Pemrograman
9af48d21fc701defd184cd7b072e725d62bed2cd
d149b81c933c1035fb6e28ca2e0967214be5d571
refs/heads/main
2023-02-26T00:57:07.807776
2021-01-30T07:09:03
2021-01-30T07:09:03
334,350,874
0
0
null
null
null
null
UTF-8
C++
false
false
159
cpp
1197050014_Andi Malia Fadilah Bahari_MODUL3_contoh 1.cpp
/*MODUL 3 Contoh 1*/ #include<stdio.h> main() { int i; for(i=1;i<=10;i++) printf("%d. Halo, Selamat belajar, Aku yakin Aku pasti bisa...\n",i); }
264d47be0337632c703089d11146421a88fd4890
24df79b5d1b72963c345b2ae75712a1a3c1dbbc6
/Classes/System/novel.h
6d5961b3bbcf48cbbe924ff053edb720f22a8f39
[]
no_license
ugonight/rifujin2
d7a65128d937e4d0e0f8cd0442d05af3f8e20eb9
6deba35a6fefceea77c18e255fe33364431aea12
refs/heads/master
2021-01-19T19:26:47.282959
2020-03-31T13:06:33
2020-03-31T13:06:33
88,414,600
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
4,041
h
novel.h
#pragma once #pragma execution_character_set("utf-8") #include "cocos2d.h" #define MAX_BRANCH 20 // 無理っぽいので既読スキップ封印 #define USE_ALREADY false // SetStringでメモリリークしてるんじゃね疑惑 #define USE_SETSTRING false class Novel : public cocos2d::Layer { private: enum ImagePos { IMG_NONE, IMG_BG, IMG_CENTER, IMG_LEFT, IM...
2a93c70a9f6c5bd6d09cfba90064e374372b0e82
e4be62d127ecb6180b018dc8ba5ad2e4182f59a3
/homework_day3/test.cpp
61cc2c7e2cdd7e8665c6dc302b8eb8ab945693d6
[]
no_license
lixuhui123/c-plus-homework3
4e2f1bfcdbbaaaa1d43e5ce94d06f7c0a0ed13d9
1636aae78ac234325c8cd657f979ce99e2aabadc
refs/heads/master
2020-07-17T08:05:47.994117
2019-10-07T15:35:40
2019-10-07T15:35:40
205,979,917
0
0
null
null
null
null
GB18030
C++
false
false
2,804
cpp
test.cpp
/* 1、声明一个扑克牌类,拥有方法:传入花色和点数生成扑克牌、打印扑克牌。 2、声明一个玩家类,每人拥有18张扑克牌。拥有方法:增加手牌(摸牌)、展示手牌,其中展示手牌要求降序排序展示。 完成程序: 1、随机生成18张扑克牌,当做一个玩家的手牌。 2、用184张不同的扑克牌构成牌堆,发给3个玩家。 */ #include <iostream> #include <cstring> #include <cstdio> #include <cstdlib> #include <ctime> #include <windows.h> using namespace std; enum { SPADES, HEARTS, CLUB...
f1d81af9b99bbf198886c9fb0b783b696b91ebb0
5d83739af703fb400857cecc69aadaf02e07f8d1
/Archive2/b0/325ddb1d0396ee/main.cpp
1f000c3999b2734677cae7fba95716c926ff2d6e
[]
no_license
WhiZTiM/coliru
3a6c4c0bdac566d1aa1c21818118ba70479b0f40
2c72c048846c082f943e6c7f9fa8d94aee76979f
refs/heads/master
2021-01-01T05:10:33.812560
2015-08-24T19:09:22
2015-08-24T19:09:22
56,789,706
3
0
null
null
null
null
UTF-8
C++
false
false
1,114
cpp
main.cpp
#include <type_traits> #include <cassert> template<bool... Bools> struct any_of : public std::false_type { }; template<bool... Bools> struct any_of<true, Bools...> : public std::true_type { }; template<bool... Bools> struct any_of<false, Bools...> : public any_of<Bools...> { }; template<typename, typename = class d...
c396e6553aa6f9865ebb77bb526850bfd89a1bce
51f31cc36dae754f77b560c5aec206d016ee374e
/PocketMoneyCalculator/PocketMoneyCalculator.cpp
1640b8788c685852e06f402cf22ae123596cf5f5
[]
no_license
DehSheepie/Pocket-Money-Calculator
b94579d0957ae52e1ac93a7238d57f1de0cc4973
d81e84e085d6df614370d05135b1a99e1332a7e5
refs/heads/main
2023-01-12T06:50:45.495841
2020-11-13T00:27:01
2020-11-13T00:27:01
309,187,782
0
0
null
null
null
null
UTF-8
C++
false
false
3,760
cpp
PocketMoneyCalculator.cpp
#include <iostream> // std::cout, std::endl #include <fstream> // std::fstream #include <string> // std::getline #include <iomanip> // std::setw std::string filename = "money.dat"; bool CheckStringValid(std::string s) { if (s == "") { std::cout << "Please enter a value." << std::endl; return false; } try...
e86644c337f601e936e9388dce79026b92f0b30c
b67044ae73272f81819304a9736d49c9727e868f
/OriginalPlan/.svn/pristine/79/79db2d94799f45222b653be86db8719bfa0174a8.svn-base
17b06abb6202ad1a3c3b20b564154c546314d04c
[]
no_license
bagua0301/red_slg
5b16ab66354c552ab2066fc95effaca2a9a56535
50c48cbdfeb4ba373d2f9040c9b4c9e609e3b9cb
refs/heads/master
2023-06-17T21:39:15.730529
2020-05-23T10:29:07
2020-05-23T10:29:07
null
0
0
null
null
null
null
GB18030
C++
false
false
3,772
79db2d94799f45222b653be86db8719bfa0174a8.svn-base
#include "core/debug.h" #include "script_engine.h" #include "role.h" #include "mod_bag.h" #include "role_manager.h" #include "announcement_tbl.h" #include "announcement.h" #include "map_server.h" #include "map_server_instance.h" #include "map_server_data.h" #include "script_bind_func.h" // 得到所有玩家 typedef std::vector<...
ba6079458e8389f0bb607a8d4268bb2c7356090d
1e60d6046b033dd08e5be58e4027c4daf8ab6075
/Assignment.cpp
8faa0681729beda69a535631837e30624c4436b8
[]
no_license
aafshinfard/prevSV
da82fe915b480a20aeba88252254a6069c522f2e
62da38e445eac3097bf3e274df6eff67fb9ec8e8
refs/heads/master
2022-05-19T05:32:36.529029
2018-01-14T13:08:30
2018-01-14T13:08:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
171,024
cpp
Assignment.cpp
///* // * finalModule.cpp // * // * Created on: Mar 27, 2015 // * Author: amin // */ //#include "Assignment.h" //Assignment::Assignment(iRead* reads, vector<interval>* iDepth, vector<gene>* genes, vector<iReadNext>* readsNext, int V, int myNumberOfThread, int partLength, string firstOutputName, int shift, int...
4958785e176b22da6889b138d2c8ce87c0e123c5
8b670fed6f65ebc8510d209153257d142c159ce4
/Day-13_RemoveKDigits.cpp
ab6f78a2f4ea4fbfc989b1a122e073e5847cee53
[]
no_license
MadhurendraTripathy/LeetCode_May_2020_30_Day_Challenge
e89f65220fe11299726fc130ab259154a69a9908
8bd613965a23063e5d11afa1b8c8fc4f594b598c
refs/heads/master
2022-11-09T08:35:56.493476
2020-06-17T17:46:59
2020-06-17T17:46:59
260,434,104
0
0
null
null
null
null
UTF-8
C++
false
false
1,000
cpp
Day-13_RemoveKDigits.cpp
class Solution { public: string removeKdigits(string num, int k) { int n = num.length(); if(n==k)return "0"; stack<char> st; for(char c : num){ while(k>0 && !st.empty() && int(st.top())>int(c)){ st.pop(); k--; ...
02a693d242608f3205e1d4baa5fc8e9e2fbb314a
b45734f5796d8909d61a975de21b7ce2cd63e53f
/SE_Expert/SE_문자열교집합.cpp
7a789ddbbab5b7ed3fba8d8360eb9ffdcf19d67c
[]
no_license
EuiSeong-Moon/Algorithm
0b6f95e1ec4ea164c7e5c5c4dd4ca015a3ce474e
2a6f2867f24bb672b80d3038c8bd5e5bfdfd140e
refs/heads/master
2022-09-13T08:25:35.495115
2022-08-30T14:51:47
2022-08-30T14:51:47
107,673,760
0
0
null
null
null
null
UTF-8
C++
false
false
529
cpp
SE_문자열교집합.cpp
#include <iostream> #include <string> #include <vector> #include <unordered_set> using namespace std; int main(void) { string a, b; int test = 0,count=0; cin >> test; for (int i = 0; i < test; i++) { count = 0; unordered_set<string> s; //hash_set<string>::iterator k; int m, n; cin >> m >> n; for (int...
ae18d322f0a0acf9bc91ec6c3bec1281d293b2fc
6229b84c47856cc48ff6307448e10b9ac12bde45
/Contest/NEERC/2008-2009 Southern/pC.cpp
33dcd3d730ec4efa7ae9329038c59756b50e22a6
[]
no_license
ltf0501/NoName
d7498adfbc3b37ebc4408ee9480b2746e250784b
ee2f9d303892cbb3a1d47c89dda47f86dd41a986
refs/heads/master
2021-06-29T23:02:15.509131
2020-11-06T06:48:13
2020-11-06T06:48:13
187,497,633
4
1
null
null
null
null
UTF-8
C++
false
false
2,545
cpp
pC.cpp
#include <utility> #include <stdio.h> #include <algorithm> #include <vector> using namespace std; #define PB push_back #define F first #define S second const int N=3e5+10; int a[N<<2],f[N<<2]; void init(int n,int l,int r){ a[n]=f[n]=0; if(r>l){ int mid=(l+r)>>1; init(n*2+1,l,mid); init(n*2+2,mid+1,r); } retur...
ef5eb7b8e5e45a7f521c21293487dfba094b391a
1adb72922febf3bfc73751780cbcc2ebafd4a2c8
/DayNhauHocCPlusPlusSource/Mang2C.cpp
58dd7c35da35e4ff834ae6cfac7d0c15c5c37c68
[]
no_license
nguyenhoangvannha/01_Study_CPlusPlus
6c7fe737ef3d6a744282add856fe88d490542490
51a8f642403aef0fe34ccd2e250ece1f7dfd93c3
refs/heads/master
2021-01-19T23:53:12.831504
2017-04-22T05:46:02
2017-04-22T05:46:02
88,943,184
0
0
null
null
null
null
UTF-8
C++
false
false
259
cpp
Mang2C.cpp
#include "iostream" #include "string" using namespace std; void main() { int A[3][3] = { {1,2,3},{4,5,6},{7,8,9} }; int B[3][3] = { 0 }; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) cout << B[i][j]; cout << endl; } system("pause"); }
cc2652536be7f9065d8737b2bdb493ed2d672d8d
969a11fafff2fb44e2be8b397de2599e01a719e1
/experiments/hashes/src/main.cpp
bd76c60348f83066b9483c4f7c251abca192e1f6
[]
no_license
jeweg/jaws
6b2ff55a3d1acd3261f25027cb079b1fa2087b58
33cb7595777d0fc30d46593e9a79ad785ab68e0d
refs/heads/master
2022-12-11T01:45:07.788484
2020-09-11T14:09:18
2020-09-11T14:09:18
213,950,809
0
0
null
null
null
null
UTF-8
C++
false
false
3,011
cpp
main.cpp
#include "jaws/jaws.hpp" #include "celero\Celero.h" #include "xxhash/xxhash.hpp" #include "xxhash/xxhash_cx.h" #include <utility> // std::hash #include <string> #include <unordered_map> // Here I'm experimenting with xxHash. jaws::LoggerPtr logger; #if 0 using namespace std::literals::string_literals; auto foo(int ...
353dea1ce42fd6870b79f7db406e75e833d12d2a
63a36f50b8bd2ab48d8b6adff4cce712cc7d69d9
/collisiondetection-backup/collisiondetection/trianglecollisiondetection.cpp
f1a0cae14ce450fda8f66e20e9d3d601dd072c64
[]
no_license
7zhang/learn-story
ec21d58ce754ae837e48a55cd2adaeee36ac3200
820602e17e7c6fc430d192b3023a37c261b73b0a
refs/heads/master
2021-01-16T19:31:17.683901
2013-06-01T11:54:50
2013-06-01T11:54:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,896
cpp
trianglecollisiondetection.cpp
#include "trianglecollisiondetection.h" bool trianglecollisiondetection(triangle &t1, triangle &t2, long &n1, long &n2) { vector3d diff11; vector3d diff21; vector3d diff31; vectorminus(t1.vertex1, t2.vertex1, diff11); vectorminus(t1.vertex2, t2.vertex1, diff21); vectorminus(t1.vertex3, t2.vertex1, diff31); flo...
8302e5b6c745155c2aa090e8dac2caed2812f1c0
e993c53e4e1a52acc8279129c67feb0d3a1b9cbc
/catkin_ws/src/o2as_phoxi_camera/src/main.cpp
df869636e64f306a919517ae9b8d25311605d277
[ "MIT" ]
permissive
DevwratJoshi/ur-o2as
134ec87d371a7d9f9b64cbeb4030b23cf114812d
265249c27908a79a301014168394db0c0dc2204c
refs/heads/master
2021-01-03T16:03:57.344339
2020-02-17T03:58:39
2020-02-17T03:58:39
240,143,319
0
0
MIT
2020-02-13T00:21:52
2020-02-13T00:21:51
null
UTF-8
C++
false
false
29,641
cpp
main.cpp
/*! * \file main.cpp */ #include <string> #include <array> #include <limits> #include <mutex> #include <ros/ros.h> #include <ros/package.h> #include <std_srvs/Trigger.h> #include <sensor_msgs/PointCloud2.h> #include <sensor_msgs/point_cloud2_iterator.h> #include <sensor_msgs/Image.h> #include <sensor_msgs/image_enc...
e60ee96ad22dcda3cabbaecc1271a9ca06742d5d
f8073b6efaa1aa31d7bc75f774f2db86d2be395e
/CS1C Class Project/database.cpp
69e94327ba74784d41bd8894f3e4f2ad75ea7528
[]
no_license
matt-c-clark/Bulk-Club
c2ff57fba5cccdf509990b5beb22edd4c338dfcf
5fb30b64ebd8c6897181519bcfcba6c904bc4566
refs/heads/master
2016-09-06T18:27:19.299554
2014-05-15T17:04:16
2014-05-15T17:04:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,458
cpp
database.cpp
/************************************************************************** * AUTHOR : Matt Clark & Nate Bailey * Class Project: Bulk Club * CLASS : CS1C * SECTION : TTh: 8:30AM - 9:50AM * Due Date : 5/15/2014 *************************************************************************/ ...
482846ebaadc1b526f2d999883b7ce9c189909cf
b82d26342fed6f0b6877cebf91f524c7a47a592d
/Hmwk/Assignment_2/Gaddis_9thEd_Chap3_Prob10_Temp/Assignment 2 Problem 4/main.cpp
22871403b0c82b77617d37537e3993d33077fe9d
[]
no_license
ac2731952/CanoAlan_CIS5_46732
19140a82de69c67205e982daf4e3e3fcb597115b
627ad6af7acbb55eaa3f2b1fdebbbcfc9c3b5fb6
refs/heads/master
2022-11-25T21:20:38.823177
2020-08-02T07:05:03
2020-08-02T07:05:03
274,961,261
0
0
null
null
null
null
UTF-8
C++
false
false
984
cpp
main.cpp
/* * File: main.cpp * Author: Alan Cano * Created on July 2, 2020, 3:48 PM * Purpose: Temperature */ //System Libraries #include <iostream> //Input/Output Library #include <iomanip> using namespace std; //User Libraries //Global Constants, no Global Variables are allowed //Math/Physics/Conversions/Higher D...
6ce73a5b1c572e59f6602c99b6de8aa06a12bba2
571d541b705ab17ce7c605331923749445032cb1
/examples/DemoLinearLed/DemoLinearLed.ino
8c4c23909e0d3dfc3773de83745fcfef7bfa21d5
[ "MIT" ]
permissive
koettbulle/LinearLed
86fa92ee849f9dd75d63edddd8d94d3fd152b031
3f474351b2a3c409d965b7cb8877696d770261a1
refs/heads/master
2021-09-18T19:22:44.627817
2017-01-15T17:21:42
2017-01-15T17:21:42
79,044,107
0
0
MIT
2018-07-18T11:52:41
2017-01-15T16:23:11
C++
UTF-8
C++
false
false
1,629
ino
DemoLinearLed.ino
/* Name: DemoLinearLed.ino Author: Mattias Alnervik Editor: http://www.visualmicro.com */ #include "LinearLedLib.h" byte serIn; int brightness = 0; linearLed myLed(13); //Built in LED, without support for 10 bit mode linearLed myOtherLed(9); //Pin with support for 10 bit mode. void setup() { Serial.b...
4b33893ba3dadae0748b133bcd756dbc05766b64
8d769392c7e600364afaadd689d147b5fad73fa7
/src/coroutine/co2/buffer/buffer.h
ae9fa6b12d7c61207d7747d04caaea7875eeba5e
[]
no_license
P79N6A/dp
15452e97eb5fbadc64eae97824dbc664fffc8a21
678f69424a876f7f3e2f9567cffe7fb44582f28f
refs/heads/master
2021-06-09T16:41:47.654789
2016-12-30T10:00:26
2016-12-30T10:00:26
198,253,216
0
0
null
null
null
null
UTF-8
C++
false
false
2,163
h
buffer.h
/* * buffer.h * Created on: 2016-12-13 */ #ifndef CO2_BUFFER_BUFFER_H_ #define CO2_BUFFER_BUFFER_H_ #include <string> namespace co2 { namespace buffer { struct buffer_ { struct buffer_ *next; char *buf; int beg; /* cyclic queue */ int end; int size; }; struct buffer_bloc...
e8a623093118127e34035fba097d0601daffb416
95efaa256914926ac30acbb1a8c89c320c19bf40
/HeGui/HSpecCalibrateHandler.h
7373e880d85ad4fb3d403c52a298dfd5b172c1cf
[]
no_license
mabo0001/QtCode
bc2d80446a160d97b4034fa1c068324ba939cb20
9038f05da33c870c1e9808791f03467dcc19a4ab
refs/heads/master
2022-08-26T13:36:14.021944
2019-07-15T01:12:51
2019-07-15T01:12:51
266,298,758
1
0
null
2020-05-23T08:54:08
2020-05-23T08:54:07
null
UTF-8
C++
false
false
910
h
HSpecCalibrateHandler.h
/*************************************************************************************************** ** 2019-04-25 HSpecCalibrateHandler 光谱定标处理者类。 ***************************************************************************************************/ #ifndef HSPECCALIBRATEHANDLER_H #define HSPECCALIBRATEHANDLER_H ...
6cf90e4bc9ecaa3a64cd227d6dd9b3aa1c3e17eb
d4c005c3bbf8159ff07d3c039ae84df06a4132b9
/tools/serializable.hpp
375b4842b6b9db38559e044cd1bdc18e74d12eb9
[]
no_license
JusticeHamster/RayTracingDemo
28035921c6f0aa2734e6205511a69b13d67e9234
4e48ec10360ac69daf8c04bacc9df1a2687a6f53
refs/heads/master
2020-05-01T09:00:39.716238
2019-06-20T13:18:15
2019-06-20T13:18:15
177,390,173
0
0
null
null
null
null
UTF-8
C++
false
false
926
hpp
serializable.hpp
#ifndef SERIALIZABLE_HPP #define SERIALIZABLE_HPP #include "glm/glm.hpp" #include <vector> #include <string> using buffer_value_type = unsigned char; using buffer = std::vector<buffer_value_type>; class serializable { protected: virtual buffer _serialize() const = 0; public: bool need_serialize = true; ...
b78fa4d89d5bd5f7543984023c04b8a5452d1893
e311ed0128cb849ce1d73d08c8535d3f504142be
/Orbitersdk/Simpit/Simpit/HookObserver.h
398ce138a962c32b4deb5b59f964829c8f262d45
[ "MIT" ]
permissive
MarcLT/simpit-controller
e31808ede3155648e1e36d6dce2397cf2c232eec
ff42117334f74ebebdd470aaaa0fab462bb13e56
refs/heads/master
2020-12-25T12:57:24.038309
2014-02-08T20:27:37
2014-02-08T20:27:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
479
h
HookObserver.h
//Copyright (c) 2013 Christopher Johnstone(meson800) //The MIT License - See ../../../LICENSE for more info #ifndef HOOK_OBSERVER #define HOOK_OBSERVER #include "PanelClickRecorderOutput.h" class PanelClickRecorderOutput; extern class HookObserver { public: HookObserver() {} void h_handlePanelMouseEvent(int id, i...
e84e028e6162913eaa32aa46f4333a6456ceda28
e68f66423c08de1cbbca882feba3c77229a82ae7
/QuaRouAfrica10/ProbB/ProbB.cpp
4090bfe8d796f91897cd53aad08d78256db8d24b
[]
no_license
Anmol2307/GoogleCodeJam
b61fac1aa8f56a035d0315c40e52486aff9bfa80
5b76a96525a4edc3a8bbee971a222409f21161ff
refs/heads/master
2020-05-18T17:03:23.694695
2015-01-11T07:20:56
2015-01-11T07:20:56
24,712,505
0
0
null
null
null
null
UTF-8
C++
false
false
718
cpp
ProbB.cpp
#include <bits/stdc++.h> using namespace std; inline void inp(int &n ) {//fast input function n=0; int ch=getchar(),sign=1; while( ch < '0' || ch > '9' ){if(ch=='-')sign=-1; ch=getchar();} while( ch >= '0' && ch <= '9' ) n=(n<<3)+(n<<1)+ ch-'0', ch=getchar(); n=n*sign; } int main () { i...
6bb9d1d7a5e09cafe965708c60eabcbccf61ce1d
12a009b1cb865dcef1b8c25d319d91883f1e8050
/JNP5/virus_genealogy.h
42003f9884edaa999572077387ddfcc41706df28
[]
no_license
Tommalla/JNP2013
ed803ec27e4a3630ebd7a42801ee903bb95c7ec0
d8175bd79691c5848e417c7f6b2ff8832664fded
refs/heads/master
2021-01-22T02:34:00.403483
2014-09-07T14:34:23
2014-09-07T14:34:23
13,450,656
0
1
null
null
null
null
UTF-8
C++
false
false
5,129
h
virus_genealogy.h
#ifndef VIRUS_GENEALOGY_H #define VIRUS_GENEALOGY_H #include <exception> #include <map> #include <set> #include <memory> #include <vector> #include <cstdio> //using std::exception; using std::map; using std::set; using std::shared_ptr; using std::weak_ptr; using std::vector; class VirusAlreadyCreated : public std::ex...
d2f8b7d4f226d54b5c4b46dce1af629501f1ac95
4e67c062d9edce8f5dccc122774150bc1ea5ade0
/content.json
ae7d88c6357553e91f4e11d41bfb3034a3a213cb
[]
no_license
sukioosuke/sukioosuke.github.io
5756dcf013c0fc0fed0649acb8239d274dc75088
4152ef43732862ee74f643b750dd48ec09830482
refs/heads/master
2020-04-16T12:58:18.918931
2019-07-26T11:04:58
2019-07-26T11:04:58
93,045,175
0
0
null
null
null
null
UTF-8
C++
false
false
31,274
json
content.json
{"meta":{"title":"Suki's Blog","subtitle":null,"description":null,"author":"Suki","url":"https://sukioosuke.github.io"},"posts":[{"title":"样本量大小的确定","slug":"statistics-sample-size","date":"2019-07-25T06:33:40.000Z","updated":"2019-07-26T11:03:41.711Z","comments":true,"path":"2019/07/25/statistics-sample-size/","link":"...
b9794e622fa4f98d9f6b771c44a1df3ba0185dd0
f7fb699e3ba3704ee2d09743816f01bf7b3d356c
/examples/example.cc
1ab70b0719456f83ce9838c56d92afcd8db80712
[]
no_license
leque/esexpr
00ff64e45eeff0f8c49d946f27eeff55bc82d110
063ca0c30447d1c3524e10c2bb743398b1626d26
refs/heads/master
2021-01-01T05:25:12.980363
2016-04-30T16:40:26
2016-05-05T09:38:37
58,123,462
0
0
null
null
null
null
UTF-8
C++
false
false
5,849
cc
example.cc
#include <cstdint> #include <cstring> #include <iostream> #include <limits> #include <stdexcept> #include <string> #include <pegtl.hh> #include <pegtl/file_parser.hh> #include <esexpr.hh> using namespace std; enum number_type { integer_type, float_type }; struct esexpr_number { esexpr_number(int_least32_t n) :...
086323fc11bd29ece958dd975ab140b1e989219e
00d122af11e7fd13e285266a1c57c5e72a02ca69
/Layer.cpp
37b0deb1fbbd8c8ef3afed5e9d08ac713ca9818c
[]
no_license
Gincral/3DBouncingBallGames
ff4dbc76568eeac2feaeecbea25b2581e3681d66
e462018d6d07bc1fc8a8a83afe63caa78fc0e40c
refs/heads/master
2020-04-16T00:26:48.407322
2019-01-10T22:19:55
2019-01-10T22:19:55
165,138,679
0
0
null
null
null
null
UTF-8
C++
false
false
1,678
cpp
Layer.cpp
#include "Layer.hpp" //extern Camera myCamera; //extern Light myLight; Layer::Layer() { radius = 0.4; height = 0.1; S = 1.5; x = 0.0; y = 0.0; angle = 0.0; angle_stepsize = 0.001; } void Layer::draw(GLfloat DEGREE, GLfloat anBegin, GLfloat anEnd, GLint R, GLint G, GLint B, GLfloat H) { DEGREE...
8daf6df3caa85954186787fc770931f95874734f
a4d01c52c14e7f5046508fdd3c4a916db7b91e8a
/loopPrac.cpp
e536e555c5aa7f47547b1a863a41f9946aff6740
[]
no_license
karthikarun172/C_Practice
74a3504ec5ccc95e4287dc78cacd7a7a4f98b586
c6d38f2df21ce3c2ab7bc9e8d19901e4738baf95
refs/heads/master
2022-12-15T11:43:40.655917
2020-09-16T02:43:38
2020-09-16T02:43:38
289,156,246
1
0
null
null
null
null
UTF-8
C++
false
false
1,050
cpp
loopPrac.cpp
#include <iostream> #include <string> #include <cmath> #include <vector> #include <algorithm> using namespace std; int sumOfNumbers(int y) { int x, sum = 0; for (x = 1; x < y + 1; x++) { cout << x << " "; sum = sum + x; } return sum; } void PrimeNumber(int x) { int count = 0...
5b5ad80e710a4d8ca857e3dbf6fe307588bff786
8f50c262f89d3dc4f15f2f67eb76e686b8f808f5
/Trigger/TrigEvent/TrigNavigation/src/test.cxx
0a9ff7272bb981924d96a78e694b27c1fd583897
[ "Apache-2.0" ]
permissive
strigazi/athena
2d099e6aab4a94ab8b636ae681736da4e13ac5c9
354f92551294f7be678aebcd7b9d67d2c4448176
refs/heads/master
2022-12-09T02:05:30.632208
2020-09-03T14:03:18
2020-09-03T14:03:18
292,587,480
0
1
null
null
null
null
UTF-8
C++
false
false
469
cxx
test.cxx
/* Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ /* */ /** * @file TrigNavigation/src/test.cxx * @author scott snyder <snyder@bnl.gov> * @date Nov, 2018 * @brief Unit test helper. */ #include "TrigNavigation/TestTypesB.h" // Make sure this library includes typeinfo information fo...
9a73beac11c13de21dda608c8ef74d084703a392
b118951228f0a12e93ac7faa638be454ec72f868
/codeforces/A/801A-Vicious Keyboard.cpp
d2c9739800f232f08c41f2c4ff0625e1178b320e
[]
no_license
hpotter97762/CP
372ef86ae34a1bb79d87df3192764eb716aae281
ccc97a6eb13fba067012edc02aebf7e0fffb0005
refs/heads/master
2020-03-27T03:54:28.637113
2019-09-23T11:53:11
2019-09-23T11:53:11
145,897,937
0
0
null
2019-09-23T11:53:55
2018-08-23T19:26:10
C++
UTF-8
C++
false
false
506
cpp
801A-Vicious Keyboard.cpp
#include<iostream> #include<string> using namespace std; int main(){ std::ios::sync_with_stdio(false); cin.tie(NULL); string s; cin>>s; int count=0,flag=0; for(int i=0;i<s.size()-1;i++){ if(s[i]=='V'&&s[i+1]=='K') count++,++i; else if(s[i+1]=='V'&&s[i+2]=='K'&&i+2<s....
6ff3f7e0393358e3340fc486a73f35e6219f2c25
f6c47adf5c567e7dcf0925d4b9404a92d39cc7da
/js/src/JsScriptNodeObjectInitialiser.cpp
5a44889a4075f0c5fb7dbf6b642ce4e47670e450
[]
no_license
watsonjiang/pth_test
386ba652218fad84824894d3d93cfca0d3f6d923
5ab8b916e87ab5a9c1e716d41d65aa7a907d004b
refs/heads/master
2021-01-23T13:22:48.455467
2016-12-24T11:29:36
2016-12-24T11:29:36
15,836,012
0
0
null
null
null
null
UTF-8
C++
false
false
3,852
cpp
JsScriptNodeObjectInitialiser.cpp
#include "JsScriptNodeObjectInitialiser.h" #include "JsScriptObjectArray.h" #include "JsScriptReferenceError.h" #include "JsScriptScanner.h" #include "JsScriptTypeError.h" #include "JsScriptUserDefinedException.h" using namespace Js; ScriptNodeObjectInitialiser::ScriptNodeObjectInitialiser( const ScriptString* th...
82e0c061905bfd58b99a043ef5fdcd6634d456d0
77e87925f6ae46fc10834345e88ba4f44e93a6bf
/simulation/g4simulation/g4jets/Jetv1.h
84163dc00db7e2f8f62db5103f50a8cbe85ac0cf
[]
no_license
MQChen211/coresoftware
3ac496b68d65624fc655acc885dd1f6687bfaf35
0d5bab754cb68a3c858c4a3b6dcd13d9f1634128
refs/heads/master
2020-06-27T09:33:45.508795
2019-07-31T17:15:28
2019-07-31T17:15:28
199,913,527
1
0
null
2019-07-31T19:02:48
2019-07-31T19:02:48
null
UTF-8
C++
false
false
3,222
h
Jetv1.h
/*! * \file Jetv1.h * \brief Versionize the Jet object that make by Mike McCumber * \author Jin Huang <jhuang@bnl.gov> * \version $Revision: $ * \date $Date: $ */ #ifndef G4JET_JETV1_H #define G4JET_JETV1_H #include "Jet.h" #include <cstddef> // for size_t #include <iostream> #include <map> #include...