blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2fcb85b902726b94e9c45453433b40ae19645729 | e933cbc6697a5ff43988ce206ea7d66d9688dd62 | /build-102022111_final_project_angry_jump-Desktop_Qt_5_4_1_MinGW_32bit-Debug/debug/moc_thank_you.cpp | f46acd9162551cd6ea74d5bcbd72ab7da6fd0532 | [
"Apache-2.0"
] | permissive | zelzhang/qt-game-project-angry-jump | c4bf75b3727363928baa96d17061b73e19801d12 | 9a029baa797c5a033e6e67a7eeef48b0b9bdc223 | refs/heads/master | 2021-01-21T02:11:28.655964 | 2016-06-08T15:41:39 | 2016-06-08T15:41:39 | 60,707,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,594 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'thank_you.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.1)
**
** WARNING! All changes made in this file will be lost!
***********************************************************... | [
"chaomin.ryan@gmail.com"
] | chaomin.ryan@gmail.com |
7259b6751fe2ae1d3ca9d9f4b3fd311629a88a0a | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir521/dir3871/dir5864/dir6285/dir6632/file7235.cpp | 6c8170267516a44fe33109ab09144727e441c272 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | cpp | #ifndef file7235
#error "macro file7235 must be defined"
#endif
static const char* file7235String = "file7235"; | [
"tgeng@google.com"
] | tgeng@google.com |
66488fec2528a710940126ee1e9037eedef09c57 | 44f47684236454cf7bb0bb15f27ceaae22022b40 | /gklib/otd_proto_medium.cpp | 1f34b5cb8bedd1f38ace278afa8f0cdf204eff8a | [] | no_license | icprog/cpc152 | 4313b4714b124682ef335d7d6e2619ea1d727ae1 | b6a4063c044349e438f77491d4f600d2046069ab | refs/heads/master | 2020-04-04T15:46:13.041474 | 2018-08-29T15:47:02 | 2018-08-29T15:47:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,178 | cpp | #ifdef __WIN32__
#include <ke_defs.h>
#include <otd_addr.h>
#include <otdm_proto.h>
#else
#include <gklib/otdm_proto.h>
#endif
union multi_ptr
{
LPVOID v_ptr;
LPBYTE b_ptr;
LPWORD w_ptr;
LPDWORD dw_ptr;
float * float_ptr;
__int64 * int64_ptr;
lpotd_param_addr addr_ptr;
};
DWORD ... | [
"dostap@debian"
] | dostap@debian |
18f136e6c8ab5061ffd2a1af5aaf946ebd36a2f1 | 94a1ae89fa4fac16b3d2a6c56ca678d6c8af668a | /include/ircd/fs/aio.h | 033a2f7f69ae1945d02a52e2c6aaa0c201a88772 | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | matrix-construct/construct | 99d677d0c2254cac2176d80690bbfd02b18a8658 | 0624b69246878da592d3f5c2c3737ad0b5ff6277 | refs/heads/master | 2023-05-28T12:16:23.661446 | 2023-04-28T05:33:46 | 2023-05-01T19:45:37 | 147,328,703 | 356 | 41 | NOASSERTION | 2022-07-22T03:45:21 | 2018-09-04T10:26:23 | C++ | UTF-8 | C++ | false | false | 3,289 | h | // Matrix Construct
//
// Copyright (C) Matrix Construct Developers, Authors & Contributors
// Copyright (C) 2016-2018 Jason Volk <jason@zemos.net>
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice... | [
"jason@zemos.net"
] | jason@zemos.net |
06ee5020a38290f989557f50c2aaa30e32774ef5 | df055d97526e69b8e455a19b99edf0fa7e73457f | /bin/engines/stockfish/stockfish-11-linux/stockfish-11-linux/src/endgame.h | 4642e44857b4ac7500652941f57243ea736e5260 | [
"GPL-3.0-only",
"MIT"
] | permissive | coelho-faminto/chess-cheater | f2ae55f02f33fb67847f29bd7ae67aac290243fb | 98b520a73f2d2b78079fdd1a2ca3e92b31947d82 | refs/heads/master | 2022-12-25T05:20:40.598916 | 2020-07-26T20:51:38 | 2020-07-26T20:51:38 | 281,398,122 | 0 | 0 | MIT | 2022-12-13T08:34:36 | 2020-07-21T12:56:38 | C++ | UTF-8 | C++ | false | false | 3,601 | h | /*
Stockfish, a UCI chess playing engine derived from Glaurung 2.1
Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad
Copyright (C) 2015-2020 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad
Stockfish is free software: you can re... | [
"coelho@nostracasa.org"
] | coelho@nostracasa.org |
bc1fab7378d3d70db4de4c4312a365892cd7b5b2 | 23e4759cfb7507477f78c5c68373748e85eebf97 | /class_notes/w4_servo/w4_servo.ino | 102c1b2cea53c9cb4a644efbb95f62231cedf08d | [] | no_license | abhimanyuvasishth/intro-to-im | 85388f121452c070776bcb474d743ebbc17af50a | 9bacdb528fbe0e2bb2a0cac09e7b6389a46254fc | refs/heads/master | 2021-01-16T00:05:07.509423 | 2016-12-15T10:26:33 | 2016-12-15T10:26:33 | 68,454,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | ino | #include <Servo.h>
Servo myServo;
int potPin = 0;
int val;
void setup() {
// put your setup code here, to run once:
myServo.attach(9);
}
void loop() {
// put your main code here, to run repeatedly:
val = analogRead(potPin);
val = map(val, 0, 1023, 0, 180);
myServo.write(val);
delay(15);
}
| [
"abhimanyu.vasishth@gmail.com"
] | abhimanyu.vasishth@gmail.com |
6636e238f26737a8f0657872e554e7c25db2477e | 678588dc03828db3b00306469940e6b86a41c4eb | /src/OptFlowCpp/cpu_backend/sb_linearsystem/SunBakerLinearOp.h | aa5c26bd90d74c5922f7e0fa5e7180aada9b868a | [] | no_license | Arnizack/opticalFlow | d3d815161d18422a99ce737a7135b06e49774a09 | 14d3f79abfd81e2b8ce360773384494b211003a4 | refs/heads/master | 2021-05-26T09:27:09.247343 | 2020-12-29T16:41:12 | 2020-12-29T16:41:12 | 254,075,717 | 1 | 0 | null | 2020-11-29T19:10:41 | 2020-04-08T12:02:18 | Python | UTF-8 | C++ | false | false | 1,446 | h | #pragma once
#include"core/linalg/ILinearOperator.h"
#include"core/IArray.h"
#include<memory>
#include"../Array.h"
namespace cpu_backend
{
class SunBakerLinearOp final: public core::ILinearOperator<
std::shared_ptr<core::IArray<double, 1>>,
std::shared_ptr<core::IArray<double, 1>>>
{
using PtrGrayImg = std::s... | [
"42911677+Arnizack@users.noreply.github.com"
] | 42911677+Arnizack@users.noreply.github.com |
d1b3d38e66d4c40eddb83d22b9a83ea1e8db93fe | 447be6d71898f33ebbf3b71db8c4fdaaf670bc0b | /source/application/commands/CmdCut.cpp | 1e22c0515f2cfb3ecd438e787d57104be5c4a5b4 | [] | no_license | CST-Modelling-Tools/TonatiuhPP | 35bc1b6f4067364875471a5be99053df01df5883 | 664250e8ef38e7d6dab3ed35d6fab7f732edec19 | refs/heads/master | 2023-04-13T03:12:14.843634 | 2022-08-26T12:09:02 | 2022-08-26T12:09:02 | 380,948,961 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 867 | cpp | #include "CmdCut.h"
#include <Inventor/nodekits/SoBaseKit.h>
#include "tree/SceneTreeModel.h"
#include "kernel/run/InstanceNode.h"
CmdCut::CmdCut(const QModelIndex& index, SoNode*& clipboard, SceneTreeModel* model, QUndoCommand* parent):
QUndoCommand("Cut", parent),
m_clipboard(clipboard),
m_model(model... | [
"v.grigoriev@cyi.ac.cy"
] | v.grigoriev@cyi.ac.cy |
5ac659c5524c139293ea88b61145ab2d25c26964 | da7c499625123f5d1a28e3d75b037523df11ccb5 | /devel/clon/src/clonutil/main/SCCS/s.run_number.cc | 5262550660e7d9910521dca7fb991ccf811c021b | [] | no_license | emuikernel/BDXDaq | 84d947b0a4c0c1799a855dbe6c59e9560a8fc4e2 | cf678d3b71bdfb95996e8b7e97ad3657ef98262f | refs/heads/master | 2021-01-18T07:26:38.855967 | 2015-06-08T15:45:58 | 2015-06-08T15:45:58 | 48,211,085 | 3 | 2 | null | 2015-12-18T02:56:53 | 2015-12-18T02:56:52 | null | UTF-8 | C++ | false | false | 1,849 | cc | h65393
s 00003/00003/00068
d D 1.2 00/08/29 16:39:15 wolin 3 1
c New CC
e
s 00000/00000/00000
d R 1.2 97/11/25 13:37:16 Codemgr 2 1
c SunPro Code Manager data about conflicts, renames, etc...
c Name history : 1 0 libutil/test/run_number.cc
e
s 00071/00000/00000
d D 1.1 97/11/25 13:37:15 wolin 1 0
c
e
u
... | [
"andrea.celentano@ge.infn.it"
] | andrea.celentano@ge.infn.it |
b961713c6931b7fdf13f15225c24b138d0b84177 | 333b58a211c39f7142959040c2d60b69e6b20b47 | /Odyssey/Oos/DdmCpu.cpp | b43e53c9d66be63e4158e3ccc36c10b2a89eb4dd | [] | no_license | JoeAltmaier/Odyssey | d6ef505ade8be3adafa3740f81ed8d03fba3dc1a | 121ea748881526b7787f9106133589c7bd4a9b6d | refs/heads/master | 2020-04-11T08:05:34.474250 | 2015-09-09T20:03:29 | 2015-09-09T20:03:29 | 42,187,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,588 | cpp | #include "DdmCpu.h"
#ifndef WIN32
#include "tc_defs.h"
#endif
#include "BuildSys.h"
#include "Critical.h"
#define ONESEC 1000000
CLASSNAME(DdmCpu, SINGLE);
DEVICENAME(CpuStatistics, DdmCpu::DeviceInitialize);
SERVELOCAL(DdmCpu, REQ_OS_CPU_STATS);
extern "C" int TCD_IDLE_COUNTER;
extern "... | [
"joe.altmaier@sococo.com"
] | joe.altmaier@sococo.com |
db9bde019f9686cdd53948caa77fa7a208aa8aa8 | fb39f72c5325704dc04a13594b7938125569a8f3 | /lib-rdm/src/rdmidentify.cpp | 0c6c7ec14f9560145767286d7ec182c1cc612af5 | [] | no_license | hippyau/rpidmx512 | 3699ec5d1a299876b22f60c2f87ebb98b441c347 | 449eb386281b142dbee7d65c9eecb5a4eb1ce01a | refs/heads/master | 2021-09-10T23:32:13.804337 | 2020-10-09T15:54:21 | 2020-10-09T15:54:21 | 287,152,580 | 1 | 0 | null | 2020-11-08T01:57:46 | 2020-08-13T01:32:01 | null | UTF-8 | C++ | false | false | 1,709 | cpp | /**
* @file rdmidentify.cpp
*
*/
/* Copyright (C) 2018-2020 by Arjan van Vught mailto:info@orangepi-dmx.nl
*
* 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, includ... | [
"Arjan.van.Vught@gmail.com"
] | Arjan.van.Vught@gmail.com |
6a8f5d1d2179525fc277b6449a6f7abac8154cd8 | f121b18f179642a792967baa4f7d6a7e8b1a61cd | /hid/juce_hid.cpp | aaaf2790c94b35033607abbc8fa112765e573c26 | [
"MIT"
] | permissive | martinpavlas/juce_hid | 6670e6ac35340ddadd5ccdab63e37335833d0136 | 8c396e2c79e5bf6ed5543cba9ac7f231e30a3511 | refs/heads/master | 2021-05-24T13:28:06.928807 | 2021-02-18T19:44:04 | 2021-02-18T19:44:04 | 253,583,677 | 0 | 0 | MIT | 2020-04-06T18:32:43 | 2020-04-06T18:32:43 | null | UTF-8 | C++ | false | false | 19,980 | cpp | /*
==============================================================================
juce_hid.cpp
Created: 7 Dec 2017 3:16:59pm
Author: Chris Penny
==============================================================================
*/
#define HID_ERROR -1
#ifndef DEFAULT_SIZE
#define DEFAULT... | [
"cpennny@gmail.com"
] | cpennny@gmail.com |
f48fb48ac055bb507b59fa869294ffc6275c7f6e | 201ff54232a3eab6f160e256d575d6644bf32d72 | /src/tests/ScriptInterpTCLTest.h | ac3bf8856eb469f4222a5e0f1fe34e45089a17e5 | [
"BSD-2-Clause"
] | permissive | bdrewery/bdlib | c421a52fb820e276cb393b7c6cd3c28df4a1d87c | 33b6871ccdd677925471beb0229b2e7cb2f89eed | refs/heads/master | 2021-01-18T21:56:47.189036 | 2020-03-25T04:15:33 | 2020-03-25T04:18:19 | 73,997 | 3 | 5 | null | 2017-02-24T23:17:10 | 2008-11-10T19:24:50 | C++ | UTF-8 | C++ | false | false | 1,261 | h | /* ScriptInterpTCLTest.h
*
*/
#ifndef _SCRIPTINTERPTCLTEST_H
#define _SCRIPTINTERPTCLTEST_H 1
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include "String.h"
#include "Array.h"
#include "Stream.h"
#include "ScriptInterp.h"
#include "ScriptInterpTCL.h"
using namespace BDLIB_NS;
#if... | [
"bryan@shatow.net"
] | bryan@shatow.net |
54c9e7d40a49271240b12de5b0052b95eb460213 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14057/function14057_schedule_7/function14057_schedule_7.cpp | 60d55b9c480a4e4cbcf475b63be73869a4b0d3bf | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,849 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14057_schedule_7");
constant c0("c0", 262144), c1("c1", 256);
var i0("i0", 0, c0), i1("i1", 0, c1), i01("i01"), i02("i02"), i03("i03"), i04("i04");
input input00("input00", {i1}, p_int3... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
6968d4d98b44dc72e5571983349922bd0d0eea5a | 923a4858ca40e3b2a60a27c03f93ea362b11d870 | /C++/Task6_Part2_C++Code/PayOffBridge.h | 7d952db62eeaeb0fce408568ee3c33c03433f954 | [] | no_license | himanshu199391/DerivativePricing-DesignPatterns | 97a4db4823403bc2bf642662ce2dd1edd8e120eb | 69ab4ee574d6ef72ecd207528fec91567a8d8ef5 | refs/heads/master | 2022-02-04T12:22:34.923691 | 2019-08-27T17:53:02 | 2019-08-27T17:53:02 | 204,757,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | h | //
// PayOffBridge.h
// ch10_factory_pattern
//
// Created by cheerzzh on 24/6/14.
// Copyright (c) 2014年 Jared Zhou. All rights reserved.
//
#ifndef __ch10_factory_pattern__PayOffBridge__
#define __ch10_factory_pattern__PayOffBridge__
#include "PayOff3.h"
class PayOffBridge
{
public:
PayOffBridge(const... | [
"himanshu@HIMANSHUs-Air.fios-router.home"
] | himanshu@HIMANSHUs-Air.fios-router.home |
a6507210592cf8ef21140d9b722928d9b30221bd | f1bd16b70c982ac75bf5b6b5ec4cb4e99a207896 | /Algorithm/Recursive/樓梯階層走法(遞迴演算法).cpp | 5082d2a34bdf815b8c4c538f49af6dc29f3a55df | [] | no_license | ChouJustice/C-Language_exercise | 92b33515b8d0c7cfcd59c523905b1a00079067cf | 8d44e16a22f50ec684d6cb63758bbdff4d0c2fb2 | refs/heads/master | 2021-04-12T04:26:16.917913 | 2018-06-07T14:12:12 | 2018-06-07T14:12:12 | 125,950,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | cpp | #include <iostream>
using namespace std;
void startWalk(int ) ;
void printHow();
int len = 0, n = 0, total = 0, *step;
int main(void)
{
cout << "Input stairs of n = ";
cin >> n;
cout << endl;
if (n!=0 && n>0)
{
step = new int [n];
startWalk(n);
cout << end... | [
"noreply@github.com"
] | ChouJustice.noreply@github.com |
edb7d2f108d065f9e1012c0f28d8347f10ed5ae5 | 2e8a39b275cf368da752bc7a6fad39f9968bdb2a | /输出一组整数中的最小整数.cpp | b3ffdd1a896c96450816d8b9d49d48f003af1ab2 | [] | no_license | 15831944/Cplusplus-1 | 9e77161b9df8df610f16432503f9e52ffff4eb68 | 16c74deec56829fd2141a98284145984cd555735 | refs/heads/master | 2023-04-09T22:19:07.092358 | 2016-09-30T03:40:35 | 2016-09-30T03:40:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | #include <iostream>
using namespace std;
int main()
{
int n,a,ans;
cin>>n;
ans=0;
while(n--)
{
cin>>a;
if(ans<=a) ans=a;
}cout<<"Answer = "<<ans<<endl;
}
| [
"lixuat2014@gmail.com"
] | lixuat2014@gmail.com |
faae5f02168d44a4eb8aca0f6ea44a11be0b796f | 94c3272a6fa6884c258cdbe27fc6e96b0d1f364b | /include/relay.hpp | c5ae434dbed57d7cd551237d1ad4dba0ccbf3030 | [] | no_license | CentraleFitness/ESP32-relay | bc4e6853a67ead1e7049791461aa3d18076d3e78 | 6dd68a3fe326e91260401d6d1de8d0cc45f71643 | refs/heads/master | 2021-07-25T00:21:49.622681 | 2019-01-13T20:49:40 | 2019-01-13T20:49:40 | 147,251,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | hpp | #pragma once
#ifndef ARDUINO_H_
#define ARDUINO_H_
#include <Arduino.h>
#endif
class Relay
{
private:
uint8_t mPin;
bool mStatus;
public:
void turn_on(void) {
digitalWrite(this->mPin, HIGH);
this->mStatus = true;
delay(10);
... | [
"leoraphael.poulin@epitech.eu"
] | leoraphael.poulin@epitech.eu |
58d0650d3c465b54e474cd7f2bbe469a442a571c | 48ebb9aa139b70ed9d8411168c9bd073741393f5 | /Classes/Native/System_Xml_System_Xml_Serialization_XmlTypeMapping315595419.h | b34f05b98b51708d2663b47acef3734845533951 | [] | no_license | JasonRy/0.9.1 | 36cae42b24faa025659252293d8c7f8bfa8ee529 | b72ec7b76d3e26eb055574712a5150b1123beaa5 | refs/heads/master | 2021-07-22T12:25:04.214322 | 2017-11-02T07:42:18 | 2017-11-02T07:42:18 | 109,232,088 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,134 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "System_Xml_System_Xml_Serialization_XmlMapping1597064667.h"
// System.String
struct String_t;
// System.Xml.Serialization.TypeData
struct TypeData_t3979356678;
// System.Xm... | [
"renxiaoyi@me.com"
] | renxiaoyi@me.com |
26f4f8e809d9198c84e6934f2828a612dff85d1b | 5c026ae62a2677038f85dec3682393841a6b8de0 | /include/recarray.h | 2fbfe084fd826aa5de81bdae4354cdcd049180c7 | [] | no_license | gravit0/server-cpp | 8f10d31ae8832504eb0f9bdb18b00261f7bd54ba | e3d824971910e88f3aec8cbce55e8ec7a82e32bd | refs/heads/master | 2020-03-22T01:39:05.091829 | 2017-02-18T08:37:35 | 2017-02-18T08:37:35 | 139,319,999 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | h | #ifndef RECARRAY_H
#define RECARRAY_H
#include <boost/property_tree/ptree.hpp>
typedef boost::property_tree::ptree RecursionArray;
namespace RecArrUtils
{
void printTree(const RecursionArray& tree, const std::string& prefix="");
char SlashReplaceEx(std::string* str, const unsigned int frist_pos);
RecursionArray fromAr... | [
"xellgf2013@ya.ru"
] | xellgf2013@ya.ru |
f6476ff0a8ad890f42e1efd892b9e2d86caa5f1d | e4d61a174008740024a537f18270d1e69c9d31f7 | /day13a.cpp | f09e5d081d053f2d656114d689ee2dbd99b867f2 | [
"MIT"
] | permissive | Fossegrimen/advent-of-code-2020 | 0cf06326c9e792274584bddb08cf587c147f2eb5 | d9323346c167435fe461214e9eae990a1940c78e | refs/heads/master | 2023-02-04T23:29:08.250014 | 2020-12-26T15:54:25 | 2020-12-26T15:54:25 | 318,574,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | cpp |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <limits>
#include <sstream>
#include <string>
#include <vector>
typedef std::vector<size_t> Vector;
int main()
{
Vector busIds;
std::string line;
std::getline(std::cin, line);
const size_t timeToLeave(stol(line));
std::getline(... | [
"68206123+Fossegrimen@users.noreply.github.com"
] | 68206123+Fossegrimen@users.noreply.github.com |
b74f7d1df2b8a123851a36f3b654d85dccd7ec16 | 3a395f2afb3b7ba014665e3b43b62eb366e2ba27 | /PapilioVCA.h | 4b84e1412c334e6fba567d13f6e3b65711b777b6 | [] | no_license | Gaetino/PapilioGroovuino | e6c5f702131bee16ad30863a23281e7b6ad29270 | 0d7f2ea4187c98fcfa234da58e1e7c7f045a9e06 | refs/heads/master | 2021-01-22T03:05:18.118486 | 2014-01-17T13:10:55 | 2014-01-17T13:10:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 91 | h | class VCA
{
public:
VCA();
long input_volume;
long output(long input_audio);
};
| [
"gaith26740@yahoo.fr"
] | gaith26740@yahoo.fr |
6993b54a5f2be84e11896bf681c5e6d1b4b488bd | 85ec0860a0a9f5c0c0f0d81ce3cc0baf4b2a812e | /sngcm/cmlexer/CmajorTokens.hpp | 6589c53d65b15970c16bc1f9eb7923ff1a3e9b5f | [] | no_license | slaakko/soulng | 3218185dc808fba63e2574b3a158fa1a9f0b2661 | a128a1190ccf71794f1bcbd420357f2c85fd75f1 | refs/heads/master | 2022-07-27T07:30:20.813581 | 2022-04-30T14:22:44 | 2022-04-30T14:22:44 | 197,632,580 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,852 | hpp | #ifndef CmajorTokens_HPP
#define CmajorTokens_HPP
// this file has been automatically generated from 'D:/work/soulng-project/sngcm/cmlexer/CmajorLexer.lexer' using soulng lexer generator slg version 3.0.0
#include <sngcm/cmlexer/TokenValueParsers.hpp>
#include <sngcm/cmlexer/CmajorLexerApi.hpp>
#include <string>
nam... | [
"slaakko@gmail.com"
] | slaakko@gmail.com |
2fb0294571cff34146e0758e7faf68a769789c25 | d071e6156cf23ddee37a612f71d71a650c27fcfe | /pojpass/poj1511_invitation.cpp | 1606f42ae6e9582e7df1318a36cd2d633b93a44e | [] | no_license | tsstss123/code | 57f1f7d1a1bf68c47712897e2d8945a28e3e9862 | e10795c35aac442345f84a58845ada9544a9c748 | refs/heads/master | 2021-01-24T23:00:08.749712 | 2013-04-30T12:33:24 | 2013-04-30T12:33:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,856 | cpp | #include <cstdio>
#include <cstring>
#include <climits>
#include <iostream>
#include <algorithm>
using namespace std;
typedef long long LLONG;
const int NN = 1000000 + 5;
struct Edge {
int v, w;
Edge * next;
};
int nE, nAE;
Edge *head[NN], * Ahead[NN];
Edge E[NN], AE[NN];
void addEdge(int u, int v, int w)
{
Edge *... | [
"leon.acwa@gmail.com"
] | leon.acwa@gmail.com |
9ac5ae85d4d37e2c47799286278398a7a909ddda | 6a2d869e34aad0a967beb7e2c2f30a74c4fbc596 | /stmp/StmpTransInitiative.cpp | eba416a3420746fbb0052a573de162a830eaab18 | [] | no_license | ongbe/libfsc | 6337cb7342acad46d6b48f266d4fddf12ea79067 | 96fc22bebbb1a568748f9c6656c2a6b7b784c4a6 | refs/heads/master | 2020-03-18T20:05:10.122882 | 2018-04-18T10:12:44 | 2018-04-18T10:12:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | cpp | /*
* StmpTransInitiative.cpp
*
* Created on: Jan 15, 2018
* Author: root
*/
#include "StmpTransInitiative.h"
StmpTransInitiative::StmpTransInitiative()
{
// TODO Auto-generated constructor stub
}
StmpTransInitiative::~StmpTransInitiative()
{
// TODO Auto-generated destructor stub
}
| [
"zewenxu@fintend.com"
] | zewenxu@fintend.com |
bd24d93f07b0f9572a4b946cd67ded574e8e5555 | d24cd235387eace08c7c61f5ef86f062192de5e0 | /Source/SUB20HwModuleCtrlADCUnitDrv.cpp | 6e93fe37303af31140805fddffb7bfe8b577ecba | [] | no_license | asafl1976/MVTerminal | e02b149e32b1927e281167c20a20f15422762714 | 019fd753b704d21b1f3787395d1e61b9a1075dfe | refs/heads/master | 2021-01-02T08:58:14.191737 | 2017-08-02T10:31:35 | 2017-08-02T10:31:35 | 99,104,278 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp | #include "StdAfx.h"
#include ".\sub20hwmodulectrladcunitdrv.h"
CSUB20HwModuleCtrlADCUnitDrv::CSUB20HwModuleCtrlADCUnitDrv(CSUB20HwModuleCtrlDrv *pDrv)
{
m_pDrv = pDrv;
}
CSUB20HwModuleCtrlADCUnitDrv::~CSUB20HwModuleCtrlADCUnitDrv(void)
{
}
BOOL CSUB20HwModuleCtrlADCUnitDrv::Init()
{
return m_pDrv->AD... | [
"asafl1976@gmail.com"
] | asafl1976@gmail.com |
686f75a31f962310ee5c28b998bf0d0482888f3e | 62d33fa0eca8c0145611cd0efe6e9c4d8bb8b378 | /LeetCode/48.Rotate_Image.cpp | 73114d3da15e44c2d520a44f429622d49bde8106 | [
"MIT"
] | permissive | yousefalaa2021/OJ | da085e3eba1c80b7998c471bd3aed71d774985f2 | 67d1d32770376865eba8a9dd1767e97dae68989a | refs/heads/master | 2023-03-15T20:16:56.439701 | 2019-05-01T11:29:10 | 2019-05-01T11:29:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | // 先對角線翻轉,再水平對稱
class Solution {
public:
void rotate(vector<vector<int>>& matrix) {
for(int i = 0; i < matrix.size(); ++i)
for(int j = 0; j < i; j++)
swap(matrix[i][j], matrix[j][i]);
for(int i = 0; i < matrix.size(); ++i)
reverse(matrix[i].begin(), matrix[i... | [
"w181496@gmail.com"
] | w181496@gmail.com |
3732a1418fe2268ab0c2c6e9c07d279a3a5b2284 | 32c71980153a2fa9e40329aafd9efff97ec7def1 | /BT_Master_and_MPU6050.ino | 42445f3ceac9db9f14bcff1087d4c7e73a439dc3 | [] | no_license | tunzbaby/Vong_deo_co_phat_hien_nga | 89448d90f97f0a8cf18779cb7590723e3c2a36c3 | a130c7a93bab3342081c73439a7cf0a363d7a7e4 | refs/heads/main | 2023-01-03T13:12:52.458304 | 2020-10-28T16:17:23 | 2020-10-28T16:17:23 | 308,072,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,362 | ino | #include <SoftwareSerial.h>
SoftwareSerial BTserial(10, 11);
#include "I2Cdev.h"
#include "MPU6050.h"
#if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE
#include "Wire.h"
#endif
int state = 0;
MPU6050 accelgyro;
int16_t ax, ay, az;
int16_t gx, gy, gz;
uint32_t lastTime;
#define OUTPUT_READABLE_ACCELGYRO... | [
"noreply@github.com"
] | tunzbaby.noreply@github.com |
3013cdc4d0829959b9169264c18916670dd831e3 | d7f774ff0067abf6fccf37003afb47642b044120 | /ui/AppWindow/MainWindowClient.h | 47c4c460be0e84946ef628e9e09034c56b00cbe5 | [] | no_license | GitaiQAQ/cptf | 25efbd79b076ddde4a034526d8af3436ef44ac62 | 6a3a956142703c9501045fcf18792d9ce9412f39 | refs/heads/master | 2021-01-18T16:56:21.944203 | 2014-01-23T06:36:14 | 2014-01-23T06:36:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | h | #pragma once
#include "include/cef_app.h"
#include "include/cef_client.h"
class MainWindowClient : public CefClient
, public CefLifeSpanHandler
{
public:
MainWindowClient(void);
~MainWindowClient(void);
public:
CefRefPtr<CefBrowser> getBrowser();
public://override
virtual CefRefPtr<CefLifeSp... | [
"s666666"
] | s666666 |
eb05b7114a1b185cf8a55300ad7fed851b834430 | d72c11581e23ac6141d2419d86d71a1d634dced5 | /src/net.cpp | d55d90fd3ed405baebaf8552ed6e241244265caa | [
"MIT"
] | permissive | OFCoin/OFCCoin | 837e86d6def9044d67d6f83fcb6ac8c16f6ad11a | c95abc3dec6bf091e057326be149e1d5b3685124 | refs/heads/master | 2020-03-27T04:30:31.581715 | 2016-06-28T15:24:55 | 2016-06-28T15:24:55 | 61,849,632 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60,820 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The OFCCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "OFCCoin-config.h"
#endif
#include "net.h"
#... | [
"2069422310@qq.com"
] | 2069422310@qq.com |
3ba4d78d125662170afa27fa84f21f685878fd0d | 96e96a73920734376fd5c90eb8979509a2da25c0 | /C3DE/GuiCon.cpp | c4cbd3cb09a1d855503b85b607267aa62c697bf1 | [] | no_license | lianlab/c3de | 9be416cfbf44f106e2393f60a32c1bcd22aa852d | a2a6625549552806562901a9fdc083c2cacc19de | refs/heads/master | 2020-04-29T18:07:16.973449 | 2009-11-15T10:49:36 | 2009-11-15T10:49:36 | 32,124,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,667 | cpp | #include <windows.h>
#include <stdio.h>
#include <fcntl.h>
#include <io.h>
#include <iostream>
#include <fstream>
#ifndef _USE_OLD_IOSTREAMS
using namespace std;
#endif
// maximum mumber of lines the output console should have
static const WORD MAX_CONSOLE_LINES = 500;
#ifdef _DEBUG
... | [
"caiocsabino@7e2be596-0d54-0410-9f9d-cf4183935158"
] | caiocsabino@7e2be596-0d54-0410-9f9d-cf4183935158 |
6648078b9a58550ba20398baa88bcc79aac0d5e6 | 6afeef38988aec261b5f73e195f1a4335613825e | /代码/L12 终版本/GameMode.h | 7b2b58c64efece4b0cc422a75d95a991ee23e353 | [
"MIT"
] | permissive | ConsoleTank/ConsoleTank | ed7c338af1cdc9e66ca2728833dabecf57cc1e4e | d488532ce8d9b14013d3ab124598abb2f7e67014 | refs/heads/master | 2020-12-10T07:42:32.794815 | 2020-01-17T10:24:43 | 2020-01-17T10:24:43 | 233,537,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | h | #ifndef __GAMEMODE_HPP__
#define __GAMEMODE_HPP__
#include "Common.h"
#include "tools.hpp"
#include "Map.hpp"
#include <time.h>
class Tank;
class BaseCamp;
class GameMode
{
private:
static GameMode s_instance;
public:
static GameMode& instance();
void welcome();
bool Init();
bool fini... | [
"fyc@time-vr.com"
] | fyc@time-vr.com |
7d83b6cc4d33ed82b0b9fdff3af057c02720ee25 | 341ababeb44bdffbf693663bda06de566e393594 | /tests/gt_ble.cc | cb3832be9ed19b93019ec54d768a4a57b8b6b2aa | [] | no_license | pabigot/pabigot-cxx | bce52719997f22f40961f08b4a4694e76721a47a | 2f9b1940d07aa832be64939dd03f3b25a34288eb | refs/heads/master | 2020-04-28T11:37:48.180418 | 2019-03-13T10:41:52 | 2019-03-13T10:43:45 | 175,248,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,303 | cc | // SPDX-License-Identifier: CC-BY-SA-4.0
// Copyright 2018-2019 Peter A. Bigot
#include <algorithm>
#include <gtest/gtest.h>
#include <pabigot/ble.hpp>
std::string operator"" _s (const char* p, size_t n)
{
return std::string(p, n);
}
#define BLE_GAP_ADV_MAX_SIZE 31
#define UUID16_BRACE_INITIALIZER {0x34, 0x12}
... | [
"pab@pabigot.com"
] | pab@pabigot.com |
7bec824c131f6d4b78ca709c665fa7a87b9d0db1 | 0a3e06930e0a9889b6de7974581fbda24f538624 | /tb_base_driver/src/iRobot/OpenInterface.cpp | b4e1e4ce65e242672eab227d805bb126a127c5d2 | [] | no_license | robofit/turtlebut | e054f26b0be94814602ecc11be9d6f411d0ce53d | 24fc33eed23eb45c587ce19d2929ceb826ad41f7 | refs/heads/master | 2021-01-19T07:03:24.602212 | 2014-05-05T09:41:59 | 2014-05-05T09:41:59 | 9,325,522 | 2 | 1 | null | 2014-05-05T09:42:00 | 2013-04-09T16:11:45 | C++ | UTF-8 | C++ | false | false | 41,779 | cpp | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2010, ISR University of Coimbra.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi... | [
"imaterna@fit.vutbr.cz"
] | imaterna@fit.vutbr.cz |
a67d5f7e59460d5bf007345b95174c847a0411be | 4c8f8d7d4fa4a486267427c9cf12c3c246dae9d4 | /cplusplus/chapter12/test1/strngbad.h | ad8baa8c4ab521fb038e24d83fbf047ceada8b4e | [] | no_license | shuwentao/learn | 3f8b1a15d2b440820e4804e20e42f821ae872a92 | a07b1fc1f47e0657b4d985f3a1a29b6a43bd5ec7 | refs/heads/master | 2020-09-23T19:18:55.715984 | 2019-12-26T08:52:10 | 2019-12-26T08:52:10 | 225,566,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | h | #include <iostream>
#ifndef STRNGBAD_H_
#define STRNGBAD_H_
class StringBad
{
private:
char * str;
int len;
static int num_strings;
public:
StringBad(const char *s);
StringBad();
~StringBad();
friend std::ostream & operator<<(std::ostream & os,const StringBad & st);
};
#endif
| [
"418674879@qq.com"
] | 418674879@qq.com |
9382dfc1fab4e592a635607257cf353511963c95 | 5531d676864880b890630f462cfc6d05defd1d79 | /include/boost/gil/extension/io/pnm/detail/reader_backend.hpp | 5aba7ace05d76921444f7a42b7c0ddbb2415a4b5 | [] | no_license | BeamMW/boost-android | 2cd0ec609462e72ac41bdcf02ded82f954652dde | 60cc7878e44e898cf44fb04a1f10372eceaa9b02 | refs/heads/master | 2020-04-27T11:13:33.402189 | 2019-04-01T10:04:55 | 2019-04-01T10:04:55 | 174,288,040 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,687 | hpp | /*
Copyright 2012 Christian Henning
Use, modification and distribution are subject to the Boost Software License,
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt).
*/
/****************************************************************************... | [
"strylets@gmail.com"
] | strylets@gmail.com |
3f377aa376fcd4f4c6e00273ac842047ce605cda | 2bb5ffa26516d667a3116d1f772f21b5abad1dcc | /ppd/lab3/main.cpp | 8e36942c30040b0dc98b3132db09ea1e7bc13fef | [] | no_license | Demon000/uni | 71a0c8d26ae1a6024f2215f4105dc8daee3c1bb5 | 7735fc90b17f452879bfca4b0e4e8c2c4e80831f | refs/heads/master | 2022-08-14T03:08:51.029670 | 2021-12-15T16:50:06 | 2021-12-15T16:51:09 | 154,342,332 | 0 | 4 | null | 2022-07-21T08:25:57 | 2018-10-23T14:26:35 | Jupyter Notebook | UTF-8 | C++ | false | false | 2,909 | cpp | #include <cstdio>
#include <mpi.h>
#include <chrono>
void sum(int *a, int *b, int *c, int size) {
for (int i = 0; i < size; i++) {
c[i] = a[i] + b[i];
}
}
void printArray(int *v, int size) {
for (int i = 0; i < size; i++) {
std::cout << v[i] << " ";
}
std::cout << std::endl;
}
in... | [
"demonsingur@gmail.com"
] | demonsingur@gmail.com |
130b694cb1df52a777853244fe8a4c3c6b0d9773 | 776572b92dfca09c7657f6f58e4c3a4796efe4b4 | /c++/dbobjects.h | 5786e71a8f5a211bbd58c3079b813d53355d6645 | [] | no_license | sowbhagyasuvi/aquarium_notes | f8a653b270abf5079ebfc942cf288706079a7fbf | af6b1ee4c56851b11ab3eeabe41c7ce3ff436a2f | refs/heads/master | 2022-07-06T10:54:27.736547 | 2020-05-20T15:01:10 | 2020-05-20T15:01:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,398 | h | #ifndef DBOBJECTS_H
#define DBOBJECTS_H
#include <QObject>
#include <QString>
#include <QSql>
#include <QSqlDatabase>
#include <QSqlRecord>
#include <QSqlQuery>
#include <QVariant>
typedef enum
{
Reef_Fish = 0,
Reef_SoftCoral = 1,
Reef_MixedCoral = 2,
Reef_SPSCoral = 3,
Fresh_Cihlids = 4,
Fresh... | [
"webmaster@aquabox.by"
] | webmaster@aquabox.by |
d074a4222925f16f075948341b7922f869452e11 | ec0a8e179459bfa15b3abfd21df2ea33d201f0bd | /Codigo/Versao Minibau/states/testeVisao.cpp | 950e11cecdac9a8335c74b7741f0ca3ad9479905 | [] | no_license | UnbDroid/Festo2017 | b32fbf61e6a703feb1d04e47b765186f2ecca376 | eb4afb447bbb6cb1016a289231071471c6228e6e | refs/heads/master | 2021-01-20T02:47:59.381718 | 2017-11-11T07:48:35 | 2017-11-11T07:48:35 | 101,334,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,190 | cpp | #include "control.hpp"
#include "robotino.hpp"
#include "classificadores.hpp"
#include "maquinainferencia.hpp"
#include "defuzzyficador.hpp"
#include "irparaponto.hpp"
#include "controleposicao.hpp"
#include "coordenadas.hpp"
#include "girar.hpp"
#include "identificarcor.hpp"
#include "procurarcor.hpp"
#include "seguir... | [
"leticiahelenasp@hotmail.com"
] | leticiahelenasp@hotmail.com |
16845ec7e19bcba2103cd8781aba8d1be6d4870f | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/game/shared/props_shared.cpp | 3bc71c1be5745036d409669521c5140059b7366d | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | WINDOWS-1252 | C++ | false | false | 50,331 | cpp | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: static_prop - don't move, don't animate, don't do anything.
// physics_prop - move, take damage, but don't animate
//
//=============================================================================//
#in... | [
"sean@csnxs.uk"
] | sean@csnxs.uk |
5004dc883504cd280f7e544c8724c20624c2d6f6 | cb0e7d6493b23e870aa625eb362384a10f5ee657 | /solutions/cpp/0712.cpp | bcc20e90c873e8a4830b003de17074309196aba5 | [] | no_license | sweetpand/LeetCode-1 | 0acfa603af254a3350d457803449a91322f2d1a7 | 65f4ef26cb8b2db0b4bf8c42bfdc76421b479f94 | refs/heads/master | 2022-11-14T07:01:42.502172 | 2020-07-12T12:25:56 | 2020-07-12T12:25:56 | 279,088,171 | 1 | 0 | null | 2020-07-12T15:03:20 | 2020-07-12T15:03:19 | null | UTF-8 | C++ | false | false | 672 | cpp | class Solution {
public:
int minimumDeleteSum(string s1, string s2) {
const int m = s1.length();
const int n = s2.length();
// dp[i][j] := min cost to make s1[0..i) and s2[0..j) equal
vector<vector<int>> dp(m + 1, vector<int>(n + 1));
for (int i = 1; i <= m; ++i)
dp[i][0] = dp[i - 1][0] +... | [
"walkccray@gmail.com"
] | walkccray@gmail.com |
c1048c06106d3a3922a0e6a2f780ebda2c7e87cb | 573a091f6782bf04a73d12a39ea12e860ec3dddb | /hw2/strLiteral.cpp | efd58bb317053d6ec41e970c03005e040e37152f | [] | no_license | askoulwassim/Software-Design | e61f4e7ff78021925c7d0ae6cd511971992b32b0 | 61e606a97532c188c636e0dc7206d3f4d2e4c4d5 | refs/heads/master | 2020-04-08T01:21:41.694341 | 2018-11-24T01:31:51 | 2018-11-24T01:31:51 | 158,890,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | #include <iostream>
using namespace std;
int main()
{
cout << "How old are you \? \n I am 20 years old..\b " << endl;
cout << "Name \t\t Surname \v " << endl;
cout << "Elif Ilaria \t Yurtseven " << endl;
cout << "So I am trying to figure \r out whether this will create a new line or not" << endl; /*I have no... | [
"noreply@github.com"
] | askoulwassim.noreply@github.com |
32f3a140f2c31349018e3dfc9ed0acf32adbdf5c | 9c079c10fb9f90ff15181b3bdd50ea0435fbc0cd | /hw/Dynamic Programming/coinchnge.cpp | cd6fda63d5d057e2262fcc0c95f81dd6584a5291 | [] | no_license | shihab122/Competitive-Programming | 73d5bd89a97f28c8358796367277c9234caaa9a4 | 37b94d267fa03edf02110fd930fb9d80fbbe6552 | refs/heads/master | 2023-04-02T20:57:50.685625 | 2023-03-25T09:47:13 | 2023-03-25T09:47:13 | 148,019,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int no_ofcoin;
cin>>no_ofcoin;
int coin[no_ofcoin];
for(int i=0;i<no_ofcoin;i++) cin>>coin[i];
int amount;
cin>>amount;
int taka[amount+1];
memset(taka,INT_MAX,sizeof(taka));
taka[0]=0;
for(int i=0;i<no_ofcoin;i++){
... | [
"shihabhossain611@gmail.com"
] | shihabhossain611@gmail.com |
fdbe89fba09f1e639cfa3878db14dab28731d9fc | 47104268ae7603b55c70422364288867b7bc75b8 | /leetcode/leet836.cpp | 172f7f6346ae5fcb5497fc1357d7d3ec3a29ad38 | [
"Apache-2.0"
] | permissive | LABZHG/AlgorithmsTraining- | d6ca8bd1d038a9131521730868dcdc5cac073b7d | cf56591927cc3e664a7d96363dcce880009c2c31 | refs/heads/master | 2020-12-30T08:40:13.724728 | 2020-04-23T15:53:58 | 2020-04-23T15:53:58 | 238,933,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,431 | cpp | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
bool isRectangleOverlap(vector<int>& rec1, vector<int>& rec2) {
int judge=(rec1[2]<=rec2[0] || rec1[0]>=rec2[2] || rec1[1]>=rec2[3] || rec1[3]<=rec2[1]);
return !judge;
}
};
void trimLeftTrailingSpaces(string &input) {
... | [
"hg250250@126.com"
] | hg250250@126.com |
93fd7de52836185f240197436de93b1deb615e6e | 285b4638f208afcb523feeea18bc5c6ad1ff0adc | /Backjoon/Line Sweeping/(2836)수상 택시.cpp | 42cfcc17773dfeec64fe266fc7826e01b7203d85 | [] | no_license | Kuril951/ICPC_Study | 8941b8b86e3c12eef3858e2cbf880f84523bac7a | 78cd99b50fe05983e459672ae2f1c5ec6011cd17 | refs/heads/master | 2018-10-21T12:42:44.542883 | 2018-10-04T07:05:18 | 2018-10-04T07:05:18 | 116,656,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include<iostream>
#include<vector>
#include <algorithm>
using namespace std;
vector<pair<int, int>> v;
int main()
{
int N, M;
scanf("%d %d", &N, &M);
for(int i=0; i<N; i++){
int a, b;
scanf("%d %d",&a, &b);
if(a > b)
v.emplace_back(make_pair(b, a));
}
sort(v.... | [
"viodle238@naver.com"
] | viodle238@naver.com |
f4cf52354c0c1642a2fd69558c2f30e9e3b45f09 | 9674fd13f6559ac24e92489c257e57ca11b4c49c | /src/function pointer/functionPointer3.cpp | abab2624969cb0179886ced12d7fa4c61f94a0a7 | [] | no_license | superrabbit11223344/c--Tutorial | f8a68f7d2eb2f30aeaf07b627b87977be5c78661 | 10d09bbe49b123be44eea637961459358db8f139 | refs/heads/master | 2023-03-24T20:02:58.896679 | 2021-03-17T03:10:11 | 2021-03-17T03:10:11 | 348,564,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | #include <iostream>
#include <vector>
void PrintValue(int value)
{
std::cout << "Value:" << value << std::endl;
}
void ForEach(std::vector<int>& values, void(*func)(int))
{
for (int value : values)
{
func(value);
}
}
int main()
{
std::vector<int> values = {1, 2, 6, 1, 5};
ForEach(valu... | [
"gongwei808@hotmail.com"
] | gongwei808@hotmail.com |
efa12f0f5a735cd5b2e69203a8b30d91397254f7 | 5c7f4f28c817d03b93ca25b5bd1c4ecddb38134a | /src/core/arithmetical.cpp | 194e10bc759908b0ccf92c33ec093e4558d870ab | [] | no_license | xiserre/eXodusino | cd2d5cd71bef9eda98e999f380ffbb1367bea1a4 | 102eee441c49dc821beb53aece15c76e47c4fd95 | refs/heads/master | 2021-01-18T08:49:27.679154 | 2012-11-21T13:13:19 | 2012-11-21T13:13:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | cpp | #include <libmary.h>
#include <arithmetical.h>
unsigned int random_seed;
void randomSeed(unsigned int seed)
{
random_seed = seed;
return;
}
// random algorithm using linear congruential method
unsigned int random(void)
{
int hi,lo,x;
x = random_seed;
if(x == 0)x = 123459876L;
hi = x / 12... | [
"lynxeyed@xj9.so-net.ne.jp"
] | lynxeyed@xj9.so-net.ne.jp |
f96f48dbddd7e9091a35883564a9467921586a73 | 2d211fc1d33b5031efbfaeb039191192acee0769 | /Main.cpp | e0138f98bc9ddca25a9f5ab7ce8ec0fb5c1cc804 | [] | no_license | LightWaveEmpire/Piecewise-Interpolation | 20f403f935f797ed86a60d90d8e3881bd2aad2d4 | e3aca51f76f837681544065ddfd308f0d2756554 | refs/heads/main | 2023-03-13T21:32:41.135027 | 2021-03-11T05:10:29 | 2021-03-11T05:10:29 | 346,585,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include "Core.h"
using namespace std;
void corelist(string filename);
int main (int argc, char* argv[])
{
if (argc != 2)
{
cout << "Insufficent information"<< endl;
cout << "Usage: " <<argv[0] << " <filename>"<< endl;
return 1;
}
... | [
"noreply@github.com"
] | LightWaveEmpire.noreply@github.com |
c35b0e7176b1c7940384b0050ff86c0cc20ba956 | e17c7cf738ee8c59789e9bef6aca875715545912 | /tests/testplugin.cpp | 56300077bca572f4ac53802992aa3f4871330f4b | [] | no_license | KDE/libkcw | e279b1336b2228716853e3bc9465a1424adacd75 | 810b71cc946d7fa0625d481d4245cfb6d3f2a04c | refs/heads/master | 2016-09-08T01:32:43.445800 | 2014-01-17T21:07:48 | 2014-01-17T21:08:45 | 42,731,774 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | cpp | /* Copyright 2013-2014 Patrick Spendrin <ps_ml@gmx.de>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions... | [
"ps_ml@gmx.de"
] | ps_ml@gmx.de |
050db5b5909865db2655f9a978dd36b7b58daf5b | 8ca9dbc82b523c9dfadd2273c32c606a0bfee57f | /JsonGenerator/JsonGenerator/read.cpp | 178532b259c9aa96bcafef8fcce30ad5ee711ebf | [] | no_license | RainingQ/student_department_match | 19203960f1093cbb7bfcfaa61d0bca8dad8afecd | 9d11481ef0e372e24bab761b4e30df0ec4fcd527 | refs/heads/master | 2021-04-26T05:29:19.720265 | 2017-10-16T09:42:13 | 2017-10-16T09:42:13 | 107,097,242 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,248 | cpp | #include<iostream>
#include<ostream>
#include<fstream>
#include"json.hpp"
#include"read.h"
#include"student.h"
#include"department.h"
using namespace std;
using json = nlohmann::json;
extern Student student[5000];//存储从json读入的student信息
extern Department department[100];//存储从json读入的department信息
int i = 0;
/*从json读取stud... | [
"275922122@qq.com"
] | 275922122@qq.com |
f381b808dda4297ca32c7e968f46980cb0585137 | a31e3f4a7980fdcd029cddbd075e0b910dafd009 | /swamm_new/nazc/src/utility/getFile.cpp | 7ed34ff06f3278ddda8c03f31b73632286f9b312 | [] | no_license | dongdong-2009/new_swamm | a49221cdb7fe21f1c70a394f09cb489b9c49b2fb | 0ecef056138af4b92d3bc8e52235699803782823 | refs/heads/master | 2021-05-30T01:50:56.587102 | 2015-11-10T00:15:02 | 2015-11-10T00:15:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,639 | cpp |
/** Nuritelecom AiMiR Project.
*
* Put File
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <signal.h>
#include <unistd.h>
#include <semaphore.h>
#include <fcntl.h>
#include <termios.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/types... | [
"locap001@nuritelecom.com"
] | locap001@nuritelecom.com |
2ba914fcfe2bf6bfea1563054bc2795878ec7d09 | 815d65edea087796ea5c5a05c33e79abfb0ab980 | /pigLatin.cpp | 280cb3c41f9408fde2eb20605431f8cd9f6c9d01 | [] | no_license | nanquim/PigLatin | 83418be35be98ab5cef2983670084cef2b734ec1 | cebef3993c9b1b8ad4ddaac7d38d24c21efc273f | refs/heads/master | 2021-04-30T17:51:03.299789 | 2017-02-10T00:17:46 | 2017-02-10T00:17:46 | 80,265,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | cpp | #include <iostream>
#include <string>
#include <algorithm>
/*RULES:
1. If a word starts with a consonant and a vowel, put the first letter of the word at the end of the word and add "ay."
2. If a word starts with two consonants move the two consonants to the end of the word and add "ay."
3. If a word starts wi... | [
"noreply@github.com"
] | nanquim.noreply@github.com |
cc39ce606992365a7a0cb72294ec7eac6c7abc35 | b7c6c9237a0a65ade0bae30503f54fcf03dbac6d | /2-4/Maze Movement (Incomplete).cpp | 9a1ee8e5896059283bba51831fc5267e2c71ade4 | [] | no_license | Yizue/Programming-Exercises-2017 | 4f8a97cb44feb12586fd21f4ef86d76c6c494362 | 8711cf0236c8bc5c52d23e9bf14796f90d54145c | refs/heads/master | 2021-01-09T06:22:04.187236 | 2017-02-05T06:37:58 | 2017-02-05T06:37:58 | 80,972,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,651 | cpp | #include <bits/stdc++.h>
using namespace std;
const int INF = std::numeric_limits<int>::max()/3;
#define MEM(arr,val)memset(arr,val, sizeof arr)
#define PI acos(0)*2.0
#define eps 1.0e-9
#define are_equal(a,b)fabs(a-b)<eps
#define LS(b)(b& (-b)) // Least significant bit
#define DEG_to_RAD(a)((a*PI)/180.0) ... | [
"noreply@github.com"
] | Yizue.noreply@github.com |
2039aea27b6291e45ea983d80e7288ee17df4b8b | 6c77cf237697f252d48b287ae60ccf61b3220044 | /aws-cpp-sdk-workspaces/include/aws/workspaces/model/DisassociateIpGroupsRequest.h | 68e9aa7b875606a84a9abb42455e9504b89bb519 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | Gohan/aws-sdk-cpp | 9a9672de05a96b89d82180a217ccb280537b9e8e | 51aa785289d9a76ac27f026d169ddf71ec2d0686 | refs/heads/master | 2020-03-26T18:48:43.043121 | 2018-11-09T08:44:41 | 2018-11-09T08:44:41 | 145,232,234 | 1 | 0 | Apache-2.0 | 2018-08-30T13:42:27 | 2018-08-18T15:42:39 | C++ | UTF-8 | C++ | false | false | 4,701 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
15d9afd299e31fec11d95cd4457dada5f37543c0 | 4235966c1b5cb0ec1c8ff7da99bb7bfe178af84a | /lw3/Shapes/CircleParser.cpp | 9b5a9207671f32bd9250339f0aa38fff7233cb2c | [] | no_license | term96/OOD | 8d6f1a3792ffb8d337cb2780e5ef1167cf48490a | 1056e62544a795661af4156c939becbbfbcdf6d2 | refs/heads/master | 2021-04-29T17:48:17.362000 | 2018-03-23T07:46:12 | 2018-03-23T07:46:12 | 121,677,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cpp | #include "stdafx.h"
#include "CircleParser.h"
CCircleParser & CCircleParser::getInstance()
{
static CCircleParser instance;
return instance;
}
IShape * CCircleParser::parseShape(std::string const & inputLine) const
{
std::smatch match;
std::regex regex("[0-9]+");
std::string matchSuffix = inputLine;... | [
"term96@yandex.com"
] | term96@yandex.com |
c96afe0cb0f9396e852823b8517b5fedbeec5548 | 06e712f56339aa950853be843222b7abfe7212d3 | /preparation/SelectServer/SelectServer.h | 2fb556c84feb1684600672e8395a4875d378a48c | [] | no_license | SalvationN/WebServer | feb84412e4d56fbce8d77d0f986e75da5dcb4d3d | 4946534299a6d4545de5f6a55d52b6c29879f44d | refs/heads/master | 2023-07-10T00:13:56.563994 | 2021-08-08T10:37:33 | 2021-08-08T10:37:33 | 378,905,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,541 | h | #include <unistd.h>
#include <sys/select.h>
#include <sys/types.h>
#include <stdio.h>
#include "TcpServer.h"
#include <vector>
using std::vector;
class SelectServer {
public:
SelectServer() {
_maxfd = -1;
FD_ZERO(&_readfds);
}
void addfd(int fd) {
FD_SE... | [
"salvation@localhost.localdomain"
] | salvation@localhost.localdomain |
47020bcb054611d22896dd406b45bbcd0fc4edc6 | 6e5aca8a2d93092dbb8ad130d4bc904b49b938f9 | /algorithm/daiziguizhong/trailing-zeros.cc | b42c5d46f34afae4c2d98e2be98fe6a02da6869b | [] | no_license | ljshou/workspace | 6a1b79f0b222cefee8d751fe5c32c726466fa38e | 7cc1067f22cca9e56511f89be7e24420fe894090 | refs/heads/master | 2016-09-05T13:30:42.402922 | 2016-02-28T15:35:40 | 2016-02-28T15:35:40 | 26,074,693 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cc | /**
* @file trailing-zeros.cc
* @brief determine trailing zeros of n!
* @author L.J.SHOU, shoulinjun@126.com
* @version 0.1.00
* @date 2014-12-30
*/
#include <iostream>
#include <cassert>
using namespace std;
int TrailingZeros(int n)
{
assert(n >= 0);
int count(0);
while(n) {
n /= 5;
... | [
"shoulinjun@126.com"
] | shoulinjun@126.com |
1fe6d800394137297c1a368e94eebb9eab421013 | 94e924b108177223d5b431ba1a0312e7aa1e6ee3 | /src/Dialog/ColorDialog.h | b4f72c8c434b36100914722a3bf70258ef13dd74 | [
"MIT"
] | permissive | TheReincarnator/glaziery | baae34f244c02974cd1247537baad627c409b0c0 | f688943163b73cea7034e929539fff8aa39d63e5 | refs/heads/master | 2020-06-05T18:43:32.175577 | 2019-06-18T10:05:02 | 2019-06-18T10:05:02 | 192,514,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | h | /*
* This file is part of the Glaziery.
* Copyright Thomas Jacob.
*
* READ README.TXT BEFORE USE!!
*/
#ifndef __GLAZIERY_COLORDIALOG_H
#define __GLAZIERY_COLORDIALOG_H
namespace glaziery
{
/**
* TODO
*/
class ColorDialog : public Dialog
{
protected:
/**
* Creates a new message window.
*/
... | [
"git@thomasjacob.de"
] | git@thomasjacob.de |
b5dd9a19b4050e74e9f79fcc1f2f3ed2fcf3af72 | 0d1bb8aa3f469d4dffbfc3441b2951e260b2d156 | /src/apps/DEL_DOT_VEC_2D.hpp | 8f7110af9c00bcfb62188dd58e9e10c65aebd55a | [] | no_license | wcohen/RAJAPerf | 62013dace3806eaa40f6f72d35b6b6e9ac68418b | a7b6f63e4fef2d0146932eff409788da51ab0cb3 | refs/heads/master | 2020-06-03T01:41:13.555308 | 2019-04-12T21:21:40 | 2019-04-12T21:21:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,525 | hpp | //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
// Copyright (c) 2017-19, Lawrence Livermore National Security, LLC.
//
// Produced at the Lawrence Livermore National Laboratory
//
// LLNL-CODE-738930
//
// All rights reserved.
//
// This file is part of the RAJA Performance Suite.
//
//... | [
"hornung1@llnl.gov"
] | hornung1@llnl.gov |
6751b81f333a2663013bfb55168cd9796abc5ce6 | af69e335fc0ff9632964d061833713b672abad01 | /Temp/StagingArea/Data/il2cppOutput/mscorlib_System_Runtime_CompilerServices_RuntimeHe1447613860.h | c7467b2b0906a3cf3122656c1ff5c5135c5c3a66 | [] | no_license | PruthvishMShirur/Solar-System | ca143ab38cef582705f0beb76f7fef8b28e25ef9 | 5cf3eaa66949801aa9a34cd3cf80eeefa64d2342 | refs/heads/master | 2023-05-26T17:53:37.489349 | 2021-06-16T19:56:48 | 2021-06-16T19:56:48 | 377,611,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Object3080106164.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignore... | [
"42893637+PruthvishMShirur@users.noreply.github.com"
] | 42893637+PruthvishMShirur@users.noreply.github.com |
5e18b1c747f27e05d2c10614ebf938c0ad11e406 | e1a6af52111a1dfa0ae053183e2b3d0180d1e9ec | /src/test/script_standard_tests.cpp | 3f0ccbab2b0707e364df8d3d449dc75885959c0c | [
"MIT"
] | permissive | UFO-ETL/ufo | df392b66b3f528a3442c2a26304e061fb6e1a631 | e85dde0c8b12c1bf3357003afb77ea85b1476d6b | refs/heads/main | 2023-03-12T04:27:35.910420 | 2021-03-05T06:54:21 | 2021-03-05T06:54:21 | 344,399,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,205 | cpp | // Copyright (c) 2017-2020 The UFO Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <key.h>
#include <script/script.h>
#include <script/signingprovider.h>
#include <script/standard.h>
#include <test/util/... | [
"xiaka53@vip.qq.com"
] | xiaka53@vip.qq.com |
54adcb0a4e4ede6d0b32234f211cb6a5c0e96bf1 | a2424f0c80a06446c8c9c32ac1e2d63bd7aa1d6b | /Source/SprueEngine/Libs/nvmesh/param/Util.h | 0ed6b36ffb9d37b4c8fbf910f5ea90b9c2ae8b54 | [
"MIT"
] | permissive | caniouff/TexGraph | 6a30852866c7c3a4a278f94bbd65195951badd64 | 8fe72cea1afcf5e235c810003bf4ee062bb3fc13 | refs/heads/master | 2020-06-26T01:28:15.637110 | 2019-01-27T01:00:43 | 2019-01-27T01:00:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 833 | h | // This code is in the public domain -- castano@gmail.com
#pragma once
#include <SprueEngine/MathGeoLib/AllMath.h>
#include <stdint.h>
namespace nv {
namespace HalfEdge { class Mesh; class Vertex; }
bool isQuadMesh(const HalfEdge::Mesh * mesh);
bool isTriangularMesh(const HalfEdge::Mesh *... | [
"jonathan@jsandusky.com"
] | jonathan@jsandusky.com |
b1996b73caac59474ab97e252dcd806265378889 | ba8e87b98e591e02c4a94434315271947d57fdcd | /baekjoon_study_won/string/9935_jw.cpp | 930f6878465c49d20320221a130b3c1618188bee | [] | no_license | ji-one/algorithm-study | f0e66af8748a2772796b18574586e45ff66d4db8 | 8931faa7a2893c19c150c61dedf0ea3c88965b69 | refs/heads/main | 2023-08-02T12:26:33.667856 | 2021-08-23T07:42:55 | 2021-08-23T07:42:55 | 326,375,577 | 2 | 1 | null | 2021-08-23T07:42:55 | 2021-01-03T10:00:37 | C++ | UTF-8 | C++ | false | false | 857 | cpp | #include <iostream>
#include <string>
#include <algorithm>
#include <stack>
#include <vector>
using namespace std;
int main()
{
string s, e;
cin >> s >> e;
stack<char> st;
for (int i = 0; i < s.length(); i++)
{
st.push(s[i]);
int idx = e.length() - 1;
stack<char> tmp;
... | [
"rlawldnjs8@gmail.com"
] | rlawldnjs8@gmail.com |
194e799230d435e1e2c0147ecac0ebbd1423425c | 7902ad865f181e3bdc7f4445c988fb5cc64cf18d | /libsax/test/t_cru.cpp | 9aad51c61039dab2798fb10e4361bb5fb4bf5cf9 | [] | no_license | zjx20/xlibsax | fa2fcc708eac19f9918be48233be2a9b4e2a921c | 7889eea8122b6f8ae4f954476aa6bb07d31f3cf2 | refs/heads/master | 2021-01-13T02:22:45.294209 | 2014-11-04T12:15:17 | 2014-11-04T12:15:17 | 32,296,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | cpp | #include <stdio.h>
#include <string>
#include <sax/c++/crumb.h>
int main( int argc, char *argv[] )
{
typedef int TYPE;
sax::crumb<char, TYPE> x;
x.init(2, 100);
x.add(1, 100);
x.add(2, 200);
x.add(3, 300);
x.purge();
printf("size()=%u\n", x.size());
getchar();
x.purge();
printf... | [
"zhoujianxiong2@gmail.com"
] | zhoujianxiong2@gmail.com |
313e6242deb94de49d6cccd1eb49cc2c43d65607 | 54f62e14405fb25bae9c88e4767944a1d75dec2e | /files/asobiba/filer/RfileNetResourceBigIcon.cpp | 28fd3890b9be5185bc0702a2bdad544e9be52920 | [] | no_license | Susuo/rtilabs | 408975914dde59f44c1670ce3db663ed785d00b2 | 822a39d1605de7ea2639bdffdc016d8cc46b0875 | refs/heads/master | 2020-12-11T01:48:08.562065 | 2012-04-10T14:22:37 | 2012-04-10T14:22:37 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,017 | cpp | // RfileNetResourceBigIcon.cpp: RfileNetResourceBigIcon クラスのインプリメンテーション
//
//////////////////////////////////////////////////////////////////////
#include "comm.h"
#include "RfileNetResourceBigIcon.h"
//////////////////////////////////////////////////////////////////////
// 構築/消滅
/////////////////////////////////////... | [
"super.rti@gmail.com"
] | super.rti@gmail.com |
c6b786e71d31d4c791d6b7a4b729385043220224 | 3b7510e0b11f33d3d311c73cfe7786828c406095 | /04/ex01/SuperMutant.cpp | 9c592fe6f5de51540d65544e9c3128d6154f8347 | [] | no_license | Nimon77/Piscine_CPP | 3ae7f747a92018a39d79b91e9f15947e453037e9 | 2a3f745764d4bed60522f0af04aa30cbd24ec7cd | refs/heads/main | 2023-04-14T00:27:58.686490 | 2021-04-17T18:02:22 | 2021-04-17T18:02:22 | 336,347,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* SuperMutant.cpp :+: :+: :+: ... | [
"nsimon@student.42.fr"
] | nsimon@student.42.fr |
3e35d5695c9dfde233de8b63ea756759da1f086f | 142492ea1a6d7278856ca04b9945f2a3a017c53c | /src/c_cpp/c++11/atomic.cpp | e3804ad160a81a29e860c4465c16ed2342c98d50 | [] | no_license | henrytien/henry-notes | 4884a19bc10507fe2fcca2bef49dd6050995cb25 | 8bceddea32e0aaffc46feade0a5131d057efd7bf | refs/heads/master | 2023-08-05T04:22:48.982591 | 2021-09-28T04:23:27 | 2021-09-28T04:23:27 | 68,274,996 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | cpp | //
// Created by Henry on 2020-08-26.
//
#include "ac.h"
#include <atomic>
#include <thread>
struct AtomicCounter {
std::atomic<int> value;
AtomicCounter() : value(0) {}
void increment(){
++value;
}
void decrement(){
--value;
}
int get(){
return value.load();
... | [
"tianhangyu8886@gmail.com"
] | tianhangyu8886@gmail.com |
80f99896f6787d9b5107cb474782b7d574b5d33b | 544a465731b44638ad61a4afa4f341aecf66f3cd | /src/ivkapp/SampleComputation.cpp | 5e430683812ef3cd6773de8ddc91b08e9f74d608 | [] | no_license | skempken/interverdikom | e13cbe592aa6dc5b67d8b2fbb4182bcb2b8bc15b | dde091ee71dc1d88bbedb5162771623f3ab8a6f4 | refs/heads/master | 2020-05-29T15:29:18.076702 | 2014-01-03T10:10:03 | 2014-01-03T10:10:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,177 | cpp | #include "SampleComputation.h"
#if 0
#include <sstream>
#include <iostream>
#include "rvector.hpp"
using namespace std;
using namespace cxsc;
SampleComputation::~SampleComputation() {}
QDomElement SampleComputation::exportXml(QDomDocument document)
{
/*
// Create test rvector (1, 2, 3, 4)
rvector rvtest; //... | [
"sebastian@ivk-virtualbox.(none)"
] | sebastian@ivk-virtualbox.(none) |
789e25afeebc416e566ae515c5dcc29834a5aeba | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/boost/1.78.0/boost/mpl/aux_/na_fwd.hpp | 43882419397ee792f8c05adde94dc9345f50871f | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"Zlib",
"GPL-1.0-or-later",
"OpenSSL",
"ISC",
"LicenseRef-scancode-gutenberg-2020",
"MIT",
"GPL-2.0-only",
"CC0-1.0",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"Bison-exception-2.2",
"LicenseRef-scancode... | permissive | arangodb/arangodb | 0980625e76c56a2449d90dcb8d8f2c485e28a83b | 43c40535cee37fc7349a21793dc33b1833735af5 | refs/heads/devel | 2023-08-31T09:34:47.451950 | 2023-08-31T07:25:02 | 2023-08-31T07:25:02 | 2,649,214 | 13,385 | 982 | Apache-2.0 | 2023-09-14T17:02:16 | 2011-10-26T06:42:00 | C++ | UTF-8 | C++ | false | false | 673 | hpp |
#ifndef BOOST_MPL_AUX_NA_FWD_HPP_INCLUDED
#define BOOST_MPL_AUX_NA_FWD_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2001-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/li... | [
"jan@arangodb.com"
] | jan@arangodb.com |
67481365b4fd35b1dd1c034eff2b69b7338ff1be | 71b405ad15c691a6517eb3a02f2bef256dfc40b0 | /trees/print_pre_given_post.cpp | 909175ae18fb391d5b5c519f35f74d1963fa7efe | [] | no_license | shantand/practice | 22b1b00f32e3b4a1abc9c0ea97df5d9c2e49db33 | 998ca8a0fcc8d19af266c6f4ce9816becf7176b2 | refs/heads/master | 2021-01-18T17:45:42.134231 | 2016-04-06T19:46:53 | 2016-04-06T19:46:53 | 14,297,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
void create_pre(int post[],int start,int end)
{
if (start>end) return;
else if(start==end) printf("%d ",post[start]);
else
{
int node1 = post[end];
int i=end-1;
while(post[i]>node1) i--;
printf("%d ",node1);
create_pre(post,start,i);
create... | [
"shantanu@shantanu-Lenovo-G580.(none)"
] | shantanu@shantanu-Lenovo-G580.(none) |
cab75e1d2e9e3e169e8c72f3ab65d2899085c1a4 | d1baa2026feb1ef8fe58366ffedfb838f3715918 | /Nella oscura e pronda caverna/Nella oscura e pronda caverna/Scrigno.h | aa00c060c64972860f803b144770134634d42f6d | [] | no_license | ElMustacho/Nella-oscura-e-profonda-caverna | 916285aa9a3939b201d7fbe6e0665d269ff1f519 | da49e881830d03164ee8ff83ae9616fa93956f6c | refs/heads/master | 2018-09-28T08:21:11.669741 | 2018-05-24T15:44:16 | 2018-05-24T15:44:16 | 92,165,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | h | #pragma once
#include <list>
#include "Oggetto.h"
class Scrigno : public Oggetto
{
public:
Scrigno(double peso, std::string nome, std::string descrizione, long valore, int unlock, std::list<Oggetto> loot);
~Scrigno();
void open();
std::list<Oggetto> prendiOggetto(Oggetto* scelta = nullptr);
void inserisciOgget... | [
"fabiopolonia00@gmail.com"
] | fabiopolonia00@gmail.com |
8b59fa75114aa247a1488857b3e8391dce90916d | 38616fa53a78f61d866ad4f2d3251ef471366229 | /3rdparty/GPSTk/ext/lib/Math/BaseDistribution.hpp | d227afb3fb850f86e06f5f182db17489358e7bdf | [
"GPL-3.0-only",
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"MIT"
] | permissive | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 3b467fa6d3f34cabbd5ee59596ac1950aabf2522 | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | refs/heads/master | 2020-06-08T12:42:31.977541 | 2019-06-10T15:04:33 | 2019-06-10T15:04:33 | 193,229,646 | 1 | 0 | MIT | 2019-06-22T12:07:29 | 2019-06-22T12:07:29 | null | UTF-8 | C++ | false | false | 2,392 | hpp | //============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; ei... | [
"rwatso12@gmail.com"
] | rwatso12@gmail.com |
7616de91942d6b90b5623c2c571832afaf31b7cc | 4e1190455394bb008b9299082cdbd236477e293a | /CodeForces/Rounds/271 Div2/b.cpp | b2f1e5c92128c633d51150013f75678729945a5d | [] | no_license | Leonardosu/competitive_programming | 64b62fc5a1731763a1bee0f99f9a9d7df15e9e8a | 01ce1e4f3cb4dc3c5973774287f2e32f92418987 | refs/heads/master | 2023-08-04T06:27:26.384700 | 2023-07-24T19:47:57 | 2023-07-24T19:47:57 | 202,539,762 | 4 | 6 | null | 2022-10-25T00:24:54 | 2019-08-15T12:46:33 | C++ | UTF-8 | C++ | false | false | 333 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
int n,q,x;
cin>>n;
vector<int> v(n);
for(int i=0;i<n;++i) {
cin>>v[i];
if(i)
v[i] += v[i-1];
}
cin>>q;
while(q--) {
cin>>x;
cout<<(lower_bound(v.begin(),v.end(),x)-v.begin())+1... | [
"leonardo.su@ccc.ufcg.edu.br"
] | leonardo.su@ccc.ufcg.edu.br |
8fa7dea5da62754d9033a61f7d9afca5015b766c | 1fb60732828ab4b26dee5c1a6c09192b3e72605b | /galaxy-game/SettingMenu.cpp | 3a941e8ce89db9d7d35ae23a1f19195951bf61e3 | [] | no_license | phatnm-student-hcmus/ProjectOOP | e24a01135607cddbfdbcb7e38c741743d57946b8 | d1d63f873990506b8cdb2df37a5dd11d297fbaa4 | refs/heads/master | 2023-06-18T01:26:48.123211 | 2021-05-09T12:29:10 | 2021-05-09T12:29:10 | 365,736,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,923 | cpp | #include "SettingMenu.h"
const int SettingMenu::s_max_volume[6] = { 128,64,15,128,128,128 };
int SettingMenu::s_prev_volume[6] = { 128,64,15,128,128,128 };
SettingMenu::SettingMenu() {
m_event_ = SDL_Event();
ptr_screen_ = NULL;
for (int i = 0; i < 4; i++) {
sound_[i] = NULL;
icons[i] = NULL;
percent_volume_... | [
"74006956+phatnguqqq-2428@users.noreply.github.com"
] | 74006956+phatnguqqq-2428@users.noreply.github.com |
9ecbb2de600ce9d8ec347f62ec25a8d69710bf86 | e25f25a77af3e9eae0a714f9d2b572e12e049d08 | /include/template.hpp | 4633f777c3bccdc6b613b0f2b8ded604f14d8c9e | [] | no_license | liyunwei-3558/Template_Learner | fedb0be07b9b5e6f1daa1481f7efc4a70ff7041a | 9a5ca00e9b5b0ef1bc5e70a27d6cfd26a03da60c | refs/heads/master | 2021-05-22T17:40:22.440374 | 2020-04-04T15:27:59 | 2020-04-04T15:27:59 | 253,025,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,574 | hpp | /*
Formula Student Driverless Project (FSD-Project).
Copyright (c) 2019:
- chentairan <killasipilin@gmail.com>
FSD-Project 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... | [
"1084087910@qq.com"
] | 1084087910@qq.com |
d86a51a88075316b53a7502e80fc004e6fcfd712 | 195e3b6d1468df2a8aa7b9300f8ef61103fceff2 | /Object.h | b7da8c28984ce6f9f2730e3d63f22c5ec5b21d6c | [
"MIT"
] | permissive | adrianlacour/Bell-LaPadula-Security-Monitor | 6495c9abc61573557406dcaa1ebd0912ff48cb17 | 2d6a46d9c66bde1c8b4cbf339b1c2c716befcebf | refs/heads/master | 2020-04-16T00:12:13.854052 | 2019-01-10T21:04:33 | 2019-01-10T21:04:33 | 165,130,360 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | h | /*
Author : Adrian LaCour
Course : CSCE 4550
Description: This header file holdes the Object class, which will hold the name and
value of the object that is stored with the object.
*/
#pragma once
#include <iostream>
#include <string>
using namespace std;
class Object{
public:
... | [
"noreply@github.com"
] | adrianlacour.noreply@github.com |
a0af246ff9cc2e7bac0b2a737429894455ee5532 | 7f0c143c141c6803f5ef8da55c3c8d49ec7898e8 | /Ultrasonix.Amplio/Ultrasonix.Amplio.cpp | e7879c3d2f7f3aca5b823e6dc228581521c79fdc | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | loselvisos/Ultrasonix-.NET-SDK-1 | d585799e4bc21d45806a43d22846e4803f80ceea | a4fddd775fe0b068c7d8b20c053e44a8b9a0d5cb | refs/heads/master | 2021-01-23T20:18:03.505781 | 2012-08-15T07:44:01 | 2012-08-15T07:44:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84 | cpp | // This is the main DLL file.
#include "stdafx.h"
#include "Ultrasonix.Amplio.h"
| [
"eddinsw@gmail.com"
] | eddinsw@gmail.com |
6016ba593e02abc45f43bcc749eba1ea5f9f19f9 | 545b3638c12f5af3157533e2c4b096d5b4dc1e57 | /ook/ast/index_node.h | d60e08284f2638569b234299f3a6cfb433837c54 | [] | no_license | Pedrolindeza/OOK | 88d8cd01625c0ee82b7fa02fd782bc0eb01c2e9d | bac0d83654c60137d080535c71274f490a89a02f | refs/heads/master | 2020-12-30T10:36:24.345404 | 2017-08-02T19:34:27 | 2017-08-02T19:34:27 | 99,149,853 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | h | #ifndef __CDK_INDEXNODE_H__
#define __CDK_INDEXNODE_H__
#include <cdk/ast/expression_node.h>
namespace ook {
/**
* Class for describing index nodes.
*/
class index_node: public cdk::lvalue_node {
cdk::expression_node *_base;
cdk::expression_node *_offset;
public:
inline index_node(int line... | [
"pedro.lindeza@tecnico.ulisboa.pt"
] | pedro.lindeza@tecnico.ulisboa.pt |
8438df2ec2b29b28c959b39e5fd3ce57a9339106 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/third_party/pdfium/xfa/fwl/basewidget/ifwl_picturebox.h | 8ff4981e11cc54debad1c5945ded9cf3aa58cc4d | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 1,936 | h | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef XFA_FWL_BASEWIDGET_IFWL_PICTUREBOX_H_
#define XFA_FWL_BASEWIDGET_IFWL_... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
5018584415491ab5ecca2fbfbc46fca4a5c17c20 | 8c2a59b0d65d3dbc96337a3b24ab99e87bf47649 | /Arduino/smart-hub/sketch_nov30a.ino | 4c9ea616bccfc41b59140a63359cfaa4f53abf9e | [] | no_license | luke-truitt/smart-store | be8b025943f59703c2f0c48c56e03c76f43e55c9 | b1284fb2edcc44d5ec2ad4dfac1004397d320b65 | refs/heads/master | 2020-09-07T17:58:34.967890 | 2019-12-07T20:21:18 | 2019-12-07T20:21:18 | 220,869,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,412 | ino | #include <SoftwareSerial.h>
/*
This Arduino project uses a Bluetooth serial modem, a parallel LCD display, and your Android phone to
demonstrate how an Arduino can communicate with an Android device.
I have added nothing new here; just taken other people's existing work to guide you on how
Arduino and An... | [
"lot@duke.edu"
] | lot@duke.edu |
22de05f8674f357a91d9401f216ee189e27f2323 | ecfb6ef1f4480e0644b3f7bd51ed2198b34fec37 | /Modules/Contents/UI/Include/PolyUIImageButton.h | 58dcdc7d2864f680f8e09c49e5e410d923875a60 | [
"MIT"
] | permissive | linuxaged/Polycode | 4eee34dfa5c867033a4c0c7ea91eda2418bd80b1 | 38bfad114d6b24e8be1f6db76b384777e3372b0f | refs/heads/master | 2020-12-11T01:50:43.875483 | 2013-11-22T05:14:44 | 2013-11-22T05:14:44 | 14,579,437 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | h | /*
Copyright (C) 2012 by Ivan Safrin
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, merge, publish, distri... | [
"ivansafrin@gmail.com"
] | ivansafrin@gmail.com |
3e7b6ba9e7b3a14d4df1f3a848829689434b0db8 | a78aa555b175e699c96553e3d714066bcc281ed8 | /model/valuesbyetc.cpp | 3728ccb65c6449e1a99c53e241b5d8632f48ecf6 | [
"Apache-2.0"
] | permissive | rdffg/bcaa_importer | 0cb503c289002e573bcf8996178381cf001da742 | f92e0b39673b5c557540154d4567c53a15adadcd | refs/heads/master | 2021-08-28T16:05:39.936780 | 2021-08-20T20:00:53 | 2021-08-20T20:00:53 | 92,878,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,310 | cpp | #include "valuesbyetc.h"
namespace model {
ValuesByETC::ValuesByETC(QObject *parent) : QDjangoModel(parent)
{
}
QString ValuesByETC::taxExemptCode() const
{
return m_taxExemptCode;
}
void ValuesByETC::setTaxExemptCode(const QString &taxExemptCode)
{
m_taxExemptCode = taxExemptCode;
}
QString ValuesByETC::... | [
"dmahoney@rdffg.bc.ca"
] | dmahoney@rdffg.bc.ca |
91b1734c7854f571882ea06f3813aba2cc8f3711 | 4ca256bbc316310255d37675117ea0c6d37cefb2 | /OF4.0/tutorials/unidirectionalSheetFlow/twoPhaseML/0/alpha.sand | 16dc921fea121995b39c26ec33a90057511b2d58 | [] | no_license | CyrilleBonamy/mixt3SedFoam | 0de2d8cd16f75aff7e9cda196d4d06f13e18e3e2 | 48cba1a24c700cc73cc8f240dde490f7b6d36a69 | refs/heads/main | 2023-07-31T05:30:05.162936 | 2021-09-27T14:57:45 | 2021-09-27T14:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,553 | sand | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
... | [
"me.ouda@gmail.com"
] | me.ouda@gmail.com |
00ac4b81737f0281e0c5adacdb81c5c65b98b959 | c96ae11059bef7c62a3e7509708c9807e5b7384a | /TriggerEditor/App/TgrApp.h | e2f5806c64ab2d1df1cc210397fc4cb4266d19b5 | [] | no_license | liuchunlin/BehaviourEditor | 40a195fa3455402a585152431219a4411119357a | 9ce3217f2bfc5490680e8df414286b95b27382ce | refs/heads/master | 2020-12-25T14:13:16.775271 | 2016-08-25T15:45:49 | 2016-08-25T15:45:49 | 65,906,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | h | // For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
// for all others, include the necessary headers (this file is usually all you
// need because it includes almost all "standard" wxWidgets headers)
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "wx/treectrl.h"
#... | [
"408354802@qq.com"
] | 408354802@qq.com |
399e31c18398e17605436eae24a1dd4d0ac80b43 | b1c4be5357d95a8bef78dab271189a4161ffbd2c | /Summer Practice/SPOJ/Road Network.cpp | 74efad31fa4b79b24db3fd8a2c13d49775c7dd8f | [] | no_license | Shaker2001/Algorithms-Library | faa0434ce01ad55d4b335c109f4f85736a6869ed | 1aa09469ca434f6138547592ce49060d4400e349 | refs/heads/master | 2023-03-16T04:41:27.367439 | 2017-11-13T00:41:55 | 2017-11-13T00:41:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,658 | cpp | #include<stdio.h>
#include<string.h>
#include<algorithm>
using namespace std;
#define INF 1000000000
int cost [152][152][152];
int N, P, Q;
int cities[152];
void initialize(){
for (int i=0;i<=N;i++)
for (int j=0;j<N;j++)
for (int k=0;k<N;k++)
cost[i][j][k] = I... | [
"malatawy15@gmail.com"
] | malatawy15@gmail.com |
4822cd31c12705f7c2bda297655d542f3006aeb2 | e815232be140847ecb5bf088d89a656b593ac1da | /UVA/UVA 11933.cpp | 7d93ed3081739de39a0797c876ca8e90f0bc60d9 | [] | no_license | nada3ssam/CompetitiveProgramming | fc176c98574d68f0f0ef51be7cc8cc7f355dce05 | 718e78b3745884c617b7488d18d92ff1148f962f | refs/heads/master | 2021-01-24T10:08:03.411975 | 2018-04-09T15:26:30 | 2018-04-09T15:26:30 | 123,040,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | #include<iostream>
#include<bitset>
#include<cmath>
#include<algorithm>
#define _CRT_SECURE_NO_WARNINGS
#define PI 3.14159265
#define all(v) ((v).begin()), ((v).end())
#define sz(v) ((int)((v).size()))
typedef long long ll;
typedef long double ld;
using namespace std;
void Fast()
{
std::ios_base::sync_with_stdio(0);
... | [
"nada3ssam1@gmail.com"
] | nada3ssam1@gmail.com |
576c4337ed60aa2524c9e657e714e8e8333e4c5e | d625eb0f2e675d6e40b0849d1e5f20b1aef4c406 | /codeforce/Codeforce_Rating_Round/Round_105/A. Insomnia cure_test.cpp | e79759de365713119b2a93ba59b97c344e8ed7e8 | [] | no_license | aseem01/Competitive_Programming | b5a57c7b10b731ea2b03288c500dd85c8f5fda2c | ad7354c56cada964b2c5331f15424d580febe2b6 | refs/heads/master | 2021-01-25T11:28:57.402352 | 2018-11-09T06:59:46 | 2018-11-09T06:59:46 | 93,930,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,030 | cpp | /****************************************************************************\
Belief yourself,Respect yourself |
|
/\ /--------| |--------| |--------| ---- ---- |
... | [
"aseem.cse.cu@gmail.com"
] | aseem.cse.cu@gmail.com |
476971421dbd67321e1f7cf7649c1510e91ced7b | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/com/netfx/src/clr/vm/confighelper.cpp | ea2212039995a4e38cdfb22d08bae62afde7c5d0 | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,243 | cpp | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
//*****************************************************************************
// ConfigHelper.cpp
//
//*****************************************************************************
//
// XML Helper so that NodeFactory can be ... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
89f6bb25eec67736f7f560e3f138a3d46fc0827a | 8bb18defef491b43964e8c577046b81fc253162c | /eklavya_roboteq/src/roboteq_encoder_client.cpp | afb7c55f6d5b584ab1fd145ea853c9d6c3591c07 | [
"BSD-3-Clause"
] | permissive | gianma123/eklavya-ros-pkg | e5e47cb81e1d4dc168442eb7c648dfc3dbcf2884 | 5fec39e8c9a7b5e270496645b007bd905b7077e1 | refs/heads/master | 2020-06-18T11:50:30.761476 | 2013-05-09T20:16:30 | 2013-05-09T20:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | #include "ros/ros.h"
#include "eklavya_roboteq/GetSpeed.h"
int main(int argc, char **argv)
{
ros::init(argc, argv, "motor_speed_client");
if (argc != 1)
{
ROS_INFO("usage: motor_speed_client");
return 1;
}
ros::NodeHandle n;
ros::ServiceClient client = n.serviceClient<eklavya_rob... | [
"37.tanmay@gmail.com"
] | 37.tanmay@gmail.com |
5198b607d8bd2652a48ca37d4ea05ad88d5759b5 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir22441/dir22442/dir25702/file25756.cpp | cc06e97eadbfeb348fefacf3c2aaa9e6cfa85617 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file25756
#error "macro file25756 must be defined"
#endif
static const char* file25756String = "file25756"; | [
"tgeng@google.com"
] | tgeng@google.com |
56ce23dce79416f5ab9575c6911f1456ead12c22 | f0dac252997759f70ac463778aea0d4b58360633 | /Source/TowerDefence/Private/Core/SelectLevelCore/TowerDefenceSelectLevelGameMode.cpp | 909c17d1bde6e9bd4d010963b9b8e86d10c4107f | [] | no_license | GuoPuS/StudyGame | b18ae153a824895702d3906a9cc71b24b1750e90 | a4c621b8010711e25488279eeb8145ebefe019c2 | refs/heads/master | 2023-05-04T21:09:56.604924 | 2021-05-28T10:33:33 | 2021-05-28T10:33:33 | 371,582,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Core/SelectLevelCore/TowerDefenceSelectLevelGameMode.h"
| [
"gpsvictory@163.com"
] | gpsvictory@163.com |
5cc2f14c85555e37f7aaafabaa452e8385323e68 | b67505f3be706aa8c167cce1577a4582f9c36b1c | /syakyo/rensyu.cpp | c00cee8b1afd8e7ce0138a0ef7db9abf48d5293a | [] | no_license | ElenoMome/atcoder | 87e0fcb226e02cb04ebd97ab997b4cfa8907ead5 | ff9a8db543affc4c0750ddf14872bcfc9a081468 | refs/heads/master | 2020-04-04T13:49:17.557000 | 2019-01-29T05:44:57 | 2019-01-29T05:44:57 | 155,976,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,659 | cpp | //二分木で考える貪欲法
//コストの合計は,各葉の節点の板の長さx節点の深さ
typedef long long ll;
//入力
int N, L[MAX_N];
void solve()
{
ll ans = 0;
while(N > 1)
{
int mil1 = 0; mil2 = 1;
if(L[mil1] > L[mil2]) swap(mil1, mil2);
rep(i=2, N)
{
if(L[i] < L[mil1])
{
mil2 ... | [
"masaki@easter.kuee.kyoto-u.ac.jp"
] | masaki@easter.kuee.kyoto-u.ac.jp |
aac0b6d02cd21223f8fc38f373d3e4a23622ca63 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/hunk_6752.cpp | 8835f54b96bd665a6916a74f34b1fd0c2b96e6f0 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | cpp | if (action == REVERT && !no_replay)
die("revert is incompatible with replay");
+ if (read_cache() < 0)
+ die("git %s: failed to read the index", me);
if (no_commit) {
/*
* We do not intend to commit immediately. We just want to
| [
"993273596@qq.com"
] | 993273596@qq.com |
d9ee5b933f30de799334e082bdf43bc11056bf0d | e9e0f1e544704741ce32188fc31dbc3200899390 | /src/Brain.cpp | 329e3b4d44b666bc02dc2588a0cdae9ac7430e60 | [] | no_license | JacobGunnell/64w-ai-2021-official | 691c0592f73cdbbc70ca71ac1e3f10ac15e78bda | fae3354e29f181bb352e4e7931bda1569b79f90c | refs/heads/master | 2022-12-07T16:33:36.017889 | 2020-08-27T04:19:49 | 2020-08-27T04:19:49 | 262,132,113 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | cpp | #include "Brain.h"
// everything below this line is ugly, but it was the only way
// add an include for every derived class of Brain...
#include "SMP.h"
#include "SP.h"
Brain *_brain_breed(Brain *mother, Brain *father)
{
if(mother != NULL && father != NULL)
{
// TODO
}
return NULL;
}
#define _BRAIN_DYN... | [
"jacob.gunnell@cox.net"
] | jacob.gunnell@cox.net |
83f7dd67f6c0029a42355b809eb69442d212a744 | 4898bafde2c3658dfecde5d457c853cc0f574c89 | /cq.cpp | 7d1222a06c4f56eedd62e5a73b5f19ae07d7676a | [] | no_license | sanjaykatta95/practiceCode | 084bd5dad6199c2dd431e386cfdfe8ceb9f27c41 | 448baf3615db4f8ac1ca4200753617abd136eb8b | refs/heads/master | 2020-04-07T04:34:04.941928 | 2018-11-18T08:17:38 | 2018-11-18T08:17:38 | 158,062,321 | 0 | 1 | null | 2018-11-20T17:17:31 | 2018-11-18T08:06:17 | C++ | UTF-8 | C++ | false | false | 1,211 | cpp | #include <bits/stdc++.h>
using namespace std;
#define long long int ll
class circularQueue
{
int front,rear,size,*a;
public:
circularQueue(int size)
{
a=new int[size];
front=-1;
rear=-1;
this->size=size;
}
bool isEmpty()
{
if(front==-1)
return true;
}
bool isFull()
{
if(front==(r... | [
"sanjay18495@gmail.com"
] | sanjay18495@gmail.com |
a8ecd45c912e8a263709b61b7b1b0e9f329efa27 | aa29ea6821c41fe9834f125fa0dcd1fef30d3ae3 | /PRETNUM.cpp | 566891d3886c4336381a47f141fbfe1734156ff6 | [] | no_license | pushpendragold/CODECHEF | 82de606ca89bb842168e3b211c310a90c7c0a27a | c0cd8b24e40905d53bb2309606cb62ffda8de7ba | refs/heads/master | 2021-01-10T04:45:04.457758 | 2015-10-11T20:19:20 | 2015-10-11T20:19:20 | 44,067,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,088 | cpp | /*
Chef doesn't love math anymore. He loves Sasha. Sashen'ka is cute.
Chef goes on a date with her. Flowers are boring, while numbers are not. He knows that most of all this girl loves numbers, that's why he is going to bring
ribbon with numbers L, L+1, L+2, ..., R written on it. Sasha thinks that numbers with prime... | [
"pushpendragold@bitbucket.org"
] | pushpendragold@bitbucket.org |
4518481b3929d89f980f3f7af343f7b60605890c | c80cd2d263cffae4981e8a92366ce3dabeec4c75 | /exercises/7/7_11.cpp | 6fe08db21f2d16e710d5356f1337eabf461d8d4d | [] | no_license | cat1984x/Learning_Cpp_Primer | 72398a00f4f24c242b9d3bb22b6426391d17c773 | fb5f1aa3f5a157d19c64e6ab260cd68db571f90a | refs/heads/master | 2022-01-05T12:41:55.587426 | 2018-07-23T03:57:59 | 2018-07-23T03:57:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include <iostream>
#include "7_11_Sales_data.h"
#include <string>
using namespace std;
int main()
{
Sales_data a;
cout << "a: ";
print(cout, a) << endl;
Sales_data b("b");
cout << "b: ";
print(cout, b) << endl;
Sales_data c("c", 2, 20.0);
cout << "c: ";
print(cout, c) << endl;
Sales_data d(cin);
cout <... | [
"chenyushen1989@163.com"
] | chenyushen1989@163.com |
a2f38a6b5095cfb0c4b747af7c5a6039569b89dc | cf0063c6c0634cd451bc4d0df9ff429b802f8867 | /projet_micropro_system_de_verrouillage_de_porte/projet_micropro_system_de_verrouillage_de_porte.ino | 49e6f14d4a067eee6b2c3ca336b370a92088a581 | [] | no_license | aghilasakkal/Microprocesseur | 4d32e7177807be905682ae6a06037e3a1a35a2a6 | bd5dfc938369c2c69150783b0de91921cc89ab47 | refs/heads/master | 2022-06-19T08:31:53.526174 | 2020-05-09T23:17:05 | 2020-05-09T23:17:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,604 | ino | /*
Projet Microprocesseurs : System de verrouillage de porte
AKKAL Aghilas 19009504
lien Tinkercad :
https://www.tinkercad.com/things/2LGuvAvqNk2-system-de-verrouillage-de-porte
NB : J'aurais pu utiliser EEPROMWrite() et EEPROMRead() pour sauvgarder le code octet par octet dans
la mémoire EEPROM de l'... | [
"noreply@github.com"
] | aghilasakkal.noreply@github.com |
f80a71801ba51a6c35dee1c9db104b003a8a66b5 | 14d07c63cee076aaa4814544f39aa9629d0dd9ac | /d3d.h | 0c350d07a4eca73f3010698cf4d4fc9e24b5981b | [] | no_license | TempAccountNull/endscene-hook | 40e66b215b9f86eed76d57d67b3fc48af1902268 | 7256644f77daf8460e314695bb52f5fb5d30c497 | refs/heads/master | 2022-10-06T10:05:18.329095 | 2020-06-07T12:39:53 | 2020-06-07T12:39:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | h | #ifndef D3D_H
#define D3D_H
#include "d3d9.h"
#include <stdexcept>
class d3dHelper {
public:
d3dHelper();
bool getD3D9Device();
// The vTable entries of the D3D9 dummy device
char* d3d9DeviceTable[119];
static void drawRectangle(int x, int y, int h, int w, D3DCOLOR color);
stati... | [
"ps1337@mailbox.org"
] | ps1337@mailbox.org |
df6dfd35e07441c515f29d426bbdc9cd346e0157 | 0185b0451c89d8758af022f2e15225317dba85c8 | /CPP_module_03/ex02/ClapTrap.cpp | 61087a4dfd930890c9b34d3819ee45a8d95d325c | [] | no_license | atomatoe/CPP_modules | 8c6acb03193f7ae39d732f44bd08a38678f6be7d | b0ca9d84a8fe4404caa1cc2e6f886abc151bb765 | refs/heads/master | 2023-03-24T05:47:03.209605 | 2021-03-16T20:21:22 | 2021-03-16T20:21:22 | 320,817,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,078 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ClapTrap.cpp :+: :+: :+: ... | [
"atomatoe@si-g3.kzn.21-school.ru"
] | atomatoe@si-g3.kzn.21-school.ru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.