blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
23f11db23565cb49b36fac8ff961eafef1e5801b | 74dc7bf9cf9cb4f1dc28affd75fd7a133ab89ce7 | /Secure Software Assignment 1/Secure Software Assignment 1/Model.h | 5d55c8e3cd120956211cd116b8898c2e6645bdb9 | [] | no_license | saki2000/Security-assignmnet-1 | 91d5b7bd779132399ebc0611f1ac4b3b2284b181 | bce4f027b52ed0422789b79c174216560b5b256f | refs/heads/main | 2023-03-11T00:07:28.794475 | 2021-03-03T20:47:45 | 2021-03-03T20:47:45 | 341,329,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,168 | h | #pragma once
#include "Windspeed.h"
#include "Tempeture.h"
#include "SnowFall.h"
#include "Lift.h"
#include "Logger.h"
#include "Utilities.h"
using namespace std;
class Model
{
private:
TempetureAtTop tempetureAtTop;
TempetureAtBottom tempetureAtBottom;
Windspeed windspeed;
Lift lift;
SnowFall snowFall;
string ... | [
"57996573+saki2000@users.noreply.github.com"
] | 57996573+saki2000@users.noreply.github.com |
f68fa427c643af7a236e4d3c2ea87ebc6017d1c7 | 35b30810913982bae52cc432b9f4a775e9c7ace2 | /Cpp_notes/makefile_example/scr/main.cpp | a281942d237103644f900bd67f09e5cb1107ae34 | [] | no_license | wuchuankang/cs_notes | 1463535700b2267559ab45637b06ff0997bcce31 | ea288bdcd8e170ea0bb126afc9ed4ed6fedc4a53 | refs/heads/master | 2020-06-24T22:52:03.593123 | 2020-03-14T04:19:01 | 2020-03-14T04:19:01 | 199,114,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | cpp | #include "../include/my_operator.h"
#include <iostream>
using namespace std;
int main(){
int a = 2;
int b = 3;
int c;
c = add(a, b);
cout<<"result: "<<c<<endl;
return c;
}
| [
"1650912111@qq.com"
] | 1650912111@qq.com |
ab721281437608072e12f8d209d679e837484caa | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/boost/1.78.0/boost/asio/detail/io_control.hpp | cbf6d45d19b791b29599e81b6382580ffe37fade | [
"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 | 1,883 | hpp | //
// detail/io_control.hpp
// ~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifndef BOOST_ASIO_DETAIL... | [
"noreply@github.com"
] | noreply@github.com |
e3b7f23abf94e55283b6dbc41f3e5c8696991234 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14647/function14647_schedule_12/function14647_schedule_12_wrapper.cpp | 53394799385ee8efd4734700913f467b039e8f00 | [] | 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 | 939 | cpp | #include "Halide.h"
#include "function14647_schedule_12_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(64, 64, 128, 128);
Halide::Buffer<int32_t> bu... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
2395b01fe962f49e82e686769db2ccb2b734fdbd | dc56ac7b06beb80c5159cc5faa09822828d46436 | /2000~4000/2133.cpp | 2e4bc220ca8374a4fdc014fc19235c00b59c1633 | [] | no_license | suhwan-cheon/BOJ | ffd4f468a4b2c2d87cf2bb2d10582b16d1127c63 | d9dec7a4ed1aac64ec53d2e98f80a3ebb2317221 | refs/heads/master | 2022-06-03T17:22:09.917542 | 2020-04-27T13:50:59 | 2020-04-27T13:50:59 | 259,325,175 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include <iostream>
using namespace std;
long long dp[31];
int ans_dp(int n) {
if (n % 2 == 1) return 0;
dp[0] = 1;
dp[2] = 3;
dp[4] = 11;
for (int i = 6; i <= n; i+=2) {
dp[i] = dp[i - 2] * 3;
for (int j = i - 4; j >= 0; j -= 2) {
dp[i] += dp[j] * 2;
}
}
return dp[n];
}
int main()
{... | [
"noreply@github.com"
] | noreply@github.com |
ebef6aa82afeb511cfa55d029f2af8b40189d9be | 46f53e9a564192eed2f40dc927af6448f8608d13 | /media/filters/decrypting_demuxer_stream_unittest.cc | 3cba1f72c3d26e85d066ac3e0aba598af1fe6451 | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 20,712 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include <vector>
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/message_loop/message_loop.h"
#include "m... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
fbb4bdcbd895348e6fd076c2c239cdca4edcd1cb | 383246171967cb4a9eb33bb83ea9722ec01d15f5 | /include/Simple/Core.hpp | d9db53092fa10e32919da97edcf1d0ccf077cf8d | [
"MIT"
] | permissive | ardieb/Simple | 00c5f2aeca0ce289925c9d57f8d511bff18d3b92 | b65cf6185930a643c527d384a3f9d95c1e2784eb | refs/heads/master | 2020-12-09T19:16:25.186309 | 2020-01-13T03:07:53 | 2020-01-13T03:07:53 | 233,395,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | hpp | //
// Created by Arthur Burke on 2020-01-12.
//
#ifndef SIMPLE_CORE_HPP
#define SIMPLE_CORE_HPP
#ifdef SIMPLE_PLATFORM_WINDOWS
#ifdef SIMPLE_BUILD_DLL
#define SIMPLE_API __declspec(dllexport)
#else
#define SIMPLE_API __declspec(dllimport)
#endif
#else
#define SIMPLE_API
#endif
#endif //SI... | [
"amb556@cornell.edu"
] | amb556@cornell.edu |
84f4fa33b8abd83504964ea1f5b51237cd25ef93 | 67e17d140cd439e75a07cfb9f09c7bc73dcafc94 | /Tests/swarm_ws/devel/include/crazyflie_driver/LandRequest.h | c1384c881a3786a338972aaf8117751d6ba263cb | [] | no_license | ClockWorkKid/WiFi-Nano-Quadcopter | 4f9419c0cd98348654cdbb7ff8f8d8c752f69ee7 | d588c165e88de9661d2df484df7f02110dc36614 | refs/heads/master | 2022-12-27T13:01:43.943644 | 2020-10-12T07:09:38 | 2020-10-12T07:09:38 | 266,081,215 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,432 | h | // Generated by gencpp from file crazyflie_driver/LandRequest.msg
// DO NOT EDIT!
#ifndef CRAZYFLIE_DRIVER_MESSAGE_LANDREQUEST_H
#define CRAZYFLIE_DRIVER_MESSAGE_LANDREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_trai... | [
"msmohammad90@gmail.com"
] | msmohammad90@gmail.com |
e87a4f65db653e1a4957777402d48e8091bde47c | ddf5e34aaf5bd46b8a9c9a5575792c4750b7ed43 | /ref_src/tbss/swap_voxelwise.cc | fc80faa16b8307f2d1a5255c5dab27bd392f41fa | [] | no_license | chengyu89527/MRI_Registrator | ba989ceb385ec6b5e616777c460f7793258eb216 | dea24a2d3fe6a3c85677e1b77bd64107df05a82b | refs/heads/master | 2020-11-23T19:08:44.132184 | 2019-12-15T10:01:04 | 2019-12-15T10:01:04 | 227,782,024 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,378 | cc | /* tbss_reorder_vectors.cc
Saad Jbabdi, FMRIB Image Analysis Group
Copyright (C) 2009 University of Oxford */
/* Part of FSL - FMRIB's Software Library
http://www.fmrib.ox.ac.uk/fsl
fsl@fmrib.ox.ac.uk
Developed at FMRIB (Oxford Centre for Functional Magnetic Resonance
Imaging of the Brain)... | [
"68667194@qq.com"
] | 68667194@qq.com |
ac98d6c563c70ce6a04b96bedbcdde0f02b27b3b | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-10.0/llvm/lib/IR/ConstantsContext.h | f5e2481f3903c612045f6f7cc0c1c4cc598493c1 | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 24,295 | h | //===-- ConstantsContext.h - Constants-related Context Interals -*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"bclayton@google.com"
] | bclayton@google.com |
d0b17ffd0f92ad6a5208bc10887173f05c299d67 | 636793bc1d01f3cedce345868a19ff519b63c636 | /zero.cyclic/T | c56da59e485addf7c6b8088979bfefab4505f744 | [] | no_license | ulanter/OFW14_bubbleDynamics | 1633c1a80108fd04b365566364bed2cbeb8b9752 | ab0599c978093f6279fa47717ff26d715b07ec1e | refs/heads/master | 2022-02-12T03:54:28.914258 | 2019-07-22T07:58:31 | 2019-07-22T07:58:31 | 198,171,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.x |
... | [
"udo.lantermann@uni-due.de"
] | udo.lantermann@uni-due.de | |
2595606417859667c6ce986d2669aed36f7e7b56 | fe3cda9cf77b9afff5de9db1078d2316e95df2e6 | /kstar/opisrc/src/TMS_1360x768/main.cpp | 8b2962075b2613e9d94248ec049c5db68ae824dc | [] | no_license | Sangil-Lee/RefCode | c230f9dbab9246c510799cc8bc523e8acfdcf008 | c9bd25d1a9033c0071b70eab17b442b535a188fb | refs/heads/master | 2023-08-08T15:38:42.616284 | 2023-07-22T01:28:15 | 2023-07-22T01:28:15 | 34,648,348 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include <QtUiTools>
#include <QtGui>
#include "qtchaccesslib.h"
int main (int argc, char *argv[])
{
QApplication app(argc, argv);
AttachChannelAccess attach("/usr/local/opi/ui/TMS_Main_1360x768.ui",1);
attach.SetUiCurIndex(1);
QWidget *pwidget = attach.GetWidget();
pwidget->show();
return app.exec();
}
| [
"silee7103@gmail.com"
] | silee7103@gmail.com |
88d7bfcd9ea2d5d97b05362d7f1128afdd45a3aa | 5d4bbc4ba9ab0ddf8a44034ad1a8f3cf0ee274a3 | /minimumNumberOfOperationsToReduceXToZero.cpp | ae44f3844beb578b0f6268943a8dc84054e78ff1 | [] | no_license | a5batra/LeetCode-Solutions-in-C-plus-plus | eda25d641859d8da193825cf06fd7db845862224 | 2124763fce4b5f7c150c95578bf972fbba3d3b50 | refs/heads/master | 2021-12-08T21:41:11.234971 | 2021-08-11T20:43:13 | 2021-08-11T20:43:13 | 243,896,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,628 | cpp | //
// Created by Ankit Batra on 12/14/20.
//
/* You are given an integer array nums and an integer x. In one operation, you can either remove the
* leftmost or the rightmost element from the array nums and subtract its value from x.
* Note that this modifies the array for future operations.
* Return the minimum num... | [
"a5batra@ucsd.edu"
] | a5batra@ucsd.edu |
ff6d9291ef11e363a6c72195fed03d409810b846 | 35e314e3f3981259fad3bc5fb6de0c0475fdda05 | /23pattern/abstractfactory/procduct.cpp | 55521d02a091e4032af633dc216cc987bb65bf87 | [] | no_license | isliulin/iwork | 708ae59cdabc0c719386dc176db2cd4164e23252 | a114e460dead6ef54bf1b92af36d1b9e4de389bf | refs/heads/master | 2023-04-14T10:03:57.089975 | 2021-05-01T12:34:34 | 2021-05-01T12:34:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | #include "product.h"
#include<iostream>
using namespace std;
product_a::product_a()
{
}
product_a::~product_a()
{
}
product_b::~product_b()
{
}
product_b::~product_b()
{
}
product_a1::product_a1()
{
cout<<"create product_a1"<<endl;
}
product_a2::product_a2()
{
cout<<"create product_a2"<<endl;
}
product_a1:... | [
"18628149736@163.com"
] | 18628149736@163.com |
875d31913cd876b0db498f36c507864ade21e7b7 | 543d0fafa56a9d3f2d97521bb93335b7b753446a | /InterpreteDeArchivoBinario/main.cpp | 9e5657c4328f712fae0ba722a25bc5b5b65e3042 | [] | no_license | facusato/Sistema-de-Reserva-de-Pasajes | 6a304e3c66873f9377949910aa9740abc37bb8b9 | a34c1fea5ff4f7a9c1f9678f1ce7a0ce1e749cf0 | refs/heads/main | 2023-01-10T01:30:59.482076 | 2020-11-15T14:18:26 | 2020-11-15T14:18:26 | 301,824,985 | 0 | 0 | null | 2020-11-15T14:18:27 | 2020-10-06T18:52:01 | C++ | UTF-8 | C++ | false | false | 2,761 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
struct Esquema{
char fila1[23];
char fila2[23];
char fila3[23];
char fila4[23];
char fila5[23];
char fila6[23];
char fila7[23];
};
struct Viaje{
char destino[20];
char turno[20];
char fecha[20];
Esquema esquema;
};
void leerFichero();
char* ge... | [
"64222987+facusato@users.noreply.github.com"
] | 64222987+facusato@users.noreply.github.com |
78235e499d1416c27dfc0b17d015252b1b06d2cb | 891bfc38e6e85b643afe683ac69942634ec2dde7 | /media/gpu/test/video_player/video_decoder_client.h | b4e432adef8dec4dd0d3e278053e615e4028046d | [
"BSD-3-Clause"
] | permissive | siliu1/chromium | 6635bef82e896f2fee63dcd5f1182c289b35edb4 | b9310a104d7cf73c7807963089a77e287ef4b19b | refs/heads/master | 2023-03-18T14:13:43.241848 | 2019-02-13T19:56:46 | 2019-02-13T19:56:46 | 170,571,164 | 0 | 0 | NOASSERTION | 2019-02-14T04:28:44 | 2019-02-13T20:01:41 | null | UTF-8 | C++ | false | false | 6,941 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_GPU_TEST_VIDEO_PLAYER_VIDEO_DECODER_CLIENT_H_
#define MEDIA_GPU_TEST_VIDEO_PLAYER_VIDEO_DECODER_CLIENT_H_
#include <stdint.h>
#include <map... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c76ce667409f235722090875c130efb00536b002 | fecd6a363dd34620885d0035ad2b4ad3c4c58074 | /MI-1.cpp | ca115201735acd5ecdb8f0827e4726b72933a795 | [] | no_license | ngimenez83/GUIA-MODULO1 | da2083720b153c9ff39438b46366f6c255ea4cd0 | 4d0ef7589bb22c5dc8aa46d3d997b76c3f1d3ee6 | refs/heads/master | 2021-01-24T07:25:06.864806 | 2017-06-14T19:18:45 | 2017-06-14T19:18:45 | 93,343,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | //
// MI-1.cpp
//
//
// Created by Nicolas Gimenez on 4/6/17.
//
//
#include <iostream>
int main(){
int a,b,suma,resta,producto;
std::cin>>a>>b;
suma=a+b;
resta=a-b;
producto=a*b;
std::cout<<suma<<"\n"<<resta<<"\n"<<producto<<"\n";
}
| [
"nicolasgimenez@gmail.com"
] | nicolasgimenez@gmail.com |
de75d1eb0e2f37b91826bc01788256941c856da4 | eee7ba234d4c8a1240fcc5394e45fceb1851e85d | /term/vtglyphidx.h | f12d79f87c719476e333f16a7df00fc761a8518b | [
"BSD-3-Clause"
] | permissive | pullmoll/qflexprop | 686a43e40e2ac75b7987b566bab92e8b6873347a | ab3ca23b4f61b2c100acf7e917bacab18ee9614e | refs/heads/master | 2023-03-14T20:09:04.529746 | 2021-03-11T09:41:44 | 2021-03-11T09:41:44 | 345,327,789 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | h | /*****************************************************************************
*
* VT - Virtual Terminal glyph index
* Copyright © 2013-2021 Jürgen Buchmüller <pullmoll@t-online.de>
*
* See the file LICENSE for the details of the BSD-3-Clause terms.
*
************************************************************... | [
"pullmoll@t-online.de"
] | pullmoll@t-online.de |
f50df5450be1bdbd2e619d1add70386b815bb0ba | b16e2f8cc94df8320f9caf8c8592fa21b1f7c413 | /ZOJ/4034/implementation.cpp | cdaefc6e54c3d3726a35b856f424e2fb3f8df6d8 | [
"MIT"
] | permissive | codgician/Competitive-Programming | 000dfafea0575b773b0a10502f5128d2088f3398 | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | refs/heads/master | 2022-06-13T04:59:52.322037 | 2020-04-29T06:38:59 | 2020-04-29T06:38:59 | 104,017,512 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,969 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <string>
#include <cstring>
#include <iomanip>
#include <climits>
#include <vector>
#include <queue>
#include <map>
#include <set>
#include <stack>
#include <functional>
#include <iterator>
#define SIZE 100010
using namespace std;
lon... | [
"codgician@users.noreply.github.com"
] | codgician@users.noreply.github.com |
5a5b46ad30a877a7ab7af238bf50cbb35c9f46b8 | 9f05c06fff848d5f9726b275b6cbf01dc2338ed3 | /MyDrone/mavlink_connection.hpp | 066716831c10b86c00a76cb4969cbdf1cef6f1c8 | [] | no_license | kangzhiyong/MyDrone | 421b75ac88e64a8ef94de993d90674739af9f1e4 | 52883cdcb8da27723ebdacf3acc362229591b223 | refs/heads/master | 2021-02-08T17:45:59.109762 | 2020-03-01T16:10:27 | 2020-03-01T16:10:27 | 243,783,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,068 | hpp | //
// mavlink_connection.hpp
// MyDrone
//
// Created by kangzhiyong on 2020/2/26.
//
#ifndef mavlink_connection_hpp
#define mavlink_connection_hpp
#include <ctime>
#include <queue>
#include <thread>
#include <mutex>
#include <string>
using namespace std;
#include "mavlink_udp.hpp"
#include "message_ids.h"
#inclu... | [
"850551720@qq.com"
] | 850551720@qq.com |
5c4357fcd66e3e24ead08928085022a83a241cdc | 7b498b229e5a018a8169f17334f48fd048bf7977 | /FKBasicSys/Include/MagicMgrWanJian.h | 316460602a875a97a648ac1ed675cac3ddc38cf9 | [] | no_license | shuidong/FK2DGame | 582e3f07d24deb4d724462c9bcc3b941ada1701a | e392cf9b68a430fa17b368cffee538802e91ad31 | refs/heads/master | 2021-05-06T04:30:29.519504 | 2017-03-16T08:00:54 | 2017-03-16T08:00:54 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,139 | h | /**
* created: 2012-7-2 3:13
* filename: MagicMgrWanJian
* author: FreeKnight
* Copyright (C):
* purpose: 万剑朝宗
*/
//------------------------------------------------------------------------
#pragma once
//------------------------------------------------------------------------
#include "Magic.h"
//------------... | [
"duzhi5368@163.com"
] | duzhi5368@163.com |
91fd20e8653009758711dddcd1d7a98aeb2d4ddd | b9636b26350b6490ed568423201634fe66806506 | /Toki/Pemrograman Dasar/Bab 5 Percabangan/Jarak Manhettan.cpp | 3edfd33c23eef04f9dc2384d3b58d1bb247cb591 | [] | no_license | AgeMagi/CP | 5cea2fe588b619b15b57a1d2bf859047767517a0 | d0099ae0f44c32f148e8c07cf7e82b0a0c304ec4 | refs/heads/master | 2021-05-16T01:25:29.844071 | 2017-10-16T01:28:29 | 2017-10-16T01:28:29 | 107,061,824 | 0 | 0 | null | 2017-10-18T03:06:51 | 2017-10-16T01:00:23 | C++ | UTF-8 | C++ | false | false | 170 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int x1, x2, y1, y2;
cin >> x1 >> y1 >> x2 >> y2;
cout << (abs(x1 - x2) + abs(y1 - y2)) << endl;
}
| [
"noreply@github.com"
] | noreply@github.com |
de9f8368d5763d386ec7a97cbe3833e9725ae21d | f5db34f444c4ab14e475db50e2ceaf29b2d967d4 | /Code/RPi/BatGUI/menu/Menu.cpp | dfb0c10165e5219b37145bc97992bef3d9cd8bcd | [] | no_license | ArdreyKellMakerClub/TSA_Animatronics | 39e922ac097a5f45e885f63c851caf5bf5f25e4e | f0f6e6904f5aca0bb576d14620a7a082bc7cb768 | refs/heads/master | 2021-09-15T23:40:15.685807 | 2018-04-23T03:12:46 | 2018-04-23T03:12:46 | 105,819,662 | 2 | 1 | null | 2018-01-21T18:16:39 | 2017-10-04T21:20:41 | C++ | UTF-8 | C++ | false | false | 10,159 | cpp | #include "Menu.h"
Menu::Menu(){
page = START;
}
Menu::~Menu()
{
//dtor
}
void Menu::render(SDL_Renderer* ren){
switch (page){
case START:
renderStart(ren);
break;
case MAIN:
renderMain(ren);
break;
case ECHO:
renderEcho... | [
"genericraxacoricofallapatorian@gmail.com"
] | genericraxacoricofallapatorian@gmail.com |
09ff2ba5f04ab5952b7d477fad1e4ada63809204 | 5e2aec2f1a4066738cd962d7b44797eecd37fbbf | /liblonely/include/editor/LonelyMetatileView.h | 650fe37c90a71d74eac78af55a825b7ee33ea2a7 | [] | no_license | suppertails66/lonely | 119dcc030104b5a603b561f49e83ae2c7bb06845 | 10cb7bc2cbad06e8c41fab7ed484d9ea5a938b8f | refs/heads/master | 2021-01-12T06:07:46.773284 | 2017-01-10T05:48:06 | 2017-01-10T05:48:06 | 77,306,625 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,425 | h | #ifndef LONELYMETATILEVIEW_H
#define LONELYMETATILEVIEW_H
#include "structs/Graphic.h"
#include "structs/Tbyte.h"
#include "structs/Graphic.h"
#include "structs/GridGraphicSceneLayer.h"
#include "structs/CachedGraphic.h"
#include "gamedata/LaylaLevelSet.h"
#include "gamedata/LaylaLevel.h"
#include "gamedata/LaylaGrap... | [
"suppertails66@gmail.com"
] | suppertails66@gmail.com |
952944a90da8593ecb9d877f858c45b689aab395 | 32518274880e8b7479899cc25a1ec58075f90b86 | /LL1.h | 8a1a666a3d0b9c38fa123c6643c26a818682991a | [] | no_license | gabbichipana/Compiladores | 61566ba70571129f0f89fbff93dda9df0ac7aea0 | bdebbb00f0103f82ccd23dbd0eff12c01c97e5f4 | refs/heads/main | 2023-06-06T04:35:49.068725 | 2021-07-06T03:32:39 | 2021-07-06T03:32:39 | 376,131,091 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,795 | h | #include "TAS.h"
#include <stack>
#include <queue>
using namespace std;
class LL1{
private:
Gramatica g;
TAS tas;
public:
//Le pasamos como parámetro al constructor el nombre del archivo que contiene la gramática
LL1 (std::string fileName){
g.setGramatica(fileName);
//Identificamos l... | [
"noreply@github.com"
] | noreply@github.com |
bd102c8c5c156a4ad12013a97baa00ca24e00ca7 | 0bf7d7bb2b1d71b7b31c290932ac31ee9f10d585 | /BombShell3D/Source/BombShell3D/Effects/ExplosionRay_CPP.cpp | 0e398b816bea6e035ce9f610d393538760d8590a | [] | no_license | Vellyxenya/BombShell3D | f3fa580be52b8da3f713d398fb935fddea8a26e8 | 1b51a1aae0a91fbc3878f84b27b55f188df389e9 | refs/heads/master | 2020-03-19T04:55:44.348915 | 2018-07-14T13:04:13 | 2018-07-14T13:04:13 | 135,882,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "ExplosionRay_CPP.h"
#include "Engine/World.h"
// Sets default values
AExplosionRay_CPP::AExplosionRay_CPP()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
Pr... | [
"noureddach@gmail.com"
] | noureddach@gmail.com |
7e83e1bdd38c8923995f4a55f257c1a285f7031c | 19870c8a1b9bf3e92929572c952afa7a330f757d | /CANLogger.h | 68c1645c341cadba52470d2d94775c0160237fe0 | [] | no_license | bondjames12/Dodge_CAN_USB_Interface_Teensy31 | be9b885cffe43ec6db1bda8fd06114c3ecb6bb4e | a2c86050a7305f502be14dbbffe5f69a1be4ccb3 | refs/heads/master | 2021-01-10T14:22:47.487616 | 2015-08-29T02:37:21 | 2015-08-29T02:37:21 | 48,850,269 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,516 | h | /*
Simple CAN data to (micro)SD card logger
(c) Pawelsky 20140527
Logs incoming CAN data @ 1Mbps to a (micro)SD card. Periodically sends Naza heartbeat message.
Uses EEPROM to store log file number which is increased at each boot.
Log format (15 bytes per CAN message): TS TS TS TS CI CI LE FF DA DA DA DA DA... | [
"colinweber@gmail.com"
] | colinweber@gmail.com |
f200004edd7ee556cf58a4ea19e9ffc5629fa439 | 8aad34da4ad5e640e88722414949aaf0dfc88b6f | /src/qt/trafficgraphwidget.h | bacc7e15e8fbddf44ffb8cf52df04a5f4cd1be63 | [
"MIT"
] | permissive | observernet/obsr | 10a43f0aca2dfe3d695f823f4abf83264feaa102 | bac799d60d4ff3c88e58c1cc369c2fa396ec7710 | refs/heads/master | 2020-03-30T11:59:48.966969 | 2019-08-14T10:27:45 | 2019-08-14T10:27:45 | 151,203,622 | 11 | 5 | MIT | 2019-08-14T10:27:46 | 2018-10-02T05:14:51 | C++ | UTF-8 | C++ | false | false | 1,149 | h | // Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2018 The OBSR developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_TRAFFICGRAPHWIDGET... | [
"dev@obsr.org"
] | dev@obsr.org |
b2b7330b8a6057070e41a351bd6253809fc6c2b5 | 7b22145098d5a223d0e4a259e016d388afeeb42d | /fw/source/Texture.cpp | 98410d363f548f110a9d4ec6449320b64ec88526 | [
"MIT"
] | permissive | sienkiewiczkm/framework | 26bd74c88a4634809f7c4d97032758a529d55e4f | 9940403404aa5c67186fe09b0910de3a6c8e9762 | refs/heads/master | 2020-06-10T16:10:34.347343 | 2017-05-20T16:12:57 | 2017-05-20T16:12:57 | 75,941,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,337 | cpp | #include "fw/Texture.hpp"
#include "stb_image.h"
#include "fw/TextureUtils.hpp"
#include "fw/common/StreamUtils.hpp"
#include "fw/internal/Logging.hpp"
namespace fw
{
Texture::Texture(GLuint textureId):
_filepath{},
_textureId{textureId}
{
}
Texture::Texture(
std::istream& stream,
const std::string... | [
"sienkiewiczkm@gmail.com"
] | sienkiewiczkm@gmail.com |
95bf5e6595a9980c32ca72ac4a527970a3f2f47d | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir35435/dir35536/dir38742/file38892.cpp | 6e1a08efe6e312c1263ebdbc265d4d504f76581f | [] | 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 file38892
#error "macro file38892 must be defined"
#endif
static const char* file38892String = "file38892"; | [
"tgeng@google.com"
] | tgeng@google.com |
1b7e5876a9f1583ddbd358f5a8d84f4473d92070 | 084c3fd59ae20cc9f4ee77f839b8b4c4f920266d | /uVa/11368-NestedDolls.cpp | 6376470cf1351c8e6c3c7af8c4110f053548db69 | [] | no_license | dawidjaja/competitive-programming | 24d06c73d6ddbc931f1a2fe1bc2766f4e401bbf4 | a8c52ad8bfe8ac6908b3666abc3026da7ea8f27d | refs/heads/master | 2021-06-17T20:22:21.309523 | 2021-03-17T09:19:45 | 2021-03-17T09:19:45 | 149,089,446 | 0 | 0 | null | 2019-10-14T15:26:49 | 2018-09-17T07:57:52 | C++ | UTF-8 | C++ | false | false | 876 | cpp | #include <algorithm>
#include <cstdio>
#include <vector>
#define fs first
#define sc second
#define mp make_pair
using namespace std;
int t,n,l,r,piv;
pair <int,int> list[20005];
vector <int> v;
int main ()
{
scanf("%d",&t);
for(int _=1;_<=t;_++)
{
v.clear();
scanf("%d",&n);
for(int i=1;i<=n;i... | [
"dalfred2000@gmail.com"
] | dalfred2000@gmail.com |
9701d77edb8b5bdd13e24a22b8131e99e1c05387 | 2bfddaf9c0ceb7bf46931f80ce84a829672b0343 | /src/xtd.forms.native.fltk/src/xtd/forms/native/fltk/cursor.cpp | 06200f789a53dcf18983bc32d107a870fb9d92a8 | [
"MIT"
] | permissive | gammasoft71/xtd | c6790170d770e3f581b0f1b628c4a09fea913730 | ecd52f0519996b96025b196060280b602b41acac | refs/heads/master | 2023-08-19T09:48:09.581246 | 2023-08-16T20:52:11 | 2023-08-16T20:52:11 | 170,525,609 | 609 | 53 | MIT | 2023-05-06T03:49:33 | 2019-02-13T14:54:22 | C++ | UTF-8 | C++ | false | false | 1,132 | cpp | #include <stdexcept>
#include <xtd/forms/native/cursor.hpp>
#include <FL/Fl.H>
#include <FL/fl_draw.H>
#if defined(__WXMSW__)
#include <Windows.h>
#endif
using namespace xtd;
using namespace xtd::drawing;
using namespace xtd::forms::native;
intmax_t cursor::create() {
return static_cast<intmax_t>(FL_CURSOR_DEFAULT... | [
"gammasoft71@gmail.com"
] | gammasoft71@gmail.com |
d0625988eb50c563501d48b58d8d7f128f4e2257 | 0c63050b25f6f8cdb5c9342e7b49696d97724c41 | /src/qt/bitcoinunits.cpp | 811fde72a2588e13f014d9642a7d3a665f459b15 | [
"MIT"
] | permissive | peepcoinnumber2/peepcoinnumber2 | 95d6b359d123fa500f363954b39dddb19799da4e | 7d3c59fae0511faa33cd107df0d044ef7c052642 | refs/heads/master | 2020-05-01T03:38:41.178836 | 2019-03-23T06:03:48 | 2019-03-23T06:03:48 | 177,250,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,082 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoinunits.h"
#inclu... | [
"dadvboysofficial@gmail.com"
] | dadvboysofficial@gmail.com |
2901eb3e410c2f56e1e4096de45031f8ea270bfc | 7e8e5ed85aa55864af89e8faaed2729331787aec | /tensor_computing/src/cpu/arm/fp32/deconvolution.cpp | 53ab6d3b72c2012c6d15da206e96119803e7c738 | [
"MIT"
] | permissive | HHTimZhou/bolt | 62a6b736d022cb2c4140bea20a9404be43367763 | a193d961ddf504658623d56e670067f9e2923214 | refs/heads/master | 2021-04-07T08:42:00.035943 | 2020-03-13T16:09:53 | 2020-03-13T16:09:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,126 | cpp | // Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
// 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... | [
"jianfeifeng@outlook.com"
] | jianfeifeng@outlook.com |
bfdbdd9ede518ee722515f30c3b67d9a33a5d544 | 322a71cdf251db65b7aade20ba01e99190c53991 | /hydmin-6a/program.cpp | 257a867d36c67a9503f9462b7c392fd387e7bad4 | [] | no_license | alihyder23/OpMethods | 69b52e574c0c1a675e0e40ef2e082edcea3a615d | 772d40ef40dceec8cfd27f355b7c836257b0e191 | refs/heads/master | 2021-01-10T14:30:19.432170 | 2016-01-01T10:37:57 | 2016-01-01T10:37:57 | 48,875,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,652 | cpp | //Ali Hyder
//Luke Mino-Altherr
//Project 6a
//Microsoft Visual Studio
#include "stdafx.h"
#include <iostream>
#include <limits.h>
#include "d_except.h"
#include <list>
#include <fstream>
#include "d_matrix.h"
#include "graph.h"
#include <queue>
#include <vector>
using namespace std;
int const NONE... | [
"alihyder23@gmail.com"
] | alihyder23@gmail.com |
b1434d37a43e1534b6feed87313f94d42762aa6f | 16d92ce5cdf3b5655c555bcf783fca1366a14425 | /AgoraMath/src/Include/Math/Vec4x4Trans.inl | 1e0b931b1608e226619c23dedc5da05934a6a987 | [] | no_license | DennisVanEe/AgoraEngine | df195869b9c4367ed38f8510476a173721a767da | e91e4b6c8a51973af1a58a43e802207048e2ce83 | refs/heads/master | 2021-01-20T10:50:42.567065 | 2019-10-09T00:26:05 | 2019-10-09T00:26:05 | 101,651,950 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,187 | inl | static a_FORCEINLINE agora::math::Vec4x4 a_VCALL a_rotate_normalized(float rad, float x, float y, float z)
{
using namespace agora::math;
// This is a helper function. This is the most efficient solution I can come up with at the momemnet.
float c = std::cosf(rad);
float s = std::sinf(rad);
float minusc = 1 - c;
... | [
"dennis@vanee.us"
] | dennis@vanee.us |
87a25458c060abdecf69b4c09e4bab349964907e | 734ce14361a844f954c842fa21d14fd2a4003d38 | /Yellow_belt/Bus Stops/responses.h | 7020c01b3eaca2e4b7229349907bbe4560e06a08 | [] | no_license | addward/cpp-modern-development | 5bd898c6e0a320f5863bbcf5d3f439107449fb30 | 0c93a29c858f4acc54fccf0a8f63d6941e139d0a | refs/heads/master | 2020-12-21T04:09:47.652279 | 2020-01-26T11:21:42 | 2020-01-26T11:21:42 | 236,301,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | h | #pragma once
#include <vector>
#include <string>
#include <map>
#include <ostream>
using namespace std;
struct BusesForStopResponse {
vector<string> buses;
};
ostream& operator << (ostream& os, const BusesForStopResponse& r);
struct StopsForBusResponse {
string bus;
vector<pair<string, vector<string>>> stops_... | [
"adddward@gmail.com"
] | adddward@gmail.com |
e00cb5c1467aa94bfffbdcbfac79ab3da3ee5da7 | 62e9bdb581a3034162cd5edb3b3384a00ceb7480 | /src/qt/coincontroldialog.cpp | 95396b8f522667a400493e7fe44457f7b2a3897c | [
"MIT"
] | permissive | phancdavid/SuperCoin | 8600ec23edec669a8424119be5f90fedbb1e875c | e6679a4ff039959f85433d93fd766eb2f6600822 | refs/heads/master | 2021-01-24T18:03:49.207413 | 2018-01-28T14:40:56 | 2018-01-28T14:40:56 | 123,235,978 | 1 | 0 | MIT | 2018-02-28T05:48:12 | 2018-02-28T05:48:12 | null | UTF-8 | C++ | false | false | 30,923 | cpp | #include "coincontroldialog.h"
#include "ui_coincontroldialog.h"
#include "init.h"
#include "bitcoinunits.h"
#include "walletmodel.h"
#include "addresstablemodel.h"
#include "optionsmodel.h"
#include "coincontrol.h"
#include <QApplication>
#include <QCheckBox>
#include <QClipboard>
#include <QColor>
#include <QCursor... | [
"tfa.productions.1337@gmail.com"
] | tfa.productions.1337@gmail.com |
e7409405c8f4423adc0725a93ca8f42b2b01f9e0 | 2ae88e08dc64e0e9c2480466f5dddea82c4a9417 | /Server/src/Server.hpp | 8283d55b2c7b56cdfa19698e4079d4f3b4758167 | [
"MIT"
] | permissive | Nexus-Software/cpp_babel | 46bc687588628f6f03f15a65054c38fb1b17d056 | 2acc4b918fdb26db42ff6ce46922e394c628a78a | refs/heads/master | 2021-08-08T01:46:23.811275 | 2017-11-08T00:23:06 | 2017-11-08T00:23:06 | 103,942,357 | 2 | 0 | null | 2017-11-08T00:23:07 | 2017-09-18T13:26:58 | C | UTF-8 | C++ | false | false | 1,401 | hpp | /*
** Server.hpp for Server in /home/enguerrand/delivery/Server/Server.hpp
**
** Made by Enguerrand Allamel
** Login <enguerrand.allamel@epitech.eu>
**
** Started on mer. sept. 20 18:51:53 2017 Enguerrand Allamel
** Last update mer. sept. 20 18:51:53 2017 Enguerrand Allamel
*/
#ifndef SERVER_SERVER_HPP
#define SERV... | [
"engue0774@gmail.com"
] | engue0774@gmail.com |
124190dbcee99842dce7ee6c56a646a297d20720 | c531ca4f076b0154955d1e40f0b9a731ac7ecec2 | /src/seinvoker.h | 1999fdc30f2b97363779dfa2f3c43e54c9a0aa6b | [] | no_license | llCorvinSll/QScriptGuide | 1ce0fb3ed89971b8d2b4f6f1ad99dbe1ab50d170 | e281c2e0653e2529fce1e37441b40e55cdc3e26d | refs/heads/master | 2016-09-05T12:50:16.689913 | 2012-11-04T13:18:39 | 2012-11-04T13:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | h | #ifndef SEINVOKER_H
#define SEINVOKER_H
#include<QScriptEngine>
#include<QFile>
#include<QDebug>
class SEInvoker
{
private:
SEInvoker();
SEInvoker(const SEInvoker&);
SEInvoker &operator=(const SEInvoker&);
//------
static QScriptEngine *_engine;
public:
~SEInvoker();
static void init(QSc... | [
"aeoneluminaty2@gmail.com"
] | aeoneluminaty2@gmail.com |
afc8d118707510159948e1a7e1a394dd909969c8 | 42334cb2a3d7e6102e2c86fdff7d496cf091e660 | /VideoSourcePluginFFmpeg/V1.1/MediaAudio.cpp | 97b7bf90d6bd66bfa5170d57ae283e17ff1b0693 | [] | no_license | wwllww/LiveStream_MultiIntance | 04b0ca3e16d4ee0f627b8bc3ecfd935cc97bf24f | 447f52bdd08d3fa3ba6b6e58323740632320b131 | refs/heads/master | 2021-05-12T17:19:53.534922 | 2018-02-09T08:13:47 | 2018-02-09T08:13:47 | 117,042,806 | 2 | 3 | null | null | null | null | GB18030 | C++ | false | false | 16,767 | cpp | #include "MediaAudio.h"
#include "VideoSource.h"
IMPLEMENT_DYNIC(CDemandMediaAudio, "DemandMediaAudio", "1.0.0.1")
const float dbMinus3 = 0.7071067811865476f;
const float dbMinus6 = 0.5f;
const float dbMinus9 = 0.3535533905932738f;
//not entirely sure if these are the correct coefficients for downmixing,
//I'm fairl... | [
"393520798@qq.com"
] | 393520798@qq.com |
a90b9c656c1e7af6d533c5392eafdf94dcc74e1f | 03d831f9c7a2e338a00ff89380504202a6826fff | /src/main/include/commands/GyroDrive.h | 7442b61ce0d58059803b2ad818e945d0fe1ffe1d | [] | no_license | Team7433/2021InfiniteRecharge | dea0dce348e3ddf3393d36353735146461069395 | c14d3a06347cdafa22443298fdc12b9406bf6312 | refs/heads/main | 2023-04-27T18:22:10.759048 | 2021-04-21T22:33:27 | 2021-04-21T22:33:27 | 329,452,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,384 | h | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#pragma once
#include <frc2/command/CommandBase.h>
#include <frc2/command/CommandHelper.h>
#include "subsystems/Gyro.h... | [
"55177986+DJAY101@users.noreply.github.com"
] | 55177986+DJAY101@users.noreply.github.com |
ac0cbb58442c1a5a0fa2c07ad93dbca1234aa0c3 | 2019d94fe0d8b32959190d02dd1ee367f524878e | /Problem Solving/Algorithms/Implementation/02_apple_and_orange.cpp | e7afcad44b3cda7d9767cbb9c0a7112050cdca93 | [] | no_license | yang4978/Hackerrank_for_Cpp | bfd9065bd4924b26b30961d4d734a7bb891fe2e2 | 4c3dde90bcc72a0a7e14eda545257c128db313f7 | refs/heads/master | 2020-05-21T06:05:26.451065 | 2019-08-11T15:19:13 | 2019-08-11T15:19:13 | 185,934,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,483 | cpp | //https://www.hackerrank.com/challenges/apple-and-orange/problem
#include <bits/stdc++.h>
using namespace std;
vector<string> split_string(string);
// Complete the countApplesAndOranges function below.
void countApplesAndOranges(int s, int t, int a, int b, vector<int> apples, vector<int> oranges) {
int sum_appl... | [
"noreply@github.com"
] | noreply@github.com |
7b1737ea03a4cbc8e4c228fe1fc0a3649ec3bff5 | dbf2824213bd0869de94ff2cdb8b549afe365d59 | /Day2/4-figures/main.cpp | 4d4b278e14e08118a6eb4a48993f3469c74925a9 | [] | no_license | bijooos/QtDesktop | 3b297674ccddc7dbe666f51c94c605f255924815 | 402bb16416c3b984a9d2d912008e79abed92c7fb | refs/heads/master | 2021-01-19T18:29:25.800582 | 2017-08-24T08:08:56 | 2017-08-24T08:08:56 | 101,142,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,803 | cpp | /*************************************************************************
*
* Discription : A demo code for drawing figures
* Author : Biju
* Company : Emertxe info tech
*
*************************************************************************/
#include <QtWidgets>
class DrawingBoard : public QWidge... | [
"noreply@github.com"
] | noreply@github.com |
437791534099bf0dc04cdadb295dd460ca1babc2 | 5aa13186bfaa65943525c1e32ab8712bfb6a2f1a | /IwEngine/include/iw/physics/Collision/algo/GJK.h | d5a60b02cdaadda08cf68aa913e92b9f6421fcb8 | [] | no_license | sodomon2/IwEngine | c3d6665c87c294159d0d1fe8ec9d728cda03e809 | 90ab079bb9772f18264be393b4d0ea2269e6fd95 | refs/heads/master | 2023-01-01T20:14:30.214784 | 2020-10-10T02:48:53 | 2020-10-10T02:48:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,744 | h | #pragma once
#include "iw/physics/IwPhysics.h"
#include "iw/physics/Collision/Collider.h"
#include <array>
namespace iw {
namespace Physics {
namespace algo {
struct Simplex {
private:
std::array<vector3, 4> m_points;
unsigned m_size;
public:
Simplex()
: m_points({ 0, 0, 0, 0 })
, m_size(0)
{}
S... | [
"iainwinter1@gmail.com"
] | iainwinter1@gmail.com |
a8c2336b8975a92fb10f3338553bbd07077e916a | 1a0433f3e30c61fe19e46b0473f947be90f6e186 | /apollo-master/libapollo/theory/sequence/multimodcountiter.hpp | 0d9aea3e4da884af962eaaa9bb67366f512717f3 | [] | no_license | du-lab/Xlink-Identifier | fbf31b1103c728f9b3c4cfa7bb06de2224ffae4d | 6e76b79d1136954c3c3fa39f08f4b0446f089c6f | refs/heads/master | 2021-01-01T04:47:59.735590 | 2017-07-14T16:45:44 | 2017-07-14T16:45:44 | 97,248,403 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | hpp | /**
* @file multimodcountiter.hpp
* @brief Iterator for all possible multiple dynamic modifications
*
* @author Adam Baxter
* @version 2.0
* @date 2012/07/26
* @copyright 2012
*/
#ifndef apollo_multimodcountiter_hpp_
#define apollo_multimodcountiter_hpp_
#include "multimodcountgen.hpp"
#include "../.... | [
"xiuxia.du@uncc.edu"
] | xiuxia.du@uncc.edu |
5481e6efe9d1aa1bd2ce7662c9ed0d2a94bf66b2 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5690574640250880_1/C++/Pasqual45/CJ14RQProbC.cpp | 4c7c437ac958641445819ca54ba54d0797f8633c | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,910 | cpp | #include<fstream>
#include<iostream>
#include<sstream>
#include<iomanip>
#include<string>
#include<vector>
#include<list>
#include<set>
#include<map>
#include<queue>
#include<algorithm>
#include<functional>
#include<numeric>
using namespace std;
typedef pair<int, int> pii;
typedef long long ll;
#define ... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
35d349d0f42781d23050d7c625ce522fd8513bac | 0675f6e38fcf8069cec03f953da1ba083ea053cb | /Shapes/src/com/shapes/tl/Controller.h | 0ee055d4157035cc56aba6415f91cb1a7185fd09 | [] | no_license | FernandoSolano20/DataStructureLab2 | c96d2eaa2d1db9f49cf1d13617f11f102cadd68f | 4e911f12fff768a1316225bc1a97b30108131d42 | refs/heads/master | 2023-05-09T06:42:44.265615 | 2021-05-31T03:52:15 | 2021-05-31T03:52:15 | 372,377,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | h | //
// Created by fersolano on 5/30/2021.
//
#ifndef SHAPES_CONTROLLER_H
#define SHAPES_CONTROLLER_H
#include "../bl/Business.h"
class Controller {
public:
Controller();
void createShape(float radius);
void createShape(float width, float height);
float getArea();
float get... | [
"fesolano@outcoding.com"
] | fesolano@outcoding.com |
7c4b7af4d66c1bcf6d40b9d104f80d51ea09accd | cfd4094ec45b1cec53923a0ff7d912f89e1c4306 | /Invoice.hpp | 728c76e4acbe80659e5888d741f451b1f9f012fb | [] | no_license | MarkNickerson/Invoice-Project | 6027b98eec1ea9ca9a0c854e021a9208713ed316 | 3ec5e2b51219f268666ea50518084b0cff3db4fc | refs/heads/master | 2021-01-01T03:36:21.641853 | 2016-05-22T23:38:11 | 2016-05-22T23:38:11 | 59,439,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,111 | hpp | // Invoice.hpp
// Mark A. Nickerson
// Term Project
// May 19th, 2016
// COMSC 210
#ifndef INVOICE_HPP
#define INVOICE_HPP
#include <string>
class Invoice
{
public:
Invoice();
// copy constructor
Invoice(std::string shipNum, std::string type, std::string dest, std::string date, std::string shDate, double lbs);... | [
"MarkA.Nickerson@hotmail.com"
] | MarkA.Nickerson@hotmail.com |
aa90e9b748deacd73478dc0667080a66e2564006 | c1df6484af0d2f187b813bd4c7cb1cfdd7e17dbb | /unixstudycode/string-c_str-data.cpp | 86986779fff2d138177ebacfc2d0161104d7473f | [] | no_license | zieckey/condiment | 091e4350d2f4fa53a729875d50c4efac523910b6 | cf2513d5b43a2b0e9b4d1859132e864818c145e7 | refs/heads/master | 2020-12-22T02:22:04.201545 | 2017-07-28T08:33:56 | 2017-07-28T08:33:56 | 10,431,186 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,889 | cpp | #include <stdio.h>
#include <string.h>
#include <string>
#include <iostream>
#include <sstream>
void test_c_str();
void test_resize();
void test_istringstream();
void test_hex();
void test_null_string();
void test_string_length();
int main()
{
test_string_length();
test_null_string();
test_c_str();
t... | [
"zieckey@gmail.com"
] | zieckey@gmail.com |
5b23ace8134004f9cd32ad49a8bf37aa4512e138 | ea5c5082df21de760770f6228eb00c59fd19c4c4 | /DesignPatterns/Archer.h | 12dcadf010a448c7ab583ea45d8f978625396803 | [] | no_license | Magiczne/DesignPatterns | 012c1673093340d57390abf7bf19ca89c466e545 | 0655e90e717e19309c09eaa5892dd7f361b18c31 | refs/heads/master | 2021-01-21T16:04:11.721815 | 2017-05-28T12:34:55 | 2017-05-28T12:34:55 | 89,248,166 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 135 | h | #pragma once
#include "IWarrior.h"
namespace Composite
{
class Archer : public IWarrior
{
public:
void attack() override;
};
}
| [
"michalkamilkleszczynski@gmail.com"
] | michalkamilkleszczynski@gmail.com |
869b11bae64dbe0665b17991452b84e286ce4e9a | 9870d0f478e4977ea277f17b71bb0803766d2fa5 | /hw7/MovieTree.cpp | 9a64861462e9878255f508d3ce0c30964b32ffd6 | [] | no_license | programmerQI/CSCI2270 | 5455eebe77f221af5528b2e5e19bcd48bb7278e4 | 996e46c0d6e89954bb231ef82cb340e0bc167f2b | refs/heads/master | 2020-07-23T23:00:19.448587 | 2019-12-12T19:04:45 | 2019-12-12T19:04:45 | 207,731,926 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,468 | cpp | #include "MovieTree.hpp"
#include <iostream>
MovieTree::MovieTree()
{
root = NULL;
}
void deleteList(LLMovieNode *node)
{
if(node -> next != NULL){
deleteList(node -> next);
}
delete node;
node = NULL;
}
void deleteTree(TreeNode *node)
{
if(node -> leftChild != NULL){
deleteTree(node -> leftChi... | [
"qiwa3476@colorado.edu"
] | qiwa3476@colorado.edu |
b6b94765b328d00e13ca0f078d5fbc60d86ae1de | 9bfccca8a06090bf7cd4133dcabccc7837e1b49d | /VisualLeakDetector/VLDExample/source/Game/MyLib/Primitives/PolyPrim.h | 926e33c97040d157294af5ca1d78f2c189c0cc23 | [] | no_license | manojyerra/CPPWork | 1aee8060b492116d68b24f695575885a9c21c232 | 45bda6ab9ed545be4fba83ec23d1f616254f8b6c | refs/heads/master | 2020-12-30T14:00:36.918001 | 2019-03-22T10:50:40 | 2019-03-22T10:50:40 | 91,274,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | h | #ifndef POLY_PRIM_H
#define POLY_PRIM_H
#pragma once
#include "Prim.h"
#include "../MathLib/Point.h"
#include <vector>
using namespace std;
class PolyPrim : public Prim
{
private:
vector<Point> _vec;
int _r;
int _g;
int _b;
int _a;
public:
PolyPrim(vector<Point> vec);
~PolyPrim();
void SetColor(int r, int g... | [
"Manoj.Yerra@in.pega.com"
] | Manoj.Yerra@in.pega.com |
f1b4de4d3d44a818f5766370f330cae2113281d1 | f1bd4d38d8a279163f472784c1ead12920b70be2 | /xr_3da/xrGame/AI/Biting/ai_biting_fire.cpp | 0f265894f727be9a1c99bf69892c841dae3aefff | [] | no_license | YURSHAT/stk_2005 | 49613f4e4a9488ae5e3fd99d2b60fd9c6aca2c83 | b68bbf136688d57740fd9779423459ef5cbfbdbb | refs/heads/master | 2023-04-05T16:08:44.658227 | 2021-04-18T09:08:18 | 2021-04-18T18:35:59 | 361,129,668 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,820 | cpp | ////////////////////////////////////////////////////////////////////////////
// Module : ai_biting_fire.cpp
// Created : 26.05.2003
// Modified : 26.05.2003
// Author : Serge Zhem
// Description : Fire and enemy parameters for all the biting monsters
///////////////////////////////////////////////////////////////... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
6528d08cee18fc520622274e055e5ba3f930d746 | 82d755432e97940bfaec4d8fea349685a235294f | /src/box2.cpp | 1038257c853cbe4c5d56bcf563d30867856ca5d0 | [] | no_license | PeuriereR/M2-ModJV | 90eb76d8764b8e1f0876e6b1fb4417ba3f09e0bf | 0a541af9367897431a71a92d8fa7f09b6525b950 | refs/heads/master | 2020-07-29T13:35:23.316215 | 2019-09-20T15:30:31 | 2019-09-20T15:30:31 | 209,823,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | #include "box2.h"
Box2::Box2(Vec2 pmin, Vec2 pmax):_pmin(pmin),_pmax(pmax){}
bool Box2::inside(const Vec2 &p)const{
if( p.x() > _pmin.x() && p.x() < _pmin.x() && p.y() > _pmin.y() && p.y() < _pmax.y())
return true;
return false;
}
bool Box2::intersect(const Box2 &b) const{
return ( inside(b._pmin)... | [
"romain.peuriere@etu.univ-lyon.fr"
] | romain.peuriere@etu.univ-lyon.fr |
13d2d55fedb406d81efb57f4aacc1d4c57892623 | aed55143630a1415efa04c4965ae649a3c5c7b20 | /DataStructure/Library/Collision/Physics/phys.cpp | 50f14ab22f0902ce0afd07e321b2e22bb1176c58 | [] | no_license | Silvainius01/GameEngine | 508364d26d642a3789b887764cc9d7d99f1e7319 | 25b767aa843a7cb54d044483c6ba12b545f577fc | refs/heads/master | 2021-01-10T15:47:13.437356 | 2016-08-15T19:20:07 | 2016-08-15T19:20:07 | 54,922,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,257 | cpp | #include "phys.h"
#define aPOS a.getParent()->getPosition()
#define bPOS b.getParent()->getPosition()
CollisionData getData(CircleCollider &a, CircleCollider &b)
{
Vec2 blerg;
{
float angle = (aPOS.getAngleBetween(bPOS)) * DEG2RAD;
if (isnan(angle)) { return CollisionData{ true, b.getRadius(), aPOS - bPOS };... | [
"connor.adam@ymail.com"
] | connor.adam@ymail.com |
ea2b767a69e062131391b6d8ff26c0545db1593d | 0ab1ae44428140ef4d5ac1ea02cfed3227c3dd44 | /sybil_detection/sybilinfer/process-data.cpp | 4d59cde76a44f8719cada1b7beae72fe835a2344 | [] | no_license | inspire-group/sybilfuse | ca566b1dcafceeaabd7f7f9136263f10a1107bdc | 3d6c3e450db133a91c885c5a00dcb8a3c00b1f0f | refs/heads/master | 2021-05-13T19:06:14.083486 | 2020-11-08T23:41:07 | 2020-11-08T23:41:07 | 116,884,018 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,563 | cpp | /* Graph transformation using random walks */
/* A central server is performing the random walks */
/* Written by Prateek Mittal*/
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <set>
#include <map>
#include <vector>
#include <assert.h>
#include <string.h>
#include <tr1/unorder... | [
"gaopeng32@gmail.com"
] | gaopeng32@gmail.com |
2a56a961ed6177674ada99293420be68712e587e | 2fe00560ae18ed4b5a7decb6c03c9592878512b7 | /testexample/0.015/U | f90ce9eb4c9ef0ebeacb3de1b9c19f08af9cb35b | [] | no_license | asAmrita/Amrita4 | 5062e21d1901e5d2bd79e072da9a386530ef08a6 | 6e7c37ea2febf2fad4cebf5d728edf0436eb113e | refs/heads/master | 2020-05-05T08:29:45.010423 | 2019-04-30T05:57:28 | 2019-04-30T05:57:28 | 179,866,522 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,309 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
eedcec305e435ff5f15174a5f1129c2d610a0de1 | 48425ca11050646f5f0f956106b7d9d13d827e6f | /gfg/C++ productivity hacks/passing2d_array_vector2.cpp | d90a6140edc58146fe167149a9ae5badc39af054 | [] | no_license | Saptarshidas131/CPP | 1d854ca530c0f17407c587c7528b4d30d2528811 | c93cce85089e6ec28820c91a2c6da39576889c4a | refs/heads/main | 2023-05-30T21:35:56.218850 | 2021-06-28T08:04:36 | 2021-06-28T08:04:36 | 321,994,798 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | #include <iostream>
using namespace std;
const int N = 3;
void fun(int arr[][N], int M){
for(int i = 0; i < M; i++){
for(int j = 0; j < N; j++){
cout<< arr[i][j] << " ";
}
}
}
int main() {
int arr[][3] = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
fun(arr, 3);
return ... | [
"noreply@github.com"
] | noreply@github.com |
0eec727dfd64e6acdbe9ea740c05c7f1bd2608c2 | 398ba37f91f734d46a4cb4c3b6f353a940f8478f | /leptjson/leptjson.h | 2fdc5d142d2c10bd0664b3781fc09341021fe211 | [] | no_license | zjuAJW/leptjson | e042264775fcaa1e09882967c4c285ff36ae9eae | 37d769207255721a94d74bc46c52772fb871e323 | refs/heads/master | 2020-12-31T00:01:38.821043 | 2017-04-28T03:08:51 | 2017-04-28T03:08:51 | 86,583,795 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,314 | h | #ifndef LEPTJSON_H_
#define LEPTJSON_H_
#include <string>
#include <vector>
#include <map>
#include <assert.h>
inline void EXPECT(std::string::iterator& key, char ch) { assert(*key == (ch)); key++; }
inline int is_digit(char ch) { return ch >= '0' && ch <= '9'; }
inline int is_digit19(char ch) { return ch >= '1' && c... | [
"wja_1993@163.com"
] | wja_1993@163.com |
7f6f337aee281ee3cb05d82817a15025e31511d5 | 172bc1887f0e21e7e91534023ece4276c098e1c4 | /SKCalendarView/timerPicker完结版/solar_chinese_calendar/SolarDate.cpp | 783eb18d072e258142f8116046fcb8ef55aaab91 | [
"MIT"
] | permissive | lbgongfu/iOSCalendarXL | 9e5ef60f87d67fd5fcd3d02004b804853220d163 | ff601bdd0d5139c13e61d14a72d0044e6e937a01 | refs/heads/master | 2020-03-27T10:47:14.000809 | 2018-10-26T07:35:52 | 2018-10-26T07:35:52 | 146,444,953 | 0 | 0 | null | 2018-08-28T12:34:49 | 2018-08-28T12:34:48 | null | UTF-8 | C++ | false | false | 4,540 | cpp | /**
* SolarDate.cpp
* @Author Tu Yongce <yongce@126.com>
* @Created 2008-12-13
* @Modified 2008-12-13
* @Version 0.1
*/
#include "SolarDate.h"
#include "ChineseDate.h"
// 平年中每一个月的天数
const int SolarDate::sm_monthDay[12] = {
31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
};
// 平年中每一个月之前所有月的天数
const i... | [
"lbgongfu@163.com"
] | lbgongfu@163.com |
2ca2b84ab4f165b780b120dd93a1d16cce30a419 | 19ff35911042e0f4371b91795393f95f251075fc | /CaC/Storage.cpp | 753c4598be37dd8984e4ef599dfd693901ba3154 | [] | no_license | geckiss/CaC | 8f16df9e20cd33e369575ee0e9f9932388ce9ec5 | 2043693100fee13fb0e229d7c3679463b5457662 | refs/heads/master | 2020-04-28T22:05:48.064699 | 2019-03-14T11:07:49 | 2019-03-14T11:07:49 | 175,605,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include "Storage.h"
#include "../CaC/structures/heap_monitor.h"
Storage::Storage()
{
potatoes_ = 0;
oil_ = 0;
flavors_ = 0;
totalChips_ = 0;
totalCrisps_ = 0;
}
Storage::Storage(Date * date)
{
date_ = date;
}
Storage::~Storage()
{
date_ = nullptr;
potatoes_ = 0;
oil_ = 0;
flavors_ = 0;
totalChips_ = 0;... | [
"mato@martin.gregorik1@gmail.com"
] | mato@martin.gregorik1@gmail.com |
26cc5c8e33ec6fbde9c5cee75c1e5bd9e9b6960a | 484f297139ec59e6ce5adf3c676a28406a276c5b | /src/test/auxpow_tests.cpp | a8d4af4ce2a30874d648b8015281f53b1b7671a2 | [
"MIT"
] | permissive | hobbit19/xaya | 3512a3ec5683facdaa63fc7c790709e084154da1 | d22a1fd62a771d66a2c862c05444f2e6d8162b26 | refs/heads/master | 2020-04-16T14:07:22.329155 | 2019-01-07T17:15:53 | 2019-01-07T17:15:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,117 | cpp | // Copyright (c) 2014-2018 Daniel Kraft
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <arith_uint256.h>
#include <auxpow.h>
#include <chainparams.h>
#include <coins.h>
#include <consensus/merkle.h>
#include <valid... | [
"d@domob.eu"
] | d@domob.eu |
8578cec5e999605020e16442b8f60d8d03263b80 | 69fa4caf0b1df54c53d17c741496e7ed7a4ccc9f | /anns_debug_scan_controller/deadlock_behavior_simple_C_one_intermediate_func_local_float_depth_2/src/vadd.cpp | ef70c4557e7cffb3610afe7021922e8f0d96d6cf | [] | no_license | WenqiJiang/FPGA-ANNS | 33d4a2cbd4ad6c232ab500770effe8f8e59f54f4 | 1d42e637bb84834afbeea126d70d476103247447 | refs/heads/main | 2023-08-04T09:24:43.113036 | 2021-09-02T08:40:28 | 2021-09-02T08:40:28 | 303,410,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,755 | cpp | #include <stdio.h>
#include "vadd.hpp"
#include "stdio.h"
// #define GUARD
#define FEEDBACK
#define TRIGGER_LEN 2
template<const int query_num>
void load_query_vectors_sing_con(
// const int* DRAM_query_vector,
hls::stream<int>& s_control_send,
hls::stream<int>& s_query_vectors) {
// 1 st query no ... | [
"wejiang@alveo0.ethz.ch"
] | wejiang@alveo0.ethz.ch |
239b419d8ef71b0c469c0295e96ff49595b86f2a | eaa1701653b3e2359614193bb8c08e87b477212a | /VCPlusPlus/VCPlusPlusLoops/PrintSpiralMatrix/PrintSpiralMatrix.cpp | d4fb6d1451a869eba3d06f708202eb09fde555e6 | [
"MIT"
] | permissive | madbadPi/TelerikAcademy | 5d14de3d9e1ef31847ace7ff387e81f89ede9b52 | 37eafec75b510b636a1e7da55fffed7bdc7f3d85 | refs/heads/master | 2021-01-10T07:48:44.062199 | 2016-03-08T16:56:55 | 2016-03-08T16:56:55 | 46,790,368 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | cpp | #include <iostream>
#include <string>
#include <vector>
int main()
{
std::string numberstr;
std::cout << "Input a number ";
getline(std::cin, numberstr);
int num = stoi(numberstr);
std::vector<std::vector<int>> matrix(num, std::vector<int>(num));
int row = num-1;
int col = num-1;
int currentrow = 0;
int curr... | [
"madbad@mail.bg"
] | madbad@mail.bg |
94180e7d312f0d0b9c74e047b2c73a7dd72291d0 | ca4c4631f3d47a90b8415bbe70dbc7cae18c071e | /unit_tests/matrix_free/StkGradientFixture.h | f8ab8e464dfdafc0f5210559272dc399c4a8ef74 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | Exawind/nalu-wind | 5765078c445d379ea952d2b25a01f5ff490837a6 | 722cd7757a412c9306645963808047824c312a17 | refs/heads/master | 2023-08-16T17:44:54.744168 | 2023-08-15T18:05:23 | 2023-08-15T18:05:23 | 132,016,365 | 111 | 87 | NOASSERTION | 2023-09-14T04:02:07 | 2018-05-03T15:39:32 | C | UTF-8 | C++ | false | false | 2,552 | h | // Copyright 2017 National Technology & Engineering Solutions of Sandia, LLC
// (NTESS), National Renewable Energy Laboratory, University of Texas Austin,
// Northwest Research Associates. Under the terms of Contract DE-NA0003525
// with NTESS, the U.S. Government retains certain rights in this software.
//
// This sof... | [
"noreply@github.com"
] | noreply@github.com |
e7ba73e9c63d34a6422ac4205388fa9a92cf8bd2 | e4b0bdedd0709dfa9505757163dae094a68d9a5a | /Live Archive/7012.cpp | ee9901cc99e26441f52bab50d10b9281828fffac | [] | no_license | torikazi/Competitive-Programming | 4543fffe87cf8f3ea384a6c2aaa04c9e90f31036 | dac444f6630e7918a3fd423d60bf53137414426a | refs/heads/master | 2021-04-06T20:44:05.539366 | 2018-10-05T00:53:56 | 2018-10-05T00:53:56 | 125,230,160 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c,d,mx,mn;
while(scanf("%d%d%d%d",&a,&b,&c,&d)==4)
{
if(a==0 &&b==0 && c==0 &&d==0) break;
mn=abs(b-c);
mx=abs(a-d);
printf("%d %d\n",mn,mx);
}
}
| [
"kazisratori@gmail.com"
] | kazisratori@gmail.com |
2eccf854aa5d75ce1e731011b061dfa47714336b | 2b23944ed854fe8d2b2e60f8c21abf6d1cfd42ac | /HDU/2084/6797286_AC_218ms_1684kB.cpp | f8708b6eedd02bf8a6a08158d6ad829a9dff6de8 | [] | no_license | weakmale/hhabb | 9e28b1f2ed34be1ecede5b34dc2d2f62588a5528 | 649f0d2b5796ec10580428d16921879aa380e1f2 | refs/heads/master | 2021-01-01T20:19:08.062232 | 2017-07-30T17:23:21 | 2017-07-30T17:23:21 | 98,811,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cpp | #include<cstdio>
#include<iostream>
#include<algorithm>
using namespace std;
int a[110][110];
int dp[110][110];
int n;
int main(){
int T;cin >> T;
while(T--){
cin>>n;
for(int i=1;i<=n;i++){
for(int j=1;j<=i;j++)
cin>>a[i][j];
}
for(int i=1;i<=n;i++){
dp[n][i]=a[n][i];
}
for(int i=n-1;i>0;--i){
... | [
"wuweak@gmail.com"
] | wuweak@gmail.com |
8ecc80eb866289db9b9afcad31d6541340d7b178 | 2ebd2b7e9d2123200c985ad590c829eac0f68b0a | /protos/cpp/google/firestore/v1/query.grpc.pb.cc | 837ec633becbc72392173fc06f91c286f4a5d08e | [
"MIT"
] | permissive | bitsauce/lightweight-firestore-cpp | 98a55cb8a0c35b6a6b9e8e3afe2ff5db05c7e89b | b2eb1ba5108ed0adefa714cb29454141b312d4d7 | refs/heads/master | 2020-05-25T01:01:33.983626 | 2019-09-23T15:25:32 | 2019-09-23T15:25:32 | 187,544,189 | 0 | 0 | null | 2019-09-11T18:59:00 | 2019-05-20T00:46:10 | C++ | UTF-8 | C++ | false | false | 1,455 | cc | /*
* Copyright 2018 Google
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | [
"marcus.loo.vergara@gmail.com"
] | marcus.loo.vergara@gmail.com |
7d784ab533c2da9d73fac289580cff599a589f1d | b6c856b934862549895053fc7640096df987c677 | /influxposter.cpp | a6828aa9e4f63d7e47406141d12bab7285a87909 | [] | no_license | mckaymatthew/RTL_433_Influx | 78c4fa3291894e7fd7eca1dbc89a0894dceb3804 | f6cdb82145e5e3737d9e476f4cc1101078d907e8 | refs/heads/master | 2020-03-30T08:18:18.054920 | 2019-07-21T14:20:51 | 2019-07-21T14:20:51 | 151,004,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,961 | cpp | #include "influxposter.h"
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QUrlQuery>
InfluxPoster::InfluxPoster(QObject *parent)
: QObject(parent)
, manager(this)
, m_settings("map.ini", QSettings::IniFormat)
{
m_settings.sync();
QObject::connect(&manager, &QNetworkAccessManager::fini... | [
"matt@mattmckay.org"
] | matt@mattmckay.org |
964b4b6e233413771ea15d742d735cc3d1f6daf4 | a4feb99ad07767367a3b44f18dd0e6cb9949f00c | /src/eepp/system/translator.cpp | 1cb6ec1e1dadea50b24e8bc978c9fd3241fcfc66 | [] | no_license | dogtwelve/2DFrameworkStudy | e2958a9dd39f1fefd069ebd3cac3ea785e3c084a | b3f65adad28512cf617f66d69215a36a494b2c17 | refs/heads/master | 2021-08-11T08:50:56.512870 | 2017-11-13T13:02:06 | 2017-11-13T13:02:06 | 110,534,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,687 | cpp | #include <cctype>
#include <algorithm>
#include <cstdarg>
#include <eepp/system/translator.hpp>
#include <eepp/system/filesystem.hpp>
#include <eepp/system/pack.hpp>
#include <eepp/system/packmanager.hpp>
#include <eepp/system/iostream.hpp>
#include <eepp/helper/pugixml/pugixml.hpp>
namespace EE { namespace System {
... | [
"x3191@@hotmail.com"
] | x3191@@hotmail.com |
cc1b9bef68c1664ea1a7a9477ad40b826884a1b5 | 8f795cb178e4f63c8509bb48df1903458859a074 | /SimpleOrderedTree/SimpleOrderedTree.h | 1aace7ba28c5e9aa85423942577babe9f7f9fa99 | [] | no_license | sypinator2012/LAB-1-2-3 | d8c29de1c0ce0d9b3db1013c2ab4750859a14f56 | 48784a6fa62395fe6bfc9bc3063be04868d7f520 | refs/heads/master | 2020-04-05T17:15:39.559055 | 2014-04-19T16:27:47 | 2014-04-19T16:27:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | h | #include <string>
typedef struct
{
std::wstring Name;
int Group;
} Item;
typedef struct node
{
Item item;
node *left,*right;
node(Item x,node *l,node *r)
{
item=x;
left = l;
right = r;
}
} *link;
void addToTree(link& root,Item& i);
void addToTree(link& root,std::wstring i,int g);
link deleteFromTree(lin... | [
"olegjob2012@yandex.ru"
] | olegjob2012@yandex.ru |
8aa4ace4c5145ad65e6032ca6072655ef23d8382 | f179b9c3bde0c15ef195cb129c7dcf8dc9c8f494 | /dsplnk/module.cc | d59d17e91c988e6d23d0204229f98eba22977aca | [] | no_license | jamiekang/embedded-sw-dev-tools | 769ec0aed3f0bd83d66c1e0bbd2da90f51989346 | c9d9ca46e243608d71df7e6abd748f4b3d22136a | refs/heads/master | 2021-01-18T20:30:40.782789 | 2017-04-02T10:07:19 | 2017-04-02T10:07:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,551 | cc | /*
All Rights Reserved.
*/
/**
* @file module.cc
* Module information (sModule) linked list implementation
*
* @date 2008-12-16
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "dsplnk.h"
#include "module.h"
/**
* @brief Allocate a node dynamically.
*
* @param name Pointer... | [
"noreply@github.com"
] | noreply@github.com |
2858d794d32a721b905fa5f2e5666aa86def121f | c9976bb9f605462a1b5be9352831f4b586a1ef33 | /chkRotation/chkRotation/stdafx.cpp | daa95e10c20b4190bc1d9d4ca02e7cd3de5278f7 | [] | no_license | zhaoziy/Algorithm | e97d2622edd9cf513ce4c93da0bf161d36260036 | b8b14b8ab5801fc5b6f66d7cb4a55f7b23613cd9 | refs/heads/master | 2021-01-21T12:58:00.930639 | 2016-05-23T07:45:36 | 2016-05-23T07:45:36 | 48,304,609 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 262 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// chkRotation.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用
| [
"zhaoziy@hotmail.com"
] | zhaoziy@hotmail.com |
52b91a40d11d518ccb8640522a5c673ea3fa1e46 | a00315b4799ced889ddd0ca00321cfdfdbafd43b | /HW1/icpc_2425.cpp | 3a69fe9b052f0ff393c68e1abc1e433ee1e6a436 | [] | no_license | yakirhelets/234901_CP | 928bd963882ad7f875a35317767688ae53322ecc | 92dd1e17d43091c873bf302edeaf333a4f240f6b | refs/heads/master | 2020-05-09T03:41:52.547440 | 2019-07-07T14:40:49 | 2019-07-07T14:40:49 | 180,982,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,922 | cpp | #include <algorithm>
#include <cassert>
#include <cmath>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <set>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <queue>
using namespace std;
typedef pair<int,int> ii;
typedef vector<ii> vii;
t... | [
"yakir.helets@gmail.com"
] | yakir.helets@gmail.com |
0ef699db5873d5e351d30a59bafd75d291a72a17 | 73ee941896043f9b3e2ab40028d24ddd202f695f | /external/chromium_org/chrome/browser/ui/views/uninstall_view.h | 6c4839fcc4608d600163087a70163b6752e7050e | [
"BSD-3-Clause"
] | permissive | CyFI-Lab-Public/RetroScope | d441ea28b33aceeb9888c330a54b033cd7d48b05 | 276b5b03d63f49235db74f2c501057abb9e79d89 | refs/heads/master | 2022-04-08T23:11:44.482107 | 2016-09-22T20:15:43 | 2016-09-22T20:15:43 | 58,890,600 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,294 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_UNINSTALL_VIEW_H_
#include <map>
#include "base/basictypes.h"
#inc... | [
"ProjectRetroScope@gmail.com"
] | ProjectRetroScope@gmail.com |
dcd993b24000bb43830867cb49648985cb66ccbb | 8478e68b25543cdc55c52dd44c7e986cef930a04 | /HW_1/DevRobot/src/Subsystems/StationGear.h | ab76f2dbcda96e02310c702a97224ef8e33a4189 | [] | no_license | 4329/Homework | b78a0ba0888262d6f5c6a7a180a21952c875fc2b | 8537294def3a9ac53ae1f98767b0f6666b199995 | refs/heads/master | 2021-08-23T19:09:59.475979 | 2017-12-06T05:20:03 | 2017-12-06T05:20:03 | 110,405,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | h | // RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// C++ from RobotBuilder. Do not put any code or make any change in
// the blocks ... | [
"mdballard2@charter.net"
] | mdballard2@charter.net |
95aee98525e4befe65c58fe526c78c807dc8377e | a4db2540dca460c8b4f08f8328a19b32fe182a77 | /hw06 - Binary Search Tree/src/BST.hpp | 2427ed655ae8e8563e09e554b8c10d4feed2444e | [] | no_license | nonsix/u18 | 4e538bfcc6e4a0c6060c8f7ef5f073b0b7178268 | 16f02afe2af2cf34ec829547b148eb63e49bd0d3 | refs/heads/master | 2021-10-07T08:59:34.119533 | 2018-12-04T07:00:13 | 2018-12-04T07:00:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,808 | hpp | // File Name: BST.hpp
// Author: Devon Schimming
// Student ID: h865r773
// Assignment Number: 6
#ifndef BINARY_SEARCH_TREE_HPP
#define BINARY_SEARCH_TREE_HPP
#include <stdexcept>
#include "Queue.hpp"
using namespace std;
template <typename T>
class BST {
public:
// Default Ctor
BST();
// Parameterized C... | [
"xnomadsix@gmail.com"
] | xnomadsix@gmail.com |
809d17ea855ae04d9a0405fb8c3f8906db84f8f1 | 63cc05f3e04c8f43894c1c55ea1972c6e8f5dc58 | /_maratonBook/estructurasBasicas/estructuras.cpp | a01d3d7bcd521358381017220ef0966b8e941385 | [
"MIT"
] | permissive | civilian/competitive_programing | 728c057d6f58d5de48067957d3f96d2076047030 | 1b39393a9b2ec67faced61b7b502512aba5ac448 | refs/heads/master | 2022-06-01T09:18:14.098593 | 2018-10-19T23:13:48 | 2018-10-19T23:13:48 | 39,838,963 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <ctime>
#include <cctype>
#include <cassert>
#include <iostream>
#include <sstream>
#include <iomanip>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <deque>
#include <list>
#include <set>
... | [
"chamatoscar@gmail.com"
] | chamatoscar@gmail.com |
e2e2d8d23fa735f129be48a284ceebee5a17ebdf | be9820090b95012d95f90deaa9f8007934dedc37 | /CORE/src/MYSQL.cpp | 3788f23c272b43f0a1eb896756b02288fb533967 | [] | no_license | apingault/webdcs-GIF | c97d4c0d6206976dddf0fce200798138b8d889d5 | b4980bd72c9486ffc802a614013ca879edb01327 | refs/heads/master | 2020-04-02T17:36:59.124251 | 2018-09-15T10:11:53 | 2018-09-15T10:11:53 | 154,664,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | cpp |
#include "../interface/MYSQL.hpp"
void MYSQLDb::connect() {
if(ATTEMPTS_CONN > MAX_ATTEMPTS) {
sprintf(msg_, "Cannot connect to the MYSQL database after %d attempts", MAX_ATTEMPTS);
cout << msg_ << endl;
//handleWarning(msg_, 40, __LINE__);
}
else {
sprintf(msg_, "Try to... | [
"webdcs@webdcs904a.dyndns.cern.ch"
] | webdcs@webdcs904a.dyndns.cern.ch |
7845cc4e738bb37906c0bdd41c642ec6b23c9fcf | 6a6383ec849dc63225d8ad9790969ada3dc57845 | /src/core/common/string.hpp | ac76b185165a5492ff39fd8a715e573fdecab730 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause"
] | permissive | luizrenault/openthread | 50f177a43b0bcd11a4d87b30ae1d217c53eac022 | ac211d50b65425cf7b6e222ebeb2b802f992be85 | refs/heads/master | 2020-03-25T04:44:16.997431 | 2018-08-03T10:31:27 | 2018-08-03T10:31:27 | 143,410,906 | 1 | 1 | null | 2018-08-03T09:58:07 | 2018-08-03T09:58:06 | null | UTF-8 | C++ | false | false | 6,290 | hpp | /*
* Copyright (c) 2018, The OpenThread Authors.
* All rights reserved.
*
* 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 ... | [
"jonhui@nestlabs.com"
] | jonhui@nestlabs.com |
a1ee6e6c1b036026375f0d96eaa5cae27b7badc9 | 8b6bd5ae4182b5a4f382d07caf31c11f8374f3cf | /src/store.cpp | cd6708d9eb20b7de5b7f7da4b0bb188411f3cf09 | [] | no_license | JakimPL/Roguelike | 29cbeceef0d3ffbce74aa0527408d04c99e95ee6 | e0ea1c7b9129c4db06187f80274407c7cc4832ac | refs/heads/master | 2021-07-06T07:03:40.498543 | 2021-01-09T17:04:54 | 2021-01-09T17:04:54 | 216,897,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,373 | cpp | #include "store.hpp"
#include "functions.hpp"
#include "log.hpp"
Store::Store()
{
}
Store::Store(const std::vector<std::string> resourceList)
{
resourceNames = resourceList;
}
Store::Store(const std::string& filename, bool fullPath)
{
loadFromFile(filename, fullPath);
}
bool Store::loadFromFile(const std::string... | [
"jakimpl@gmail.com"
] | jakimpl@gmail.com |
d3af5d89f8fbf5ab79a8b740ad33d6b49d4ca1cb | 69ad787f655024aef5b1e43fdb1997383fd8dc1d | /EjemploRecursividad.cpp | 42456ed79d02a38f9c8933c7c8d72b703dfb1476 | [] | no_license | AndreaGarcesEPN/Ejemplos_C_Cpp | f2e2a4a6ce3e6da59cbf50e199446a5a0880bf85 | 1349b1526cd8e2a7f8c4744e3b04eea6dfad8f69 | refs/heads/master | 2020-05-23T06:08:55.061218 | 2019-07-21T23:52:43 | 2019-07-21T23:52:43 | 186,661,445 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,845 | cpp | #include <iostream>
#include <stdlib.h>
#include <time.h>
using namespace std;
void Start();
void GetResults();
int i, j, life, maxrand;
char c;
void Start() {
i = 0;
j = 0;
life = 0;
maxrand = 6;
cout << "Select difficulty mode:\n"; // the user has to select a difficutly level
cout << "1 : Easy (0-15)\n";
... | [
"50632356+AndreaGarcesEPN@users.noreply.github.com"
] | 50632356+AndreaGarcesEPN@users.noreply.github.com |
396d260c6f4638fae7ab6943a9be9bec552de62d | a712314e1428e8f5ab7b2db076002afef9c4a7fa | /nyla/llvm_gen.cpp | ec757e29d90b437e9e6b30fbee1d3b6ee6f5a943 | [] | no_license | JosephCRugh/nyla | 52004eff83912e5f06760853af133b04c53698ac | 40498a2b2873ef7c413ed7dc5d6b1e66beba1dc8 | refs/heads/main | 2023-08-19T11:18:18.899238 | 2021-09-18T00:43:04 | 2021-09-18T00:43:04 | 391,193,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,715 | cpp | #include "llvm_gen.h"
struct ll_vtype_printer {
ll_vtype_printer(llvm::Value* _arg)
: arg(_arg) {}
llvm::Value* arg;
void print_ll_type(llvm::Value* value) const {
value->getType()->print(llvm::outs());
}
};
struct ll_type_printer {
ll_type_printer(llvm::Type* _arg)
: arg(_arg) {}
llvm::Type* arg;
void... | [
"josephcrugh@gmail.com"
] | josephcrugh@gmail.com |
ded41dcf80eca957af0768b9c61c6a49daee14a5 | 131815a09e2491733d5155db0c696e458155e2e5 | /rush00/AEntity.hpp | 77a74513f252af43cf3e3dde603f43c2af9d1d2d | [] | no_license | rsibiet/piscine_CPP | b9ff0c5269e28a38c52e0ce07e074864904b7049 | 316997190aabae3d0bcc749fd75da9265d010844 | refs/heads/master | 2020-03-23T00:18:09.740633 | 2018-07-14T14:05:49 | 2018-07-14T14:05:49 | 140,855,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,396 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* AEntity.hpp :+: :+: :+: ... | [
"remysibiet@hotmail.fr"
] | remysibiet@hotmail.fr |
6718942f25bf65cc6f8666ff259fe6448118d5d7 | 75c0a6e20d86811151a9ac855ce780576e541ec1 | /Beginning_Algorithm_Contests/Volume 2. Data Structures/Binary Tress/Uvaoj 699 The Falling Leaves/Uvaoj 699 The Falling Leaves.cpp | d3e942f4211f8a7d988a6cf0eb875d027d9e2fbc | [] | no_license | liketheflower/icpc-Rujia-Liu | 71e8c74125a8613b20f322710302cc5c5287d032 | bc2eb6e1f7421614a320f6534bd8800337f63931 | refs/heads/master | 2020-09-08T05:23:11.414741 | 2017-01-23T22:39:03 | 2017-01-23T22:39:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 782 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int INF = 1<<30;
int data[500];
int front;
int rear;
void next(int degree)
{
int h;
scanf("%d",&h);
if(h==-1)
return;
data[degree] += h;
front = min(front,degree);
rear = max(rear,degree);
next(degree-1);
next(degree+1);
}... | [
"fywfanyewen@163.com"
] | fywfanyewen@163.com |
05c12c09432529ebd8d23e4e20a2e9c1967fba5b | 7c2c222cf8a179caa0013726609ff84ad47eb08e | /src/JsonReadWrite.cpp | 6fea80efd571035e5b3ce3ecc94def79383d91e1 | [
"MIT"
] | permissive | barrettd/json | 4554ffe4786009eb2efcf932794572d52f42cf6d | a512ef3c3f7cdeaccc4615d5b9ee24d3570e4b62 | refs/heads/master | 2020-04-13T17:47:33.556956 | 2018-12-31T00:47:03 | 2018-12-31T00:47:03 | 163,356,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,314 | cpp | //
// JsonReadWrite.cpp
// https://github.com/barrettd/json
//
// Created by Barrett Davis on 12/26/18.
// Copyright (c) 2018 Tree Frog Software. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Softw... | [
"barrettd@thefrog.com"
] | barrettd@thefrog.com |
49ed8426bc23164a00cc02782b674817452b3e72 | 8768983707bf40ed996bb20f968eb0ac8c4833ad | /winBuild/Il2CppOutputProject/Source/il2cppOutput/Unity.RenderPipelines.Universal.Runtime2.cpp | 82ca10de60b6840cebf921f9983d19693e0cfc80 | [
"MIT"
] | permissive | marcors98/ulsa.patform2d-2020 | 2802c96e5421a5e0ac469d88396f50630610b6d5 | 3e70acfa5e331fb496b43b3c730e4ee81790da34 | refs/heads/master | 2020-12-15T13:35:03.753448 | 2020-03-09T04:07:01 | 2020-03-09T04:07:01 | 235,117,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,346,411 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... | [
"marcosrodso@gmail.com"
] | marcosrodso@gmail.com |
e0af4800e19c44547b2e92ff2ca1ea572f2f32f4 | fafaa4cd9bc46e8426af6e173e976c9c74098030 | /my_server/NpcKernel/NetWork/MsgUserAttrib.cpp | c0b8deb254e5d633b7bdc32f7910f153c5dfb603 | [] | no_license | XinJiangQingMang/fight | 2c7cf0af9a3f027eda7b355c193041160053d4a0 | 41846b583064f2c576d3f238aebcebcbb3bafd17 | refs/heads/master | 2021-06-12T05:31:38.338725 | 2016-12-11T05:08:17 | 2016-12-11T05:08:17 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,359 | cpp |
//**********************************************************
// ´úÂë±à¼Æ÷
//**********************************************************
////////////////////////////////////////////////////////////////
//
// MsgUserAttrib.cpp
//
#include "AllMsg.h"
#include "NpcWorld.h"
////////////////////////////////... | [
"337918198@qq.com"
] | 337918198@qq.com |
ab82b278f362872a760c49b5c0b85a919e3f7821 | d65be723fd7f820f9d02949eb13bfb718ae97e02 | /URI/2581.cpp | 5d2cb70acef0baa2e044669f65b2785c9147faa9 | [] | no_license | gusanthiago/Competitive-Programming-Playground | 0c148e017fd325b8bfcd7a25e6155eb57813f177 | 06ec8221f00dfbc4b64bd827be34c010d0f26a09 | refs/heads/master | 2020-03-09T04:41:22.989383 | 2018-04-08T03:24:13 | 2018-04-08T03:24:13 | 128,593,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 220 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
string line;
int n;
cin >> n;
getchar();
while (n--) {
getline(cin, line);
cout << "I am Toorg!" << endl;
}
return 0;
} | [
"gustavo.santos@climatempo.com.br"
] | gustavo.santos@climatempo.com.br |
1e05bbfa2f0c7d47700759adaf8d490a8681407b | cf8b7fdadaa530adcca7814fd1f2a764cc9272f0 | /Carbon/src/Carbon/Log.h | 5b664a1c550ef5e2c7f215e77ab5a51ff9a2768d | [] | no_license | DVMatthew/CarbonEngine | 224c9d24d5070cd68415422073a7132b5ec61195 | 1517c9d76eb8ca1c0a39d3dc0294d87c1b56020a | refs/heads/master | 2020-04-14T03:49:18.271031 | 2018-12-31T16:14:36 | 2018-12-31T16:14:36 | 163,617,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,278 | h | #pragma once
#include <memory>
#include "Core.h"
#include "spdlog/spdlog.h"
namespace Carbon {
class CARBON_API Log
{
public:
static void Init();
inline static std::shared_ptr<spdlog::logger>& GetCoreLogger() { return s_CoreLogger; }
inline static std::shared_ptr<spdlog::logger>& GetClientLogger() { ret... | [
"matthewlego2003@hotmail.com"
] | matthewlego2003@hotmail.com |
e4f20664288aa8739f72f5ca846c22324c8c5677 | 56d7cb3fd8911c5821115e145b3f03ca9240fcd0 | /mico/wpi_jaco/devel/include/moveit_ros_planning/TrajectoryExecutionDynamicReconfigureConfig.h | 8ac80af8e4d362902223bee6fe0481e4b1bb25a9 | [] | no_license | Wisc-HCI/therblig-motion-library | d0194da3d54c55491e95bb3ee6e0c594347222db | 47a33b5bb2e1fbd4b8e552ec0126fdd2f89b2092 | refs/heads/master | 2020-04-04T06:17:08.151880 | 2017-12-01T22:05:48 | 2017-12-01T22:05:48 | 52,892,979 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,936 | h | //#line 2 "/opt/ros/indigo/share/dynamic_reconfigure/cmake/../templates/ConfigType.h.template"
// *********************************************************
//
// File autogenerated for the moveit_ros_planning package
// by the dynamic_reconfigure package.
// Please do not edit.
//
// ********************************... | [
"jvgagliarid@gmail.com"
] | jvgagliarid@gmail.com |
43dd0819861baf98f3332c2f89b46fb70227e62e | beaf90e7f716307978d5139b5ae58b508520cae9 | /include/zcy.h | 7d47d4716e3da74c968a672377db53cc46a6d3c3 | [] | no_license | comradez/Pseudo-LOGO-Interpreter | 29bad5481975208f1a106c17d1b47457068cbb22 | 4fd451b56debf018adee793184d64421dc04de36 | refs/heads/master | 2020-12-08T11:12:14.012097 | 2020-01-14T09:34:49 | 2020-01-14T09:34:49 | 232,968,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,686 | h | #include <cmath>
#include <vector>
#include <string>
#include "basic_type.hpp"
template <typename Type1, typename Type2>
inline auto add (Type1 a, Type2 b) {
return (expr_type_t<Type1, Type2>)(a + b);
}
template <typename Type1, typename Type2>
inline auto minus (Type1 a, Type2 b) {
return (expr_type_t<Type1, Type2... | [
"zcyjim@outlook.com"
] | zcyjim@outlook.com |
4cf2339b6f215f28eb3915e205c5823a026a2221 | 7d886deca26b119da215cb098881f105b7fd53e2 | /VTS3/VTSNotifyOutOfRange.cpp | 2026c5e11b689a7c933a0a82f09b7fc26dca51b0 | [] | no_license | larrycook99/vts | 2e3d9a4f377199b89302f129d229eb443b920ea2 | eb75f416c3a7d082004703fbf69da3ba04dd6ece | refs/heads/master | 2023-01-12T00:19:02.536960 | 2020-11-22T03:43:50 | 2020-11-22T03:43:50 | 314,956,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,206 | cpp | // VTSNotifyOutOfRange.cpp : implementation file
//
#include "stdafx.h"
#include "VTS.h"
#include "VTSNotifyOutOfRange.h"
#include "VTSNotificationParameters.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
///////////////////////////////////////////////////////////... | [
"larrycook99@gmail.com"
] | larrycook99@gmail.com |
361bca110435588962c4742a0b86ac2de46c76b6 | b4828cf9403fedde5dd346b3338a5f4bf0f1eb96 | /leetcode_sol/1691-Maximum_Height_By_Stacking_Cuboids.cpp | fb2a59fc55b94f07e42fcff05940cf6801cb0290 | [] | no_license | Masters-Akt/CS_codes | 9ab3d87ca384ebd364c7b87c8da94b753082a7e3 | 1aaa107439f2e208bb67b0bcca676f90b6bc6a11 | refs/heads/master | 2023-01-24T00:11:05.151592 | 2023-01-21T18:45:57 | 2023-01-21T18:45:57 | 292,529,160 | 6 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cpp | class Solution {
private:
static bool comp(vector<int>& a, vector<int>& b){
return a[0]+a[1]+a[2]<b[0]+b[1]+b[2];
}
public:
int maxHeight(vector<vector<int>>& cuboids) {
sort(cuboids.begin(), cuboids.end(), comp);
vector<int> maxheight(cuboids.size(), 0);
int iterating_index ... | [
"64123046+Masters-Akt@users.noreply.github.com"
] | 64123046+Masters-Akt@users.noreply.github.com |
094f2f28c164806a5e3cffb92b492a83340ead73 | 8aa01bf57d614787376ab81739543878ee3bf989 | /ES Game Library/ES Game Library/My_Class/Map_Class/ObjectPlan.h | 9c6cb29e17647ef74514f2c1e58f2329e9839abb | [] | no_license | GlanzH/Quantum | 4b7d6167dcf8e2e724c24d598253ba0852200f86 | 02b3b533567c68f3fab8bbc238f539f28aa285c1 | refs/heads/master | 2023-06-03T03:22:09.490935 | 2021-06-25T02:10:05 | 2021-06-25T02:10:05 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 405 | h | #pragma once
#include"../../ESGLib.h"
#include"../Object_Class/Object_Base/ObjectBase.h"
#include "../DATE/Map_Date/MapDate.h"
class ObjectPlan : public Object
{
public:
ObjectPlan() ;
~ObjectPlan() {};
void Init() ;
void Update() ;
void Draw3D();
private:
std::vector<cstring> mapdata;
void MapdataTagsPos();... | [
"opatorishia@gmail.com"
] | opatorishia@gmail.com |
37bf68e841acf6ed7707af4f7869da8b474904a3 | f46365850c9143e676d8f83f5b0247233f19e4fa | /CSC414FinalProject/CSC414FinalProject/CSC414FinalProject.cpp | 37aa4df32659b1da487835e60ad22aa62dff9879 | [] | no_license | WinterCrusader/psychic-sidekick | 49daebea45f31d40fa652f8d26b2c1b37f35c2a3 | 6e9cc48635d36f677f4bb8b557b2fcb860de09af | refs/heads/main | 2023-01-13T04:02:34.300638 | 2020-11-18T03:44:00 | 2020-11-18T03:44:00 | 313,517,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,669 | cpp | //Connor Bivens
//CSC 414
//November 17th, 2020
//Menu Stubbing Project v2.0
#include <iostream>
#include <iomanip>
using namespace std;
void printMenu();
void itemSell(double &cost, int &input, int count[10]);
int main()
{
//declare and initialize variables
int input = 0;
double cost = 0;
int count[1... | [
"noreply@github.com"
] | noreply@github.com |
a16dc90d0328682a756073a9608f90616bcb6a56 | 33aff6f40a02aaeebd0e3bf8a37cff87ba211da0 | /src/main.cpp | 70f15a24c1bbf9c08afe5ffe54072f620135f61b | [] | no_license | maetulj/face_detection_tracker | 168fb5f1353a3d2724ecda448e8e506ae68d5f6a | 39bf7e87fddc19af992117502969d9b9aeafc41d | refs/heads/master | 2020-06-17T08:12:20.280274 | 2016-12-01T02:50:20 | 2016-12-01T02:50:20 | 75,015,130 | 1 | 1 | null | 2016-11-30T01:08:15 | 2016-11-28T21:18:23 | C++ | UTF-8 | C++ | false | false | 847 | cpp | /**
* FILENAME: main.cpp
*
* DESCRIPTION:
*
* This is the main file for the face detection tracker.
* It includes the main function which initializes the face detection and
* tracker and starts it.
*
*
* AUTHOR: maetulj
*
* START DATE: 28.11.2016
*
*/
#include "face_detection_tracker.h"
/**
* @brie... | [
"nmrealm@gmail.com"
] | nmrealm@gmail.com |
48f8722e9c81e05f23563934b68f5c5aad89ec12 | 3a279f2e7a1fe3b8493a2d5f2298c34dd7e49dfb | /array&searching/max_subarray_sum3.cpp | 8761af10e935d684e08c4bc1717b6ca33c46665a | [] | no_license | avnishsingh516/CB-ds-and-algo | 47438b135ca6db56fccfff0209f0e4d54d2bf390 | 906bf59e84ceaf29e3035a1626f9bcb4617481e6 | refs/heads/master | 2022-12-09T13:31:26.643169 | 2020-09-06T09:24:20 | 2020-09-06T09:24:20 | 273,135,306 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | cpp |
// approach 3 by using 1 loops O(N)
// using kadane's algo
#include<bits/stdc++.h>
using namespace std;
int main() {
int n ;
cin >> n;
int a[n] ;
for (int i = 0; i < n; i++) {
cin >> a[i];
}
int cs = 0; //current sum
int ms = 0; //max subarray sum
// kadane's algo
for (int i = 0 ; i < n ; i++) {
... | [
"singhavnish516@gmail.com"
] | singhavnish516@gmail.com |
8b5789cf9a06062534455a211d7e63b1b24ec6c6 | 423d16560695defa12ead4d215617ff8dc68d8d3 | /ThirdParty/include/glm/gtc/noise.inl | d72335d005e9da594528323973d997773fba02f5 | [] | no_license | JackMcCallum/N-GINE-Old | 64673277f2746c0ac117d68e03cb680cb5536b55 | ec305fef863a210ae392ae77fd5f185d50de8835 | refs/heads/master | 2021-01-18T02:17:45.652302 | 2014-10-17T10:52:53 | 2014-10-17T10:52:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,737 | inl | ///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentatio... | [
"jackmccallum1994@gmail.com"
] | jackmccallum1994@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.