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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b6a11d2b2deab26e4fb9de05d7e7585f486d98f9 | 045f7711ccfa95d2a51056f21b6c1c308fe95fc2 | /Lab7/Lab2/Lab2.cpp | a3a3de9a22c38cef4d649a06ba0ceefd3a620eeb | [
"MIT"
] | permissive | TrueEdOs/OS-E | 19eb5e641394d7f3a1d17c5b557ff37a924b656d | 0d0db497a0b0c798e1c8448e8a1eedd4ed260eae | refs/heads/master | 2022-06-04T07:11:10.082473 | 2020-04-28T20:19:07 | 2020-04-28T20:19:07 | 259,721,443 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 8,323 | cpp |
#include "stdafx.h"
#include "Lab2.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; // the main window class name
// Forward declarations of functions included in this code m... | [
"comp.disk2013@yandex.by"
] | comp.disk2013@yandex.by |
ad31014f563687593afcefd929df1bd15b9d230b | ddb2870ac22217c7f58e02ecb9b4e12e06ac3034 | /Reference/Header/Export_Utility.inl | 1b6f1c98c55fa49e3cbd6bbc3df657b3d01875ec | [] | no_license | jw96118/Little-NightMare | b147159c4948cd9528882cad08e9c9c253e29d7d | 7c56a4ceb0bf411f6bd4a10c2b834f3d262ba198 | refs/heads/main | 2023-07-04T09:37:46.257693 | 2021-08-16T04:29:28 | 2021-08-16T04:29:28 | 396,616,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,505 | inl | #include "Export_Utility.h"
// Management Instance
// Get
CComponent* Get_Component(const _tchar* pLayerTag, const _tchar* pObjTag, const _tchar* pComponentTag, COMPONENTID eID)
{
return CManagement::GetInstance()->Get_Component(pLayerTag, pObjTag, pComponentTag, eID);
}
inline CGameObject * Get_GameObject(const _tc... | [
"jw96118@naver.com"
] | jw96118@naver.com |
2b89ef9cc8aef621eb6c02c22cb9c500cf488050 | e9ac4bc4ca03773b846d55b5b735eec6fa6e7516 | /server_MPath_proto/src/myHevcdec_v2.cpp | 093c2e6ca2609120489a5b2b3837c3552e8799c9 | [] | no_license | ShawnshanksGui/server_MPath_proto | 522c0baa8155e85243ead00c42a814f1b1e005b8 | dfbcf88ec4f330ab7d496dd78580cda301658470 | refs/heads/master | 2021-09-14T21:47:50.340637 | 2018-05-20T09:55:16 | 2018-05-20T09:55:16 | 119,500,886 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,957 | cpp | #include "chrono"
#include "iostream"
#include "fstream"
#include "sstream"
#include "string"
#include "ios"
#include "cstdio"
//#include "../include/video_reader.h"
using namespace std;
//for test and debug
#define ENABLE_DEBUG
//for test and debug
#ifdef ENABLE_DEBUG
#define REGION_NUM 3
#define FRAME_GOP 50
#d... | [
"fei467475649@gmail.com"
] | fei467475649@gmail.com |
0067888ee9c33c26b7b8488de6a54aac5aae0130 | 157e2e7049b52d7fcab19c32af2da6671f97bc6a | /spectral/jtreespectral/Eigen/src/plugins/CommonCwiseUnaryOps.h | 261ddc00e2425c2a31df013ce95ed35933d8ea96 | [] | no_license | pranjul23/NASA | b5526b2f1aa192bc2a671f812e1ee8a68be20706 | 14c1a1eccaae7f9e16f277f22d79475391534c48 | refs/heads/master | 2020-04-01T18:45:02.678578 | 2014-01-30T05:30:04 | 2014-01-30T05:30:04 | 10,201,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,554 | h | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the ... | [
"igoraries@gmail.com"
] | igoraries@gmail.com |
6aaec4bbc93121ca38fad721532d74e2ee544a40 | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_DinoSettings_Carnivore_Small_Kaprosuchus_parameters.hpp | 7a8b5d5686b0c1aad30ba37d0bbb1c4dbe170337 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 842 | hpp | #pragma once
// ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoSettings_Carnivore_Small_Kaprosuchus_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
28015cf2b91703073dd8b45d7934840385123ce9 | 5835b9bd44fb6a886b58e3c433b9fee2b28590b3 | /0216_combination_sum_iii/combination_sum.cc | 40189b1d7d6b564b617dcc94f9328acce3840815 | [
"MIT"
] | permissive | begeekmyfriend/leetcode | feef7a21f43a4a3b21756ee5b614f3a31e8af526 | f88bcf8006a12047bcc045ea25f2a46813baeb53 | refs/heads/master | 2023-07-08T10:28:18.623237 | 2023-01-09T11:45:36 | 2023-01-09T11:45:36 | 37,474,686 | 3,346 | 982 | MIT | 2021-10-05T16:10:15 | 2015-06-15T15:44:58 | C | UTF-8 | C++ | false | false | 666 | cc | #include <stdc++.h>
using namespace std;
class Solution {
public:
vector<vector<int>> combinationSum3(int k, int n) {
vector<vector<int>> res;
dfs(1, 9, k, n, res);
return res;
}
private:
vector<int> stack;
void dfs(int start, int size, int k, int target, vector<vector<int>>& r... | [
"begeekmyfriend@gmail.com"
] | begeekmyfriend@gmail.com |
d561dcd30e820b1f2f9a7a7e647d26d2e80c028f | 8ae9bdbb56622e7eb2fe7cf700b8fe4b7bd6e7ae | /llvm-3.8.0-r267675/lib/IR/Dominators.cpp | 37a4e68e6cdd8a42226bfd5be5852d45013683f1 | [
"NCSA"
] | permissive | mapu/toolchains | f61aa8b64d1dce5e618f0ff919d91dd5b664e901 | 3a6fea03c6a7738091e980b9cdee0447eb08bb1d | refs/heads/master | 2021-09-16T00:07:16.731713 | 2017-12-29T04:09:01 | 2017-12-29T04:09:01 | 104,563,481 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,398 | cpp | //===- Dominators.cpp - Dominator Calculation -----------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"wangl@cb94f8c2-beb9-42d2-aaaf-6dc30ea5c36a"
] | wangl@cb94f8c2-beb9-42d2-aaaf-6dc30ea5c36a |
24d8c37f45b4e34cdc8a1360d58f6ca0fcd9a5fb | f07352ad4b071ed5e801f7a91028606911d8906a | /examples/rocketwar/src/shared/network/protocol.hpp | e158431bab3a1bb6feb5ae7cdc5c7806c0eb41b1 | [
"MIT"
] | permissive | AlexAUT/rocketWar | 426362513eca048d2dcb63dd76b87b1fc52f0cf6 | edea1c703755e198b1ad8909c82e5d8d56c443ef | refs/heads/master | 2020-05-19T09:41:44.905120 | 2019-08-11T12:07:56 | 2019-08-11T12:07:56 | 184,954,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,447 | hpp | #pragma once
#include "packet.hpp"
#include <aw/util/types.hpp>
#include <aw/util/reflection/typeDescriptorClass.hpp>
#include <aw/util/reflection/typeDescriptorEnum.hpp>
#include <aw/util/reflection/types/primitiveTypes.hpp>
#include <aw/util/reflection/types/vector.hpp>
#include <aw/util/type/bitwiseEnum.hpp>
nam... | [
"alexander.weinrauch@gmail.com"
] | alexander.weinrauch@gmail.com |
70e0dded17e80fd5965b2d1ff20d53f58ad93653 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /third_party/WebKit/Source/core/css/cssom/CSSVariableReferenceValueTest.cpp | 457b236574178cbf6989076ee4dffa35f5c8b7c4 | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 2,198 | cpp | // Copyright 2016 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 "core/css/cssom/CSSStyleVariableReferenceValue.h"
#include "core/css/cssom/CSSTokenStreamValue.h"
#include "testing/gtest/include/gtest/gtest.h"... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
e12eea177997d836edc99ac1393c3a3dc5f95064 | c124ebdd41bf145ec6e9b97a4fd3068359f7e589 | /src/TMinimalSpanningTrack.hxx | 8a6ea90079674b5199671b2a434fbd7822713064 | [] | no_license | captain-col/captRecon | fc764bf5e2c114567df380bc919e043f2c891d7d | 71bba82827a4c2830027511018ddd241559e6271 | refs/heads/master | 2021-01-23T06:15:18.625000 | 2019-03-21T20:11:13 | 2019-03-21T20:11:13 | 102,495,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | hxx | #ifndef TMinimalSpanningTrack_hxx_seen
#define TMinimalSpanningTrack_hxx_seen
#include <TAlgorithm.hxx>
#include <TAlgorithmResult.hxx>
namespace CP {
class TMinimalSpanningTrack;
};
/// This takes a algorithm result with clusters (e.g. from TClusterSlice or
/// TClusterMerge), and turns them into track candidate... | [
"clark.mcgrew@stonybrook.edu"
] | clark.mcgrew@stonybrook.edu |
ca224a817c9249e93ed3588868d09dde5da9391b | 29b34bd462e6749b6c34f1a56c838db0250763d0 | /TRICOUNT.cpp | 5202b8a96d35b319736cb7c45759b27d07ef481b | [] | no_license | aashishsingh2803/spojsolutions | 7da2f7d769777fcbad95a295a102bfbe55f1f61e | 140c714ac11ff16b7021017993768f2b9cb1c9b8 | refs/heads/master | 2021-01-20T14:07:30.803714 | 2017-02-21T23:44:07 | 2017-02-21T23:44:07 | 82,737,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | #include <stdio.h>
#include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
unsigned long long int n,sum;
cin>>n;
if(n%2==0)
{
sum=n*(n+2)*(2*n+1)/8;
cout<<sum<<"\n";
}
else
{
sum=(n*(n+2)*(2*n+1)-1)/8;
cout<<sum<<"\n";
}
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
debc5c15a201c34cd6eda5bb8ad24b138a4274f3 | 3cf9f927fbc747090091642d37fb803b606b7e2f | /inc/sfe/twraptext.inl | 65780fa2013205c9e1129a3b4fa4c6515ec783dc | [] | no_license | Breush/evilly-evil-villains | d734dd7ce97c727fab8e4a67097170ef7f381d22 | f499963e9c2cfdc7c4fed42ca7b8c3d2bc7ecbe9 | refs/heads/master | 2022-07-09T18:24:18.996382 | 2022-06-22T07:08:38 | 2022-06-22T07:08:38 | 29,420,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,803 | inl | #include "tools/tools.hpp"
#include "tools/int.hpp"
#include <sstream>
namespace sfe
{
//-------------------//
//----- Routine -----//
template<class Text_t>
void WrapText<Text_t>::draw(sf::RenderTarget& target, sf::RenderStates states) const
{
states.transform *= getTransform();
... | [
"alexis.breust@gmail.com"
] | alexis.breust@gmail.com |
8b597c975d63505f2de6bfbcd811a6be31f86009 | 1577d73708a280359f6ced3e323f42b9ae7a4eab | /src/paint.cpp | 552b605b1bdba0c3a80f25be627dfc3c8266c1f3 | [
"MIT"
] | permissive | jklingen/paint | f67a4d3edd9e8e2961ea4c9085665467c8f105d9 | 58fd3ed34431c6cdd99e74f7a65d914a61ad45c6 | refs/heads/master | 2020-12-25T09:07:56.565927 | 2014-09-22T18:38:06 | 2014-09-22T18:38:06 | 20,573,082 | 0 | 0 | null | 2014-09-22T18:38:07 | 2014-06-06T18:01:56 | C++ | UTF-8 | C++ | false | false | 2,602 | cpp | /*
Copyright (c) 2014 kimmoli kimmo.lindholm@gmail.com @likimmo
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify... | [
"kimmo.lindholm@eke.fi"
] | kimmo.lindholm@eke.fi |
6f2591e907020ccf2d23e32dabee69999b00cf61 | 591b6b01d261750275b61c2f6dad55692b28c2ad | /FINAL_PROJECT/PR_Final_Simulation/PR_Final_Simulation/Town.h | 612de0145aaebedf8b95c79ae665e86c3cd16dab | [] | no_license | JoelSchroeder/CS273 | ec59c6a4a2f611597c9b87f417bb30d1ac9bf2eb | 28ea981d7eef15d502c64774941c33bc7639f081 | refs/heads/master | 2021-04-27T13:08:51.259309 | 2018-05-17T22:54:11 | 2018-05-17T22:54:11 | 122,433,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,816 | h | #ifndef TOWN_H_
#define TOWN_H_
#include <vector>
#include "Resident.h"
#include <iterator>
#include <set>
#include <stack>
#include "Waiting_Room.h"
#include "Emergency_Room.h"
#include "Random.h"
Random random;
class Town
{
private:
std::vector<Resident> residents;
int size;
int arrival_rate;... | [
"noreply@github.com"
] | noreply@github.com |
ba214319e5862b13e186c88c97cff17d105c917b | 0ae250b35f040eacf05c3567b7f37b15a5c92d05 | /Program 1/Header.h | fd54f76864902e5db65364fbb5ee159225279816 | [] | no_license | milg15/exercisesC | edb88f725f66d7a8049779ae48f792af144ae68a | 1d8c270a0fb28b837f944575292bcbf083e77dbb | refs/heads/master | 2021-09-24T08:18:10.170317 | 2018-10-05T16:49:21 | 2018-10-05T16:49:21 | 104,624,448 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | h | #include <iostream>
//markov incompleto
using namespace std;
enum Climas {nub, pnub, sol, psol};
char *NClimas[] = { "Nublado", "Parcialmente Nublado", "Soleado", "Parcialmente Soleado" };
void anadirClima(Climas * &vector, short &n, Climas cDay) {
if (n < 30)
vector[n] = cDay;
else if (n<=80) {
C... | [
"noreply@github.com"
] | noreply@github.com |
7dd98a9ea29362dae4e7249e84a8200c06042571 | 95924c0f2f92c2aeb4aded2483acb3013887210f | /cpp/IntCodes.cpp | ab85fd10c2b906b129d03968107a04f67ed13be2 | [] | no_license | mimikrija/AdventOfCode2019 | e3455146f8ade942321a4ad661dca9a8560bde3d | 4bf772d69dc8d20ef530c9d5e3343449fa748862 | refs/heads/master | 2021-11-14T04:22:35.004787 | 2021-11-05T21:14:23 | 2021-11-05T21:18:51 | 225,138,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,121 | cpp | #include "IntCodes.h"
using namespace std;
int GetCode(int BigCode)
{
if (BigCode < 100) return BigCode;
else return BigCode % 10;
}
vector<int> CodesAndModes(int BigCode)
{
// code and modes would be more precise
// but this rhymes.
vector<int> CodesAndModes(4,0);
// 0-th entry is the code
CodesAndModes.at(0... | [
"maja.gacesa@gmail.com"
] | maja.gacesa@gmail.com |
924c223a397820b2a2da6949cdc55c50d3dd8555 | 0807bf2ca2967b86a8fb25f07ee4dd07583c88fe | /src/miner.cpp | bcaaa81b5f7541b728b2eccf3551c57bf33b3ff5 | [
"MIT"
] | permissive | dmitriy79/enc | 6161a4542c90b0a7a9dc1a7bb06532f37f7aba06 | 4661d699cbdf77ce7aa1c3289e8629f1c1a645c2 | refs/heads/master | 2020-07-09T23:33:55.032572 | 2019-08-24T04:48:12 | 2019-08-24T04:48:12 | 204,109,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,542 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2014-2018 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "miner.h"
#include ... | [
"sinoptik79@inbox.ru"
] | sinoptik79@inbox.ru |
e7a230f6c966bfec2a4fb51d245f6d75e7469368 | ee99ead6a052afdd51976829f102220c4b454fc8 | /LibLsp/JsonRpc/serializer.h | ef114d243a84103851ca469205d606e3d1a5b2db | [] | no_license | ShingenTakeda/LspCpp | b80947ed76b6e307923d89aa703f632b5f27af18 | 8b7367be52c70acfe9264b26f76f5aeb68ce8a85 | refs/heads/master | 2022-12-08T08:09:44.113881 | 2020-08-07T09:34:23 | 2020-08-07T09:34:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,209 | h | #pragma once
#include <macro_map.h>
#include "optional.h"
#include <cassert>
#include <memory>
#include <string>
#include <type_traits>
#include <vector>
#include <functional>
#include <map>
#include <algorithm>
struct AbsolutePath;
enum class SerializeFormat { Json, MessagePack };
// A tag type that can be used... | [
"731784510@qq.com"
] | 731784510@qq.com |
990ac139b2fb52ea67d9cfcd2ef41b485f52499b | e60ca08722245d732f86701cf28b581ac5eeb737 | /xbmc/music/tags/VorbisTag.h | 63b366ed6af0a2f1abbb43defc7c67626dfcf488 | [] | no_license | paulopina21/plxJukebox-11 | 6d915e60b3890ce01bc8a9e560342c982f32fbc7 | 193996ac99b99badab3a1d422806942afca2ad01 | refs/heads/master | 2020-04-09T13:31:35.220058 | 2013-02-06T17:31:23 | 2013-02-06T17:31:23 | 8,056,228 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 307 | h |
#include "Tag.h"
namespace MUSIC_INFO
{
#pragma once
class CVorbisTag : public CTag
{
public:
CVorbisTag(void);
virtual ~CVorbisTag(void);
int ParseTagEntry(CStdString& strTagEntry);
private:
void SplitEntry(const CStdString& strTagEntry, CStdString& strTagType, CStdString& strTagValue);
};
}
| [
"pontesmail@gmail.com"
] | pontesmail@gmail.com |
a7d02ee352cc790ed548e6265b3edd1db4e742ef | 258a8d35efb2f35aca22de0ed8391010ad31efbb | /segmentsFitting2D/segmentsFitting2D/squareModel.cpp | 3eed8a0bbb29fab7b03b1b5b358f62596294b82a | [] | no_license | hatsil/thesis | b8c88a0ebab1462156cde10a674f35449b1bc9e8 | ae26983ed69e3863287be8188a66c5ef3971b3d0 | refs/heads/master | 2020-03-26T09:35:33.730729 | 2018-10-09T13:08:48 | 2018-10-09T13:08:48 | 144,754,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | cpp | #include "squareModel.hpp"
namespace thesis {
SquareModel::SquareModel():
positions({ {-1, 1}, {-1, -1}, {1, -1}, {1, 1} }),
texCoords({ {0, 0}, {0, 1}, {1, 1}, {1, 0} }),
indices({ 0, 2, 1, 0, 3, 2 }) {}
SquareModel::~SquareModel() {}
} /* namespace thesis */
| [
"tsahisa@post.bgu.ac.il"
] | tsahisa@post.bgu.ac.il |
3719406237c8b89a244fa4c7f9a689e7a8d34ed7 | fe2362eda423bb3574b651c21ebacbd6a1a9ac2a | /VTK-7.1.1/IO/Core/vtkGlobFileNames.h | 7ef3310d70ddb8a98ae1309d73fe43cda4a420d5 | [
"BSD-3-Clause"
] | permissive | likewatchk/python-pcl | 1c09c6b3e9de0acbe2f88ac36a858fe4b27cfaaf | 2a66797719f1b5af7d6a0d0893f697b3786db461 | refs/heads/master | 2023-01-04T06:17:19.652585 | 2020-10-15T21:26:58 | 2020-10-15T21:26:58 | 262,235,188 | 0 | 0 | NOASSERTION | 2020-05-08T05:29:02 | 2020-05-08T05:29:01 | null | UTF-8 | C++ | false | false | 3,807 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkGlobFileNames.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software i... | [
"likewatchk@gmail.com"
] | likewatchk@gmail.com |
e80227045e2985c216df8549cd7306e70d4f268f | de13afca11214483621369f0d055fee7dc9741aa | /tic_tac_toe.cpp | 47e669c0f5c744aa873e80ab3652eb5e7ab1aaea | [] | no_license | dhrupakpatel/game | ec0518a545ec47a94cafdcf5c9ee6e5e3882c49d | 634ee1593280e521bd11ee415698d71fb64e04fc | refs/heads/master | 2020-10-01T11:53:57.926115 | 2019-12-14T06:50:51 | 2019-12-14T06:50:51 | 227,532,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | #include <iostream>
#include "tic_tac_toe.h"
using namespace std;
int main()
{
int count=0;
Draw();
while (true)
{
count++;
Input();
TogglePlayer();
Draw();
if (Win() == 'X')
{
cout << "X wins" << endl;
break;
}
else if (Win() == 'O')
{
cout << "O wins" << endl;
break;
}
if (count ... | [
"noreply@github.com"
] | noreply@github.com |
433eeab330e650e67742c9825616de266daef2be | ff084134e271b3cd5947e9d70341cd7ec4cb2082 | /Prog3/TrabalhoC++/util/FileNotFoundException.h | 24ad95a1d6e152f7c087278f676da7d56a88a4ea | [] | no_license | HenriqueCruz5341/UFES | 0feeac8236da421d52758b4219f3a3a4b70a10a7 | 1f411e3a25430ee25f7e1bc8b0a393af6ff2408d | refs/heads/main | 2022-08-08T07:20:04.600028 | 2022-07-19T02:49:38 | 2022-07-19T02:49:38 | 209,062,477 | 2 | 0 | null | 2021-02-21T21:11:45 | 2019-09-17T13:32:14 | C | UTF-8 | C++ | false | false | 526 | h | #ifndef FILENOTFOUNDEXCEPTION_H
#define FILENOTFOUNDEXCEPTION_H
#include <string>
using namespace std;
class FileNotFoundException {
private:
string message;
public:
FileNotFoundException(const string& message);
string get_message();
~FileNotFoundException();
};
FileNotFoundException::FileNot... | [
"henriquepaulinocruz@hotmail.com"
] | henriquepaulinocruz@hotmail.com |
8c780dd9df6ededa18568b98835737249ef9ed20 | 128c759c5c22506c5e7fd76efaba4d5eac451d2a | /Memory.cpp | e7112e4fa7677f34e3fb10e1f1ecebf7f3d1cb26 | [
"MIT"
] | permissive | magnusfahlin/cuckoo_clock_controller | 18eb07f208ee4a06c8be59e7c0d62cac86e47554 | 58595e682e50bf8a65723f01a640527dff5bcf3a | refs/heads/master | 2020-04-11T15:35:33.358214 | 2019-01-05T04:47:40 | 2019-01-05T04:54:21 | 161,896,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,598 | cpp |
#include <SoftwareSerial.h>
#include "memory.h"
#include "logger.h"
#include <EEPROM.h>
#include <time.h>
void clearMemory()
{
EEPROM.begin(512);
logger("Clear memory");
for (int i = 0 ; i < EEPROM.length() ; i++) {
if(EEPROM.read(i) != 0) //skip already "empty" addresses
{
EEP... | [
"magnus@fahlin.org"
] | magnus@fahlin.org |
e5c2fe5b31cf4636fc82143ae88ba4314fc26667 | ba7f467e4e1a37486d0da56139919c59678bbaa6 | /src/main.hpp | ad0d718786cf2b1a7e31d44f3e3f03c910588736 | [] | no_license | ExPie/GameBoyEmu | 4d109721d2b46044b1da4493eecd9f98a96767aa | ff86bbccb092b77caac77c64038fa1fcfc08e55a | refs/heads/master | 2020-03-26T21:35:10.621998 | 2018-08-20T09:36:59 | 2018-08-20T09:36:59 | 145,396,562 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 128 | hpp | #ifndef MAIN_HPP
#define MAIN_HPP
void printHello();
class Adder {
public:
static int add(int, int);
};
#endif
| [
"noreply@github.com"
] | noreply@github.com |
5944e2fbbcc574b288190689651ae2c28e2b95d2 | 81b6521d8204a962b908094deb8998c291cdb07b | /Multi-University-2016-round4/1009.cpp | c7d1f0df2bb1665f01cbeba028896ac69d4c8acc | [] | no_license | doldre/ACM | 9c86c242a347e5b31daa365ddf0e835af7468fa9 | 23e4694fee51831831b1346b8ccc0e97eebef20a | refs/heads/master | 2020-04-12T02:29:59.345719 | 2017-04-10T08:15:10 | 2017-04-10T08:15:10 | 55,833,991 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,131 | cpp | /************************************************
*Author :mathon
*Email :luoxinchen96@gmail.com
*************************************************/
#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <st... | [
"luoxinchen96@gmail.com"
] | luoxinchen96@gmail.com |
fd05e6211e5f7243d97ca373a6e14c577dde04f4 | c477953bed4124c1ca4046ac58723eae6e34e6df | /mbed-os-test-program/main.cpp | 20e15ca2ac82089569744e42ab7ba202c832597d | [] | no_license | yuchen0816/mbed01 | 74dfe8e9954fd1d6dbf7fe77e2f138f03ad22931 | 94c176cacee4524e2e65ed50f9823c54606c3b6a | refs/heads/master | 2023-03-10T22:24:01.598211 | 2021-03-01T16:48:07 | 2021-03-01T16:48:07 | 342,738,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | #include "mbed.h"
DigitalOut myled(LED2);
DigitalOut myled2(LED1);
int main()
{
while (1)
{
myled = 1; // set LED2 pin to high
myled2 = 0; // set LED1 pin to low
ThisThread::sleep_for(1s);
myle... | [
"kevinxiao0816@icloud.com"
] | kevinxiao0816@icloud.com |
e04b58a25ab3b35c04417fddb217b450b5a55bf6 | 7524106d9776f24311be4e6050cedd2a10e31282 | /problems/contests/dated/2020_05_04/x2_poj2013/xmain_2_poj2013.cpp | b3732194236cb2169a9db5c60ab46be70f2636fb | [] | no_license | Exr0nProjects/learn_cpp | f0d0ab1fd26adaea18d711c3cce16d63e0b2a7dc | c0fcb9783fa4ce76701fe234599bc13876cc4083 | refs/heads/master | 2023-04-11T08:19:42.923015 | 2021-01-27T02:41:35 | 2021-01-27T02:41:35 | 180,021,931 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | /*
TASK: 2_poj2013
LANG: C++14
*/
/*
* Problem 2_poj2013 (contests/dated/2020_05_04/2_poj2013)
* Create time: Sat 16 May 2020 @ 12:01 (PDT)
* Accept time: Sat 16 May 2020 @ 12:27 (PDT)
*
*/
#include <iostream>
using namespace std;
const int MX = 31;
char names[MX][MX];
int main()
{
int N, kase=0;
while (scan... | [
"spotyie@gmail.com"
] | spotyie@gmail.com |
539631b0af79d63385cbe5ba51b493b0b3a4c36a | 766a016b2b203c902f1c7600a1da8b07e1d7cb2f | /DP/DigitDp/ABC_135D.cpp | f5e3c258a6a45365c8ffcf0561b4cc8e637d1905 | [] | no_license | 1604078-MEHEDI/Competitive | f8143e96184b321d3e409890658152538db91c03 | 4f3a0d178d1fd44d4913d5a6bf42b6884829408d | refs/heads/master | 2020-12-17T07:17:53.604618 | 2020-11-08T08:56:36 | 2020-11-08T08:56:36 | 235,286,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,198 | cpp | /*بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيم*/
//#pragma GCC optimize("O3,unroll-loops")
//#pragma GCC target("avx,avx2,fma")
#include <bits/stdc++.h>
using namespace std;
#define FASTIO ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
typedef long long ll;
using pii = pair<int, int>;
const double PI = acos(-1.0)... | [
"hasanmahadi877@gmail.com"
] | hasanmahadi877@gmail.com |
eebd6ae9441bc1cc6fe2ab621a64f39c281ddd9f | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-2384.cpp | 3e0435d184e663637652bdb1f6cdc535ed9866fc | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,511 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1
{
bool ac... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
497a0dd2d66e1ec94a43b5c49dc6b369baf3c8b2 | 21d7beb924a92b8479ded6814beab931d82fcf64 | /Temp/StagingArea/Data/il2cppOutput/Il2CppMetadataRegistration.cpp | 8a15dedb0e73156204b83b18edefc51b6ca3f3ca | [] | no_license | DeepExplorer/Hololens-Project-Unity3D-Solar-System-Simulator | f10559b3854b3bd6f7ae104268939ff7541424cb | 528f7fd0e83d277dfa702c04e19db141149dcc83 | refs/heads/master | 2021-01-23T03:48:17.782501 | 2017-03-24T21:29:41 | 2017-03-24T21:29:41 | 86,125,590 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | 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 "class-internals.h"
#include "codegen/il2cpp-codegen.h"
extern Il2CppGenericClass* const s_I... | [
"ddong1@andrew.cmu.edu"
] | ddong1@andrew.cmu.edu |
904d6a6307ece35e6d4a24fac592623ff1a3e2b9 | 87d2a6c5afaa00ba4467a406a38464f407bc4115 | /gsm/src/with_bug/gsm/solution1/syn/systemc/Quantization_and_cod.h | 92650c7453c2c2dc15456421169d7f480e7622ee | [] | no_license | koodg123/aqed-dac2020-results | a27c2971d3f9ca716280e3a5f615424789d1a202 | 7e59696026f06ecfecaab62bb7902a781fe43d67 | refs/heads/master | 2022-11-22T01:36:58.244512 | 2020-07-29T17:35:26 | 2020-07-29T17:35:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,838 | h | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2018.2
// Copyright (C) 1986-2018 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#ifndef _Quantization_an... | [
"esingh@rsg1.stanford.edu"
] | esingh@rsg1.stanford.edu |
03e56d564c4f2d5956be90ab0831e2033431a148 | 83b760ac2f72d08f46c424917ebbf4424f7531be | /src/CommandExpression.h | e7f4e7e76b678690055f2ec6343b68f594d56a54 | [] | no_license | elyawy/stepping_stone1 | 96582517883d458a7136d57db832f650abd5fe73 | 8ac70c372105f4f583e5ded5c0fc2082fabadbc2 | refs/heads/master | 2020-04-11T04:33:01.479821 | 2018-12-29T21:38:21 | 2018-12-29T21:38:21 | 161,515,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | h | //
// Created by elyawy on 12/16/18.
//
#ifndef STEPPING_STONE1_COMMANDEXPRESSION_H
#define STEPPING_STONE1_COMMANDEXPRESSION_H
#include "Expression.h"
#include "Command.h"
#include <vector>
class CommandExpression: public Expression {
private:
Command *command;
public:
explicit CommandExpression(Command ... | [
"elya.wygoda@gmail.com"
] | elya.wygoda@gmail.com |
cd2958be4f8de40db09617a528b3c5185e757af5 | 8424364474156e6b057678ff4d4afabdfd914aad | /include/pipeline/pipe_pair.hpp | 5d6717a0b230d9be7a38d74773cd5ad1ffae01e1 | [
"MIT"
] | permissive | kerwinzxc/pipeline | fcb278a87305e77e4f2adb72a9ad2ae728c3cd76 | 31fffe6af101da57513eebca7518b1e434f5de87 | refs/heads/master | 2022-12-31T11:52:39.187233 | 2020-10-13T21:52:55 | 2020-10-13T21:52:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | hpp | #pragma once
#include <pipeline/details.hpp>
namespace pipeline {
template <typename T1, typename T2> class pipe_pair {
T1 left_;
T2 right_;
public:
pipe_pair(T1 left, T2 right) : left_(left), right_(right) {}
template <typename... T> decltype(auto) operator()(T &&... args) {
typedef typename std::resul... | [
"pranav.srinivas.kumar@gmail.com"
] | pranav.srinivas.kumar@gmail.com |
62459c74d4b5997e2b8ad5d4d0e1d1930563f03a | b511bb6461363cf84afa52189603bd9d1a11ad34 | /code/bear_and_finding_criminal.cpp | 26f3c67ea7c734997933575a9b6704a24d4c9beb | [] | no_license | masumr/problem_solve | ec0059479425e49cc4c76a107556972e1c545e89 | 1ad4ec3e27f28f10662c68bbc268eaad9f5a1a9e | refs/heads/master | 2021-01-16T19:07:01.198885 | 2017-08-12T21:21:59 | 2017-08-12T21:21:59 | 100,135,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include<bits/stdc++.h>
#define For(i,a,b) for(i=a;i<=b;i++)
using namespace std;
int main()
{
int t1,t2,sum,arr[100],i,count=0;
cin>>t1>>t2;
For(i,1,t1){cin>>arr[i];}
For(i,1,t1){
if(arr[i]==1 && 2*t2-i>0 && 2*t2-i<=t1 && arr[i]==arr[2*t2-i])
count++;
if(arr[i]==... | [
"masumr455@gmial.com"
] | masumr455@gmial.com |
5191702c5ce47ab90d89591f2301d438cd11a750 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12766/dir12767/dir13029/dir15097/dir18970/file19164.cpp | 429b6cdc8d1fab7ef29b49e511a849df4415fed4 | [] | 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 file19164
#error "macro file19164 must be defined"
#endif
static const char* file19164String = "file19164"; | [
"tgeng@google.com"
] | tgeng@google.com |
198e25e0211e28132be726ba5e40e6895d05a3f2 | 9bc82a513c67d9f652a92f0ebb49779194c35633 | /onewirelibrary/OneWire++/LOW_deviceID.cpp | 143fb1403b2444f1f99ecee89b9fb1baf447cedf | [] | no_license | colek/homeis | 94ceef311059cab29cfb86aa0af541735944c2f5 | 7dd4c999bee6bd0557e56d9e85114f5084df0eb8 | refs/heads/master | 2021-01-15T10:59:53.608874 | 2016-05-16T19:32:37 | 2016-05-16T19:32:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,368 | cpp | /***************************************************************************
LOW_deviceID.cpp - description
-------------------
begin : Sat Jul 6 2002
copyright : (C) 2002 by Harald Roelle
email : roelle@inform... | [
"root@debian.localdomain"
] | root@debian.localdomain |
eb069a018a85df47023691c4183ffd5a2505fd07 | e2aca07940cde5a34022bd5f2daaca3ba4961c9e | /AnimationFSM/Animation.h | 659b6d415f2bf601664dde4bfbc3f35951c01bf8 | [] | no_license | AshleighHenry/FSMAni | de062a20aab6c94178ebe1741f49590f98ebf6a0 | 0a4a5b828f09ec1480f3c7a6444034bd4c332fd6 | refs/heads/master | 2020-04-04T17:46:37.824524 | 2018-11-12T11:01:32 | 2018-11-12T11:01:32 | 156,135,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | h | #ifndef ANIMATION_H
#define ANIMATION_H
class Animation
{
// Please review very good article on Stackoverflow
// which covers some solutions to circular dependacies
// https://stackoverflow.com/questions/625799/resolve-build-errors-due-to-circular-dependency-amongst-classes
private:
class State* m_current; // no... | [
"34344066+AshleighHenry@users.noreply.github.com"
] | 34344066+AshleighHenry@users.noreply.github.com |
ef06b02333a8bb2f261b35ae117e6bdd8bd4a3b0 | ef36544b396de62f3520e0f4396d1060dd34e29f | /C++11And14/main.cpp | 77ecef7ab44782323f5302e77ca1e6ee57f10ca9 | [] | no_license | dargouder/CPPSandbox | 092c87dba18bec1af583b4c8003ff7da447387dc | b4c9b0ab9da034acc27d258b7e66928adf223e4c | refs/heads/master | 2016-08-11T13:23:12.868249 | 2016-01-13T22:35:10 | 2016-01-13T22:35:10 | 49,006,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 181 | cpp | #include "SmartPointers.h"
#include "DiamondProblem.h"
#include "BasicTemplates.h"
int main() {
//TestUniquePtrMove();
//TestDiamondProblem();
TestBasicTemplate();
return 0;
} | [
"dargouder@gmail.com"
] | dargouder@gmail.com |
6426251c16063a13c01542590d842ed54f2275d9 | 6360920d56576528524ef306d5d110d881e6dd24 | /SkellyDefense/Source/SkellyDefense/SkellyDefensePlayerState.h | 6984ea6420ed0cfc757d87c8679544bf1996bc76 | [] | no_license | DylanWard14/Stones-Bones | 19f07edbcfb2f527739a7d576f0265ad02039f1f | 942411e1013cb671db5b9e19644f80fd0dced9c7 | refs/heads/master | 2021-01-23T01:52:06.249569 | 2017-04-30T07:18:41 | 2017-04-30T07:18:41 | 85,941,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/PlayerState.h"
#include "SkellyDefensePlayerState.generated.h"
UCLASS()
class SKELLYDEFENSE_API ASkellyDefensePlayerState : public APlayerState
{
GENERATED_BODY()
public:
private:
};
| [
"dylan.ward@iinet.net.au"
] | dylan.ward@iinet.net.au |
9527f96d6fb2d8b19021e8d3aee33fcd2f1660dd | e95fa74aa013255ffe80aff51223c1877ede6ecd | /C10_Libraries/Plugins/VRExpansionPlugin/OpenVRExpansionPlugin/Intermediate/Build/Win64/UE4/Inc/OpenVRExpansionPlugin/OpenVRExpansionFunctionLibrary.gen.cpp | c135f1f9ceedee7672ab6a6908f7ce1df80575e4 | [
"MIT"
] | permissive | PacktPublishing/Unreal-Engine-4-Virtual-Reality-Projects | 259151037a9e3d682ffd2036d4e6d4647d1765bd | 49d512598d32f224f1484e72543ea6862388a391 | refs/heads/master | 2023-01-29T18:02:26.072416 | 2023-01-18T09:59:22 | 2023-01-18T09:59:22 | 182,068,224 | 37 | 20 | null | null | null | null | UTF-8 | C++ | false | false | 232,544 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"kmack@manicmachinegames.com"
] | kmack@manicmachinegames.com |
8bd9927b58f013b07b76c26cb398c3a4bb3fa913 | 1d11c85de9cad856ebe2bf753b543092d8a5af60 | /HalfPyramid.cpp | e7562b11b9aa9db6b27fb3f86646443bb12efea4 | [] | no_license | IMPranshu/DSA-C- | dc08685c31e5e84d8bb0280c090d5c33d6ac3b2a | b884af1adaa35835d5d60ab87ed2aea20fd40896 | refs/heads/main | 2023-08-31T05:40:35.482213 | 2021-10-20T04:47:50 | 2021-10-20T04:47:50 | 361,435,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | #include<iostream>
using namespace std;
int main()
{
int n;
cout<<"\nEnter number:";
cin>>n;
for(int i=1;i<=n;i++){
for(int j=1;j<=n;j++){
if(j<=n-i){
cout<<" ";
}
else{
cout<<"* ";
}
}
cout<<endl;
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
0b2c511645896cebf176ed4552a7db3ac8cc1681 | f805770745b4f7fe60c2c938950697ce26a882dd | /ffmpeg_mpegts_pusher/ffmpeg_mpegts_pusher/ffmpeg_mpegts_pusher.cpp | d0c4aa396fbabd0a162962f55dc174ac9f6f264e | [] | no_license | diyc/ffmpeg_demo | b704c5d68e970779592ea185d79743a233b9852e | f4dad752a4c9b502f63890fe40b2ffc96432b0fb | refs/heads/master | 2022-07-31T01:31:33.553057 | 2020-05-24T12:04:57 | 2020-05-24T12:04:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | cpp | #include "x_input_stream.h"
#include "x_output_stream.h"
int main()
{
xInputStream input;
xOutputStream output;
avformat_network_init();
avdevice_register_all();
//if (false == input.OpenFile("../../test_video/失眠飞行.mp4", true))
// return -1;
if (false == input.OpenScreen(true))
... | [
"mushroomcode@126.com"
] | mushroomcode@126.com |
af8f76f85066bf1c6515b2903532cd75e953ae52 | 7f9435a8800b19975caa63cb5c5a7566e7866429 | /r conversii2.cpp | 845cd10baeb5fedf2527d275e516ccb193cf80b4 | [] | no_license | MihaiAntoniu/Proiect_Algoritmi | 29861ec40c2c015863de6dba27692d4ab9190c8c | 84c08c78b57b065d69a6920f076e991062ad8fe2 | refs/heads/main | 2023-05-13T21:33:22.474041 | 2021-06-10T18:30:28 | 2021-06-10T18:30:28 | 375,793,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | //R-> B10
#include <iostream>
using namespace std;
int b10, bq=0, bl=0, r,q,l,uc;
long p=1;
int main()
{
cout<<"NR Bq=";
cin<<bq;
cout<<"Baza in care este:";
cin>>q;
cout<<"Baza in care se schimba:";
cin>>l;
//Bq-->B10
while(bq){
uc=bq%10;
bq=bq/10;
b10=b1=+uc... | [
"noreply@github.com"
] | noreply@github.com |
4dad3ab368865204422dfd02d2ba5983bd4f2f8a | 767dfdcd1c08cf6232c405482821fd210143836f | /scr/MatrixGraph.cpp | 477d69b9c3513c4d9237b5bb08c5904ce67f9098 | [] | no_license | TomaszLatusek/PAMSI2 | ffd23a4ec43c0365da657f62c589811ee10c6257 | 747e8a1ccb1ecc5ce9c25f669dec62084e1b54c8 | refs/heads/main | 2023-05-01T12:43:35.422978 | 2021-05-11T09:00:50 | 2021-05-11T09:00:50 | 364,307,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,986 | cpp | #include "../inc/MatrixGraph.hh"
#include <iostream>
#include <algorithm>
MatrixGraph::MatrixGraph(int vertCount, int edgCount)
{
verticesCount = vertCount;
edgesCount = 0;
parent = new int[verticesCount];
matrix = new Edge **[verticesCount];
edgeList = new Edge *[edgCount];
key = new int[vert... | [
"tomaszlatusek.tl@gmail.com"
] | tomaszlatusek.tl@gmail.com |
ebff05843246f976ce2cf5c8b90b3e1bc01a481d | 6fb133f8b08b7fb442a1154820ef45e8d38cd3e9 | /3038.cpp | 25ef106a2bb4674880e33ba41dc0a0c75eeaede0 | [] | no_license | SungMinCho/BOJ | 8a2bbf823d709bb41d4d1ba02f1dd135baba7bfb | 72e7ba70f9418644603b5349f6c79faaa0f07235 | refs/heads/master | 2020-04-12T11:16:57.923229 | 2018-12-25T12:21:24 | 2018-12-25T12:21:24 | 162,454,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 808 | cpp | #include <stdio.h>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <string>
#include <algorithm>
#include <iostream>
#include <climits>
#include <stdlib.h>
using namespace std;
int n, N;
vector<int> ans;
vector<int> depth;
int main() {
scanf("%d", &N);
ans.resize(1);
... | [
"tjdals4565@gmail.com"
] | tjdals4565@gmail.com |
369ed05f4d0884fe9309a5de12906b24d827e8a3 | d7c77018b0c5e7d1e6e24d82fa905a1ac5b0a85e | /URI - Online Judge/UOJ_1118 - (992774) Accepted.cpp | e30060dbb9c31a04223f2016bf3e34ab12579f9b | [] | no_license | muresangabriel-alexander/cplusplus-competitive | 9396cff60c6be0f5ae3d307f58e350423e336764 | 4a17656ccbea58d779bf5bd74aed5edb9c579ca6 | refs/heads/master | 2021-04-28T07:57:22.419138 | 2018-02-20T18:42:59 | 2018-02-20T18:42:59 | 122,238,407 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 983 | cpp | #include<iomanip>
#include<iostream>
using namespace std;
int main()
{
int note=0,y;
double x,s=0;
while(note<2)
{
cin>>x;
if(x<0 || x>10)
cout<<"nota invalida"<<endl;
else
{
s=s+x;
note++;
}
}
cout<<fixed<<setprecision(2)... | [
"muresangabriel.alexandru@gmail.com"
] | muresangabriel.alexandru@gmail.com |
f02ba3c5d5a796b92ef72031cf6d30634881f75f | 0398a803952c81bed842d243ffc626bc78ed2465 | /Backtracking/NQueens.cpp | 841bbd05fce66f6204878ad66c724a8b17acce45 | [] | no_license | mukesh148/InterviewBit_Codes | 685d6d95f766651577968e55b28cc9f927960c22 | 323ebda4c91860da7054c7914f597c6f996a552a | refs/heads/master | 2020-03-25T16:06:19.860815 | 2018-08-29T10:26:49 | 2018-08-29T10:26:49 | 143,914,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | cpp | vector<string> solToStrings(const vector<int>& sol) {
int n = sol.size();
vector<string> sol_strings(n);
for (int i = 0; i < n; ++i) {
sol_strings[i] = string(n, '.');
sol_strings[i][sol[i]] = 'Q';
}
return sol_strings;
}
bool isAvailable(const vector<int> &solution, int i, int j) {... | [
"mukeshkhod0001@gmail.com"
] | mukeshkhod0001@gmail.com |
a1e17b93cc5df69ebff468e291e24a22c59943c4 | 81a1ffac3f9f0f0d656ff6e95bf5f2913eb93666 | /src/data.utilities/linear_interpolation.h | 536738eaf3bd1c6e0c8928660afd9d007a766c3f | [] | no_license | mccabe082/Simple-Aircraft-Simulator | 6dd0622130f588a5e797729844697e9f36f525a6 | e4f1e16d398ff3da9513cbb0b5a07715ad8b67f2 | refs/heads/master | 2022-07-03T05:45:44.553576 | 2020-05-17T22:49:01 | 2020-05-17T22:49:01 | 262,423,396 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 216 | h | #pragma once
#include "data.utilities/lookup_table_1d.h"
#include <string>
namespace DataUtilities
{
class LinearInterpolation : public LookupTable1D
{
public:
double operator()(double x) const override;
};
} | [
"david.mccabe082@gmail.com"
] | david.mccabe082@gmail.com |
5ed23640df83b379c9f2c84e49227825f1041257 | 0ccea259b422acece7d39980bc99b791d1243245 | /Cheat/SDK/license/license_manager.cpp | 6c45570b528b282bd28130cf8fb838d156b68a04 | [] | no_license | n30np14gu3/ALPHA_PROJECT | 1702e6b98aa215417b7ce529d1040f73d3afe90b | d16f649b881275815128a0f7b23cf03cd124fdb3 | refs/heads/master | 2023-01-25T03:39:20.513554 | 2020-11-25T16:33:54 | 2020-11-25T16:33:54 | 190,072,353 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,349 | cpp | #include<iostream>
#include<ctime>
#include <rapidjson/document.h>
#include "../globals/globals.h"
#include "../network/http/http_request.h"
#include "../crypto/XorStr.h"
#include "../static/modules_ids.h"
#include "license_manager.h"
#include <Windows.h>
using namespace std;
namespace license_manager
{
bool getMod... | [
"darknetsoft@yandex.ru"
] | darknetsoft@yandex.ru |
f1866523022f240e024852d39a2fd8cd2b4eb923 | 6d162c19c9f1dc1d03f330cad63d0dcde1df082d | /qrenderdoc/3rdparty/scintilla/src/PerLine.h | 4bf1c88fdd62753a4d6ae65d7b3eb68b42b026cc | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-scintilla"
] | permissive | baldurk/renderdoc | 24efbb84446a9d443bb9350013f3bfab9e9c5923 | a214ffcaf38bf5319b2b23d3d014cf3772cda3c6 | refs/heads/v1.x | 2023-08-16T21:20:43.886587 | 2023-07-28T22:34:10 | 2023-08-15T09:09:40 | 17,253,131 | 7,729 | 1,358 | MIT | 2023-09-13T09:36:53 | 2014-02-27T15:16:30 | C++ | UTF-8 | C++ | false | false | 3,339 | h | // Scintilla source code edit control
/** @file PerLine.h
** Manages data associated with each line of the document
**/
// Copyright 1998-2009 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#ifndef PERLINE_H
#define PERLINE_H
#ifd... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
7485d9afe0e311289d9cbf504e7200a60990642c | 2a95329d64cf96293561917ca3509299672257ec | /src/TemplateActionFactory.h | 0ddb732af110585f4b4f1009d4d6134358ea76fa | [
"MIT"
] | permissive | heltena/KYEngine | 1c58499720e044be701a609cc3ca4c5baa1550b7 | 4ccb89d0b20683feb245ffe85dd34b6ffdc42c8e | refs/heads/master | 2021-01-01T08:06:26.163234 | 2020-02-08T18:55:12 | 2020-02-08T19:16:45 | 239,187,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | h | #pragma once
#include <tinyxml.h>
#include <string>
class Action;
class TemplateActionFactory
{
public:
virtual Action* readFromXml(const std::string& prefix, TiXmlElement* node) = 0;
}; | [
"heltena@gmail.com"
] | heltena@gmail.com |
438efc87ffaaa8225d761e8c254db989d4cec18b | 3166d0c59d27ea2f1156f0bdd1ab847b3fc754d5 | /8_ID_Gauss_seidel_update/gauss_correct.cc | 6426e4c45170243a04ad5197644f57e945b50134 | [] | no_license | adderbyte/High_performance_Computing_OPenMP_MPI_GPU | c8a54f7a3968108f2dd18b589fdbdd61c4444845 | 560dfd478d9c7ea341521ec93968731ebd900043 | refs/heads/master | 2022-01-25T10:35:00.660081 | 2019-06-19T21:50:23 | 2019-06-19T21:50:23 | 82,639,942 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,423 | cc | #include<iostream>
#include<iomanip>
#include<math.h>
#include<random>
#include <sstream>
#include <chrono>
#include "mpi.h"
#include "utils.h"
typedef std::chrono::high_resolution_clock clk;
typedef std::chrono::duration<double> second;
using namespace std;
int main( int argc , char **argv )
{
//check argument ... | [
"noreply@github.com"
] | noreply@github.com |
3f2a604ccf7c340e07c69996fd7936ccf6c0936b | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-es/source/model/CancelElasticsearchServiceSoftwareUpdateRequest.cpp | d59d974b5551cbffb6adc3cd5deb042d99bfc78c | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 766 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/es/model/CancelElasticsearchServiceSoftwareUpdateRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::ElasticsearchService::Model;
using n... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
bbb21d506b42d85ca1073c1263c855f9b16c1810 | 2cea1d23405b15d8eb5bcc091aa144ee69d28338 | /hw4/bookstore/electronic.cpp | d5f78b708abdbb06f157825f2a7081f984792689 | [] | no_license | nksharath/CPP-Fun-Stuff | 1adbd79fb49f07272303f941d679f48c414357d0 | adca9dbd37c5bc84bbec64ce2095f086c6671dd9 | refs/heads/master | 2020-04-05T22:52:30.887029 | 2013-10-18T14:25:23 | 2013-10-18T14:25:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | /*
*@Author : Sharath Navalpakkam Krishnan : Batch : 4003-700-01
*@Author : Pratik Mehta : : Batch : 4003-700-01
*@Version : 1.0.1
*@LastModified : 09/28/2012 1.25 PM
*
*/
#include "electronic.h"
#include<iostream>
#include "inventory.h"
using namespace std;
//Takes user input and searchs Eobject
... | [
"nksharath@gmail.com"
] | nksharath@gmail.com |
5d6eb75a673d47fac45fcb00a10217ca6c96858c | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /Sinelnikov/lab4/code/Base.cpp | 4add70d4365ddcd9555dc0f65844058f32d3131c | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 4,377 | cpp | //
// Created by max on 05.03.20.
//
#include "Base.h"
#include "Field.h"
int Base::getBaseXp() {
return this->basexp;
}
int Base::getMaxNumberOfUnits() {
return this->max_number_of_units;
}
int Base::getNumberOfUnits() {
return this->number_of_units;
}
int Base::getMaxXp() {
return 10;
}
void Bas... | [
"sinelnikovmaxim2000@mail.ru"
] | sinelnikovmaxim2000@mail.ru |
d2dcc3586004fdfb5863cc3a4a76727ee4d69772 | 9409914df889e026aa4d5ba3676cbfe9b36adabf | /MonoEngine/Math/Quad.h | daf73917e846909351cc1c3bf9427cd7b4e87a8d | [] | no_license | ifschleife/Mono1 | dc03beb6c6e143b8585844607b3b26f124d864c9 | 216df2af8cf6d98cda9c3b7763197aab8d925647 | refs/heads/master | 2021-09-01T06:30:37.898269 | 2017-12-24T12:06:40 | 2017-12-24T12:06:40 | 114,937,547 | 0 | 0 | null | 2017-12-20T22:37:18 | 2017-12-20T22:37:18 | null | UTF-8 | C++ | false | false | 957 | h |
#pragma once
#include "Vector.h"
namespace math
{
struct Quad
{
constexpr Quad()
{ }
constexpr Quad(float x, float y, float w, float h)
: mA(x, y),
mB(w, h)
{ }
constexpr Quad(const Vector& a, const Vector& b)
: mA(a),
... | [
"niklas.damberg@gmail.com"
] | niklas.damberg@gmail.com |
ec56543b0678d0ad0b34533c4c31a247ceb9ac58 | 9c41624d538aa1cc735cc97011fa2b63f6ad82ed | /.history/课设beta0_1_20201224164352.cpp | f0c522db5f0da1abcce32ea6aec7c5151298e7e8 | [] | no_license | WanchengWildMan/HRManageMent | b90e9b55cba7707e4aaeb6aa297e2b3cece53ab6 | 284b94830fcc1dc95361176da6609896da9d2d6f | refs/heads/main | 2023-02-04T21:04:15.814180 | 2020-12-30T10:09:32 | 2020-12-30T10:09:32 | 318,743,424 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 12,489 | cpp | #include <bits/stdc++.h>
#define four 20000;
#define three 15000;
#define two 8000;
#define one 4000;
using namespace std;
#define inf 0x3f3f3f3f
string JOBS[] = {" ", "经理", "销售经理", "兼职技术人员", "兼职推销员"};
int PLUS_STEP_NUM;
double PLUS_RATE[7];
double MONEY_PER_HOUR;
double MONEY_MANAGER = 20000, MONEY_SALEMANAGER = 1500... | [
"1150327966@qq.com"
] | 1150327966@qq.com |
845ecd4c902d9c747c8c6d0f5b37e279ab5743c3 | b2c6e51024cc0f65e2468f697841fd7fbd3bad22 | /au_sonar_repo_postrobosub2018/stm32/F7_limitedHAL/src/main.cpp | da4702fdd8995bdb74429187411ab611cf734583 | [] | no_license | mbardwell/SONAR | 8a14b148fa4ed99cc31df2f1041006a39bf18920 | 248701a7e4b58c9e417c95080893547741828de3 | refs/heads/master | 2020-06-24T11:35:34.533358 | 2018-08-21T22:30:29 | 2018-08-21T22:30:29 | 96,934,658 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,433 | cpp | /**
******************************************************************************
* File Name : main.c
* Description : Main program body
******************************************************************************
** This notice applies to any and all portions of this file
* that are not ... | [
"bardwell@ualberta.ca"
] | bardwell@ualberta.ca |
b0d0c61bb9b9d4e2517d3117cf4a79c303c249c0 | 11ef4bbb8086ba3b9678a2037d0c28baaf8c010e | /Source Code/server/binaries/chromium/gen/third_party/blink/renderer/bindings/core/v8/v8_worker_internals.cc | af21435214a65e69ea3c8f1751d3c3a33239ba21 | [] | no_license | lineCode/wasmview.github.io | 8f845ec6ba8a1ec85272d734efc80d2416a6e15b | eac4c69ea1cf0e9af9da5a500219236470541f9b | refs/heads/master | 2020-09-22T21:05:53.766548 | 2019-08-24T05:34:04 | 2019-08-24T05:34:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,443 | cc | // Copyright 2014 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.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/interface.cc.tmpl
// by the script code_gen... | [
"wasmview@gmail.com"
] | wasmview@gmail.com |
94a3919132b37c5cfbb4ac513712057eef2a480d | b581cb3e866a710d95055efe8b80b53b1defe318 | /fuse.cc | 2bd7e80317aaacdb02ffd0550a8439bf3e67b008 | [] | no_license | xyzhu1120/cselab | 5d44d86d4827a026425c6e821ed79271f315fb0e | 7524883fb882e3e32f631451faf78208c4214130 | refs/heads/master | 2021-01-19T06:37:16.647483 | 2013-01-15T14:43:29 | 2013-01-15T14:43:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,905 | cc | /*
* receive request from fuse and call methods of yfs_client
*
* started life as low-level example in the fuse distribution. we
* have to use low-level interface in order to get i-numbers. the
* high-level interface only gives us complete paths.
*/
#include <fuse_lowlevel.h>
#include <stdio.h>
#include <stdli... | [
"xyzhu1120@gmail.com"
] | xyzhu1120@gmail.com |
7860939d2a267159b72f7b90af19ca28fbfc7002 | 5b317bcd16b0679b57ead391297fc73336ccf1d7 | /src/vscp/proto/serverprotoanalyzer.h | 92d3383c3bdde3d173d029dece9141864f8045f1 | [] | no_license | khvysofq/vscp | 72c2bae4b128ec58eedc5e877fe532eae8b77d4c | 849ecb972a42029f764df9dae6df15c134aa161a | refs/heads/master | 2021-01-10T20:52:38.437757 | 2014-12-23T03:34:00 | 2014-12-23T03:34:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | h | // Vision Zenith System Communication Protocol (Project)
#ifndef VSCP_PROTO_SERVER_PROTO_ANALYZER_H_
#define VSCP_PROTO_SERVER_PROTO_ANALYZER_H_
#include "json/json.h"
#include "vscp/proto/protobasicincludes.h"
#include "vscp/proto/baseprotoanalyzer.h"
namespace vscp {
class VscpServerProtoAnalyzer : public VscpB... | [
"guangleihe@gmail.com"
] | guangleihe@gmail.com |
ffa9766b3dddd34a8883f0acbcb499c7ac3e70d7 | 01d61a4f248c22d7778b8d15bd45a034db49a34f | /graphics_framework/include/cVertexShader.h | 652e1b04365858fc239ca523797b7116e5a65067 | [] | no_license | y1z/Directx_Framework_Project | 5a55cf02c374574b7777d94d64977d8f40ea48c5 | 15d89d27ae432a2323513621dc62bfbf14e411b8 | refs/heads/master | 2020-07-26T13:52:27.281518 | 2019-12-06T09:46:52 | 2019-12-06T09:46:52 | 208,665,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | h | #pragma once
#include "utility/enGraphics.h"
#include "cShaderBase.h"
class cVertexShader : public cShaderBase
{
public:
cVertexShader();
cVertexShader(cVertexShader &&other);
cVertexShader(const cVertexShader &other) = delete;
~cVertexShader();
public:
#if DIRECTX
//! for argument's that require 1 point... | [
"whyis2cool@gmail.com"
] | whyis2cool@gmail.com |
21e9834553f427976eba12adcd59289723b89673 | 6321c83c09d1d844237d6e051da43e3326dae4b0 | /RacketGame/mainwindow.h | b4bd8a21a2926c0b1309cd15c327d45d58834168 | [] | no_license | progstorage/resume_programs | b1fb7312010b735458901d3db701c9d6608e0569 | ab32bf5cd31456138873a87981970cb73478c77f | refs/heads/master | 2021-01-14T04:23:06.599146 | 2020-08-03T22:20:41 | 2020-08-03T22:20:41 | 242,598,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,350 | h | #pragma once
#include <cmath>
#include <QDebug>
#include <QKeyEvent>
#include <QMainWindow>
#include <QPixmap>
#include <QThread>
/***********************************************
TODO:
1) 2й поток (для ракетки)
2) указывать текущий счет
+ завести переменную score
3) после окончания игры предложить начать заново
(с... | [
"59603419+progstorage@users.noreply.github.com"
] | 59603419+progstorage@users.noreply.github.com |
b131a7e142a40e033ab28d869f0864aaf862315d | 00c801555acd14c9e620242d4f177d5fe406fc01 | /Baekjoon/11729_하노이 탑 이동 순서.cpp | 6a2d35e9afad5cd51e6cfaee6090f257143be42f | [] | no_license | moray0211/Algoritm-practice | bd4fb9869cf62a817ab3dd29d396a416c78a5fb6 | ff3cdf51ac33c1b54437bc5f8d122dbcb25b2bbd | refs/heads/master | 2021-03-17T05:54:57.275788 | 2021-03-09T04:58:10 | 2021-03-09T04:58:10 | 246,968,028 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 728 | cpp | #include <cstdio>
#include <vector>
#include <utility>
using namespace std;
int N; //장대에 쌓인 원판의 갯수
int num = 0;
vector <pair<int, int>> result;
void hanoi(int n, int from, int by, int to) {
if (n == 1) {
result.push_back(make_pair(from, to));
num++;
}
else {
/*
현재 탑을 1->3->2 로 옮긴 뒤,
맨 마지막 칸이 3으로 옮겨지면
... | [
"moray0211@users.noreply.github.com"
] | moray0211@users.noreply.github.com |
1701a146cf1f344306353835c219b74182ce9246 | 1a3fd15e9be7cf0ca6f0895e240f318043414da7 | /groups/1506-3/buntova_kv/1-test-version/before_code.cpp | e32a702e21809984f7d408ce7c9dd3a3107b1766 | [] | no_license | alvls/parprog-2018-1 | 09e2ea3d502165cdc6b9e1d50d4e17ab51b92628 | 293c76b89373669288b7cb454f32e3a7838f4758 | refs/heads/master | 2021-04-28T07:19:33.028962 | 2018-07-05T06:29:28 | 2018-07-05T06:29:28 | 122,221,726 | 0 | 52 | null | 2018-07-05T06:29:29 | 2018-02-20T16:09:14 | C++ | UTF-8 | C++ | false | false | 1,148 | cpp | //#include "Sol.cpp"
#include <iostream>
#include <cstdio>
#include <omp.h>
using namespace std;
//1-ln, 2-cos, 3-sin ,4-exp, 5-x^2, 6-x^3, 7-x^4, 8-x^5, 9-x^6, 10-x^1/2, 11-x^1/3, 12-x^1/4
double solver(double* a, double *b, int* f, int* z, int n, int kol);
double func(double* x, int *c, int *z, int k);
FILE... | [
"axi.tenebris@gmail.com"
] | axi.tenebris@gmail.com |
698c635566db41b71a104875510e309572c09a50 | a95aa367c778034a8b8dc39f69e2cb11f6e15acc | /Codeforces/714-B.cpp | c67966619c35af1dd1876770db6896b0f3d18933 | [] | no_license | misaelmateus/problem-solving | 6d16ff88a82fb366b331870d0f956dbdfc09ee6c | 8ed9faf0b3828bfc689864abeea9d7599ee63b9e | refs/heads/master | 2020-07-01T12:21:16.914099 | 2018-11-05T10:33:08 | 2018-11-05T10:33:08 | 74,079,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | cpp | // Author : Misael Mateus
// Submission date: 2016-09-13 22:32:13
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
scanf("%d", &n);
set<int> v;
for(int i = 0; i < n; i++){
int aux;
scanf("%d", &aux);
v.insert(aux);
}
if(v.size() > 3)... | [
"misaelmateus12@gmail.com"
] | misaelmateus12@gmail.com |
306494a1e963956b063fce22aee944c259b8cbc2 | ca484115ba9556b5a85f1b8b898ecabe42d96840 | /ReferenceElement.cpp | efcaaf649627371dc41d1605d372f15b13cf7689 | [] | no_license | htphuc/dg1d-cpp-waveequation | 1b9d7e12984feb48aed2346c71edf61c97a477bd | d6659aed5d7a131ac92b8c5d17594fa0e0df1121 | refs/heads/master | 2021-01-22T16:45:27.752024 | 2016-01-26T16:19:54 | 2016-01-26T16:19:54 | 54,572,581 | 0 | 1 | null | 2016-03-23T15:48:22 | 2016-03-23T15:48:21 | null | UTF-8 | C++ | false | false | 8,762 | cpp | #include "ReferenceElement.h"
#include <iostream>
//The reference element has quite a number of subroutines, but there are only
//two outputs that ultimately matter: the derivative matrix and the
//lift matrix. The lift matrix is used to calculate the numerical flux.
//The derivative matrix is used to calculate the ... | [
"sdorsh1@lsu.edu"
] | sdorsh1@lsu.edu |
4b0692d181c5182b53cb1a8bac93e612e62cf03d | 14f2b614e2dd00f982cd6071f673c506dbd39ed7 | /190. Reverse Bits.cpp | def4591988cd72a6e631651250d5d5293731367d | [] | no_license | shownlin/leetcode | cba9aa8533113a4fdaa75e5729679a7c77f29af9 | afdd231703ccb04d95f87c001c752e0a51230809 | refs/heads/master | 2021-06-25T06:12:09.591504 | 2020-11-16T19:49:22 | 2020-11-16T19:49:22 | 166,754,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Solution
{
public:
uint32_t reverseBits(uint32_t n)
{
uint32_t res = 0u;
for (int i = 0; i < 32; ++i)
{
res = (res << 1) | (n & 1);
n >>= 1;
}
return res;
}
};
int main()
{
... | [
"shownlin001cm@gmail.com"
] | shownlin001cm@gmail.com |
f08d9d10541c4bf806575a30ca8ae3a93245e823 | 6b50e35b60a7972ff3c3ac60a1d928b43591901c | /SignalProcessing/LDA_Truong_Tung/jni/kernel/src/kernel/ovkCKernelContext.cpp | 47d7a5f38105fbc3506b4cd5a1b510ac5c145bdf | [] | no_license | damvanhuong/eeglab411 | 4a384fe06a3f5a9767c4dc222d9946640b168875 | 0aca0e64cd8e90dcde7dd021078fa14b2d61f0c9 | refs/heads/master | 2020-12-28T20:19:50.682128 | 2015-05-06T10:36:07 | 2015-05-06T10:36:07 | 35,154,165 | 1 | 0 | null | 2015-05-06T10:48:11 | 2015-05-06T10:48:10 | null | UTF-8 | C++ | false | false | 18,318 | cpp | #include "ovkCKernelContext.h"
#include "ovkCKernelObjectFactory.h"
#include "ovkCTypeManager.h"
#include "algorithm/ovkCAlgorithmManager.h"
#include "configuration/ovkCConfigurationManager.h"
#include "player/ovkCPlayerManager.h"
#include "plugins/ovkCPluginManager.h"
#include "scenario/ovkCScenarioManager.h"
#includ... | [
"nguyenhaitruonghp@gmail.com"
] | nguyenhaitruonghp@gmail.com |
66fbc10c0613dc712cd39dca98d0f8e9ce78e1f5 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /linkwan/src/model/GetGatewayResult.cc | 15d8d8c42ff4661d8437bcea1282d1f6ceb53b1d | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 3,598 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
fc3bc16543a59bdcad0ed56b4c34dcd943b67425 | 002902560639e77c5c9606af0fad90ff2334db1e | /992B.cpp | 9864628898e0988d9e21daae72bfd7b609ccc294 | [] | no_license | Hasanzakaria/CODEFORCES | 8662b464133d6058b74ea6bbbe0c6fd78366df9d | da08f70a3eae047e2da610b8a7aa3cc704b10202 | refs/heads/master | 2022-11-08T16:59:31.128716 | 2020-06-26T14:18:15 | 2020-06-26T14:18:15 | 275,172,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | cpp | #include<bits/stdc++.h>
using namespace std;
int main ()
{
ios_base::sync_with_stdio(0);
int x,y,a,b,k,t,i,l,r,cou=0;
cin>>x>>y>>a>>b;
k=b/a;
t=sqrt(k);
if(b%a!=0)
{
cout<<0<<endl;
}
else
{
for(i=1;i<=t;i++)
{
if(k%i==0)
{
... | [
"hasanxack@gmail.com"
] | hasanxack@gmail.com |
82b8ac05ac93d7717697c1ac6e96df65f32f1272 | a3eab08a8ecb69fb2ada99ec26a359825dc1a1a5 | /04. Function/paramArg.cpp | 8b8a4659c6d82904a29d3cb48eb7eddd4f37f8bf | [] | no_license | zonayedpca/learnCpp | 09c2b0c2bdcfb8a5af5ff2f5c6747d43fe0f2f27 | ac28cb0559a182ef97d16a418b9317863880e358 | refs/heads/master | 2020-04-24T15:02:22.253861 | 2019-04-03T12:38:39 | 2019-04-03T12:38:39 | 172,049,237 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | #include <iostream>
void dontReturn(int x, int y) {
std::cout << "First: " << x << " and Second: " << y << '\n';
}
int returnSomething(int x, int y) {
return x + y;
}
int anotherFunc(int sub, int sum) {
return sum - sub;
}
int main() {
dontReturn(10, 62);
std::cout << "Return Something: " << returnSometh... | [
"zonayedpca@yahoo.com"
] | zonayedpca@yahoo.com |
167a753a8455fe67508ab1b2e9f3e318aa0867f1 | 8380b5eb12e24692e97480bfa8939a199d067bce | /Carberp Botnet/source - absource/pro/all source/BJWJ/include/necko/nsIPrompt.h | 8b1d065ad961f0744d8f8d7f7365625f2f0df676 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | RamadhanAmizudin/malware | 788ee745b5bb23b980005c2af08f6cb8763981c2 | 62d0035db6bc9aa279b7c60250d439825ae65e41 | refs/heads/master | 2023-02-05T13:37:18.909646 | 2023-01-26T08:43:18 | 2023-01-26T08:43:18 | 53,407,812 | 873 | 291 | null | 2023-01-26T08:43:19 | 2016-03-08T11:44:21 | C++ | UTF-8 | C++ | false | false | 15,890 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/mozilla-1.9.1-win32-xulrunner/build/netwerk/base/public/nsIPrompt.idl
*/
#ifndef __gen_nsIPrompt_h__
#define __gen_nsIPrompt_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include... | [
"fdiskyou@users.noreply.github.com"
] | fdiskyou@users.noreply.github.com |
ce8885ea9d7b4aec1b4fe938e0d9b2c5df1f6edd | 6b660cb96baa003de9e18e332b048c0f1fa67ab9 | /External/SDK/BP_GeyserDynamic_functions.cpp | fe4d97456e103c8cb3b493584dddd888197c8a94 | [] | no_license | zanzo420/zSoT-SDK | 1edbff62b3e12695ecf3969537a6d2631a0ff36f | 5e581eb0400061f6e5f93b3affd95001f62d4f7c | refs/heads/main | 2022-07-30T03:35:51.225374 | 2021-07-07T01:07:20 | 2021-07-07T01:07:20 | 383,634,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | cpp | // Name: SoT, Version: 2.2.0.2
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
cd3769cb31cd60d32231c5f7ca9942141191ac6d | 1c12b426e58f5f3e9263401292bc163e92732dca | /assignment_package/src/inventory.cpp | 0fcfd7d0c0dfea062b57357c04aeafc647bc7b8d | [] | no_license | annasjiang/mini-minecraft | 4adf1da48172f0c120a75d2bb192f5038e349ba4 | efa2dcce6bcc70d56fa0a9eca8df3937e4b78108 | refs/heads/master | 2023-08-21T06:30:43.217008 | 2021-10-16T03:19:05 | 2021-10-16T03:19:05 | 409,630,033 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,455 | cpp | #include <QKeyEvent>
#include <QPixmap>
#include "inventory.h"
#include "ui_inventory.h"
Inventory::Inventory(QWidget *parent) :
QWidget(parent),
ui(new Ui::Inventory)
{
ui->setupUi(this);
connect(ui->radioButtonGrass, SIGNAL(clicked()), this, SLOT(slot_setCurrBlockToGrass()));
connect(ui->radioBu... | [
"36720819+annasjiang@users.noreply.github.com"
] | 36720819+annasjiang@users.noreply.github.com |
b1a73a0e9534310624fb4ebe20c23383942abc3a | a782e8b77eb9a32ffb2c3f417125553693eaee86 | /src/developer/feedback/utils/cobalt/event.h | a7a098e3ca61bb9981852bb5d65b4bf7e1fb0759 | [
"BSD-3-Clause"
] | permissive | xyuan/fuchsia | 9e5251517e88447d3e4df12cf530d2c3068af290 | db9b631cda844d7f1a1b18cefed832a66f46d56c | refs/heads/master | 2022-06-30T17:53:09.241350 | 2020-05-13T12:28:17 | 2020-05-13T12:28:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,521 | h | // Copyright 2019 The Fuchsia 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 SRC_DEVELOPER_FEEDBACK_UTILS_COBALT_EVENT_H_
#define SRC_DEVELOPER_FEEDBACK_UTILS_COBALT_EVENT_H_
#include <fuchsia/cobalt/cpp/fidl.h>
#include <... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
3aa8cb462a6c0f208266a3da405c139a7c4cfc09 | d7ea642cec35f60d4e3053009a7d858eb3c86f2c | /GLES/NonIndexed/NonIndexedRenderer1/src/Window.h | 83178747f2fcae3c8e3cf3efd4ed8eb86be0b140 | [] | no_license | perezite/sandbox | 396091c9c1d4fa6c5275547148a6834853bdb376 | 759d697ca30cedda39a40d7e37d9d49a498b4cb4 | refs/heads/master | 2021-01-17T06:35:23.994689 | 2020-09-25T20:57:52 | 2020-09-25T20:57:52 | 59,944,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | h | #pragma once
#include "GL.h"
#include "Drawable.h"
#include "Renderer.h"
#include <SDL2/SDL.h>
namespace sb
{
class Window
{
public:
Window(int width = 400, int height = 400);
~Window();
bool isOpen() { return m_isOpen; }
void update();
void display();
void draw(Drawable& drawable) { m_renderer.re... | [
"simulo2000@gmail.com"
] | simulo2000@gmail.com |
9f5a394501fe712419b9c937b8dc509104b5b7ad | e8332ce38441295637dcc80f53f4375f51053156 | /Sources/Components/Forces.cpp | 6f8d07c37f6d3e4f3e84fe03df619e9b5ae9e0ca | [] | no_license | andrequentin/Projet_Moteur_de_jeu_Imagerie_3D_Sons_et_musique | c12830652220891a7e717840d846e9f048ff8f9b | b4f481edff135e5fb670957e71737cff66546249 | refs/heads/master | 2020-08-10T01:01:54.813869 | 2020-01-15T12:23:58 | 2020-01-15T12:23:58 | 214,214,330 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include "Components/Forces.hpp"
namespace Gg {
namespace Component {
Forces::Forces():
velocity{glm::vec3{0.0f}},
forces{glm::vec3{0.0f}},
mass{1.f},
gravity_f{0.1f},
maxspeed{2.f}
{}
Forces::Forces(const glm::vec3 f,float gf,float m,float ms) :
velocity{glm::vec3{0.0f}},
... | [
"quentin.andre-97@laposte.net"
] | quentin.andre-97@laposte.net |
b4a08bbe74623d8bcad10147b0aef6857dc2208d | 3a9ab6f2e8ae27bef7e563ae8c51484d0ba03a40 | /Delta_test/main.cpp | b4c624769f34b75969259ca7fadfe4cbaca05be6 | [
"MIT"
] | permissive | SmaG-on-Hub/QtProject_FileCopyInThreads | 54de392acce264316d931f6f22534cbc86a74f91 | a4e537b59b53a5f20aed3264e912e04f512df611 | refs/heads/master | 2022-04-13T11:17:13.886594 | 2020-02-26T01:58:33 | 2020-02-26T01:58:33 | 241,615,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | cpp | #include "qcopyworker.h"
#include "toml11/toml.hpp"
#include <QCoreApplication>
#include <QThreadPool>
#include <list>
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
/* std::ofstream test_file("first.dat", std::ios_base::binary);
char buff[1048576];
for (int var = 0; var < 1000; ... | [
"smag@ua.fm"
] | smag@ua.fm |
b9e641551231ed92385f0e1fe6f1464c5f33c660 | 619a313d513ad72c4653e8bb078c4c3cc6313abe | /CIS330 C C++ and Unix/InvisibleTetrisProject/cpp/pieces.cpp | 224f329a64988b68051a1f2d0ebce48cc54bdb8f | [
"MIT"
] | permissive | haominhe/Undergraduate | 8f15df69d8fd3ad0ce2e81fe944cbf50cea16e6b | 77fb76b1c4558dec8bef2b424e7abd12a48d3968 | refs/heads/master | 2023-03-24T01:06:10.313588 | 2019-07-21T06:36:44 | 2019-07-21T06:36:44 | 197,996,406 | 0 | 0 | MIT | 2021-03-25T22:49:25 | 2019-07-21T00:55:21 | Python | UTF-8 | C++ | false | false | 2,426 | cpp | //Invisible Tetris ,Winter 2016, CIS 330 Final Project
//Team name: This->
// By Haomin He, Yanting Liu and Guangyun Hou
#include "cpp/pieces.h"
#include "cpp/board.h"
const int Pieces::block_list [7][4][2]=
{
// I -type
// []
// []
// []
// []
{
{0,-1},
{0,0},... | [
"haominhe@LAPTOP-CSJB3RJP.localdomain"
] | haominhe@LAPTOP-CSJB3RJP.localdomain |
a3c1c2ad036bc1bfc2e023911a152a4e168ba88c | 009851177d04a441141113189125a91a26f4dc74 | /nodejs-mobile/deps/chakrashim/core/lib/Common/Memory/SmallLeafHeapBlock.cpp | 5e0ca2de1d9bf43caca429691d17c9ead625eef2 | [
"MIT",
"LicenseRef-scancode-unicode",
"Zlib",
"ISC",
"LicenseRef-scancode-public-domain",
"NAIST-2003",
"BSD-3-Clause",
"BSD-2-Clause",
"Artistic-2.0",
"LicenseRef-scancode-unknown-license-reference",
"NTP",
"LicenseRef-scancode-openssl",
"ICU"
] | permissive | xuelongqy/cnode | a967f9e71315b10d3870192b4bbe2c341b196507 | ac256264d329e68b6c5ae3281b0e7bb5a95ae164 | refs/heads/master | 2023-01-30T11:23:41.485647 | 2020-03-25T05:55:13 | 2020-03-25T05:55:13 | 246,811,631 | 0 | 1 | MIT | 2023-01-07T15:54:34 | 2020-03-12T10:58:07 | C++ | UTF-8 | C++ | false | false | 2,910 | cpp | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | [
"59814509@qq.com"
] | 59814509@qq.com |
c9ba89b6317afa4c39ef01da5a1f871f2b47f958 | c2e97b1aacb1e9a7a925b60129d7171a17d4d4d8 | /libs/squish-1.11/colourfit.h | a2d0559a32c9ff24f854822c0a7cd576a073a8fe | [
"Zlib",
"MIT"
] | permissive | Ushio/ofxExtremeGpuVideo | 1500ba6fd57e9bca3400ebfc005e1338138345a0 | 0842679c0cba590cc13f4a401887e8e3a3a3311c | refs/heads/master | 2022-05-04T17:36:10.936866 | 2022-04-22T05:50:17 | 2022-04-22T05:50:17 | 55,229,467 | 63 | 7 | Zlib | 2022-04-22T05:50:17 | 2016-04-01T12:06:13 | C++ | UTF-8 | C++ | false | false | 1,737 | h | /* -----------------------------------------------------------------------------
Copyright (c) 2006 Simon Brown si@sjbrown.co.uk
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 t... | [
"ushiostarfish@gmail.com"
] | ushiostarfish@gmail.com |
f9122ab7de9a9e05c3ff90aa3533f4f5311c8d59 | 8652a66d3994098ef4cf9186cd36171eb3833ad3 | /WINCE600/PLATFORM/COMMON/SRC/SOC/COMMON_FSL_V2_PDK1_7/IPUV3/CSI/csi.cpp | 8985ec24d9205d92ecdcbb6567ea1d0d6f0adc57 | [] | no_license | KunYi/em-works | 789e038ecaf4d0ec264d16fdd47df00b841de60c | 3b70b2690782acfcba7f4b0e43e05b5b070ed0da | refs/heads/master | 2016-09-06T03:47:56.913454 | 2013-11-05T03:28:15 | 2013-11-05T03:28:15 | 32,260,142 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,430 | cpp | //------------------------------------------------------------------------------
//
// Copyright (C) 2008-2009, Freescale Semiconductor, Inc. All Rights Reserved.
// THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS
// AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT
//
//--------------... | [
"lqk.sch@gmail.com@9677f95b-f147-b01e-6ec8-0db75aaa1bab"
] | lqk.sch@gmail.com@9677f95b-f147-b01e-6ec8-0db75aaa1bab |
b60f9cb7b83c69396af47cb213251abba19586d5 | f1bd83e9dc0266c10f43a1648d798f5efd189e6a | /main.cpp | 8818cfcc689f073b42bba15806349f2a6b9723ae | [
"MIT"
] | permissive | gshep/SceneSample | c4697de648ee11e37e1f2b582edf43defa48ab82 | df414805899a4ef7e76d62840c2173934bcc6dd6 | refs/heads/master | 2020-11-28T07:12:49.221246 | 2019-12-23T11:32:16 | 2019-12-23T11:32:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,594 | cpp | #include <QApplication>
#include <QQuickView>
#include <QQmlEngine>
#include "Scene.hpp"
#include "LogTrackSceneCameraManipulator.hpp"
#include "LineStrip.hpp"
class Helper : public QObject
{
Q_OBJECT
public:
enum Direction
{
Horizontal = 0x1,
Vertical = 0x2
};
Q_DECLARE_FLAGS(Di... | [
"g.shepelev@rogii.com"
] | g.shepelev@rogii.com |
5865f9ff74c46f117f11e06d67430383c5d5408a | 084a60f0bb0285e62f83d75a0dfbfa651d17c6d7 | /7 reverse.cpp | 9b5b84253a9d71bae57688f70da78cb8f57454d2 | [] | no_license | rogerzhu0710/leetcode | 7094605e90ea3134d4284aed5b3b0baea6d5ddd4 | 3f01f50ea4e03011e2cbc79148294e83715ebe6a | refs/heads/master | 2021-01-20T06:25:23.078105 | 2015-08-12T05:20:37 | 2015-08-12T05:20:37 | 40,573,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | cpp | int reverse(int x)
{
int c=0;
while(x!=0)
{
int tmp = x%10;
// inspire by the Internet knowledge
if(c>0)
{
if( c > INT_MAX/10 ) return 0;
else if(c == INT_MAX/10 && tmp>INT_MAX%10) return 0;
}
else
{
if... | [
"rogerzhu0710@126.com"
] | rogerzhu0710@126.com |
6d1ed247ec700614fd1fce9cf27517505343109f | da8c15523d81c47882adfe11f3d7846dcb1a5acd | /include/stx/panic/hook.h | 023ab06a8ff95cb86a5655b9e8a5c1de1453da18 | [
"MIT"
] | permissive | frankfan007/STX | 7a8b9cf0f849c91da90512245df7947f4c4f8971 | 03ee6533944b5719e05ef65d920559084fd722a1 | refs/heads/master | 2022-09-17T09:58:15.917771 | 2020-06-03T05:56:58 | 2020-06-03T05:56:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,792 | h | /**
* @file hook.h
* @author Basit Ayantunde <rlamarrr@gmail.com>
* @brief
* @version 0.1
* @date 2020-05-08
*
* @copyright Copyright (c) 2020
*
*/
#pragma once
#include <atomic>
#include "stx/panic.h"
//! @file
//!
//! Hooks are useful for writing device drivers where you load the drivers at
//! runtime ... | [
"rlamarrr@gmail.com"
] | rlamarrr@gmail.com |
55b82d6f7d83309b010cf62538ce118a03e88f95 | ddd70b6df257a2cb3be8b468f355744965bf740e | /src/slg/film/sampleresult.cpp | dc9edba27d1fddb347ba2059b9a839f8d40b33f8 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | MetaRabbit/LuxCore | 2e0e1c4cfc6865dc03d2750c26cca6281cfa541c | ee4d881d7ccf64fb6bb29845d7af0409ef8fd3b9 | refs/heads/master | 2020-05-17T18:44:07.182847 | 2019-04-28T09:10:50 | 2019-04-28T09:10:50 | 183,893,762 | 1 | 0 | Apache-2.0 | 2019-04-28T10:31:30 | 2019-04-28T10:31:29 | null | UTF-8 | C++ | false | false | 4,675 | cpp | /***************************************************************************
* Copyright 1998-2018 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxCoreRender. *
* ... | [
"dade916@gmail.com"
] | dade916@gmail.com |
fcbe7d7f24cffbe39d022ccebd4e85db24da015c | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/tests/RTCORBA/check_supported_priorities.cpp | 11ff3473e08d110c9dc70733c99781ab05944c6f | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 2,142 | cpp | #include "ace/Sched_Params.h"
#include "tao/ORB_Core.h"
#include "tao/ORB.h"
#include "tao/RTCORBA/Priority_Mapping_Manager.h"
#include "tao/Protocols_Hooks.h"
const char *
sched_policy_name (int sched_policy)
{
const char *name = 0;
switch (sched_policy)
{
case ACE_SCHED_OTHER:
name = "SCHED_OTHER"... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
84096a62389c78994ade1992ed18dfc66fe0d58a | 1eee2028c8168a8c249688a45931dc4febf1cf99 | /Triturador/CodeBlocks Triturador/src/Robot.cpp | 4747d0781ede725d48ea22c1fe74ad65c433236b | [] | no_license | aaronR221/Est_OO | a0288b18786f12735e4e163ee544c209bda8a82e | 06ddd00091855aef1d851798e851651d73879ec0 | refs/heads/master | 2020-09-06T02:10:54.448635 | 2019-11-08T15:06:15 | 2019-11-08T15:06:15 | 220,283,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | cpp | #include "Robot.h"
#include <iostream>
using namespace std;
Robot::Robot()
{
cout<<"nasce um robo"<<endl;
}
Robot::~Robot()
{
cout<< "Aposenta um Robo" << endl;
}
int Robot::getNumeroMotores()
int Robot::getNumeroSensores()
int Robot::getNivelBateria()
| [
"aaron.ramires2@hotmail.com"
] | aaron.ramires2@hotmail.com |
1e56e9eae26b9fe27721445bf813eb3bb1f89d0a | 3ca1087b5dad5577fd6fcf072c195579b36d9fe8 | /06Polymorphism_Classes/LISTING.cpp | fd97c19170fc762e18fcbfe52fd98811eeec54b5 | [] | no_license | CS-Pacific-University/06polymorphism-jcorey1313 | e29a2358222adb2cd04a349be7b02dbc22bc19ef | aad349319cd223f0f80b8d5a04412c1531b6dd0b | refs/heads/master | 2023-04-23T14:19:17.550120 | 2021-05-03T10:25:27 | 2021-05-03T10:25:27 | 362,276,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,551 | cpp | //############################################################################
//Letter.h
//############################################################################
//****************************************************************************
// File name: Letter.h
// Author: James Corey
// Date: 05/03/... | [
"core9711@pacificu.edu"
] | core9711@pacificu.edu |
fba8eeb0297f68350f93361720d6ef792494b4f7 | 90c95fd7a5687b1095bf499892b8c9ba40f59533 | /sprout/weed/parser/directive/as_tuple.hpp | 4262b3de5bf945b6ce4a5547c1387ca9ae43ed02 | [
"BSL-1.0"
] | permissive | CreativeLabs0X3CF/Sprout | af60a938fd12e8439a831d4d538c4c48011ca54f | f08464943fbe2ac2030060e6ff20e4bb9782cd8e | refs/heads/master | 2021-01-20T17:03:24.630813 | 2016-08-15T04:44:46 | 2016-08-15T04:44:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,351 | hpp | /*=============================================================================
Copyright (c) 2011-2016 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... | [
"bolero.murakami@gmail.com"
] | bolero.murakami@gmail.com |
8df3d0af4ebacdb638ebab4d92ec91631bafd65d | a9e308c81c27a80c53c899ce806d6d7b4a9bbbf3 | /engine/xray/editor/world/sources/command_drop_objects.cpp | af6fb81b956e909e24176c1ba92b843de5556883 | [] | no_license | NikitaNikson/xray-2_0 | 00d8e78112d7b3d5ec1cb790c90f614dc732f633 | 82b049d2d177aac15e1317cbe281e8c167b8f8d1 | refs/heads/master | 2023-06-25T16:51:26.243019 | 2020-09-29T15:49:23 | 2020-09-29T15:49:23 | 390,966,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,531 | cpp | ////////////////////////////////////////////////////////////////////////////
// Created : 02.04.2009
// Author : Armen Abroyan
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#include "pch.h"
#include "command_drop_objects.h"
#include "object_base.h... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
f99a32047359ec9d6264b8faa09da63f9acb2c86 | 841a9def845ae35edd5cb8446b0dccf19d7bbc71 | /include/Car.h | 453d981700f7a0389990f0f05fcc69920ac9dad2 | [] | no_license | gustavo-ren/GetSet | 4a69ab52a247ab684fd0b6d867babfe8aef4218c | bd7404af804f8d989ffc8a4dbee3f38cf1bc5901 | refs/heads/master | 2021-08-19T04:46:54.371833 | 2017-11-24T20:56:52 | 2017-11-24T20:56:52 | 111,873,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | h | #ifndef CAR_H
#define CAR_H
#include <iostream>
using namespace std;
class Car
{
public:
Car();
virtual ~Car();
string show();
void setModel(string m);
void setColor(string c);
void setBrand(string b);
string getModel();
string getBrand();
s... | [
"exemplo@exemplo.com"
] | exemplo@exemplo.com |
09c97c85d4a30bf93e585aa67e2669c6fcf67ec1 | 332515cb827e57f3359cfe0562c5b91d711752df | /Application_UWP_WinRT/Generated Files/winrt/Windows.UI.Notifications.h | 54a4b86eae89a153a5e89a8349c39e5246f01395 | [
"MIT"
] | permissive | GCourtney27/DX12-Simple-Xbox-Win32-Application | 7c1f09abbfb768a1d5c2ab0d7ee9621f66ad85d5 | 4f0bc4a52aa67c90376f05146f2ebea92db1ec57 | refs/heads/master | 2023-02-19T06:54:18.923600 | 2021-01-24T08:18:19 | 2021-01-24T08:18:19 | 312,744,674 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230,576 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.201113.7
#ifndef WINRT_Windows_UI_Notifications_H
#define WINRT_Windows_UI_Notifications_H
#include "winrt/base.h"
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.201113.7"), "Mismatched C++/WinRT headers.");
#define CPPWINRT_VERSION... | [
"garrett1168@outlook.com"
] | garrett1168@outlook.com |
ca56bd0040a25564afa63a751af5b203012f74b9 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chromecast/common/platform_client_auth_simple.cc | 481b9a9ca5e0e0714a9b69f7b6f5592f32225ca1 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 419 | cc | // Copyright 2014 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 "chromecast/common/platform_client_auth.h"
namespace chromecast {
// static
bool PlatformClientAuth::initialized_ = false;
// static
bool Plat... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
f2133c18e1af71bb826395c4cd3eaf50f49b8c8b | 63257ae40607399c62e6d490af8852c5220ec411 | /leetcode/261.cpp | 8b2fa29c56cea76f1c5a02f93dbf97bec7a6048d | [] | no_license | doctoroyy/algorithm | 034040a2258a3bfad371357873022b25d7b7fa88 | 2d503450c78b310876063e09ca3375d77f600069 | refs/heads/master | 2021-08-30T13:15:13.819685 | 2021-08-30T12:02:13 | 2021-08-30T12:02:13 | 158,483,283 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,567 | cpp | // https://leetcode-cn.com/problems/graph-valid-tree/
#include<iostream>
#include<vector>
#include<cmath>
#include<set>
#include<algorithm>
using namespace std;
// Input: n = 5, edges = [[0,1],[0,2],[0,3],[1,4]]
// Output: true
// Input: n = 5, edges = [[0,1],[1,2],[2,3],[1,3],[1,4]]
// Output: false
const int maxN... | [
"doctor.oyy@gmail.com"
] | doctor.oyy@gmail.com |
89f2623eaa66c40a34074f0c41e3ccb1ea2f3604 | 46ab745e21545738e89aa49dde86b9adc86d9b24 | /game_castlevania/game_castlevania/Monkey.h | 5130257831fb39414ba08e19a9444cd28ca5f135 | [] | no_license | hoangminh122/GameNhapMon_ADM | 8336e619a3ba3fbd19ead6040a6081b5ba9c627c | 974a383e6cef752e575a23577a5e526dc44c8963 | refs/heads/master | 2022-12-01T20:13:40.462500 | 2020-08-09T15:52:48 | 2020-08-09T15:52:48 | 259,587,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | h | #pragma once
#include "GameObject.h"
#define MONKEY_BBOX_WIDTH 18
#define MONKEY_BBOX_HEIGHT 16
#define MONKEY_STATE_IDLE 0
#define MONKEY_STATE_WALK 1
#define MONKEY_STATE_JUMP 2
#define MONKEY_JUMP_SPEED_X 0.13f
#define MONKEY_JUMP_SPEED_Y 0.15f
#define MONKEY_WALK_SPEED_X 0.2f
#define MONKEY_WALK_SPEED_... | [
"hoangminh12297@gmail.com"
] | hoangminh12297@gmail.com |
005dd4c273d5f4fc8051176ff079496f9f8e0e59 | a1ceba428d5c1e9974e19d4b1d983b426d0fd27f | /symbol_list.h | dca9a3dcd5eb7dcebcfda530a58c986338f85fe1 | [] | no_license | josh-jacobson/Compiler | 87c9871bc471d4c9b0d9ca32fdd0f8833ec6c456 | fd8eb52716c0a5dcac3aad60d09abe074e92f7d8 | refs/heads/master | 2021-01-01T19:16:11.572473 | 2013-08-25T23:27:14 | 2013-08-25T23:27:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,193 | h | /**
EECS 211 Program 8
symbol_list.h
Author: Josh Jacobson
Contact: joshj@u.northwestern.edu
Due Date: June 4, 2012
*/
#ifndef symbol_list_h
#define symbol_list_h
#include "symbols.h"
#define LISTLEN 200
#define ALLOWDUPLICATES 1
#define DONTALLOWDUPLICATES 2
class symbolList {
public:
symbolList... | [
"joshjacobson14@gmail.com"
] | joshjacobson14@gmail.com |
439d1ae50377d34215a796bc7adb6ccdf863c2b1 | a8e5517df264ca12e84c377270574a3cc378f0c1 | /BOJ/11404/solution.cpp | 1adc9d3fd42fb4b1e2053e41b90dc56a33984f0b | [] | no_license | wowoto9772/Hungry-Algorithm | cb94edc0d8a4a3518dd1996feafada9774767ff0 | 4be3d0e2f07d01e55653c277870d93b73ec917de | refs/heads/master | 2021-05-04T23:28:12.443915 | 2019-08-11T08:11:39 | 2019-08-11T08:11:39 | 64,544,872 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include <stdio.h>
#include <algorithm>
using namespace std;
#define Max 987654321
int d[103][103];
int main() {
int n;
scanf("%d", &n);
for (int i = 1; i <= n; i++) {
for (int j = 1; j <= n; j++) {
d[i][j] = Max;
if (i == j)d[i][j] = 0;
}
}
int m;
scanf("%d", &m);
for (int i = 1; i <= m; i++)... | [
"csjaj9772@gmail.com"
] | csjaj9772@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.