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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c135d628cdb7ecd56b8cefe41ef656aefdb3f2ac | f9f8bd992dac718043a5e8c12deed3dd190c21d0 | /Dynamic-Programming/Staircase (Dynamic Programming).cpp | 0fe074f2af1bf04f75f6ea65e25f7cffd5ef2dc3 | [] | no_license | sankalp163/CPP-codes | e51e920ac296aa3481edaa56566c9e63913550c7 | 1cc1a75311262b19fcab8086c58f7c68871100b8 | refs/heads/main | 2023-06-14T18:19:55.967344 | 2021-07-12T06:45:10 | 2021-07-12T06:45:10 | 338,971,480 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | long staircase(int n)
{
//Write your code here
long ans[n+1];
ans[0]=1;
ans[1]=1;
ans[2]=2;
for(int i=3;i<=n;i++){
ans[i]=ans[i-1]+ans[i-2]+ans[i-3];
}
return ans[n];
}
| [
"noreply@github.com"
] | sankalp163.noreply@github.com |
3103c67aa8c2614ff8627c0a6e39f6bf48b74896 | 70971245fb7c522dfa06e4f632b86ff2b8499528 | /Source/Core/World/World.cpp | 0990fe324ccead11edd4484c1556eea75e6f272d | [
"MIT"
] | permissive | Cube219/CubeEngine | f0f5afdf19ab908490f2b9981fe7baaabb1dd7c4 | b54a7373be96333aa38fdf49ea32272c28c42a4b | refs/heads/master | 2021-06-08T12:38:13.206138 | 2021-03-28T06:23:20 | 2021-03-28T06:23:20 | 102,942,324 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cpp | #include "World.h"
#include "../Assertion.h"
namespace cube
{
void World::Initialize()
{
}
void World::Shutdown()
{
mWorldObjectTable.ReleaseAll();
mWorldObjects.clear();
}
void World::Update(float dt)
{
}
HWorldObject World::RegisterWorldObject(UPtr<WorldObj... | [
"max804800@gmail.com"
] | max804800@gmail.com |
2db6139b17c565f378bf89f8c625046ea2ab0ad2 | 753a57645d0824a750fa07176bdf7e37369940f6 | /Engine/Plugins/UnrealCS/Source/MonoPlugin/Private/GeneratedScriptLibraries/LightmassPrimitiveSettingsObject.script.h | aa3dfbbe734c6832f9fd395a4e2484542f48f538 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | marynate/UnrealCS | 5782c4dd1b3fe6e136dcee54ce430aabd97b70a4 | de43f7e42ca037445202d59c8114fafc30e031ec | refs/heads/master | 2021-01-19T13:01:35.048880 | 2017-02-22T02:18:33 | 2017-02-22T02:18:33 | 82,354,770 | 2 | 1 | null | 2017-02-18T02:17:07 | 2017-02-18T02:17:06 | null | UTF-8 | C++ | false | false | 351 | h | #pragma once
namespace UnrealEngine
{
class _ULightmassPrimitiveSettingsObject
{
static UClass* StaticClass(){return ULightmassPrimitiveSettingsObject::StaticClass();}
public:
static void BindFunctions()
{
mono_add_internal_call("UnrealEngine.ULightmassPrimitiveSettingsObject::StaticClass",(const void*)St... | [
"xg_55@126.com"
] | xg_55@126.com |
b9ca5b9fc60d6f560cde434383d7640aaa5e9120 | 7d39413b4d6e99369519db7772f010dce95e79ed | /cpp/test/shared_from_this_test.h | 14a55d55447071233fe80aad7ccde4ba0a5afd05 | [] | no_license | wangjiaming0909/al | 62a890cae0c1b753eccf14eec770adfb71fa8957 | 2b40372edfc9dcde1a379e97175f006c3c53f557 | refs/heads/master | 2023-04-20T22:45:11.799670 | 2023-04-15T09:52:44 | 2023-04-15T09:52:44 | 145,864,078 | 0 | 0 | null | 2022-12-08T01:36:19 | 2018-08-23T14:20:01 | HTML | UTF-8 | C++ | false | false | 1,102 | h | #pragma once
#include <boost\enable_shared_from_this.hpp>
#include <string>
using namespace boost;
class class_without_default_constructor {
public:
class_without_default_constructor(int a) : a_(a){}
private:
int a_;
};
class share_from_me : public enable_shared_from_this<share_from_me>{
public:
fr... | [
"JWang284@slb.com"
] | JWang284@slb.com |
9c938ff603321364a192d999d6d9762414a40ecd | 09f3df9b4ae970025b8a422635d70287db91493b | /src/cpp/conv3x3.cpp | 95ea57901c629ef350ff30cbb8aeae80ddc9af53 | [
"BSD-2-Clause"
] | permissive | ikwzm/QCONV-STRIP-Ultra96 | 3390f07a41e91fe2d4c5552964748770c4ec2b51 | 38c7ae9af9de9b8d0bfdd0bee8fc49784bd4aa11 | refs/heads/master | 2021-07-12T21:13:31.441444 | 2020-08-21T00:52:38 | 2020-08-21T00:52:38 | 188,438,599 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,819 | cpp | /* Copyright 2018 The Blueoil Authors. 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | [
"ichiro_k@ca2.so-net.ne.jp"
] | ichiro_k@ca2.so-net.ne.jp |
b84ac7f60d6f47b91b7df1774289a0a4273dd452 | 3b4f1dbc4c178bccc58a10fdb6eff650b3406aa6 | /Game/Money.cpp | 349fbe926ec43631209ae512339a4d0c5f2d31a9 | [] | no_license | LuongKimPhuong2611/supermario-master | b0c51096611700e7728e781d21c74528ca156091 | ed182738d36a178f8ecb067ccd0ed5c1893173f0 | refs/heads/master | 2023-02-02T18:52:11.905121 | 2020-12-18T00:36:20 | 2020-12-18T00:36:20 | 322,201,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,418 | cpp | #include "Money.h"
#include "Brick.h"
Money::Money(float posX, float posY)
{
x = posX;
y = posY;
oldY = y;
tag = EntityType::MONEY;
SetState(0);
//SetState(MUSHROOM_STATE_WALKING);
timeDelay = 0;
isDone = false;
isOnTop = false;
}
void Money::GetBoundingBox(float& left, float& top, float& right, float& bottom... | [
"18521275@gm.uit.edu.vn"
] | 18521275@gm.uit.edu.vn |
e89208ef5990482965546656c6a36173c60227c2 | 78918391a7809832dc486f68b90455c72e95cdda | /boost_lib/boost/graph/vf2_sub_graph_iso.hpp | 2eff106db658c3613347f288262a88f0efa820cc | [
"MIT"
] | permissive | kyx0r/FA_Patcher | 50681e3e8bb04745bba44a71b5fd04e1004c3845 | 3f539686955249004b4483001a9e49e63c4856ff | refs/heads/master | 2022-03-28T10:03:28.419352 | 2020-01-02T09:16:30 | 2020-01-02T09:16:30 | 141,066,396 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,775 | hpp | //=======================================================================
// Copyright (C) 2012 Flavio De Lorenzi (fdlorenzi@gmail.com)
// Copyright (C) 2013 Jakob Lykke Andersen, University of Southern Denmark (jlandersen@imada.sdu.dk)
//
// The algorithm implemented here is derived from original ideas by
// Pasquale ... | [
"k.melekhin@gmail.com"
] | k.melekhin@gmail.com |
8307abb8017947deb399caad05d506a3d9d93921 | d0a0170ff260d47a7d251216723a5e8be798544f | /day06/t01/app/src/Container.cpp | d8c691f50aa4fbe3e49d69cf31ab8092a508677a | [] | no_license | mmasniy/Maraphon-CPP-Ucode | c5d5a86c53f21b268c2b138fe3023e138dfecc4c | 4611c10c342d808c3f48770058f11eced2839068 | refs/heads/master | 2022-12-09T23:49:07.052325 | 2020-08-30T16:24:08 | 2020-08-30T16:24:08 | 288,213,058 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cpp | #include "Container.h"
Container::Container(bool isLocked, const LockpickDifficulty difficulty)
: m_isLocked(isLocked), m_difficulty(difficulty){
}
bool Container::isLocked() const {
return m_isLocked;
}
LockpickDifficulty Container::lockDifficulty() const {
return m_difficulty;
}
bool Container... | [
"masnijmaksim@gmail.com"
] | masnijmaksim@gmail.com |
094a6ea26f4356631558c59111f4916d48eae4e8 | 8383dfe55d0ea81d9d20f8724fd9081bbf3428dd | /vendor/tensorflow_bfloat16_patch/tensorflow/core/kernels/constant_op.cc | 00a784c7a9f6895bf2113a081c70e700039868b3 | [
"MIT"
] | permissive | soumith/blocksparse | 707f179da186e401ba4e6586c64320bd24360127 | 4071232a4a73a441424434ca2e81b1e4fd4e836c | refs/heads/master | 2020-05-25T09:46:53.676995 | 2019-05-28T05:45:31 | 2019-05-28T05:45:31 | 187,745,586 | 5 | 0 | MIT | 2019-05-21T02:16:42 | 2019-05-21T02:16:42 | null | UTF-8 | C++ | false | false | 16,048 | cc | /* Copyright 2015 The TensorFlow Authors. 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.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"jonas@openai.com"
] | jonas@openai.com |
f0a32a95bc4489e5010d2bcb142cf234edb61a95 | 27ffb44629667cb5fc2c0816f7b593a0be462af6 | /Library/DXLibrary/DXLibrary/DirectX12/RootSignature/RootSignatureManager.h | 6f3daad705e4f2027b86255d1afec712d708cebd | [] | no_license | Moto0116/Library | 70ce9c39246781e749209eccdc358966f777abde | 856bfdd8cd98e17483fc4734d36caa0189d13778 | refs/heads/develop | 2021-01-19T18:24:47.576756 | 2018-03-21T11:16:46 | 2018-03-21T11:16:46 | 81,069,617 | 2 | 0 | null | 2017-03-18T11:38:40 | 2017-02-06T09:21:07 | C++ | UTF-8 | C++ | false | false | 272 | h | #ifndef LIB_DX12_ROOTSIGNATUREMANAGER_H
#define LIB_DX12_ROOTSIGNATUREMANAGER_H
namespace Lib
{
namespace Dx12
{
class RootSignatureManager
{
public:
RootSignatureManager();
~RootSignatureManager();
};
}
}
#endif // !LIB_DX12_ROOTSIGNATUREMANAGER_H | [
"moto01160902@gmail.com"
] | moto01160902@gmail.com |
05f6971ee94821cc12169a51e208a0008970d301 | 7fcd47097c42fcdb7acb2e10e75759e16ade518e | /binding.cc | 0ed90062b6157cb68280204e3e2bee19081929b3 | [
"MIT"
] | permissive | joaojeronimo/v8worker | eb1c6600ed3d9e387914a1f47e34975be3f5fb9b | e923014340b3a50023b0ea5d8452b275ed957a37 | refs/heads/master | 2021-01-22T00:24:05.322290 | 2015-03-30T13:42:41 | 2015-03-30T13:42:41 | 33,125,257 | 1 | 0 | null | 2015-03-30T13:39:14 | 2015-03-30T13:39:13 | null | UTF-8 | C++ | false | false | 6,899 | cc | #include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string>
#include "v8.h"
#include "libplatform/libplatform.h"
#include "binding.h"
using namespace v8;
struct worker_s {
int x;
void* data;
worker_recv_cb cb;
Isolate* isolate;
std::string last_exception;
Persistent<Function> recv;
Pers... | [
"ry@tinyclouds.org"
] | ry@tinyclouds.org |
116ba7c650b99fb2c34e7d7c8c4352ca32812c55 | 0e40a0486826825c2c8adba9a538e16ad3efafaf | /lib/boost/include/boost/mpl/vector/aux_/push_back.hpp | b10f072b9b96c4314ef3e932b3e5ad8803944feb | [
"MIT"
] | permissive | iraqigeek/iZ3D | 4c45e69a6e476ad434d5477f21f5b5eb48336727 | ced8b3a4b0a152d0177f2e94008918efc76935d5 | refs/heads/master | 2023-05-25T19:04:06.082744 | 2020-12-28T03:27:55 | 2020-12-28T03:27:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | hpp |
#ifndef BOOST_MPL_VECTOR_AUX_PUSH_BACK_HPP_INCLUDED
#define BOOST_MPL_VECTOR_AUX_PUSH_BACK_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-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 htt... | [
"github@bo3b.net"
] | github@bo3b.net |
fc41d2b3aa56e8aebd921ddc9e0addf38ff13977 | ecfa6ca72f03c60a293280108f8dcb6c0f0b7969 | /Wordclock/Wordclock/Wordclock/inc/Animation/Clock/AnimationClockTeletype.h | 9083ee32f38420f289a9b24f3d033e009f485c5d | [] | no_license | AndreasBur/Wordclock | 0946f7b939a4883273237ab903b2eff2087b8306 | 376a1dd8a385d507a71fa2e67bf2a269b2068242 | refs/heads/master | 2022-07-19T15:08:35.074029 | 2022-07-09T11:41:32 | 2022-07-09T11:41:32 | 94,092,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,015 | h | /******************************************************************************************************************************************************
* COPYRIGHT
* ---------------------------------------------------------------------------------------------------------------------------------------------------
*... | [
"a.burnickl@gmail.com"
] | a.burnickl@gmail.com |
7db1380d8897bf00a28d7934b2699b88f6e97f41 | 96f9b1d313eca3cfa731d121d072a44434cec768 | /src/qt/editaddressdialog.cpp | d34001ca8ce1a463810dbbecaa8674a4f8086147 | [
"MIT"
] | permissive | jjshsgsa/Bixbcoin-core | 32256da6d230fa151fa6f0eb5ac2d59d72c4a62d | f4b5c57e351a9285f136a27b70760e468fa830a8 | refs/heads/main | 2022-12-27T03:42:02.786514 | 2020-10-14T18:21:58 | 2020-10-14T18:21:58 | 306,915,613 | 1 | 0 | MIT | 2020-10-24T15:41:25 | 2020-10-24T15:41:24 | null | UTF-8 | C++ | false | false | 3,948 | cpp | // Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#inclu... | [
"info@bixbcoin.com"
] | info@bixbcoin.com |
624b678d5e90f9a795c3bfa86e8a809f15a9a0c4 | c49a1113fd445046e126a1e38cc16044e9e6fa03 | /zhouqi/source/OJ.cpp | 337d6a5f3fa8077273a9f24887a61aa33b60331a | [] | no_license | VicoandMe/HW | 276a8c289fab17e24afbb7a309a265c393ccd407 | 6900fbaf97761d2c5b7c4d92f976a5c70920f99e | refs/heads/master | 2021-01-10T15:26:04.342717 | 2016-02-02T07:04:31 | 2016-02-02T07:04:31 | 50,571,071 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 739 | cpp |
#include "OJ.h"
#include <string.h>
//#include <stdio.h>
/*
功能:计算字符串的最小周期。
原型:
int GetMinPeriod(char *string);
输入参数:
char * string:字符串。
返回值:
int 字符串最小周期。
*/
int GetMinPeriod(char *inputstring)
{
int length = strlen(inputstring);
for (int i = 1; i < length;i++) {
bool ... | [
"li362927450@gmail.com"
] | li362927450@gmail.com |
81007cfbf3ec7f5e773a72fe7b1b1a5a8ea48168 | 25b36236d90aa38deb0e28db06f5f5ee5264d931 | /NPLib/Core/NPInputParser.h | 0791fe5c74a8c47f83b8bfd0390d79066d4dbc61 | [] | no_license | adrien-matta/nptool | 54b5ea6fe2d8c226e7422a948d3ecc94d62d1ff2 | 415ad50066f715ca1de312da1202201f9381e87e | refs/heads/NPTool.2.dev | 2021-04-18T23:52:44.645407 | 2019-09-02T12:38:49 | 2019-09-02T12:38:49 | 13,268,020 | 36 | 20 | null | 2016-12-05T11:46:35 | 2013-10-02T10:11:22 | C++ | UTF-8 | C++ | false | false | 4,562 | h | #ifndef NPINPUTPARSER
#define NPINPUTPARSER
/*****************************************************************************
* Copyright (C) 2009-2016 this file is part of the NPTool Project *
* *
* For the licensing terms see $NPTOOL/... | [
"matta@lpccaen.in2p3.fr"
] | matta@lpccaen.in2p3.fr |
64a6dc204d1c390a91084b502c0d7bfe8afb24ac | 5175bd24b43d8db699341997df5fecf21cc7afc1 | /libs/config/checks/std/cpp_lib_transformation_trait_aliases_14.cpp | 1ce92f60a915a8bfdfc1b07dd71fe93456306bdf | [
"BSL-1.0",
"LicenseRef-scancode-proprietary-license"
] | permissive | quinoacomputing/Boost | 59d1dc5ce41f94bbd9575a5f5d7a05e2b0c957bf | 8b552d32489ff6a236bc21a5cf2c83a2b933e8f1 | refs/heads/master | 2023-07-13T08:03:53.949858 | 2023-06-28T20:18:05 | 2023-06-28T20:18:05 | 38,334,936 | 0 | 0 | BSL-1.0 | 2018-04-02T14:17:23 | 2015-06-30T21:50:37 | C++ | UTF-8 | C++ | false | false | 840 | cpp | // This file was automatically generated on Wed Mar 3 12:23:03 2021
// by libs/config/tools/generate.cpp
// Copyright John Maddock 2002-4.
// 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/L... | [
"apandare@lanl.gov"
] | apandare@lanl.gov |
c74f7e5064d2cb0f7572438a9f77b23f226c102c | 21e3798e9412ab53811242df51f139d0e62495d5 | /examples/1. Iris Classifier/sketch/Eloquent_irisClassifier/Eloquent_irisClassifier.ino | 545dbd8f566b469cf424b5b69a6c0122dad3630f | [] | no_license | KU-KOREA/ArduinoMicroML | 72ac1615f6fd3fef552d6f16230cc53b4db6b29d | ef554b3ea85f97398567b1cb7c295db8c06eb6db | refs/heads/main | 2023-05-26T20:14:36.273372 | 2021-06-19T04:05:20 | 2021-06-19T04:05:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | ino | #include "model.h"
Eloquent::ML::Port::RandomForest classifier;
void setup() {
Serial.begin(115200);
}
void loop() {
if (Serial.available()) {
float features[4];
for (int i = 0; i < 4; i++) {
// split features on comma (,)
String feature = Serial.readStrin... | [
"noreply@github.com"
] | KU-KOREA.noreply@github.com |
ef276fdc3383e673fb992cff9a70b85cfe1e8266 | 6dacb8f59751c9647685d4b931b2cbef00fcd302 | /InterviewPrep/Array _ Strings/majorityElement.cpp | 9e67681a83f24553bcbd6048b7e2e4fefae7ecdc | [] | no_license | sudhanshu-t/DSA | 88662429514509c3a063d7610db3d32a6854c5c0 | 042fad26085405f77f159eb08c53555de9fb7732 | refs/heads/master | 2021-07-19T15:26:34.310444 | 2020-07-09T11:59:41 | 2020-07-09T11:59:41 | 278,350,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | #include<iostream>
#include<vector>
using namespace std;
int majorityElement(vector<int>& nums) {
//Write your code here
int pot = nums[0];
int count = 1;
for(int i = 1; i < nums.size(); i++){
if(nums[i] != pot){
count--;
if(count == 0){
count = 1;
... | [
"sudhanshu21.st@gmail.com"
] | sudhanshu21.st@gmail.com |
a5e8e0bedde0a13d9457445cb670f84bcd30b5e3 | 4eda5347b1915958143b53d020e43f563372d296 | /第4章/Single/Single/MainFrm.cpp | 1e2bfa8aafc943bb0b497438eb4817360d980424 | [] | no_license | natsuki-Uzu/Windows_Program | 40e4380e7d08f764051104a4bbcc99e9b4ff387c | a994ffaa3174e83a7d69f2c7015dac930312afaf | refs/heads/master | 2023-04-26T15:53:39.205163 | 2012-07-31T06:21:23 | 2012-07-31T06:21:23 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,885 | cpp | // MainFrm.cpp : CMainFrame 类的实现
//
#include "stdafx.h"
#include "Single.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMainFrame
IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)
BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)
ON_WM_CREATE()
END_MESSAGE_MAP()
static UINT indicat... | [
"Administrator@PRC-20120724DKO.(none)"
] | Administrator@PRC-20120724DKO.(none) |
584ef20053e71b2c35bb71683823364f4530998b | 0f7a4119185aff6f48907e8a5b2666d91a47c56b | /sstd_utility/windows_boost/boost/interprocess/sync/shm/named_condition_any.hpp | a6fb7baff67d5d57e202696cddb8a65bc2de84b4 | [] | no_license | jixhua/QQmlQuickBook | 6636c77e9553a86f09cd59a2e89a83eaa9f153b6 | 782799ec3426291be0b0a2e37dc3e209006f0415 | refs/heads/master | 2021-09-28T13:02:48.880908 | 2018-11-17T10:43:47 | 2018-11-17T10:43:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,511 | hpp | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2005-2012. 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/libs/interp... | [
"nanguazhude@vip.qq.com"
] | nanguazhude@vip.qq.com |
032c598bddf5520f276318d74a5fb571923dfba1 | 2906f1a8466c359cada4f2f9ec31c2b24e7c524d | /MIlestone 3/Client/Pkt_Def.h | aa8648d6744ad5de1fd04a856f84351b608acc01 | [] | no_license | Minashed/Robot-Controller | 7ff60d96d32183f1d9cb201c2ebeeb323f2259b9 | 01341727aa026333c7c8945274175df1a34b81b3 | refs/heads/master | 2021-05-05T01:12:00.705226 | 2018-01-31T05:14:48 | 2018-01-31T05:14:48 | 119,632,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,281 | h | #ifndef PKTDEF_H
#define PKTDEF_H
#include <iostream>
#include <iomanip>
#include <stdio.h>
//Globally defined variables
#define FORWARD 1
#define BACKWARD 2
#define LEFT 3
#define RIGHT 4
#define UP 5
#define DOWN 6
#define OPEN 7
#define CLOSE 8
//Size of the entire header varies in size
#define HEADERSIZE 6
//E... | [
"mmnashed@myseneca.ca"
] | mmnashed@myseneca.ca |
48b34cb562f9847543db971846a85f3646ff984d | 1e1b3f702bdf6c0544ae27a321c8ebe605434ee4 | /Chapter13/Sample304/UDPSever/StdAfx.cpp | 99b68b873f69041b2bf35eadaa8c10b1bcea4c53 | [] | no_license | Aque1228556367/Visual_Cpp_By_Example | 63e3d67e734b7d95385a329e4a1641e7b1727084 | 41f903d8c9938e7800d89fcff31b182bfc1c4f45 | refs/heads/master | 2021-03-12T20:36:56.780300 | 2015-05-08T02:05:46 | 2015-05-08T02:05:46 | 35,171,152 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | // stdafx.cpp : source file that includes just the standard includes
// UDPSever.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"1228556367@qq.com"
] | 1228556367@qq.com |
ac0c7cb82a86670c60e7f6ec3594b902109ec037 | f8cdebfd3bb24190e288eda5ec66401a61e9f38d | /exercise_inschool/getLocalLessIndex/getLocalLessIndex.cpp | 2e3cbdb4e90e478149f4b1a2583b7a8380fd20e0 | [] | no_license | woaishixiaoxiao/algorithm | fd617d7cf8a5d65c5c14df325e99fd8a62fe4165 | e9268975d08d48f3607eeb80e53ca4710b47c9cc | refs/heads/master | 2020-04-23T21:23:06.390335 | 2019-07-21T09:38:32 | 2019-07-21T09:38:32 | 171,468,927 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,951 | cpp | //定义局部最小的概念。arr长度为1时,arr[0]是局部最小。arr的长度为N(N>1)时,如果arr[0]<arr[1],那么arr[0]是局部最小;
//如果arr[N-1]<arr[N-2],那么arr[N-1]是局部最小;如果0<i<N-1,既有arr[i]<arr[i-1]又有arr[i]<arr[i+1],那么arr[i]是局部最小。
//给定无序数组arr,已知arr中任意两个相邻的数都不相等,写一个函数,只需返回arr中任意一个局部最小出现的位置即可。
//解释下为什么第二个数比第一个数小,最后一个数比倒数第二个大,那么就一定会有一个局部最小值
//因为相邻的两个是不相等的,所以相邻三个数的关系,就有这么几种情... | [
"823124073@qq.com"
] | 823124073@qq.com |
ce1b5a66e31a227f43329fbd78b19bc8ceef6460 | b32200d629373216e32fb3423d7c8b3f1d28938d | /RetroSnaker_Colourso/RetroSnaker_0.3/贪吃蛇第三版/Snake.cpp | 431a0e706fec50625c671c5517b70eeecfb10bc0 | [] | no_license | Colourso/Simple-CPP-project-by-Colourso | 3a655cf238960ffad85e338ae63e3270e0fe7e0d | 36e22c6ec851bc695bd03c5939695e4afbbc0f39 | refs/heads/master | 2022-11-23T22:11:50.381102 | 2020-08-05T04:00:25 | 2020-08-05T04:00:25 | 268,247,781 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 4,176 | cpp | #include "Snake.h"
#include <stdio.h>
#include <ctime>
#include <graphics.h>
Snake::Snake()
{
Point pos0(210, 230);
Point pos1(190, 230);
Point pos2(170, 230);
this->m_snakelist.push_back(pos0);
this->m_snakelist.push_back(pos1);
this->m_snakelist.push_back(pos2);
this->m_direction = Dir::DIR_RIGHT;
this->m_... | [
"colourso@outlook.com"
] | colourso@outlook.com |
f7c1884f38483346d75894e4496b4bde7bb12bc8 | d757d87bfb845a578a92afa272e24abdaf2126dd | /support.cpp | 8d3961089b94f3e5378337affef267db710b3ec2 | [] | no_license | astachey/cs302 | b5f9637010fd2e815e034417134f32b82b0a56a6 | 2998ce7d2f12ce30644d2f442b345efe2eb2cde5 | refs/heads/master | 2020-05-20T00:40:51.130783 | 2014-02-06T05:13:37 | 2014-02-06T05:13:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,580 | cpp | // header files
#include <cmath>
#include "support.h"
using namespace std;
//RGB::RGB(uchar _R = 0, uchar _G= 0, uchar _B = 0){
// R = _R;
// G = _G;
// B = _B;
// return;
//}/
// RGB::operator<()
// RGB::distance()
double RGB::distance(const RGB& next){
double dist = sqrt(pow((double)R - next.R, 2)) + (pow... | [
"astachey@utk.edu"
] | astachey@utk.edu |
9b63b4da7f2128aae31f22d53696933b3cdcf8f4 | 077e2cb43a4435e6bad1db626ccfbec18bd0b3a8 | /R1/Week2/xymodn.cpp | a9c7e07eb62cfefadef2ce993dae1c91a0ee3c31 | [] | no_license | peter0749/581_Homeworks | e57a4bdac33275c6617286d87009744b94b9be87 | f9394c8a71f4eb5991b78f22f4126dc1da94f46e | refs/heads/master | 2021-01-18T18:42:21.000721 | 2017-03-25T07:09:02 | 2017-03-25T07:09:02 | 52,514,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | #include <iostream>
#include <iomanip>
#include <string>
#define MAX 100001
using namespace std;
int digit[MAX] = {0};
int book[MAX] = {0};
int modN(int x,long long int y, int N)
{
long long int i, base(1);
if(x==0) return 0;
if(y==0) return 1;
//getch();cout<<"ok"<<endl;
for(i=0;i<N;i++) ... | [
"jengku@gmail.com"
] | jengku@gmail.com |
48907d779a89ed7c748a9d4ff41c98ed4f0ba65d | 60c275f5670d8a509421dbe53a704cdf85289035 | /CodeForces/1452B_Toy_Blocks/B_Toy_Blocks.cpp | e50ef640939c244363943ff72f0e25926d8cb409 | [
"MIT"
] | permissive | Cutyroach/Solve_Algorithms | f02f03c5ad146550b136e19292a3599b2eff6702 | 97d9f8bb65055fe5ad62d108a9359b91f0f40c49 | refs/heads/master | 2023-03-02T21:27:03.214056 | 2021-02-09T23:58:47 | 2021-02-09T23:58:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
// freopen("input.txt", "r", stdin);
ios_base::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr);
int t;
for (cin >> t; t--; ) {
int tc;
cin >> tc;
vector<long long> v(tc);
long long max_v = 0, sum = 0;
... | [
"spe0678@gmail.com"
] | spe0678@gmail.com |
03d77bb0895547892650409cd1fba89b3c0441ec | c21c8cba94f4f73aa23de98e555ef77bcab494f0 | /SPOJ/CAPCITY.cpp | e0ca9336e68a8cd8dd0151258090777efa0632a4 | [] | no_license | hoatd/Ds-Algos- | fc3ed0c8c1b285fb558f53eeeaea2632e0ed03ae | 1e74995433685f32ce75a036cd82460605024c49 | refs/heads/master | 2023-03-19T05:48:42.595330 | 2019-04-29T06:20:43 | 2019-04-29T06:20:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,120 | cpp | #include <bits/stdc++.h>
#define mp make_pair
#define ll long long
#define pb push_back
#define ss second
#define ff first
#define si(x) scanf("%d",&x)
#define slli(x) scanf("%lld",&x)
#define pi(x) printf("%d",x)
#define mx5 100005
#define mx6 1000006
#define mod 1000000007
#define rep(i,n) for(int... | [
"noreply@github.com"
] | hoatd.noreply@github.com |
a902a5f751ab425b27a305baedef0bcc45a338d6 | 0c95b0e960e0c23e47c9ff953bc60f1003158470 | /calculator_controller/calculator_controller.ino | 176a56ce1bed445530b7e4b96a7c31ee90fe50d4 | [] | no_license | kuzlab/midi_controller_pj | f1a5805de7e56d81fa643e0c567504bf6e300ed2 | 92612ba747f628e92c348d85fdcfcb7be2bed343 | refs/heads/master | 2021-01-19T21:52:20.916078 | 2015-05-18T18:35:04 | 2015-05-18T18:35:04 | 33,324,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,519 | ino | #include "assign_map.h"
#define PIN0 13
#define PIN1 14
#define PIN2 15
#define PIN3 16
#define PIN4 17
#define PIN5 18
#define PIN6 19
#define PIN7 20
#define PIN8 21
#define SW0 2
#define SW1_0 0
#define SW1_1 1
#define LOOP_DELAY 30
#define SEND_MIDI_DELAY 100
//#define _DEBUG_
//#define _COMMAND_MODE_DEBUG_
in... | [
"qzuryu@gmail.com"
] | qzuryu@gmail.com |
ab7f4348b6906422cdcef8a1fc604842a1d25105 | ef9a782df42136ec09485cbdbfa8a56512c32530 | /branches/Chickens/src/building/storage.h | ac4584fe42ca340bcdc0df10f60b5f0de55068b3 | [] | no_license | penghuz/main | c24ca5f2bf13b8cc1f483778e72ff6432577c83b | 26d9398309eeacbf24e3c5affbfb597be1cc8cd4 | refs/heads/master | 2020-04-22T15:59:50.432329 | 2017-11-23T10:30:22 | 2017-11-23T10:30:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,866 | h | /****************************************************************************\
$URL$
$LastChangedDate$
$LastChangedRevision$
$LastChangedBy$
\****************************************************************************/
//!Basic storage class
/*!Basic storage class. Should not be instanced except in inherited form... | [
"sai@agro.au.dk"
] | sai@agro.au.dk |
e5d0a06a5f82cbd114f9c3bf94f4e206560eb637 | a11d6802ccb326a4fdcdd32cda309763f732e4d8 | /libs/agg23/include/agg_conv_unclose_polygon.h | a92fa45d096245bd3bd45e8f01bd67a398e3affc | [
"LicenseRef-scancode-boost-original"
] | permissive | martindafonte/eosim-fing2014 | f14ab03891e4e315a657c9f94f9dcb92b3c43557 | 9cb9fa777d91b1b90d0c7af4c942b68ab16593b9 | refs/heads/master | 2021-01-01T20:42:35.068696 | 2014-11-17T02:04:11 | 2014-11-17T02:04:11 | 42,748,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,757 | h | //----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.3
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears i... | [
"martindafonte@gmail.com"
] | martindafonte@gmail.com |
475a6d9898821b03d48ee481270dd1e16251a38b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rsync/gumtree/rsync_patch_hunk_939.cpp | 6f0fdfd187017b4ac37a51e7e0af055c85d0c226 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 839 | cpp | * @return a socket which is attached to a subprocess running
* "prog". stdin and stdout are attached. stderr is left attached to
* the original stderr
**/
int sock_exec(const char *prog)
{
+ pid_t pid;
int fd[2];
if (socketpair_tcp(fd) != 0) {
rsyserr(FERROR, errno, "socketpair_tcp failed");
retur... | [
"993273596@qq.com"
] | 993273596@qq.com |
7d2f25de0cc6fe25e05f63269e71fa0b7c4b70ae | 92793f5f381d7b85be8e101d1fb68f3e0e4c17b0 | /example/testApp.cpp | de5d3ce1d71256c0e16bcfdb3a005ae4511f152e | [] | no_license | martinbabbels/ofxOMCS | b81c935eaf69ae325615d895c6760bb471b68728 | 5578a42c98e14855acf5c972b63f273bd3783287 | refs/heads/master | 2020-04-19T15:48:56.605805 | 2011-12-26T11:56:02 | 2011-12-26T11:56:02 | 2,077,631 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,993 | cpp | #include "testApp.h"
//--------------------------------------------------------------
void testApp::setup(){
ofSetFrameRate(60);
// Load the predicates
omcsnet.loadPredicates(ofToDataPath("predicates.dat"));
}
//--------------------------------------------------------------
void testApp::update(){
}
//---------... | [
"martin@apollomedia.nl"
] | martin@apollomedia.nl |
4137e85f25a7e3f48a920606316533af6176a890 | 15b85084ba3a2d9833de12bfc3ba5d8fbca6fed7 | /test.cpp | b22bed4a89814f5ad5327dd2f6b1eb7587a5701a | [] | no_license | kryczko/water_simulation_data | 52f5d81580f0a4fca71fa701be3f1ec272c6b77b | 47e1e98545df69efcec56419c1409195f6fd987a | refs/heads/master | 2016-09-03T07:28:44.740603 | 2013-09-29T20:00:36 | 2013-09-29T20:00:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main()
{
vector <int> array;
int j = 7;
array[0].push_back(j);
array[1].push_back(j);
cout << array[0][0] << array[1][0] << endl;
return 0;
}
| [
"kevinryczko@me.com"
] | kevinryczko@me.com |
d07c0a84586a280b00d8df32660d3e7201cd139f | f862edafff99a383ab7b85f34cc7a060de320922 | /core/depthmap.h | 64d72eee2ad025575c524d64a4e6bf256962d0ed | [] | no_license | FivestWu/ImageBasedModellingEduV1.0 | 51387cfdd654108d118b1f883464beb1dc77e37f | ef0f9f086ce641bafb30fb19a1c3ce90ca10a9fe | refs/heads/master | 2020-04-04T10:05:06.454977 | 2019-03-13T08:04:57 | 2019-03-13T08:04:57 | 155,842,300 | 0 | 0 | null | 2018-11-02T09:17:48 | 2018-11-02T09:17:47 | null | UTF-8 | C++ | false | false | 6,575 | h | /*
* Copyright (C) 2015, Simon Fuhrmann
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
*/
#ifndef MVE_DEPTHMAP_HEADER
#define MVE_DEP... | [
"wsui@nl.pr.ia.ac.cn"
] | wsui@nl.pr.ia.ac.cn |
ea2bacf2e21728a4e0721f2e796d6df6b700b1e6 | 36cfac858d066576aa77a26e3040c4d4e66d0097 | /lab03/src/main.cpp | 05fe348326039ad32a697440afa1b630756ba3e9 | [] | no_license | Kotyarich/Algorithm-analysis | 3eff8a91c739a33e7a0cf58b36165c9de92f3957 | 4c8d72c0e6683e25af379f55ba86149c1f415cc4 | refs/heads/master | 2020-08-13T04:38:38.719464 | 2020-01-26T23:39:03 | 2020-01-26T23:39:03 | 214,907,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,190 | cpp | #include <functional>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <random>
#include "sorts.h"
using array = std::vector<double>;
double check_time(const std::function<void()> &f) {
int n = 5;
clock_t start = clock();
for (int i = 0; i < n; i++) {
f();
}
clock_t end = c... | [
"ndkotov@gmail.com"
] | ndkotov@gmail.com |
c3c04ba93b620c5ee1a080a1be76fe09275e800f | 38616fa53a78f61d866ad4f2d3251ef471366229 | /3rdparty/RobustGNSS/gtsam/gtsam/3rdparty/GeographicLib/dotnet/examples/ManagedCPP/example-TransverseMercatorExact.cpp | 2f41fa616f3b1d2221448963adf5cf677c87da2e | [
"BSD-3-Clause",
"LGPL-2.1-only",
"MPL-2.0",
"LGPL-2.0-or-later",
"BSD-2-Clause",
"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 | 940 | cpp | using namespace System;
using namespace NETGeographicLib;
int main(array<System::String ^> ^/*args*/)
{
try {
TransverseMercatorExact^ proj = gcnew TransverseMercatorExact(); // WGS84
double lon0 = -75; // Central meridian for UTM zone 18
{
// Sample forward calculation... | [
"rwatso12@gmail.com"
] | rwatso12@gmail.com |
89dcb5363571615a6f7c5b3598a4fa8e4ba9cd66 | 4db10784476fc3c322153e001b50484c1172abad | /prog.cpp | fc84439617f20770fc6e682ac333e87b0232839d | [] | no_license | Ne-ki-tos/hello-world | cea4be79baf8543f3e292aa21a26e50a31e16504 | 809d36dbe8da079e8989b542565e8b2dd5ce1ae2 | refs/heads/master | 2021-09-14T21:42:23.435125 | 2018-05-20T05:41:55 | 2018-05-20T05:41:55 | 104,358,364 | 0 | 0 | null | 2017-09-21T14:37:42 | 2017-09-21T14:26:50 | null | UTF-8 | C++ | false | false | 927 | cpp | #include <iostream>
#include <vector>
#include <cassert>
using namespace std;
class Row{
public:
Row(int l = 0, double *v = nullptr){
len = l;
vector = v;
}
~Row(){}
const double operator[](int i) const{
if (i >= len)
assert(!"index out of range");
return vector[i];
}
double operator[](int i){
if (... | [
"noreply@github.com"
] | Ne-ki-tos.noreply@github.com |
f392e806ea3cf53d469b3320dbea1fd8fa61d625 | db65b946860b5d6168f641bf49d177384410b61b | /src/colorChannel.h | 9b8e051f368da0bd8466304385f422717b38957f | [] | no_license | jhpoelen/ofPooks | eb63b3f2cd45b7c2d69aef3b3870a4276bf76590 | 2163da93fac5c415a0b5cabe9d8c166aedb74c46 | refs/heads/master | 2021-01-22T11:55:58.680795 | 2020-11-01T03:16:59 | 2020-11-01T03:16:59 | 3,616,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | h | #pragma once
#include "ofMain.h"
const int MAX_COLORS = 8;
class ColorChannel {
public:
virtual ofColor nextColor();
virtual void loadColors();
virtual ofColor selectColor(int colorIndex);
private:
ofColor colors[MAX_COLORS];
}; | [
"jhpoelen@gmail.com"
] | jhpoelen@gmail.com |
a99d8aa96c755bc9901a8c3fa09090cfd86e1808 | ac65ef0e0e29a20a27ea22634a71275d4e51b519 | /SnakeGame/Settings.cpp | c8fbe6ed6c3832fee10845088576d94d4e83181d | [] | no_license | kartovitskayaa/CourseWork | 68c564c54d6f633046216ed5913fd523acf291c2 | fd6bac6cc5985e91ef8b7bb745d332e25493fa69 | refs/heads/main | 2023-01-24T17:22:25.442869 | 2020-12-14T22:56:53 | 2020-12-14T22:56:53 | 321,491,512 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 381 | cpp | #include "stdafx.h"
#include "Settings.h"
const float Settings::SNAKE_STEP_TIME = 0.25; // Количество времени, потраченное на один шаг (в секунду)
const Position Settings::SNAKE_START_POSITION = {1,0}; // Стартовая головы позиция змейки (-1 - т.к. сразу происходит первый шаг) | [
"noreply@github.com"
] | kartovitskayaa.noreply@github.com |
bb24c2149f49154995e7ea4fd2ed5e270701a8b8 | 9b71acc34bbe0805c5d3e85f0040ccad3a76322a | /carCounter.h | fe4884fae49a5d09066e62a39606d4a904a37e1b | [] | no_license | BeyondDreamers93/Car-Counter | 3638e7ea0a798f71af9168609ccd97e8c0f5a6a5 | e545c64e06e2f5fda6b000a0d40f3e97d487e9a9 | refs/heads/master | 2022-04-26T16:52:37.678770 | 2020-04-23T22:52:03 | 2020-04-23T22:52:03 | 258,342,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | h | #pragma once
#include <stdio.h>
#include <opencv2/opencv.hpp>
using namespace cv;
class carCounter {
private:
int carCount = 0;
public:
bool countCars(float ReferencePt, float lineReferencePtY);
};
| [
"noreply@github.com"
] | BeyondDreamers93.noreply@github.com |
65c445a87703e13176476f3745d2004fb7ce7560 | 3624cb3da18011d62c2d4ddba35b26b1e9520e1f | /record.cpp | 4c212966baa46eeb4bca9fe95e82210b35a880da | [] | no_license | zRrrGet/qbook | 76841e67ab08c99e338071ce5e2c6868f0098f1b | 832f8c1a1e137473c5a6801274942bb217e7d7cf | refs/heads/master | 2023-03-21T10:49:33.381765 | 2021-03-12T11:26:00 | 2021-03-12T11:26:00 | 337,120,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 831 | cpp | #include "record.h"
Record::Record(QString name, int num, QDate date, QTime startTime, QTime endTime) : userName(name), num(num),
date(date), startTime(startTime), endTime(endTime)
{
}
QString Record::getUserName() const
{
return userName;
}
void Record::setUserName(const QString &value)
{
userName = va... | [
"misha02.00@mail.ru"
] | misha02.00@mail.ru |
2e857525ec729de02671ef02df0d92152b8240a2 | ee5c13e2219d5b5196f779074c972c230a778e0d | /DP/fib.cpp | 42993c032021076da3c9fc3074f8e295f5f7d337 | [] | no_license | Malay-Acharya/CPP | 2b27f2f6557ad27036a41c9280f716fa0cfae05a | 48bfa883720b832688e2b387a114b90fa69a7b88 | refs/heads/master | 2023-06-29T09:50:49.902474 | 2021-08-02T11:36:02 | 2021-08-02T11:36:02 | 391,924,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | #include <iostream>
#define int long long
using namespace std;
const int N = 1e5;
int dp[N] = {0};
int fib(int n)
{
if(n==0)
return 0;
if(n==1 || n==2)
return 1;
if(dp[n]!=0)
return dp[n];
dp[n] = fib(n-1) + fib(n-2);
return dp[n];
}
signed main() {
int n;
cin >> n;
cout<<fib(n)<<endl;
} | [
"malayacharya21@gmail.com"
] | malayacharya21@gmail.com |
f9d4c1617a90cd157cb8832feac79236bfdbccf3 | 499ecfe8fdc4317fa565317081a9434a89a1da95 | /NavComData.cpp | f8c2c2b7ca532e314b3155c56ccc2647f78469ce | [
"MIT"
] | permissive | magic-mouse/NavComData | 9c338c48157f77254f57893bed7ca9d2237cae27 | 8d5ff83cdfa844de201c0126f3ce71dc367217ad | refs/heads/master | 2020-09-26T21:09:13.655875 | 2019-12-06T14:23:12 | 2019-12-06T14:23:12 | 226,344,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | /*
NavComData - Library for controlling information
for flight simulation navigation and communication.
Created by Peter Nielsen, December, 2019
Released into the public domain.
*/
#include "Arduino.h"
#include "NavComData.h"
NavComData::NavComData(String id){
_name = id;
}
void NavComDat... | [
"noreply@github.com"
] | magic-mouse.noreply@github.com |
1f092df0d49d197f47eda874f303cb040813fa2c | 9088eb860e84d53f22e639a5af1dd71f45859ab1 | /_Binary_Search_tress/3. Delete.cpp | a80eb8c8485a24b84d372c31ea8119f6a639e408 | [] | no_license | kritika2611/Algorithms-and-Datastructures | e6c547e5a1228401f73bb25a629779215bfdf2df | 71b3361cb9d106d72629402e6cb66f70e96da75a | refs/heads/master | 2023-01-11T04:20:22.582800 | 2020-10-23T16:22:23 | 2020-10-23T16:22:23 | 292,896,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,077 | cpp | //INPUT: 8 5 15 4 7 13 3 5 6 11 14 9 12 -1
#include <bits/stdc++.h>
using namespace std;
class node{
public:
int data;
node* left;
node* right;
node(int d){
this->data=d;
this->left=NULL;
this->right=NULL;
}
};
node* insert_(node* root, int d){
if(root==NULL){
node *n=new node(d);
... | [
"sainikritika46@gmail.com"
] | sainikritika46@gmail.com |
bb9eadca4492ac8a7313922886ed09db34579457 | b6607ecc11e389cc56ee4966293de9e2e0aca491 | /acm.kbtu.kz/KBTU OPEN/2014 Fall/E/copy.cpp | 52bab8f8ac9e4aec776f71e2bad3fa66131c910f | [] | no_license | BekzhanKassenov/olymp | ec31cefee36d2afe40eeead5c2c516f9bf92e66d | e3013095a4f88fb614abb8ac9ba532c5e955a32e | refs/heads/master | 2022-09-21T10:07:10.232514 | 2021-11-01T16:40:24 | 2021-11-01T16:40:24 | 39,900,971 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,971 | cpp | /****************************************
** Solution by NU #2 **
****************************************/
#include <bits/stdc++.h>
using namespace std;
#define F first
#define S second
#define MP make_pair
#define all(x) (x).begin(), (x).end()
#define File "growingtree"
typedef long long ll;
typ... | [
"bekzhan.kassenov@nu.edu.kz"
] | bekzhan.kassenov@nu.edu.kz |
36cf3f31186671af260d124cf59cb08fcb5ef0ae | 2d01e812589588edcaeb7d8c1802f3ee7aa17909 | /GamePage/p2phash/seed.cpp | b0be8d3be88899ae4b78ab93af9fde9d412312d4 | [] | no_license | N2oBeef/vc_scan | 0c7b2e7f646e504aa4e14e2f53721ee8df7b6cf5 | e249381fd25ce1d63c10039cf27e0f5cfa5cf440 | refs/heads/master | 2020-12-29T00:25:38.652076 | 2016-04-13T22:22:44 | 2016-04-13T22:22:49 | 56,185,892 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 21,567 | cpp | /**************************************************************
* FileName : seed.cpp
* Description :
* Version : 1.0
* Author : chenmingxiang
* History : 1. 2009-11-17 Create this file.
***************************... | [
"460955584@qq.com"
] | 460955584@qq.com |
9159ae0cce2025921a4f32141fdc20870172a76a | 81302ee42c1b3c25ce1566d70a782ab5525c7892 | /daq/TDC/TDC Software/xerawdp-0.3.3_alpha04_test_tdc/src/XmlConfig.cpp | a9096f978cdadf4eedc3bf385570dc66bdcc3925 | [] | no_license | mdanthony17/neriX | 5dd8ce673cd340888d3d5e4d992f7296702c6407 | 2c4ddbb0b64e7ca54f30333ba4fb8f601bbcc32e | refs/heads/master | 2020-04-04T06:01:25.200835 | 2018-06-05T00:37:08 | 2018-06-05T00:46:11 | 49,095,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,611 | cpp | #include "XmlConfig.h"
#include <iostream>
#include <sstream>
#include <fstream>
#include <algorithm>
#include <libxml++/libxml++.h>
using std::string;
using std::stringstream;
using std::ostringstream;
using std::vector;
using std::map;
using std::cout;
using std::endl;
using std::ifstream;
using std::min;
using std... | [
"mda2149@columbia.edu"
] | mda2149@columbia.edu |
ed878a123ed7de3787f8817c4e04db6368d7d043 | 0a1fb9fcfcbff0482dbbb4094d0ef00a3ccc6b05 | /SoundBoard/SoundBoard/SoundButtonGroup.cpp | 6f7df74968d52bbb4bc72851e1d5e49ca3161481 | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | honky/SoftwareProjektTUBAF2013 | 4bd9f844e29d417059a8b4886afa8d233bb45200 | 1687ba77fa417fde7aa36477da4070bf9d3efa8d | refs/heads/master | 2021-01-22T23:26:02.752793 | 2014-01-10T15:35:17 | 2014-01-10T15:35:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | cpp | #include "StdAfx.h"
#include "SoundButtonGroup.h"
namespace SoundBoard
{
SoundButtonGroup::SoundButtonGroup(String^ name)
{
this->name = name;
this->Text = System::IO::Path::GetFileName(name);
this->buttons = gcnew List<SoundButton^>();
this->Anchor = Windows::Forms::AnchorStyles::Right;
this->flPanel =... | [
"plotterhairy@googlemail.com"
] | plotterhairy@googlemail.com |
2322795c69447304f98a125f432021f19d987086 | 7277d930b74618a0e09a5f5c345c0237bc092bb0 | /VirtualContest/20200521/abc137/c/main.cpp | 914fec8dd98e34bd856fa0df8309e1f242f6d451 | [] | no_license | fhiroki/atcoder | 78bccbdc10e2ca94543c965cc53874c2e99f32af | aaf50382f3c4008cd48183a06f480a103c623a7b | refs/heads/master | 2022-03-13T04:21:16.570731 | 2022-02-13T01:20:33 | 2022-02-13T01:20:33 | 245,597,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
typedef long long ll;
using namespace std;
int main() {
int n;
cin >> n;
map<string, ll> a;
rep(i, n) {
string s;
cin >> s;
sort(s.begin(), s.end());
a[s]++;
}
ll ans = 0;
for (auto c : ... | [
"hiroki976@gmail.com"
] | hiroki976@gmail.com |
14e79e4cf861dd7412ad71586386eacd4e80a20f | b99f7ba8dbe2c6a43edf510066c76df0d4980b60 | /Maths3D/Sommet.hpp | 84840b3379d11831b5e67275a2d19377f9af7f72 | [] | no_license | anthonybazelle/VoronoiAndDelaunay | 860900d38a79c0b726fc8cbc892c84546984b746 | 98cb9efa27af3c107a9f634b6e0737def0519c8b | refs/heads/master | 2021-08-28T15:18:43.050791 | 2017-12-12T15:20:25 | 2017-12-12T15:20:25 | 111,926,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | hpp |
#include "Cote.hpp"
class Sommet {
// each point connected to edges
private:
Point point;
std::vector<Cote*> * edgesConnected;
Couleur color;
public:
Sommet() {
edgesConnected = new std::vector<Cote*>();
}
Sommet(Point p)
{
point = p;
edgesConnected = new std::vector<Cote*>();
}
Sommet(Couleur c, Po... | [
"pourrier789@gmail.com"
] | pourrier789@gmail.com |
752c20ba2f29905548f6f1a935dfbbe14986d34d | 505446850988c792bc5d13bc0252b4a74c5eb7a3 | /p1.cpp | 3cce7f39f15720f47f8701e87ffe5cb2a6cfaca3 | [] | no_license | CED-9/Temp | c67691b7a06b2f46aecb7aae8fa7ff62ea9a1638 | 3a49433ebbeaa50a1e6976009c17a6c1c1a01630 | refs/heads/master | 2018-12-29T20:44:02.870165 | 2015-01-17T04:07:35 | 2015-01-17T04:07:35 | 29,379,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | cpp | #include <iostream>
#include"thread.h"
#include<vector>
#include<ifstream>
#include<string>
using namespace std;
struct Requester{
int id;
string name;
};
mutex mutex1;
//cv cv1;
vector <int> done; // global variable; shared between the all threads.
//vector <Requester> rqs;
vector <int> waitQueue;
void sentRq(... | [
"liujm@umich.edu"
] | liujm@umich.edu |
e08b701ec1a743f08718743ae56b168b60903372 | a30af10abb2abe1ab4894f6513eee96e9f7b72e7 | /lab5/assignment2/src/kernel/setup.cpp | 7f1f68b716af4694c70b0849a4b656bf2d0b4d9b | [] | no_license | avarpow/OS_lab | 740a2fe4801e049332fda3d11285101fd5303293 | af61a11fad855607fac8879bdfa8827ae9078339 | refs/heads/main | 2023-06-24T21:43:08.612078 | 2021-07-16T16:39:11 | 2021-07-16T16:39:11 | 348,664,354 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,184 | cpp | #include "asm_utils.h"
#include "interrupt.h"
#include "stdio.h"
#include "program.h"
#include "thread.h"
// 屏幕IO处理器
STDIO stdio;
// 中断管理器
InterruptManager interruptManager;
// 程序管理器
ProgramManager programManager;
void third_thread(void *arg) {
printf("pid %d name \"%s\": Hello third World!\n", programManager.run... | [
"648120201@qq.com"
] | 648120201@qq.com |
42b7a4beaa0aa7c72a3c602c78798b17139c55ba | 3f7ec296f05234f6a2dbcfa0611771f789e9535d | /secsymboldescription.h | 3212c3b8e2e6ad63866c338c9c6a1aaa69b8311f | [] | no_license | NikolayKuksa/stock | b12a4ba5c2d3d89e8e1196521817d75638da17e0 | 5beddd9f467b3254b1f0fa7e3b208e65f7ccc95e | refs/heads/master | 2021-01-19T23:25:46.024404 | 2017-06-10T09:12:40 | 2017-06-10T09:12:40 | 88,982,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | h | #ifndef SECSYMBOLDESCRIPTION_H
#define SECSYMBOLDESCRIPTION_H
#include <QVector>
#include "securitytype.h"
#include "miscdef.h"
class SecSymbolDescription
{
private:
QVector<QString> securitySymbols;
QVector<QString> indexSymbols;
QVector<QString> securityDescriptions;
QVector<QString> indexDescri... | [
"nick.k@i.ua"
] | nick.k@i.ua |
bdd0077d572c713ce9f19ee63c024a8e07e8d5f9 | 40db2023c173aebe109d3d0804b1cf09b38ec8a0 | /min_max_sum.cpp | 58007f00c328f6b0cb24f9e69ce1efcd78b89c81 | [] | no_license | kumarmeet/competative-programming-CPP-mysirg | 905de091d176665f50824673da97deee0890e0dd | 80e5d0b7c7d0048db56c05a082d6211923463a19 | refs/heads/main | 2023-07-30T20:14:05.064066 | 2021-09-20T17:19:08 | 2021-09-20T17:19:08 | 403,526,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | cpp | #include <bits/stdc++.h>
using namespace std;
class DataSet {
private:
int *p;
int n;
public:
DataSet(int n) {
this->n = n;
this->p = new int[this->n];
int val;
for(int i = 0; i < n; i++){
cin>>val;
p[i] = val;
}
}
int operator[]... | [
"noreply@github.com"
] | kumarmeet.noreply@github.com |
d4f476118e01ebfc2197b656538e071111bbb5ed | be3167504c0e32d7708e7d13725c2dbc9232f2cb | /mameppk/src/osd/sdl/osdsdl.h | 61136a6680b38e6e93c02684c85a89b5f7dcbd4f | [] | no_license | sysfce2/MAME-Plus-Plus-Kaillera | 83b52085dda65045d9f5e8a0b6f3977d75179e78 | 9692743849af5a808e217470abc46e813c9068a5 | refs/heads/master | 2023-08-10T06:12:47.451039 | 2016-08-01T09:44:21 | 2016-08-01T09:44:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,063 | h | // license:BSD-3-Clause
// copyright-holders:Olivier Galibert, R. Belmont
#ifndef _osdsdl_h_
#define _osdsdl_h_
#include "sdlinc.h"
#include "watchdog.h"
#include "clifront.h"
#include "modules/lib/osdobj_common.h"
#include "modules/osdmodule.h"
#include "modules/font/font_module.h"
//==================... | [
"mameppk@199a702f-54f1-4ac0-8451-560dfe28270b"
] | mameppk@199a702f-54f1-4ac0-8451-560dfe28270b |
2b7804a1324a969f005552394f8167f5320aff47 | ab1c643f224197ca8c44ebd562953f0984df321e | /wmi/wbem/providers/snmpprovider/provider/instclas/include/clasprov.h | 4b3e2af7e419f8a7f31d1786fe11382193054b60 | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_admin | e162e0452fb2067f0675745f2273d5c569798709 | d36e522f16bd866384bec440517f954a1a5c4a4d | refs/heads/master | 2023-04-12T13:25:45.807158 | 2021-04-13T16:33:59 | 2021-04-13T16:33:59 | 357,613,696 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,901 | h | //***************************************************************************
//
// PropertyProvider.H
//
// Module: Sample Mini Server for Ole MS
//
// Purpose: Genral purpose include file.
//
// Copyright (c) 1996-2001 Microsoft Corporation, All Rights Reserved
//
//***************************************... | [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
7eb154e0971736f90fd8e1624a9f14a56af7a73b | 83421eb1258fdbf93289d57b11a4160794664d7a | /src/general/mapa/Cubo.h | 47043b7289a413dadfb3c96aafe11a95b6907c41 | [] | no_license | BlenderCN-Org/nature | 2511efdb56e0a1b61c363f7e6caf5f29a6a820a2 | c7976a533e299baf1473775a592c892feefba853 | refs/heads/master | 2020-05-23T21:29:00.591053 | 2015-07-11T06:20:39 | 2015-07-11T06:20:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | h | #ifndef _CUBO_H_
#define _CUBO_H_
#include "includeglm.h"
#include <iostream>
class Cubo{
public:
glm::vec3 p1;//punto
glm::vec3 p2;//tamanio
glm::vec3 t;//tamanio
glm::vec3 c;//centro
Cubo(glm::vec3 p1,glm::vec3 t){
set(p1,t);
}
void set(glm:... | [
"forestmedina@gmail.com"
] | forestmedina@gmail.com |
a13af8fb866b898e201b39f960149a23b793e1ae | 9be246df43e02fba30ee2595c8cec14ac2b355d1 | /game_shared/tf2/tf_obj_base_manned_gun.h | 4e2a72abc1d43f9ce90b2f6ece51b0fdc47ea795 | [] | no_license | Clepoy3/LeakNet | 6bf4c5d5535b3824a350f32352f457d8be87d609 | 8866efcb9b0bf9290b80f7263e2ce2074302640a | refs/heads/master | 2020-05-30T04:53:22.193725 | 2019-04-12T16:06:26 | 2019-04-12T16:06:26 | 189,544,338 | 18 | 5 | null | 2019-05-31T06:59:39 | 2019-05-31T06:59:39 | null | WINDOWS-1252 | C++ | false | false | 5,003 | h | //========= Copyright © 1996-2002, Valve LLC, All rights reserved. ============
//
// Purpose: A stationary gun that players can man
//
// $NoKeywords: $
//=============================================================================
#ifndef TF_OBJ_BASE_MANNED_GUN_H
#define TF_OBJ_BASE_MANNED_GUN_H
#ifdef _... | [
"uavxp29@gmail.com"
] | uavxp29@gmail.com |
2a7d15c6c28a4b52ac528ded4bf1d16ddbf3f85f | 614369bd9a9452f6b48b9c667b12daacf153d6b8 | /Minji/Programmers/QUEUE,STACK/쇠막대기.cpp | 126652a90616bd71dbe8c1debb3400d5e6ce45c2 | [] | no_license | minji0320/Algorithm_for_CodingTest | 339ad05a81a89b2645dfab73d7bcbc2df9775d77 | 7fc091f93693d549fa1975044f4b4ff5ee056520 | refs/heads/master | 2022-06-26T05:14:27.149435 | 2021-06-30T00:16:38 | 2021-06-30T00:16:38 | 242,951,278 | 2 | 0 | null | 2020-02-25T08:43:49 | 2020-02-25T08:43:48 | null | UTF-8 | C++ | false | false | 544 | cpp | #include <string>
#include <vector>
using namespace std;
int solution(string arrangement) {
int len = arrangement.size();
int stick = 0;
int new_stick = 0;
int answer = 0;
for(int i = 0; i < len; i++) {
if(arrangement.substr(i,2) == "()"){
answer += stick + new_stick;
... | [
"rlaalswl0320@naver.com"
] | rlaalswl0320@naver.com |
56cf9ce31a329955e8339d06ad640b15845724f6 | a551c17a46705a0dbfe2c2e284bc1ae2dcd1a8bb | /iwds/iwds/jni/src/include/smartsense/sensormanager.h | c856cfb5245a5eb16f91e720c2573db4d800d8db | [] | no_license | liaokesen168/slpt | 60b18542653a67c4149520aad9e3649d8a5f2154 | cdc874c15e762f8cdd2f8288b7166a30f6495109 | refs/heads/master | 2021-01-01T05:19:51.079608 | 2016-04-15T08:32:10 | 2016-04-15T08:32:10 | 56,303,858 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,085 | h | /*
* Copyright (C) 2014 Ingenic Semiconductor
*
* SunWenZhong(Fighter) <wenzhong.sun@ingenic.com, wanmyqawdr@126.com>
*
* Elf/IDWS Project
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Fo... | [
"kesen.liao@ingenic.com"
] | kesen.liao@ingenic.com |
72e849f4907636d3172f70bd86ab8b997df6450d | 36f533088d1c5a93e058bc72a6d643ee262e4401 | /CodeAdapter/EllipseArtist.cpp | b7d981f062d434141723a0319790214fd559eede | [
"MIT"
] | permissive | NeuroWhAI/CodeAdapter | 3fd16b3538d76f0c9d835ea370e94f6d8c1bd027 | b07815b9a610f74bcd50ae198a02b5131389cab7 | refs/heads/master | 2021-04-15T09:40:52.092641 | 2017-04-07T13:26:50 | 2017-04-07T13:26:50 | 55,895,368 | 7 | 3 | null | 2016-09-04T04:42:01 | 2016-04-10T11:34:11 | C++ | UTF-8 | C++ | false | false | 164 | cpp | #include "EllipseArtist.h"
BEGIN_NAMESPACE_CA_DRAWING
EllipseArtist::EllipseArtist()
{
}
EllipseArtist::~EllipseArtist ()
{
}
END_NAMESPACE_CA_DRAWING
| [
"neurowhai@gmail.com"
] | neurowhai@gmail.com |
fb418c976700f0c1c2b0a955b9099458220f228b | 9fe8defd8579cc805da43db25b5098c123c81e34 | /contest/dev2_a.cpp | 704bdfa963d46bd369ee66ecaada7f3fd8643568 | [] | no_license | Kanonahmed/ACM-Programming | a9ea92b3e6031a6a7c022d6359110ba0ff43ecb6 | 7ebb662e92cb334ecdf519278cdba39af9a1f67c | refs/heads/master | 2021-07-05T23:57:16.330893 | 2017-09-30T19:45:47 | 2017-09-30T19:45:47 | 105,396,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,042 | cpp | #include<bits/stdc++.h>
using namespace std;
#define xx first
#define yy second
#define pb push_back;
#define mp make_pair
#define LL long long
#define PI acos(-1.0)
#define AND(a,b) ((a) & (b))
#define OR(a,b) ((a)|(b))
#defin... | [
"kanoncse41@gmail.com"
] | kanoncse41@gmail.com |
bd8750915d2e51006bb6509b27bc4a92c08e204d | 0543967d1fcd1ce4d682dbed0866a25b4fef73fd | /Midterm/solutions/midterm2017_72/L/000757-midterm2017_72-L.cpp | 2d685049cd5c95e3bb428a05a2a37f55354671e8 | [] | no_license | Beisenbek/PP12017 | 5e21fab031db8a945eb3fa12aac0db45c7cbb915 | 85a314d47cd067f4ecbbc24df1aa7a1acd37970a | refs/heads/master | 2021-01-19T18:42:22.866838 | 2017-11-25T12:13:24 | 2017-11-25T12:13:24 | 101,155,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp | #include<iostream>
#include<cmath>
#include<string>
#include<algorithm>
using namespace std;
int b[1000],n,a[700][700],s1=0,s2=0,m,maxx,d=0,in;
int main()
{
cin>>n>>m;
for (int i=1;i<=n;++i)
for (int j=1;j<=m;++j)
{
cin>>a[i][j];
if (a[i][j]>0)
b[i]++;
}
maxx=b[1];
for (int i=1;i<=n;++... | [
"beysenbek@gmail.com"
] | beysenbek@gmail.com |
9865fb4ad93619d6b79d50d2c68ec9332a49f99b | f960d194a3f837194b96f6fde779ecefdc164155 | /SampleIME/FunctionProviderSink.cpp | d3e68a32dc23d6d3452586ec45e724aefceed0ec | [] | no_license | jackfnx/NaiveIME | c2cc0a5a67878cbc42cd292f25e9e4e25d0a9a52 | d5688d142790c98c888bf7fc610f0b27a9b1afed | refs/heads/master | 2020-11-29T01:41:31.230984 | 2019-12-24T17:38:44 | 2019-12-24T17:38:44 | 229,980,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,902 | cpp | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
#include "Private.h"... | [
"sixue@bbs.ustc.edu.cn"
] | sixue@bbs.ustc.edu.cn |
05b9f64ee7d23ac0f7ffbeaa4db0ecf936cf49c5 | 37525014a50e09ea0507331206e4d835a94e29ce | /wire_core/include/wire/core/IStateEstimator.h | 496bd20850f5acced2f9681487c5b2fa2ecfe359 | [
"BSD-2-Clause"
] | permissive | ropod-project/wire | 11b40c1d821a125a5edf665f0cafc66564f92abe | 4962c36d5749a4f4aaea6a8c4610f5a1373ac5e4 | refs/heads/master | 2020-05-19T21:11:00.711705 | 2019-06-24T10:45:43 | 2019-06-24T10:45:43 | 185,217,799 | 1 | 1 | BSD-2-Clause | 2019-05-06T14:54:37 | 2019-05-06T14:54:36 | null | UTF-8 | C++ | false | false | 5,750 | h | /************************************************************************
* Copyright (C) 2012 Eindhoven University of Technology (TU/e). *
* All rights reserved. *
************************************************************************
* Redistribution and u... | [
"jos.elfring@tno.nl"
] | jos.elfring@tno.nl |
b25eea0b2c07ed39c55e2cf18083d9bee5db1cff | f280a5fa1824059cbac8dc36298d5b11e53c79de | /SES KONTROL ROBOTU/Arduino kodları/VoiceLED/VoiceLED.ino | 79a5a7fb587a9f383335a41b0fecc96de9af6e54 | [] | no_license | mujganazcan/Sesle-Kontrol-Edilebilen-Robot | f104d44a5903559e610c8661c73ae66665482759 | 17995c1afe1bfafbd44e811cd001878c0b036ad9 | refs/heads/master | 2020-08-13T18:20:39.838901 | 2019-11-02T11:47:52 | 2019-11-02T11:47:52 | 215,015,310 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,195 | ino | #include <ld3320.h>
VoiceRecognition Voice; //声明一个语音识别对象
#define Led 8 //定义LED控制引脚
//初始化VoiceRecognition模块
#define Motor_sag_ileri 3
#define Motor_sag_geri 5
#define Motor_sol_ileri 6
#define Motor_sol_geri 7
void setup()
... | [
"noreply@github.com"
] | mujganazcan.noreply@github.com |
c2aa11701f92297e16b12dae3bc8e6286df777dc | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/Game Programming Gems 6/Section1-General_Programming/1-5-BSPTechniques/code/compiler.h | 0df929b4f0a432e51c187a5950263be1a61a43a3 | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 13,673 | h | #ifndef __COMPILER_H__
#define __COMPILER_H__
#include "geometry.h"
#include <list>
//--------------------------------------------------------------------------------
#define NODE_EMPTY 0x0
#define NODE_SOLID 0x1
#define NODE_LEAF 0x80000000
#define N_FRONT 1
#define N_BACK 0
#define FLAG_PR... | [
"alec.nunn@gmail.com"
] | alec.nunn@gmail.com |
0a3edb5da0ac0aa14f423831d3cf6a897c9a9f0f | 75d4ee482b9c42694069db8f99c43a7fca40b35e | /src/twist_unstamper_node.cpp | 8381a75034266ee6989feafec4046a7315168bcf | [] | no_license | joshs333/twist_tools | 1fc70d8b487384d4e7e8758eae30308b39f76776 | b6606b5b7601aec1dc1631deea4f47bc21a46f11 | refs/heads/master | 2022-12-24T23:48:27.406809 | 2020-10-05T09:40:38 | 2020-10-05T09:40:38 | 301,355,271 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,929 | cpp | /**
* @brief Node that inputs a stamped twist message and outputs a regular twist message
* @author Joshua Spisak <joshs333@live.com>
* @date October 5, 2020
* @license MIT
**/
// ROS
#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <geometry_msgs/TwistStamped.h>
namespace twist_tools {
/**
* @br... | [
"joshs333@live.com"
] | joshs333@live.com |
00d6baa957a4be81127c7b2526c11c0b332d12e0 | 524345d1d8467b588cdd760b62d238a7c7ad34d1 | /Basic_Implementation/OpenMP.cpp | 39e47e2723ec6bb3472bf4a71596e2506a2b4926 | [] | no_license | veersenjadhav/HPC-Seminar | 483908a2956511710e7cfffaddbd5acaef3646c3 | 4283fa974ca64921a59c43f6c8790fd901373488 | refs/heads/master | 2020-05-26T08:15:08.045541 | 2019-05-23T04:50:00 | 2019-05-23T04:50:00 | 188,163,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,282 | cpp | #include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#include <cmath>
#include <stdlib.h>
#include <omp.h>
#include <chrono>
#define ROWS 36634
#define FEATURES 14
#define DATASET "Dataset.csv"
using namespace std;
using namespace chrono;
int main(int argc, char const *argv[])
{
string li... | [
"noreply@github.com"
] | veersenjadhav.noreply@github.com |
ff891063324d65de746ed7925ad69c61fef1bf59 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_old_hunk_3763.cpp | 566166f84130cf8dfd99af4a54a3a025a9724570 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp |
color = diff_get_color_opt(&opt->diffopt,
status ? DIFF_WHITESPACE : DIFF_FRAGINFO);
reset = diff_get_color_opt(&opt->diffopt, DIFF_RESET);
while (*bol) {
eol = strchrnul(bol, '\n');
printf("%s%.*s%s%s", color, (int)(eol - bol), bol, reset,
*eol ? "\n" : "");
graph_show_oneline(opt->graph);
... | [
"993273596@qq.com"
] | 993273596@qq.com |
deb3a255e37a5ca9db1cbfa623aa1de8d998b3cb | 9401a919b491a6045955ae9511a2d8bca77e6884 | /HLS_Test/QP_HLS/QP/sim/autowrap/testbench/fp_test_tb.cpp_pre.cpp | c8660e9e1415ffa4dd3e736a01c4ef2657581444 | [] | no_license | wuyou33/MPC | 0bb56c499bd8c04b477840ef4a1c4bf41258ad14 | 35a0d9a4fd5e0c922720cf39d75a7db9bf1ea3c5 | refs/heads/master | 2021-05-18T02:17:26.404408 | 2020-01-16T19:15:59 | 2020-01-16T19:15:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166 | cpp | # 1 "C:/Users/hkhaj/Desktop/MPC/HLS_Test/QP_HLS/fp_test_tb.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "C:/Users/hkhaj/Desktop/MPC/HLS_Test/QP_HLS/fp_test_tb.cpp"
| [
"hkhajanchi97@att.net"
] | hkhajanchi97@att.net |
ea1ac8cf33734e88dd3d80c10656ba5a8b4c5c1b | a1fe3366863fd797feb19d83dccfd4c3a5cb690a | /SDRSpectrumAnalyzerOpenGL/SDRSpectrumAnalyzerOpenGL/GUI.cpp | 1215e19e32dcdfb01bef296ad2c69a0d89c46766 | [] | no_license | moderncoder/SDRReradiationSpectrumAnalyzer | da1733c8d1b6cd7817bf1e1d13ac17f6660189ef | c347e3ab9d62f48daf23dd76222abc44f596fd93 | refs/heads/master | 2023-03-14T22:22:16.068295 | 2021-03-10T12:15:43 | 2021-03-10T12:15:43 | 346,340,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include "Graphs.h"
class GUI
{
private:
Graphs* graphs = new Graphs();
Graph *dataGraph, *fftGraphForDevicesRange, *correlationGraph, *fftGraphStrengthsForDeviceRange;
SelectedGraph selectedGraphStart;
SelectedGraph selectedGraphEnd;
}; | [
"clint@getfitnowapps.com"
] | clint@getfitnowapps.com |
a748964d68da56901dbea8cd530b420b6c0fbeed | dc2a81c665f7a79a10760b4bbde6d98d48c0bcbe | /src/logging/log.cpp | a21f9a3569e42027aa5c576d8b6bcdca974c678f | [
"MIT"
] | permissive | clman94/Wolf-Gang-Engine | 14b219b9518f6a14317ebcff4e7516de29504b9b | 52fa71d6be1fb940a0998f29b4e0ce631e624b25 | refs/heads/master | 2021-07-23T20:57:44.552521 | 2021-02-11T20:15:50 | 2021-02-11T20:15:50 | 68,487,653 | 5 | 2 | null | 2017-05-21T00:33:37 | 2016-09-18T01:29:31 | C++ | UTF-8 | C++ | false | false | 3,331 | cpp | #include <wge/logging/log.hpp>
#include <fmt/chrono.h>
#include <fmt/format.h>
#include <iostream>
#include <fstream>
#include <array>
#include <filesystem>
using namespace wge;
static const char* get_ansi_color_reset()
{
return "\033[0m";
}
static const char* get_ansi_color_for_level(log::level pSeverity_level)
... | [
"capnsword@gmail.com"
] | capnsword@gmail.com |
b26f8363e7b8b29a9fe8b959e1a0b0dd597a4547 | 0ff374c9840ecb4b91b5d96659ba852601d57f3f | /lcs.cpp | f8f6943dd9fe4330950ed3cfc410ffcf6bd79efc | [] | no_license | ankurdcruz/CPP-Programs | 4675fffa4b9d5f4e63f98565add7977645460cbf | 5326e3a1257e1f4423d753bdfba23745ddbd2d99 | refs/heads/master | 2021-07-01T13:09:24.920637 | 2021-01-04T18:26:24 | 2021-01-04T18:26:24 | 213,186,643 | 0 | 5 | null | 2020-10-31T17:41:24 | 2019-10-06T14:49:02 | C++ | UTF-8 | C++ | false | false | 1,030 | cpp | /* Dynamic Programming C/C++ implementation of LCS problem */
#include <bits/stdc++.h>
int max(int a, int b);
/* Returns length of LCS for X[0..m-1], Y[0..n-1] */
int lcs(char* X, char* Y, int m, int n)
{
int L[m + 1][n + 1];
int i, j;
/* Following steps build L[m+1][n+1] in bottom up fashion. Note
that L... | [
"noreply@github.com"
] | ankurdcruz.noreply@github.com |
0c16910a04dda4ec46f01ae098e97aa487928b65 | 2896d712be1d186526bb7611e539edc608b8b0a2 | /Object/arxiv/Geo2DObjectUtilFunc.h | de9055f6422df7438d70de97ab098d145cf57ad0 | [] | no_license | LArbys/Geo2D | bc694e92d801f8f5546a0d6d95fdf7fea57de7df | 8522ba20c78d5b03098185e4d86fe5fde9fec208 | refs/heads/master | 2021-09-08T09:42:09.860852 | 2016-09-28T23:11:09 | 2016-09-28T23:11:09 | 69,510,990 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 93 | h | #ifndef GEO2DOBJECTUTILFUNC_H
#define GEO2DOBJECTUTILFUNC_H
namespace geo2d {
}
#endif
| [
"kazuhiro@nevis.columbia.edu"
] | kazuhiro@nevis.columbia.edu |
0640405bad65fcc86d9d983f0746f89dc03c9b66 | 779dbcf7605da4c321592ec73978d0ca00e70e18 | /src/legacy/past/20150309/OkaoClientSub2.cpp | 2298dcb461fc05fa3b20c30c134ac06cd2118b5d | [] | no_license | cvpapero/okao_client | 0486ad81f92b6ee7841d294f30539f55fa74e4cb | 7a7ed436c5ba46fe0773002be1caee494cdab413 | refs/heads/master | 2021-01-20T21:23:16.997153 | 2015-09-01T10:49:15 | 2015-09-01T10:49:15 | 27,530,207 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,432 | cpp | /*
2014.11.19------------------
人物の頭の部分をくりぬいてOKAO Serverに送信
2014.10.21------------------
humans_msgsによってパブリッシュ
個人属性データが、一人一人についてパブリッシュされてないのか?
2014.8.22-------------------
信頼度によるUNKNOWNの設定
2014.7.16-------------------
パブリッシュ機能を追加
2014.7.15-------------------
安達くんのOKAOサーバにコネクトする
json
*/
#include <ros/ros.h>
#... | [
"cvpapero14@gmail.com"
] | cvpapero14@gmail.com |
11ce43bc04e9b2ae857ff37009196d95d732c543 | 4feaa7c33d6ad4885de30b90568a909332cbe334 | /main.cpp | 7fa2c6c41cc5f43798188597b8977ea2604a3b73 | [] | no_license | WilliamAuCS/Edit-Distance | a71165f0cf2f17728d7467d119f87504a95cce61 | a32dd497335d5e5c9574c957f02c10038c720796 | refs/heads/master | 2020-09-13T16:32:14.582349 | 2019-11-20T19:07:30 | 2019-11-20T19:07:30 | 222,842,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | cpp | #include <iostream>
#include "Edits.cpp"
int main()
{
EditDistance edit;
edit.findMatrix("broad", "board");
return 0;
} | [
"WilliamAuCS@gmail.com"
] | WilliamAuCS@gmail.com |
d36f1b79250b29026c085ff86a3b0184c0182d9c | cb38863a57da0fc7bbee3174f74f68dc59746cb9 | /code/rocket/RocketMenuPlugin.cpp | 5ccbf2e33fe17a0211bdbbfab937a276b11b9ad2 | [] | no_license | dylski/duke3d-megaton | 82397b8d0349496f680f7f2e84146dfd993eda11 | 4761ba83b46917aa4229365e40f32cf24ed71d0b | refs/heads/master | 2021-01-15T12:10:19.217462 | 2013-09-27T14:45:54 | 2013-09-27T14:45:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,860 | cpp | //
// Created by Sergei Shubin <s.v.shubin@gmail.com>
//
#include "RocketMenuPlugin.h"
#include <Rocket/Core.h>
#include <Rocket/Core/Element.h>
#include "PluginUtils.h"
#include "helpers.h"
#include "math.h"
static
void SetActiveKeySlot(Rocket::Core::Element *menu_item, int active_key);
/*** Context Data ***/
str... | [
"drtermit@gmail.com"
] | drtermit@gmail.com |
a69fd8492c881d1ab489f0a97010836b57233465 | bb72b975267b12fb678248ce565f3fd9bd6153ee | /testgles/NdkOpenGL/jni/platform/CCFileUtilsAndroid.cpp | f9b957bab3e90920de27ae626c6442e7898d1cc0 | [] | no_license | fiskercui/testlanguage | cfbcc84ffaa31a535a7f898d6c7b42dcbf2dc71b | b15746d9fa387172b749e54a90e8c6251750f192 | refs/heads/master | 2021-05-30T13:26:11.792822 | 2016-01-13T02:03:26 | 2016-01-13T02:03:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,255 | cpp | #include "base/ccMacros.h"
#include "base/CCPlatformConfig.h"
#include "CCFileUtilsAndroid.h"
//#include "platform/CCCommon.h"
#include "help/Java_com_example_ndkopengl_Cocos2dxHelper.h"
#include "android/asset_manager.h"
#include "android/asset_manager_jni.h"
#include <stdlib.h>
#include <string>
#ifndef LOG_TAG
#... | [
"weihua@weihuacuideMac-mini.local"
] | weihua@weihuacuideMac-mini.local |
f1409e22bea3c7f76058e8d2ad666776a6c55e36 | 3cd1fa9c7282a351975bf4bc57e2feb2017cd795 | /data_structures/lab-5/lab_5.cpp | a151963fc96017afd47148529bf94cedfc16a16e | [] | no_license | ReznikovRoman/mirea-hw | f1ce52a4a6dca977c072cc7d2e19bc2376fda1ce | c4cdc8bc5f9ed8fb71e336da58e68e056da07e2b | refs/heads/master | 2023-05-08T09:45:27.979411 | 2021-06-02T17:40:10 | 2021-06-02T17:40:10 | 292,531,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,623 | cpp | #include <string>
#include <iostream>
#include <stack>
using namespace std;
// Задание 1
// Получаем приоритет операторов
int getOperatorsPrecedence(char c)
{
if (c == '^')
return 3;
else if (c == '*' || c == '/')
return 2;
else if (c == '+' || c == '-')
return 1;
else
r... | [
"romanreznikov2002@yandex.ru"
] | romanreznikov2002@yandex.ru |
5fe190846fcc2b626f587cabaf931a1942c226d6 | b37c75b4e587211cd463176ee46e5b4268e96683 | /BinaryTree/InvertBinaryTree.cpp | 4627e08e7f9065376af3b0e6ad29b696e41efffe | [] | no_license | tangziyi001/LeetCode | 0171044b472658f1bb4ff36cf939522d43ae24ae | a51640a282f60696d2627283684b563af6d584bc | refs/heads/master | 2021-06-12T19:53:18.100244 | 2017-04-05T00:09:42 | 2017-04-05T00:09:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
void invert(TreeNode* now){
if(now == NULL) return;
invert(now->left);
... | [
"tangziyi001@gmail.com"
] | tangziyi001@gmail.com |
faf69ce454a6653405b4cd3c8ea089a65f38871f | a6b5b78fe6f83a92231337e1cdd9ac20bc10d478 | /asio/j.cc | 5a84bd66c2609f46b23d83dca17c8f1415a477a4 | [
"CC0-1.0"
] | permissive | guoxiaoyong/simple-useful | faf33b03f3772f78bbfd5e8050244ac365d90713 | 63f483250cc5e96ef112aac7499ab9e3a35572a8 | refs/heads/master | 2023-03-09T11:51:56.168743 | 2020-06-13T23:14:07 | 2020-06-13T23:14:07 | 43,603,113 | 0 | 0 | CC0-1.0 | 2023-03-01T12:30:26 | 2015-10-03T15:12:43 | Jupyter Notebook | UTF-8 | C++ | false | false | 1,459 | cc | //
// server.cpp
// ~~~~~~~~~~
//
// Copyright (c) 2003-2013 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)
//
#include <ctime>
#include <iostream>
#include <... | [
"guo.xiaoyong@gmail.com"
] | guo.xiaoyong@gmail.com |
701e70c051151b6e5638ad0de7d1929b37d44801 | 5f9cff6db34ebfa86a3794eb491b0e0f0f8d53c3 | /src/qt/guiutil.cpp | 00128e2e2bd3b0015de793745554624287be2035 | [
"MIT"
] | permissive | selfdirectedcoin/selfdirectedcoin | 7d788a20c5207630f2bb9ed8a3ff78602e113274 | 75524be2848e1d508908c393c9f306fb0d9979e5 | refs/heads/master | 2021-05-12T19:18:49.694630 | 2018-01-11T13:43:03 | 2018-01-11T13:43:03 | 117,089,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,554 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <QApplication>
#include "guiutil.h"
#include "bitcoinaddressvalidator.h"
#include "walletmodel.h"
#include "bitcoin... | [
"peterburns89@gmail.com"
] | peterburns89@gmail.com |
be8273c47a9cfb86b9055e871f6fdcfb33a526df | 9fbff544471056f0816fa52d1bbf0c4db47c1f24 | /template/tree/二叉树的遍历2.cpp | cd4f217c451f0e2c5497f99369b5fdd597ea9442 | [] | no_license | theDreamBear/algorithmn | 88d1159fb70e60b5a16bb64673d7383e20dc5fe5 | c672d871848a7453ac3ddb8335b1e38d112626ee | refs/heads/master | 2023-06-08T15:47:08.368054 | 2023-06-02T13:00:30 | 2023-06-02T13:00:30 | 172,293,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,545 | cpp | #include <iostream>
#include <iterator>
#include <queue>
#include <stack>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution1 {
public:
bool isSymmetricHeler(TreeNode *left, TreeNode *right) {
... | [
"nichao@zuoyebang.com"
] | nichao@zuoyebang.com |
aa4581b8d9dfbb67b507c4d7e76615c61b2123a4 | 48a73a0ba850ac2925118dd304baa8f7b2874582 | /C++/source/HttpInterface/HttpInterfaceMethodWorker.cpp | 692f5cb4e0708da0f4671701e36b4e267ca250d0 | [
"Apache-2.0"
] | permissive | cxvisa/Wave | 5e66dfbe32c85405bc2761c509ba8507ff66f8fe | 1aca714933ff1df53d660f038c76ca3f2202bf4a | refs/heads/master | 2021-05-03T15:00:49.991391 | 2018-03-31T23:06:40 | 2018-03-31T23:06:40 | 56,774,204 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | cpp | /***************************************************************************
* Copyright (C) 2005-2011 Vidyasagara Guntaka *
* All rights reserved. *
* Author : Vidyasagara Reddy Guntaka *
***********... | [
"sagar@wave.sagar.cisco.com"
] | sagar@wave.sagar.cisco.com |
5277bb9e1686556c1da0c5c00fe0a54979a1d648 | 6d9133176e013e4145d8ea785f6927b72ae678b7 | /Cyborg/src/cNeck.cpp | c6b5dc4e6a56437e3315aef4f98f96ba9d772bd3 | [] | no_license | Memaguer/OpenGL_Cyborg | cc2a18285718ea27e0c0035935329464df66551c | 02ae38db99b02a641f42ac27dde8c099bbfef454 | refs/heads/master | 2021-05-03T11:14:49.619732 | 2018-02-07T01:44:05 | 2018-02-07T01:44:05 | 120,547,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | cpp | //
// cNeck.cpp
// Cyborg
//
// Created by MBG on 2/5/18.
// Copyright © 2018 MBG. All rights reserved.
//
#include "cNeck.hpp"
Neck::Neck()
{
neck = new Part(1, 1, 1);
head = new Head();
}
Neck::~Neck()
{
delete neck;
delete head;
}
void Neck::draw()
{
// ############## NECK #############
... | [
"gbarrientos@alabool.mx"
] | gbarrientos@alabool.mx |
0582b1edaf1466093b64f9fbc5b5f33d68cf7469 | ec0a5d5ddf5436ddeebc095341c95ffb4cc0c471 | /core/utils/LinearInterpolator.h | 64269c51417af31f8e05a7f9fcfbf684a161c690 | [
"MIT"
] | permissive | egbaquela/CODeM-Toolkit | ca08e8c26fd8fab58da217e958aa71d708f20f57 | c08f578bd54a5de9abd459d6f3f320db2991764a | refs/heads/master | 2020-03-20T19:45:04.086811 | 2018-07-05T01:09:31 | 2018-07-05T01:09:31 | 137,651,950 | 0 | 0 | null | 2018-06-17T12:02:48 | 2018-06-17T12:02:47 | null | UTF-8 | C++ | false | false | 2,196 | h | /****************************************************************************
**
** The MIT License (MIT)
**
** Copyright (c) 2016 The University of Sheffield (www.sheffield.ac.uk)
**
** Permission is hereby granted, free of charge, to any person obtaining a copy
** of this software and associated documentation files (... | [
"s.salomon@sheffield.ac.uk"
] | s.salomon@sheffield.ac.uk |
684d4be1089ea5604d37a640306928b25e10b2bd | 03380a2cf46385b0d971e150078d992cd7840980 | /Source/Diagnostics/OpenPMDHelpFunction.H | 9db4b9fb19454554475ad39aa319c56b4cc1518f | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause-LBNL"
] | permissive | ECP-WarpX/WarpX | 0cfc85ce306cc5d5caa3108e8e9aefe4fda44cd3 | e052c6d1994e4edb66fc27763d72fcf08c3a112a | refs/heads/development | 2023-08-19T07:50:12.539926 | 2023-08-17T20:01:41 | 2023-08-17T20:01:41 | 150,626,842 | 210 | 147 | NOASSERTION | 2023-09-13T23:38:13 | 2018-09-27T17:53:35 | C++ | UTF-8 | C++ | false | false | 386 | h | /* Copyright 2023 The WarpX Community
*
* This file is part of WarpX.
*
* Authors: Juliette Pech, Axel Huebl
* License: BSD-3-Clause-LBNL
*/
#ifndef WARPX_OPENPMDHELPFUNCTION_H_
#define WARPX_OPENPMDHELPFUNCTION_H_
#ifdef WARPX_USE_OPENPMD
# include <openPMD/openPMD.hpp>
#endif
#include <string>
std::string
... | [
"noreply@github.com"
] | ECP-WarpX.noreply@github.com |
164f6620e6df1402cb1b6512ed3e8d7a04cfbef3 | 2ea1df8ee5b919b3d076fa192bce2081340e0cce | /OOP_Lab_08/Strategy/Newspaper.cpp | 2d0acbe555f76591e72398559c2f38b0c295428c | [] | no_license | nadiyafomenko/OOP | a8c6efdb635951bd65f7a3f6dcd4ca916bb5f42b | 14ccc533c7d87d79175cb505329fec669ed4ad03 | refs/heads/master | 2021-04-10T20:39:34.812484 | 2020-06-15T16:28:44 | 2020-06-15T16:28:44 | 248,963,871 | 0 | 1 | null | 2020-03-21T13:39:06 | 2020-03-21T11:40:06 | C++ | UTF-8 | C++ | false | false | 1,343 | cpp | #include "Newspaper.h"
#include "PrintedProducts.h"
void Newspaper::Print(std::ostream& out)
{
out
<< "Newspaper table: " << std::endl
<< "Title:" << "\t\t\t\t" << GetTitle() << std::endl
<< "Author:" << "\t\t\t\t" << GetAuthorName() << std::endl
<< "Pages:" << "\t\t\t\t" << GetPages() << std::endl
<< "Page... | [
"47325620+nadiyafomenko@users.noreply.github.com"
] | 47325620+nadiyafomenko@users.noreply.github.com |
3bbbd5f278722dac8eff2e8d192736daa5643246 | 72392c0ff4ecd2cb024d7b59e3c9bcc036133e4e | /example3.cpp | 8964e5483b10ea02a47c2b56761e5aa9836a61e2 | [] | no_license | thomasphillips3/gists | 931658b394ce400b8a825d77af6d08620a3e3494 | 48e3861bb1fb5a25d2f29efef83d634b57e64ae2 | refs/heads/master | 2020-04-05T13:05:24.047257 | 2017-07-25T13:01:24 | 2017-07-25T13:01:24 | 95,075,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | cpp | // https://developers.google.com/edu/c++/getting-started
// Example 3: What does this program output?
// Time tables
// Thomas Phillips
#include <iostream>
using namespace std;
int main(void) {
cout << " 1\t2\t3\t4\t5\t6\t7\t8\t9" << endl << "" << endl;
for (int c = 1; c < 10; c++) {
cout << c << "| ";
fo... | [
"thomasphillips3@gmail.com"
] | thomasphillips3@gmail.com |
aee44828d6f764216813590d329151b71ced1cfa | 006f035d65012b7c5af15d54716407a276a096a8 | /dependencies/include/cgal/CGAL/Segment_Delaunay_graph_2/Segment_Delaunay_graph_2_impl.h | f16d7b5ab7435b930411414b7a6faf40b60979a8 | [] | no_license | rosecodym/space-boundary-tool | 4ce5b67fd96ec9b66f45aca60e0e69f4f8936e93 | 300db4084cd19b092bdf2e8432da065daeaa7c55 | refs/heads/master | 2020-12-24T06:51:32.828579 | 2016-08-12T16:13:51 | 2016-08-12T16:13:51 | 65,566,229 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 97,667 | h | // Copyright (c) 2003,2004,2005,2006 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// You can redistribute it and/or modify it under the terms of the GNU
// General Public License as published by the Free Software Foundation,
// either version 3 of the License... | [
"cmrose@lbl.gov"
] | cmrose@lbl.gov |
f931c298661803dab5720eca3beca6534316f49a | 90b1a86c16b0f7f99cb0bff3f05476dd95bd8697 | /source/kdpHistogram.cpp | 055c4523c10f33db577e68a479d52f6c7d326f86 | [] | no_license | keith-pedersen/libkdp | ade52b70630c2749e10b49c342ef4468f5daa081 | 99d26540f304ec94e76a967e7b8292b1fc6fd829 | refs/heads/master | 2020-03-24T16:40:23.029467 | 2019-01-27T00:40:38 | 2019-01-27T00:40:38 | 142,832,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,024 | cpp | // Copyright (C) 2016-2018 by Keith Pedersen (Keith.David.Pedersen@gmail.com)
// 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... | [
"kpeders1@hawk.iit.edu"
] | kpeders1@hawk.iit.edu |
03ae6d0aad26417884105d807f020981b7733a85 | 4503b4ec29e9a30d26c433bac376f2bddaefd9e5 | /boost_1_56_0_WinCE/boost/numeric/odeint/external/openmp/openmp_range_algebra.hpp | 6df2553040f7f71976e223f1406c80a50f9e6f05 | [] | no_license | SwunZH/ecocommlibs | 0a872e0bbecbb843a0584fb787cf0c5e8a2a270b | 4cff09ff1e479f5f519f207262a61ee85f543b3a | refs/heads/master | 2021-01-25T12:02:39.067444 | 2018-02-23T07:04:43 | 2018-02-23T07:04:43 | 123,447,012 | 1 | 0 | null | 2018-03-01T14:37:53 | 2018-03-01T14:37:53 | null | UTF-8 | C++ | false | false | 18,352 | hpp | /*
[auto_generated]
boost/numeric/odeint/external/openmp/openmp_range_algebra.hpp
[begin_description]
Range algebra for OpenMP.
[end_description]
Copyright 2013 Karsten Ahnert
Copyright 2013 Mario Mulansky
Copyright 2013 Pascal Germroth
Distributed under the Boost Software License, Version 1.0.
... | [
"lycos7x@3e9e098e-e079-49b3-9d2b-ee27db7392fb"
] | lycos7x@3e9e098e-e079-49b3-9d2b-ee27db7392fb |
ea040ae3d0c9228c1dfec95128fb32e5aeda2a29 | 84db845cc485c91e6dbc44e4944a85d27518c9a8 | /2018/2018_Jul/Week4/WF/wf_I_hdoj4642.cpp | 8b5eb95565527533ea170fefd760320422962bdc | [] | no_license | sunyinkai/ACM_ICPC | c13398c6963f0267db282e71d11baaf7ff619c71 | 8e54240df29b4a722efd27b5866384ba84f859a4 | refs/heads/master | 2021-07-07T07:39:36.553203 | 2020-07-26T06:50:54 | 2020-07-26T06:50:54 | 158,057,635 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | cpp | #include<cstdio>
int main(){
int T;scanf("%d",&T);
while(T--){
int N,M;scanf("%d%d",&N,&M);
int num;
for(int i=0;i<N;++i)
for(int j=0;j<M;++j)
scanf("%d",&num);
if(num&1)printf("Alice\n");
else printf("Bob\n");
}
return 0;
}
| [
"1091491336@qq.com"
] | 1091491336@qq.com |
cd80871c28454c48040719b15f7501bb732a6bf5 | 751f0297891d8ea6975842e887689b7024c32fda | /Source/bmalloc/bmalloc/SmallLine.h | e044e70dfb9299f6969cff4e739eacfefa60bab6 | [] | no_license | gskachkov/webkit | 4d162c15a2db7d9455fe2200c7ffa2002f34a59a | c9aeb6d32e22bfa22ad468324f3e0ea48354badb | refs/heads/master | 2023-03-01T05:32:31.643945 | 2016-04-13T18:24:52 | 2016-04-13T18:24:52 | 30,821,838 | 0 | 0 | null | 2015-02-15T08:15:59 | 2015-02-15T08:15:58 | null | UTF-8 | C++ | false | false | 2,319 | h | /*
* Copyright (C) 2014-2016 Apple Inc. 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 list of conditi... | [
"ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc"
] | ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc |
eda02bf7db83d6bf3105dcc429ca94f232bc6562 | b7ee5b78d5e48ba336e0a252cfe99c76def8f27d | /src/renderers/samplerrenderer.h | b27bd53b231f086d0a57ad5786b718c83a73bf74 | [
"BSD-2-Clause"
] | permissive | mgharbi/rendernet_pbrt | f09796532600b1cd876b4a02bb1c80ecf2fb6ed7 | 8dce288eea765f0e472af6906968dcd6e2b1f7c7 | refs/heads/master | 2020-03-31T18:03:51.772096 | 2019-04-21T13:33:31 | 2019-04-21T13:33:31 | 152,445,182 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,312 | h |
/*
pbrt source code Copyright(c) 1998-2012 Matt Pharr and Greg Humphreys.
This file is part of pbrt.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributions of source code must retain the... | [
"gharbi@mit.edu"
] | gharbi@mit.edu |
48f19691a6a9c816e6c741dfe21e8e2c00c9813a | c9787aef563b1cb6a24a3ec4c09e5f4535a28c46 | /pp5_AlejandroCoronado/mips.cc | 84509743fde8d4449c4f3bb29a35d4202648d2aa | [] | no_license | coronate-zz/compiladorDecaf | 3fa0c927b8e24a78414df253b69cc18d47fb6636 | 2d2fb3c24b47279db402f7a9e7bdc45a0b7ec8e8 | refs/heads/master | 2021-06-16T11:16:55.003205 | 2017-05-26T08:47:44 | 2017-05-26T08:47:44 | 83,354,158 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,356 | cc |
#include <stdarg.h>
#include <cstring>
#include "mips.h"
// Helper to check if two variable locations are one and the same
// (same name, segment, and offset)
static bool LocationsAreSame(Location *var1, Location *var2) {
return (var1 == var2 ||
(var1 && var2
&& !strcmp(var1->GetName(), ... | [
"acoronadn@gmail.com"
] | acoronadn@gmail.com |
e3ddc06da817b5b6fff697c858b4e2b1c41e14ed | 427419228ca489739e16c380d7bc68a6ef509e5a | /A_Colorful_Stones_Simplified_Edition_.cpp | d575549318212f810f562f4ef50aa95b16266e17 | [] | no_license | wolverinezgit/cpsolutions | d5dca485190a27f4d27e9610cd6ea02d98a50072 | e0e695036cbd4c51ec9bf57d585b40204c8566a1 | refs/heads/main | 2023-03-10T12:31:27.848231 | 2021-02-18T13:04:00 | 2021-02-18T13:04:00 | 332,387,127 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,fma")
#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define mp make_pair
#define pb push_back
#define fast_cin() ios_base::sync_with_stdio(false); cin.tie(NULL... | [
"iamharsh05@gmail.com"
] | iamharsh05@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.