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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d81cb1f3c53425c1faf310caf842ba3aeb8de74b | 5b9fb483017ea3f8bced15680936b932298413cc | /Source/UnrealEnginePython/Private/Slate/UEPyFGeometry.cpp | 3ff99de542dec75533ab3818a75ab9603b1e092f | [
"MIT"
] | permissive | cuigrey/UnrealEnginePython | e7be876557158c48084d1eaa3584b554b55243de | 4d38ba61c32682b0e9596824b906561f846178a5 | refs/heads/master | 2021-01-19T16:40:52.815381 | 2017-08-21T15:19:40 | 2017-08-21T15:19:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,554 | cpp | #include "UnrealEnginePythonPrivatePCH.h"
#include "UEPyFGeometry.h"
static PyObject *py_ue_fgeometry_get_local_size(ue_PyFGeometry *self, PyObject * args) {
FVector2D size = self->geometry.GetLocalSize();
return Py_BuildValue("(ff)", size.X, size.Y);
}
static PyMethodDef ue_PyFGeometry_methods[] = {
{ "get_local... | [
"roberto@20tab.com"
] | roberto@20tab.com |
113f4dd487e88e61be4201c8aaa6771b226228e5 | 4d381bf60f506902627065d7f6de5cc0189ca222 | /tetris/T.cpp | a3c3c26342ba84e266861c784f0fdf9889b212a8 | [] | no_license | batzionko/tetrisProject | 1ef5ec96b063ca26d702b2d25d8c59d3bb6a360d | 4b357236a8dca2df09d154468d587da3065d6f66 | refs/heads/master | 2020-03-19T00:18:26.789539 | 2018-05-30T16:49:21 | 2018-05-30T16:49:21 | 135,471,204 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 783 | cpp | #include "T.h"
T::T(sf::Texture& t, int colorNum, sf::Vector2f pos):
Shapes(pos)
{
std::for_each(begin(m_square), end(m_square), [&t, &colorNum](square& s) { s.setTexture(t, colorNum); });
setPosition(m_pos);
m_square[0].setTheOrigin(sf::Vector2f(S_SIZE * 0.5, S_SIZE* 0.5));
m_square[1].setTheOrigin(sf::Vector2... | [
"sarazo@LAB6_4"
] | sarazo@LAB6_4 |
d21a251d92636fb91d17e88ac7a80b003341b478 | 5d7d74570f37e0c4aa4a61edbd29f453a56a8d4c | /3rdparty/arpack++/include/arlgcomp.h | 1d26965af84e84077e66edc0705b974241cfa7f9 | [] | no_license | fanxiaochen/Point-Set-Registration | 9ff84f57046df788829854a0dd3f678884bd354b | fa3f3070a245f8e6eb95596edc4b8595f93515e6 | refs/heads/master | 2016-09-05T20:23:17.736878 | 2015-08-11T16:47:14 | 2015-08-11T16:47:14 | 39,198,189 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,714 | h | /*
ARPACK++ v1.2 2/20/2000
c++ interface to ARPACK code.
MODULE ARLGComp.h.
Arpack++ class ARluCompGenEig definition
(superlu version).
ARPACK Authors
Richard Lehoucq
Danny Sorensen
Chao Yang
Dept. of Computational & Applied Mathematics
Rice University
Houston, Te... | [
"fan.daybreak@gmail.com"
] | fan.daybreak@gmail.com |
fc2c84f3287aa7219f35b6c124a6d7ee98e97ce3 | 00966c983022f7853d25cf873d65751f3fc646e1 | /AbilitySystem/Ability/Source/Ability/AbilityProjectile.h | 8082e85a0abd20bb6e1ee132d4fa9ac9951146ef | [] | no_license | ultratroll/coop | a64b787845b95618c9e5adeed65f147c2909114a | cd931fcb71dd46d42ebbaebc16a414cbc705a064 | refs/heads/master | 2021-07-08T12:37:48.928397 | 2019-01-30T22:39:59 | 2019-01-30T22:39:59 | 137,826,179 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,111 | h | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "AbilityProjectile.generated.h"
UCLASS(config=Game)
class AAbilityProjectile : public AActor
{
GENERATED_BODY()
/** Sphere collision component */
UPROPERTY(VisibleDefaultsO... | [
"jdejesus@teravisiongames.com"
] | jdejesus@teravisiongames.com |
c015634469b4c951689f84bb1f507446c66c037d | b00c54389a95d81a22e361fa9f8bdf5a2edc93e3 | /vendor/intel/hardware/libmultidisplay/native/include/IMultiDisplayConnectionObserver.h | 2e4c363b310c4e01a9fbf022a53c449cfb18d2a2 | [] | no_license | mirek190/x86-android-5.0 | 9d1756fa7ff2f423887aa22694bd737eb634ef23 | eb1029956682072bb7404192a80214189f0dc73b | refs/heads/master | 2020-05-27T01:09:51.830208 | 2015-10-07T22:47:36 | 2015-10-07T22:47:36 | 41,942,802 | 15 | 20 | null | 2020-03-09T00:21:03 | 2015-09-05T00:11:19 | null | UTF-8 | C++ | false | false | 2,005 | h | /*
* Copyright (c) 2012-2013, Intel Corporation. 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 r... | [
"mirek190@gmail.com"
] | mirek190@gmail.com |
9954107c008551d827ace12237db6371da5b25b5 | 5ed2a97e269dced8e720cdecca912537d2308b3f | /tyvj/第07页(1600-1699)/1615fox/1615.cpp | 8c8dfca8bf8f8e9240d013ef28f6f268fa840c29 | [] | no_license | courage17340/OI | 7a81c62bf3b09c29b093979d77d68bdb8eea0e1a | 29e3914442d1334e0b1da849db4c3e942492cb7d | refs/heads/master | 2021-01-13T01:25:19.188664 | 2015-06-08T08:12:34 | 2015-06-08T08:12:34 | 32,979,121 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | #include <cstdio>
const int md = 123456;
int n,f[210] = {0},p,ans;
bool pr(int x){
for (int i = 2;i * i <= x;i++) if (x % i == 0) return 0;
return 1;
}
void make(int x,int flag){
int y;
for (int i = 2;i <= x;i++) if (pr(i)){
y = x;
while (y){
y /= i;
f[i] += y * flag;
}
}
}
int main(){
scanf("%d",&n);... | [
"courage17340@163.com"
] | courage17340@163.com |
b601c9cd833eea1def586986639ad1640782d62e | 60c820303a55f21a1521859740c854efceb0b489 | /asobi/Cpp/math/prime_number.hpp | 5d4f93d65459eac2c764692a345d17332ab40abf | [] | no_license | asobininn/asobi | 7bea40cc91c032034fc1353f482dc8ec75368b6c | 1f9b7cf3c04ef420a47175b4020e9a34b5811d4e | refs/heads/master | 2020-11-24T20:33:29.104284 | 2020-04-24T16:41:29 | 2020-04-24T16:41:29 | 221,192,522 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,399 | hpp | #pragma once
#define ASOBI_MATH_PRIME_NUMBER
#include <future>
#include <thread>
#include "isqrt.hpp"
namespace asobi {
namespace detail {
// その値について、範囲内を調べて割り切れる値があるか
template <class Int>
struct seek_prime_until_length {
bool operator ()(const Int& v, const Int&& first, const Int& last, int incr... | [
"asobininn2000@gmail.com"
] | asobininn2000@gmail.com |
90df5ea361032ebf9b3c39e1a570259968400051 | 5315da63eaf2aad52074f0cadf42654ba998dbdf | /classes_and_inheritance/Task 2/Include/Array.h | 0cc0893a0c54f0f84f3f1a4c3e52cdfd936b4b7e | [] | no_license | n1kstep/cpp-course-fs11 | f47dc2e938f86d66e9858fcb6aa753bcc1b13b3e | 2cc49a2cba86b22335ee2b93b250d71c1b3aa153 | refs/heads/main | 2023-06-17T06:05:37.004645 | 2021-07-10T13:21:15 | 2021-07-10T13:21:15 | 384,697,832 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | h | #ifndef CLASSES_AND_INHERITANCE_ARRAY_H
#define CLASSES_AND_INHERITANCE_ARRAY_H
#include <iostream>
class Array {
protected:
unsigned char *m_arr;
int m_size;
const static int max_size = 100;
public:
explicit Array(int size = 0);
Array(int size, const unsigned char* arr);
Array(const Array &a)... | [
"nikitast.diff@gmail.com"
] | nikitast.diff@gmail.com |
ba82904be3bef5cc5bc57e62a6f9f0454d8e1f77 | 54457e1e0ae7b5bd0dbbf3e94232af4e91e61e67 | /Algorithms/SortingAlgos/insertion sort.cpp | 846d30fd50e24d6de53108febf3889ef38c22159 | [] | no_license | ankitjain-1/Data-Structures-and-Algorithms | f5d3fa5589094de6492035ffe3e06041df132963 | 3c4f2c09cfc1751b1b0612cf9348b8dc451b79ab | refs/heads/master | 2023-01-06T16:39:06.439933 | 2020-10-31T16:13:04 | 2020-10-31T16:13:04 | 271,839,780 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | cpp | /**
* Time Complexity: O(n*2)
* Auxiliary Space: O(1)
* Boundary Cases: Insertion sort takes maximum time to sort if elements are sorted in reverse order. And it takes minimum time (Order of n) when elements are already sorted.
* Algorithmic Paradigm: Incremental Approach
* Sorting In Place: Yes
* Stable: Yes
* ... | [
"akjain6067.aj@gmail.com"
] | akjain6067.aj@gmail.com |
d29c8a3f53bd032e36f6061b3971a3c82f19ec4d | 7d758f41ad94da640e63a7cf0023cb036e804560 | /data structures/c++/MaxHeapArray.h | 809a98be53b01d2c079dcd5b07cd6d014f845570 | [] | no_license | synzen/Data-Structures-Algorithms | 8497a9237d2ecd60d51ddd41fe69257e63e8edaa | 91c7dd635e2d04c2ac0d8b6def763fe471e15671 | refs/heads/master | 2020-06-13T07:06:05.233936 | 2019-07-13T23:04:41 | 2019-07-13T23:04:41 | 194,580,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,892 | h | #pragma once
#include <iostream>
#include <vector>
template <class T>
class MaxHeap {
public:
std::vector<T> data;
MaxHeap<T>(T arr[], int len) {
for (int i = 0; i < len; ++i) {
data.push_back(arr[i]);
}
}
void insert(T d) {
data.push_back(d);
int size = data.size();
if (size == 1) return;
heapify... | [
"michael994664@gmail.com"
] | michael994664@gmail.com |
3fc6a1a47d3351cd61d0adf526b123d5c8c97665 | 9a9fffa65f8dd09767b06183ec9ac8651b42bede | /src/rend/Shader.h | b399d744fbab0b237effa000911bcf82d248cdd7 | [] | no_license | MariaPrograms/GEPEngine | eb64888b6eb7fa19917d21c01b1499eaefd63f33 | 7c8558fc46909df348fb0db90befed2a801a8556 | refs/heads/master | 2020-08-06T00:53:42.170878 | 2020-01-17T07:21:36 | 2020-01-17T07:21:36 | 212,774,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | h | #include "mathutil.h"
#include <GL/glew.h>
#include <sr1/zero_initialized>
#include <sr1/noncopyable>
#include <sr1/memory>
#include <sr1/vector>
#include <string>
namespace rend
{
struct Context;
struct VariableInfo;
struct Buffer;
struct RenderTexture;
struct TextureAdapter;
struct Mesh;
struct Shader : ... | [
"s4915051@bournemouth.ac.uk"
] | s4915051@bournemouth.ac.uk |
c28998cdabc2f1f07b95b2309ec865488f8514d1 | 8c1dbeb23cb2bcf0fe44b62f703486dcc99f79a4 | /v3/Arborist/src/treenet/scanning/explorenet/ExploreNETRunnable.cpp | 37f349f19dbeba10e40d733a4d97cf056a43ffc0 | [] | no_license | JefGrailet/treenet | 0e2bf104ea347ec0efd221e3b91f738d69ca90e8 | 10cfdcd7e94d73ab29c129ccffb07c4ba6dbcadd | refs/heads/master | 2020-12-24T06:42:31.569006 | 2019-10-14T10:06:17 | 2019-10-14T10:06:17 | 34,863,160 | 10 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 12,155 | cpp | /*
* ExploreNETRunnable.cpp
*
* Created on: Oct 04, 2014
* Author: grailet
*
* This class fuses the classes ExploreNETRunnableBox and ExploreNETRunnableSingleInput from
* the original ExploreNET (v2.1) into a single thread class. The goal is to redesign this
* part of ExploreNET in order to embed it in a ... | [
"Jean-Francois.Grailet@student.ulg.ac.be"
] | Jean-Francois.Grailet@student.ulg.ac.be |
cd156db3ac1676536167729bf7697be577c51b54 | 8b91e4da1ede27974550627a10f30375e612d50f | /statdataset/statdataset.h | 28098090a5676ea653453dc04afd9f8bb8e8d374 | [] | no_license | boubad/CPPStats | 1859876fb9de86339ab6c49fb392312c8c58b08a | 25a5a2e50ad6d39a5b942365e66e0c0e085b0892 | refs/heads/master | 2016-09-02T01:25:39.795611 | 2013-09-21T09:20:45 | 2013-09-21T09:20:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,853 | h | /*
* Statdataset.h
*
* Created on: 17 sept. 2013
* Author: Boubacar
*/
#ifndef STATDATASET_H_
#define STATDATASET_H_
///////////////////////////////////////
#include <cassert>
#include <memory>
#include <string>
#include <vector>
#include <set>
#include <map>
#include <algorithm>
//////////////////////
#ifn... | [
"boubadiarra@gmail.com"
] | boubadiarra@gmail.com |
5b3f074e362f3673060ec75d34bdae535f12ac92 | 472b67ee52788adc5b3d85a56e2c621d8d462925 | /ConcurencyInCPlusPplus/Main_Thread_RAII.cpp | 8c25d212b949fafc804900f367e4a9e3098f60ea | [] | no_license | ZingFreelancer/ConcurencyInCPlusPplus | afa7514e7b175b6fec816a272033c115909c4280 | c67dacff79a051f5cfeeb248eb275dd173a6e5eb | refs/heads/master | 2021-09-16T18:26:03.496388 | 2018-06-23T07:06:56 | 2018-06-23T07:06:56 | 106,421,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 906 | cpp | #include "stdafx.h"
#include <iostream>
#include <string>
#include <thread>
#include <chrono>
#include "ThreadGuard.h"
using namespace std;
//void func_1()
//{
// cout << "Hello from Thread One!" << endl;
//}
//
//void error_func()
//{
// throw std::runtime_error("Runtime error occured");
//}
//
/////Protected with u... | [
"aleksander.naumenok@gmail.com"
] | aleksander.naumenok@gmail.com |
999a76829f5f334e67afa35bebe161668ead34ca | 3d3be59222796e8bbedc160c1f1595b245bde002 | /OpenGl9/OpenGL/OpenGL/GLWindow.cpp | 11a6f52c4e62446b8400c90030c426d2666cdad6 | [
"MIT"
] | permissive | coconutjim/hseb4-compgraph | 77fc8a04345f32e840f5bd19bebdeef7cd0f20c0 | 2d4d883873b3589d7dceeef3597eda185c368ef2 | refs/heads/master | 2022-07-22T03:29:37.325022 | 2022-07-14T19:34:28 | 2022-07-14T19:34:28 | 234,436,864 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,894 | cpp | /*
Осипов Лев Игоревич
Проект 19. OpenGL8
Visual Studio 2013
24.03.2016
Сделано:
1) реализовано 7 дополнительных фильтров:
отражение, искажение по синусу, эффект закручивания, эффект линзы, эффект волны, контраст, бинаризация
(включение - клавиши F8, F9, F11, NUMPAD0, NUMPAD1, NUMPAD2 соответственно)
2) Реализован Cann... | [
"osipov.enterprise@gmail.com"
] | osipov.enterprise@gmail.com |
0fab2f362c1bc1e6518f4f790ebf9306dbd1ab39 | bc472f5c228a1d9e0f67f3b9d71a30c09048c024 | /Acquisition_Board_Dll/Acquisition_Board_Dll/Histogram_Module.h | 688cccc6b32eb4cafd52d3f5f4d11c37615c377b | [] | no_license | blanchardsimon/Programme-C-carte-Acquistion | 040dfb1d232558434ab0396cf8ac282b115106d1 | 508931873d3a678de21e2fbd8dd3818f31bc4096 | refs/heads/master | 2016-09-05T18:53:20.814299 | 2011-11-10T19:57:49 | 2011-11-10T19:57:49 | 2,638,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,325 | h | // Histogram_Module.h
//
// This file contain the histogram_module class definition and all the thread needed by his methode
//
#ifndef _HISTOGRAM_MODULE_H_
#define _HISTOGRAM_MODULE_H_
//**********************************************************************************************************************
// ... | [
"blas2310@REULETLAB2.ad.physique.usherb.ca"
] | blas2310@REULETLAB2.ad.physique.usherb.ca |
788376c7b25bf508448ead3f6bde6c5dc3cd1889 | 4146b6ede0ee8af95139ac4d17d52e00948f099e | /AIReference/Solver.h | 69c2f3e52c4b1510200999754593736e16f6697c | [] | no_license | esmelusina/AIReferenceImplementation | 2401f9d1644a3baca105f71c16e6e988130b6f0e | 35cd7ec4f5d93f4837597bc1d20f6cdf24769d95 | refs/heads/master | 2021-01-01T03:55:05.872308 | 2016-04-20T23:03:59 | 2016-04-20T23:03:59 | 56,643,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,140 | h | #pragma once
#include "Graph.h"
#include <set>
struct Meta
{
Meta()
: node(UINT_MAX), // The node's ID for this metadata (see Graph.h)
prev(UINT_MAX), // Previous node, for pathing
// Bookkeeping data
g(FLT_MAX), // Actual Cost
h(0), // Guessed Cost
... | [
"esmelusina@gmail.com"
] | esmelusina@gmail.com |
584662cf36bf8d906bcf3da38866fc4d854304a8 | 04a524c0b4df3ca0fccc6343a694b332aec6e523 | /tju/3274.cpp | c94207251d94b02b7182a327213b5025dacb1e96 | [
"MIT"
] | permissive | Victoralin10/ACMSolutions | 93ce41fb6a250c021ce007913c4b8d809adeee6a | 6d6e50da87b2bc455e953629737215b74b10269c | refs/heads/master | 2021-01-21T04:40:21.643679 | 2018-09-07T01:54:50 | 2018-09-07T01:54:50 | 53,037,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,820 | cpp | /**
* Title: 3274. Rescue Me II
* Author: Victor Cueva Llanos
* Email: Ingvcueva@gmail.com
**/
#include <bits/stdc++.h>
#define MOD 1023
#define MAXN 900005
using namespace std;
int A2[MAXN], I[MAXN], F[MAXN];
int pow(int b, int e) {
int ans = 1;
while (e) {
if ((e&... | [
"Ingvcueva@gmail.com"
] | Ingvcueva@gmail.com |
fd655e908f27d49eb9ceecc4a8373c5058e138de | edb4f249883679792e689eea9fcf969f331c28ba | /hackerank/bonappetit.cpp | 0ace95f08492a34c180a6fe2b1df21572a98e9bb | [] | no_license | pavelsimo/ProgrammingContest | 2845bddc2a61444bf2c667aa5f77e34f7a324ebc | a2c52be868bcd480a682b872fed85b344731497b | refs/heads/master | 2021-01-25T03:48:05.415007 | 2017-11-11T14:39:51 | 2017-11-11T14:39:51 | 25,308,102 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 790 | cpp | /* ========================================================================
$File:
$Date:
$Creator: Pavel Simo
======================================================================== */
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <limits.h>... | [
"pavel.simo@gmail.com"
] | pavel.simo@gmail.com |
9a9ef0a7529e3408b28caf42fbbc14a2e99bb485 | d841b8ac90be4000b95d06fe9706377acbb30238 | /util/posix_logger.h | 9c891e98c33d3c74a589e6cc3518d10537a527ed | [] | no_license | lebinhe/components | 3ee27ca035545fdd9d5d2cca4e83ad93d4fabdac | b2f74a7d6e119d83a40c2dbad88ac506edcc8846 | refs/heads/master | 2020-03-08T03:58:58.349205 | 2018-07-09T12:13:49 | 2018-07-09T12:13:49 | 127,907,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,710 | h | #ifndef COMPONENTS_UTIL_POSIX_LOGGER_H_
#define COMPONENTS_UTIL_POSIX_LOGGER_H_
#include <algorithm>
#include <stdio.h>
#include <sys/time.h>
#include <time.h>
#include "components/util/env.h"
class PosixLogger : public Logger {
public:
PosixLogger(FILE* f, uint64_t (*gettid)()) : file_(f), gettid_(gettid) { }
... | [
"iceriver12@gmail.com"
] | iceriver12@gmail.com |
214cc878c1dde50f177bf49af8e26a4f2e6bf5d1 | 963e242f252fdcc8b5b0ae9d174d85bcc2474d2a | /src/target_code/src/intermediate_code/include/intermediate_code.h | 199899cf474bf809e77c77c39448239f4766cb28 | [] | no_license | VakrasVasileios/compilers | ab1210394425040051fb4f2852c9de998a3ae99f | 2840ea810ffa8430058e9a5e5a108661251866d2 | refs/heads/main | 2023-07-18T17:37:04.519858 | 2021-06-20T20:10:17 | 2021-06-20T20:10:17 | 343,479,856 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,497 | h | #ifndef INTERMEDIATE_CODE_H
#define INTERMEDIATE_CODE_H
#include <vector>
#include <stack>
#include "../../../../../util/contract/include/contract.h"
#include "../../syntax_analysis/include/syntax_analysis.h"
#include "quad.h"
#include "stmt.h"
#include "loop_stmt.h"
#include "while_stmt.h"
#include "for_stmt.h"
#incl... | [
"stefanoss1498@gmail.com"
] | stefanoss1498@gmail.com |
cc10189e9feb1c485ecfd2dd57f9acd7d2c3d820 | 8c138073ff172613a436db90f5177ab8e3099135 | /q9.cpp | 8f19e824dace526e2d6e7d7d893b2a41729142d6 | [] | no_license | TeamSilverWing/Computer-Graphics-Assignments | e0536213c923e5c5f8ec7c1caca5a812e1e9c774 | d4b30b61a9ed2db532ad6aed4a2afd47dad9774c | refs/heads/master | 2021-01-11T19:44:03.452558 | 2016-10-30T12:56:25 | 2016-10-30T12:56:25 | 67,068,563 | 0 | 2 | null | 2017-10-31T13:46:41 | 2016-08-31T19:49:23 | C++ | UTF-8 | C++ | false | false | 1,621 | cpp | #include <GL/glut.h>
#include <stdio.h>
#include <math.h>
#include <iostream>
using namespace std;
void init(void)
{
glClearColor(1.0,1.0,1.0,0.0);
glMatrixMode(GL_PROJECTION);
gluOrtho2D(0.0,50.0,0.0,50.0);
}
void setPixel(GLint x,GLint y)
{
cout<<x<<", "<<y<<endl;
glBegin(GL_POINTS);
glVertex2i(x,y);
glE... | [
"anshulshah96@gmail.com"
] | anshulshah96@gmail.com |
52bc2d900721228b505dd77453533e85cff4a511 | 8c226f6fbb9a74c5230f1ec5b72e54242d18a62a | /Algos/Stacks And Queues/Nearest_Smaller_Element.cpp | b0b7ef5a31abeab9ca9b6e6bc40125e93db4fbfe | [] | no_license | ToDevelopersTeam/DS-Algos | 8ac23e2bc170ac5b5f032e49433b9fe7b3c926de | 5073c2c36d17569374f4736fc8f07379a111eafd | refs/heads/master | 2023-03-30T20:26:21.372008 | 2021-04-09T12:30:49 | 2021-04-09T12:30:49 | 522,973,009 | 0 | 0 | null | 2022-08-09T13:59:37 | 2022-08-09T13:59:36 | null | UTF-8 | C++ | false | false | 378 | cpp | vector<int> Solution::prevSmaller(vector<int> &A) {
vector<int> ans;
ans.resize(A.size());
stack<int> st;
for (int i = 0; i < A.size(); i++) {
while (!st.empty() && st.top() >= A[i]) st.pop();
if (st.empty()) {
ans[i] = -1;
} else {
ans[i] = st.top()... | [
"anish.mukherjee1996@gmail.com"
] | anish.mukherjee1996@gmail.com |
c4e0f534acf071fd125a43325420f59803d0d65e | 3d2d9cfd6cf274bc351e4357b9313444cbcf0751 | /CP13/String.h | 4bdf4da71d86baa0754e61d149b96447c1c3c958 | [] | no_license | blackeywong/CppPrimer | 82a819645d83bdf206a8631d0333de551b1c3eac | 75341936a875758539d5af697c7aabc789870b97 | refs/heads/master | 2021-05-23T09:11:53.267208 | 2020-04-05T11:14:30 | 2020-04-05T11:14:30 | 253,215,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | h | #pragma once
#ifndef _STRING_H
#define _STRING_H
#include <memory>
using namespace std;
//13.44
class String {
friend ostream& operator<<(ostream& out, const String& s);
public:
String();
String(const char* s);
String(const String& s);
String(String&& s) noexcept;
String& operator=(const String& s);
String& oper... | [
"blackeywong@hotmail.com"
] | blackeywong@hotmail.com |
8e2643cdcb8c2c2cc842d77f9057cc93446875f6 | 023922d39d2dc2db93d153fe3116724430510015 | /OnlineGaming_Project1/Menu.h | 97db913b66f985968a82117d6e1df41557aa17d3 | [] | no_license | francis-carroll/OnlineGaming_Project1 | 25eb890a294538c86bb39ed2ac521a00690b72a7 | 7ad4ff3419d536909843675b619e09c0fa2f7bf4 | refs/heads/master | 2023-02-25T07:59:52.547153 | 2021-01-28T16:42:43 | 2021-01-28T16:42:43 | 319,598,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | h | #pragma once
#include <SFML/Graphics.hpp>
#include <Button.h>
#include <Globals.h>
class Game;
using namespace std;
using namespace sf;
class Menu
{
public:
Menu(Game* t_game);
~Menu();
void update(Time t_dt);
void render(RenderWindow& t_window);
void handleInput(Event& t_event, RenderWindow& t_window);
priva... | [
"fcarroll29@gmail.com"
] | fcarroll29@gmail.com |
b49a80a3b641db07dc145218dff69d49a69ea667 | 17879403cafdd0d924352f58e431760b4548e5aa | /Util.cpp | 376da7588cdeff0fd7461a158c44fcf1d257e614 | [] | no_license | ELthomasoPostfix/TrafficSimulator | 2cc065b9803bf88e6f3e21b287fb3449bb55de67 | d9834cbfd29c410c13ae70f4c53a97be12f4b7b6 | refs/heads/master | 2022-08-25T16:26:10.222865 | 2020-05-27T02:35:06 | 2020-05-27T02:35:06 | 262,740,328 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | cpp | //
// Created by Thomas Gueutal on 17.05.20.
//
#include "Util.h"
std::string Util::boolToString(const bool b) {
if (b) {
return "true";
} else {
return "false";
}
}
std::string Util::boolToArrowString(const bool isTwoWay, const bool LR) {
std::string arrow = "<--";
if (isTwoWay)... | [
"GueutalThomas@outlook.com"
] | GueutalThomas@outlook.com |
030473f9adf1c548512958136fe2e43c25700f7d | e9781716464add3d4b3d83973337bc2399d04260 | /C++ Lessons/Week 10 - Polymorphism/Poly incomplete/PolyWantAChracker/PolyWantAChracker/Driver.cpp | d83d5aa5e7e41c49e3045296cc32d7e834f1fb5a | [] | no_license | hal-oconnell/prog2100 | 2a668b1fb4a56946133a00eaaf27d2f3c6159354 | 68376a3667d2a47d1080ab9e0e235b8716808cb8 | refs/heads/master | 2021-07-13T07:29:44.573616 | 2017-10-17T16:45:01 | 2017-10-17T16:45:01 | 105,903,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | cpp | //Driver.cpp file
#include <iostream>
#include <conio.h>
//#include "Vehicle.h"
//#include "Bicycle.h"
//#include "Boat.h"
using namespace std;
//prototypes
void withoutCasting();
void sliceExample();
void upCasting();
void downCasting();
void typeidExample();
void polyExample();
int main()
{
//w... | [
"hal.oconnell@nscc.ca"
] | hal.oconnell@nscc.ca |
930a19f0c10c511f6c634684303834f22cb4c821 | 59578dc1381833bc9efa8730c48cfff045552b2d | /solution038.cpp | f5f62d887f16eb7c2c1ffb3f69539f80270f093a | [
"MIT"
] | permissive | motianlun99/leetcode | 46d5a27ee70ba3ec4ac8dbc539d24736c27659df | 956b2bcaddff1f6d49968ddb392a3641628374d9 | refs/heads/master | 2023-07-18T08:48:59.672012 | 2021-09-05T06:53:21 | 2021-09-05T06:53:21 | 399,427,627 | 0 | 0 | MIT | 2021-08-24T10:42:13 | 2021-08-24T10:42:12 | null | UTF-8 | C++ | false | false | 811 | cpp | /**
* Count and Say
*
* cpselvis(cpselvis@gmail.com)
* September 12th, 2016
*/
#include<iostream>
using namespace std;
class Solution {
public:
string countAndSay(int n) {
string ret = "1";
for (int i = 1; i < n; i ++)
{
int count = 1;
string tmp = "";
for (int j = 1; j < ret.size... | [
"cpselvis@gmail.com"
] | cpselvis@gmail.com |
b4d023d0838d07075241773b6cdf4c5903ec1319 | bc421359775657f09c88dddfd69473a12f71bca7 | /Uva solutaion/p1124.cpp | 987457822ac823f12c6ec88979384d2005d5600d | [] | no_license | mdnaimur/AllProgramCoding | c31b058071b0b1b18c968edded56a9980e265eb9 | b67ad04373404771a3bd629fe30301c1bdcf8b80 | refs/heads/master | 2021-02-09T10:35:34.774706 | 2020-03-31T04:30:02 | 2020-03-31T04:43:33 | 244,271,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | cpp | #include<iostream>
using namespace std;
int main()
{
char a[1000];
while(cin.getline(a,sizeof(a))){
cout<<a<<endl;
}
return 0;
}
| [
"mdnaimurr@gmail.com"
] | mdnaimurr@gmail.com |
48dc3f8abd97d471ee8765adf25e398e11b24089 | 344be5840be33108d6f703ed05d8952fb16f63f1 | /opt/outliner/Outliner.cpp | e54c865cb9919d17a25dab338cc7f6fbe3de81f2 | [
"MIT"
] | permissive | jsjxsy/redex | 4ebfaf46534c7d18f6a9f9ebfd74288f9ea347d3 | 1fe1f97ea0b70cfa0768d9bbdf4d5e585c766cab | refs/heads/master | 2020-09-02T08:01:39.757308 | 2019-11-01T22:03:31 | 2019-11-01T22:05:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,727 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "Outliner.h"
#include <algorithm>
#include <map>
#include <string>
#include <unordered_map>
#include <unordered_set>
#inc... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
d3689391d68b018efc23290ea81b2f21d445036c | ba82603652e7d0c1ba3a61369c1e00e7feb13d36 | /neXnova/3d/moon.h | c82841c2ec12db43a949ae45fff3b3e30a24aa83 | [] | no_license | qaz734913414/neXnova | 83b5eb2d7e49e402017e0eb7b7b397e6b8ce6fff | 49823ba90ab41122b99ada0d148c2be23efa69b0 | refs/heads/master | 2020-04-24T06:32:47.981530 | 2019-02-20T05:27:08 | 2019-02-20T05:27:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,170 | h | #ifndef MOON_H
#define MOON_H
#include <QObject>
#include <Qt3DCore>
#include <Qt3DExtras>
#include <Qt3DRender>
#include <Qt3DAnimation>
#include <Qt3DRender/QMesh>
#include <Qt3DExtras/QSphereMesh>
#include "rotation.h"
#define D3Debug 0
class moon : public Qt3DCore::QEntity
{
Q_OBJECT
Q_PROPERTY(QStrin... | [
"jdenis@uclv.cu"
] | jdenis@uclv.cu |
62e59cd2e9856d279c1d47357a28fa6e358767ed | 0569606dc4bd1ec1e0976ec79429686fddea38b4 | /Munchkin/include/Personnage/Joueur/EtatJoueur/Attente/Attente.cpp | 37e4dfc6fa33bc51ea41f9637d9a431e73525580 | [] | no_license | QuentinLeCorvec/Applications | f3cbedffc069cb9160a6aac8371899e6f7b84822 | 994d1a6a903898763f606ea002dee1433b8af086 | refs/heads/master | 2020-07-27T13:02:41.364506 | 2019-09-17T16:23:00 | 2019-09-17T16:23:00 | 209,098,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | cpp | /**
* \file Attente.cpp
* \brief implémentation classe Attente
* \author Le Corvec Quentin
* \date Octobre 2014
*/
#include "Attente.hpp"
Attente::Attente(Joueur * j):EtatJoueur(j){}
Attente::~Attente(){}
| [
"50618902+QuentinLeCorvec@users.noreply.github.com"
] | 50618902+QuentinLeCorvec@users.noreply.github.com |
23dd6bdf98e91812c68335a1121fdde8b148294b | 49c35b6b3d0cd541aad735a43520f9ab57b7dec3 | /programa-5/main.cpp | 1f447bb1dac352374dd5b7073584f6a9499858e8 | [] | no_license | humbertowoody/algebra-lineal-escom | 6999eacc040896c016f4aa9efc0f90681f003d69 | ebd06c5971b5ee00878bddeaeacaafe838bbfb8a | refs/heads/main | 2023-02-17T11:27:31.647195 | 2021-01-20T22:42:48 | 2021-01-20T22:42:48 | 304,996,386 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,426 | cpp | /**
* Escuela Superior de Cómputo - Instituto Politécnico Nacional
* Dr. Dárwin Gutiérrez Mejía - Álgebra Lineal
*
* Programa que calcula las bases del espacio imagen y del espacio nulo a partir
* de una matriz inicial.
*
* Humberto Alejandro Ortega Alcocer (2016630495) <hortegaa1500@alumno.ipn.mx>
* Programa 5... | [
"humbertowoody@gmail.com"
] | humbertowoody@gmail.com |
3f3bc0a54a96615e44bc95f6346d4d470b6305b1 | 790c74e6fb10857cd396e07f1eb39c4733596e91 | /include/oglplus/texgen/render_node.hpp | cdf10ce4a490a0ee253cafca05c764f4f3a721f1 | [
"BSL-1.0"
] | permissive | Blinky0815/oglplu2 | 838a4d9484359b8c381ab49827caad4bef7e0a39 | 8cc3f1d3305179e4ade8b3973f4862df7543ad2a | refs/heads/master | 2020-03-22T21:59:10.271736 | 2017-11-17T14:01:25 | 2017-11-17T14:01:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,828 | hpp | /**
* @file oglplus/texgen/render_node.hpp
*
* Copyright Matus Chochlik.
* Distributed under the Boost Software License, Version 1.0.
* See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt
*/
#ifndef OGLPLUS_TEXGEN_RENDER_NODE_1509260923_HPP
#define OGLPLUS_TEXGEN_RENDER_... | [
"chochlik@gmail.com"
] | chochlik@gmail.com |
df83297d35335b6aee5e9599559d44525d92b7c4 | 4fbdb56be0b723f42265f6d91d5662bf4a031ee5 | /src/ChunkData.pb.h | 80b6d4a0920017aa2da0780751b1fd90f1872600 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | rgodha/hackIllinois2016 | b4d7f482f03841426f3cfe1588316a82b97b83ad | 3166a9f9b4a298212076ec2069800f73a494772e | refs/heads/master | 2021-01-10T05:11:38.873488 | 2016-02-21T06:42:38 | 2016-02-21T06:42:38 | 52,146,069 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | true | 16,519 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ChunkData.proto
#ifndef PROTOBUF_ChunkData_2eproto__INCLUDED
#define PROTOBUF_ChunkData_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2006000
#error This file was generated by a newer... | [
"grigorescu@gmail.com"
] | grigorescu@gmail.com |
67321d5b3e47c4b99a08403dde77b13648f9fdbd | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /postgres/include/tencentcloud/postgres/v20170312/model/DescribeDBXlogsRequest.h | 39640498c949076ebd009991f14a2ffe53ddfa64 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 6,728 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"jimmyzhuang@tencent.com"
] | jimmyzhuang@tencent.com |
619fc369a713af8d8dc6a8c888b3473692588428 | 4622b38786f36e09af1c1367135583e9043d1a60 | /Chapter03_05/Source/Main.cpp | fe605c36c577e7de38ebecb3e50132582afd7988 | [] | no_license | jplebre/Books.GettingStartedWithJuce | 3bf3941bbf17c2563a789d9ca0a9a403263d0aa2 | d75537518987c371e14fbb9c7cb7eb69a86734d4 | refs/heads/master | 2021-01-10T09:19:38.300288 | 2015-11-23T23:26:05 | 2015-11-23T23:26:05 | 46,193,317 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,757 | cpp | /*
==============================================================================
This file was auto-generated by the Introjucer!
It contains the basic startup code for a Juce application.
==============================================================================
*/
#include "../JuceLibrar... | [
"jplebre@gmail.com"
] | jplebre@gmail.com |
fef1e9b9313ff8ee03d6040575c6dfa68dd0bb9b | 83fa42dc9c60f2d7537b1bbe0894713156bc488f | /c++初级/001.Cppprimer_快速入门/demo5.cpp | 89ed257424ccf7c2a74cf432ad760605bf004b52 | [] | no_license | 15529343201/C-Plus-Plus | c4782b054ac0c0aac66711312209e13a8acf0a4f | 33d499dd94d720d0131afef4fe071624bc171ede | refs/heads/master | 2020-05-21T03:43:01.145036 | 2017-10-06T15:20:12 | 2017-10-06T15:20:12 | 84,566,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 168 | cpp | #include<iostream>
int main()
{
int sum=0;
for(int val=1;val<=100;++val)
{
sum+=val;
}
std::cout<<"Sum of 1 to 100 inclusive is "<<sum<<std::endl;
return 0;
}
| [
"15529343201@139.com"
] | 15529343201@139.com |
33f779da19276e4750df4a7e8aea0a53f6f71abc | c9fb34b4f10d30e71e7acde6f365d356694abf83 | /PBNeo/Server/Client/Client/ViewTree.cpp | e43d6b21b48e19ddd41f8586d6bc8b513f0dbda4 | [] | no_license | daekyuuu/DKGame2 | a52311e4df0d67132afada8d226ce45a0bd331ef | e5405499e7dcf02225757888c8fbaf847cb200cd | refs/heads/master | 2020-12-02T06:40:23.579274 | 2017-07-12T05:00:08 | 2017-07-12T05:00:08 | 96,866,994 | 9 | 2 | null | null | null | null | UHC | C++ | false | false | 842 | cpp |
#include "stdafx.h"
#include "ViewTree.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CViewTree
CViewTree::CViewTree()
{
}
CViewTree::~CViewTree()
{
}
BEGIN_MESSAGE_MAP(CViewTree, C... | [
"daekyu.park@zepetto.com"
] | daekyu.park@zepetto.com |
95595067d0d5d86fefee58167884ab256ddca9f3 | f373c3bb699c190b619f9a9171d32f63c1cbbf4e | /Framework/SkyDome.h | 95480a774ad012847a833d9e99afa5cfefe11881 | [
"MIT"
] | permissive | ian-wigley/DX9-3d-Framework | 535a555ed8851d92cf4489b8ac3ad0007b845656 | 8c7192a0fb00ee1a73ecde9ce1310c2d519f027b | refs/heads/master | 2023-05-02T07:08:42.017463 | 2023-04-18T16:39:03 | 2023-04-18T16:39:03 | 112,025,330 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | h | #pragma once
#include "SceneNode.h"
#include "Framework.h"
#include "FrameWorkResourceManager.h"
#include "CameraRender.h"
class SkyDome :
public SceneNode
{
public:
SkyDome(void);
~SkyDome(void);
SkyDome(wstring name, Framework* frame, FrameWorkResourceManager* _frameResourcesManager);
HRESULT Render(void);
pri... | [
"ian.wigley2011@gmail.com"
] | ian.wigley2011@gmail.com |
6c21eadc4732a14bc7f1049446466746c2492a5f | 42197a436b880b3175dc5d6333866087cf6a7dbc | /kadas/gui/mapitems/kadascircleitem.h | 000e3fa96bc9674fcedf447bf7bee3c8ce34faf0 | [] | no_license | mhugent/kadas-albireo2 | 2a4dce3cc15592c2271bc7efc89088e8d168a0b8 | 8744ef1e1cbc772a51a02a6654556d9dc660824d | refs/heads/master | 2020-08-27T07:47:00.298743 | 2019-10-23T19:29:16 | 2019-10-23T20:21:24 | 217,289,123 | 0 | 0 | null | 2019-10-24T12:04:29 | 2019-10-24T12:04:29 | null | UTF-8 | C++ | false | false | 4,489 | h | /***************************************************************************
kadascircleitem.h
-----------------
copyright : (C) 2019 by Sandro Mani
email : smani at sourcepole dot ch
***************************************************************************/
/**************... | [
"manisandro@gmail.com"
] | manisandro@gmail.com |
34f8f77bdcc5c6d4af535a323390e3f6e64f966a | f86bc650e09483e1a032415aec68abddf64bdb98 | /C++/Chamber.cpp | 785a3d763bf5ea9988ede721b51a55267068fb61 | [] | no_license | Isur/Hunt-The-Wumpus | 1f7d10914790e73a1118c3a39492df064f88e3a5 | 72f2d529a9c3d164680a04e8abead9c51a0947e4 | refs/heads/master | 2021-08-27T23:43:33.198346 | 2017-12-10T20:26:50 | 2017-12-10T20:26:50 | 113,673,159 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,436 | cpp | #include "Chamber.h"
Chamber::Chamber(const int chamber)
:number{ chamber }
{
this->n1 = nullptr;
this->n2 = nullptr;
this->n3 = nullptr;
this->player = nullptr;
this->monster = nullptr;
catapult = false;
floor = true;
arrow = false;
}
Chamber::~Chamber()
{
}
Chamber* Chamber::addChamb... | [
"arturbed96@gmail.com"
] | arturbed96@gmail.com |
5a260a46fd8aaa371569bf6ef7d5d8ce7be977b7 | eacdb2112c5f2251ba7fdcdc30ffec5fb1c40dd5 | /07-04-2/07-04-2/07-04-2.cpp | 3a6a5ba74175ef8e95c2e504b5347eb82cfe41af | [] | no_license | PeriD/alalei | 38630418eb4dcd4888d170b019b348868dcade6f | 54f865ff15b3adc1ac85c677a42777b09bda25f3 | refs/heads/master | 2020-06-11T05:34:00.829137 | 2020-03-05T15:15:08 | 2020-03-05T15:15:08 | 193,864,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | cpp | #define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;
int main()
{
int n;
int a, b;
while (cin >> n)
{
int i;
int tep = 1;
for (i = 0; i < n; i++)
{
tep *= 5;
a = 5 * (tep - 1) + 1;
}
b = n;
cout << a << ' ' << b << endl;
}
system("pause");
return 0;
} | [
"1002906778@qq.com"
] | 1002906778@qq.com |
a6ee70bd1cade0672eb0a57b2192489aef22a639 | 803c5084fb83c1b50c3bd0734f48f30792f783e1 | /SPOJ/icpc-acm6139.cc | b8903415fb9c87aa1bfe460c5a4117698f49a978 | [] | no_license | guilhermeleobas/maratona | 9627570276d4fd843918013c1fd5a702bbada0e4 | 5d46263b335d2e70b0156001116f7030a068cf5a | refs/heads/master | 2022-09-20T11:28:26.367178 | 2022-09-05T05:20:43 | 2022-09-05T05:20:43 | 21,397,024 | 5 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,846 | cc | /*
Problema - 6139 - Interval Product
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4150
Guilherme Leobas
*/
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <set>
#include <vector>
#include <algorithm>
#include <utility>
#inclu... | [
"guilhermeleobas@gmail.com"
] | guilhermeleobas@gmail.com |
c9cfaf13ab4b0283769f8579c84df412e6a5be28 | 2cda4cee70a7b676520dcacd25fb928e00f7f77b | /src/sinbaram/SkillFunction/Morayion.cpp | 97c42fbc228cd91f9d65a5c513fd466703691030 | [] | no_license | GreenDamTan/priston | bbb23b6c9a10f8132f0534b48bd0e3c93c4320cb | 9c416f64332016ac3b040eecf8f31207719b8fbb | refs/heads/master | 2020-12-02T06:33:35.548117 | 2017-01-14T17:54:24 | 2017-01-14T17:54:24 | 96,853,442 | 1 | 1 | null | 2017-07-11T05:17:06 | 2017-07-11T05:17:06 | null | UHC | C++ | false | false | 23,427 | cpp | /*----------------------------------------------------------------------------*
* 파일명 : Morayion.cpp
* 하는일 : 모라이온의 스킬
* 작성일 : 최종업데이트 9월
* 적성자 : 박상열
*-----------------------------------------------------------------------------*/
#include "..\\sinLinkHeader.h"
/*-------------------------------------------------... | [
"renan.toledo@live.com"
] | renan.toledo@live.com |
75833ec58496a76c294c146e3d5baff599ddd12c | 9d87d93adf445dff5bb174e72872efd053e14c07 | /bus_routes/main.cpp | c7a8c341d593447a890d79535c42b918798d93fd | [] | no_license | smhx/dmoj | c1064ab32d9609483bd3a072d09efa6b9bf254b1 | c4bb7cc5ac59427718ad08325b760b139c7c9487 | refs/heads/master | 2021-09-17T05:15:28.702218 | 2018-06-28T10:19:43 | 2018-06-28T10:19:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 107 | cpp | #include <bits/stdc++.h>
using namespace std;
int N, K, P;
int main() {
scanf("%d%d%d", &N, &K, &P);
} | [
"stevenmai132@yahoo.ca"
] | stevenmai132@yahoo.ca |
888e31bf52f2bc2e3250c304eca1b341098e344d | 2b3aa52fcc52d6fe45fde4d6aba280a95fce3f6e | /SML/sml/Value.cpp | 85eb3ac070f24767ca2d181156275821ee16e187 | [] | no_license | risooonho/SML | ee920d867dd4393837d7c24f8aadf39b5c40cf81 | b26210c0430745a0ab3e2af27dc8238eecaa4275 | refs/heads/master | 2021-05-29T08:03:10.968923 | 2015-04-21T12:04:13 | 2015-04-21T12:04:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,739 | cpp | #include "Value.hpp"
#include "Parser.hpp"
namespace sml
{
const String Value::defaultString;
const Array Value::defaultArray;
const Object Value::defaultObject;
const TypedObject Value::defaultTypedObject;
Value::Value(const Value & other)
{
*this = other;
}
void Value::loadFromStream(std::istream & input)
{
Par... | [
"marc.gilleron@ubisoft.com"
] | marc.gilleron@ubisoft.com |
1d7ff277ea2276019bbb12f91fbefa0107815fab | d26bb3fcd64ff9e9c54089fdf960ced904349113 | /logdevice/common/configuration/ServerConfig.cpp | 57405a45bf38ef253a83f4551bdad098d120dfe9 | [
"BSD-3-Clause"
] | permissive | zhaohaidao/LogDevice | 992056badd72a143f4ad236638382864d718fdbf | 7028e97d305981936056e1651542f54ef5c420f0 | refs/heads/master | 2020-05-19T14:01:19.766972 | 2019-05-05T02:37:40 | 2019-05-05T03:23:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,259 | cpp | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#define __STDC_FORMAT_MACROS // pull in PRId64 etc
#include "logdevice/common/configur... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
c12f0fcdfbab70e68740cb71579fc7f2cb4fd3aa | 6b40e9cba1dd06cd31a289adff90e9ea622387ac | /Develop/Server/GameServer/main/GDBTaskExecCounter.cpp | 015d1ed197beada5939e11da53c0d4f6080c7647 | [] | no_license | AmesianX/SHZPublicDev | c70a84f9170438256bc9b2a4d397d22c9c0e1fb9 | 0f53e3b94a34cef1bc32a06c80730b0d8afaef7d | refs/heads/master | 2022-02-09T07:34:44.339038 | 2014-06-09T09:20:04 | 2014-06-09T09:20:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,188 | cpp | #include "stdafx.h"
#include "GDBTaskExecCounter.h"
GDBTaskExecCounter::GDBTaskExecCounter()
{
}
GDBTaskExecCounter::~GDBTaskExecCounter()
{
}
void GDBTaskExecCounter::AddCount( const SDBTASK_ID nID, const int64 nWorkTm )
{
CountMap::iterator it = m_mCounter.find(nID);
if (m_mCounter.end() == it)... | [
"shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4"
] | shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4 |
cf3a5aa1b123939a58d7d0682e08b1cb2a004e76 | 8f463a8083a464ecccfb3e3c9febea95f3838959 | /deps/fbjni/cxx/fbjni/detail/Meta-inl.h | 6c51935199ba24cd8c7127fe733e5b708539e1ce | [
"Apache-2.0"
] | permissive | amanjeetsingh150/profilo | 6e9c4e43bc5d8bc4d0ad825fab238a991a822407 | a0d626d1c3889bdbaaa5c12ca2d2606f0fee45da | refs/heads/master | 2020-08-24T19:30:19.627944 | 2019-10-22T14:38:07 | 2019-10-22T14:39:38 | 216,891,585 | 0 | 0 | Apache-2.0 | 2019-10-22T19:16:53 | 2019-10-22T19:16:53 | null | UTF-8 | C++ | false | false | 17,232 | h | /**
* Copyright 2018-present, Facebook, Inc.
*
* 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 ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
382bfa67bfae0853bd468bdec90b7536f854c1c3 | e326f6f04544dffbd5d6697c6ba95b22a0bfa227 | /FileServer/FileServer/FileServer.cpp | 541e6bbe67d58cc5cb496212d1d24d7ef3f85e57 | [] | no_license | FC-09/learn_test | dba6f77fb07c271983994aa4a2d88345c7565004 | 3bbcd31c8547fe96627692fe6a66f9427256fcc8 | refs/heads/master | 2020-12-30T12:22:44.741680 | 2017-06-08T12:12:25 | 2017-06-08T12:12:25 | 91,424,622 | 0 | 0 | null | 2017-05-16T06:42:31 | 2017-05-16T06:42:31 | null | GB18030 | C++ | false | false | 1,604 | cpp | #include "FileServer.h"
FileServer::FileServer()
{
sListen = 0;
sClient = INADDR_ANY;
sin = { 0 };
remoteAddr = { 0 };
sockVersion = MAKEWORD(2, 2);
nAddrLen = sizeof(sockaddr_in);
sin.sin_port = htons(1234);
sin.sin_family = AF_INET;
sin.sin_addr.S_un.S_addr = INADDR_AN... | [
"543268543@qq.com"
] | 543268543@qq.com |
680b9135891fe6d782a864188c71a0489afd21aa | 060a177359e580e461a5f9239972a53d23a474a9 | /sgpa.cpp | 10ec5d52e1f2d88a278bf1ab2ab68de57dfefd96 | [] | no_license | SayeedSA/Learn_Challenge | a1109a6f837389d6d8fa641b3261b85a2cfb254b | a2110b2f957cec13c6fd6456df5ee5d38fac55db | refs/heads/main | 2023-08-17T08:03:02.034351 | 2021-09-25T09:44:35 | 2021-09-25T09:44:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | #include<iostream>
using namespace std;
class Result
{
public:
float c1,c2,c3,c4,c5,avg;
float sgpa(float x,float y,float z)
{
c1=x;
c2=y;
c3=z;
avg=(c1+c2+c3)/3;
return avg;
}
float sgpa(float x,float y,float z,float a)
{
c1=x;
c2=y;
... | [
"39121672+sayeedahmedsabbir@users.noreply.github.com"
] | 39121672+sayeedahmedsabbir@users.noreply.github.com |
e8026af9245c5c5f2e6c587aed08b4cdc25e212d | 8ae14c7a045ae5382883ea44d58805e4b2ed0045 | /Arduino/AutoPilot_v4.9/xplane.h | 5a3a1b6749068163b312dfd03356425734bd8ed8 | [] | no_license | UAVWorks/Autopilot-for-XPlane-with-ESP8266 | a26e5e1c227005afcd922cfc6843403fa523845b | cad8c3f1668eecbcb1adc69d048b62e2f3b543ce | refs/heads/master | 2020-03-30T05:09:53.148790 | 2017-07-03T07:08:03 | 2017-07-03T07:08:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,411 | h | #ifndef XPLANE_H
#define XPLANE_H
#include <WiFiUDP.h>
#define UDPRATE 12.0F
#define UDPSPORT 49000
#define UDPRPORT 49003
#define MAXPAGES 30
#define MAXRREFS 20
#define DATASIZE 5 + MAXPAGES * 36
typedef void (*cbXplane0)(bool status);
typedef bool (*cbXplane2)(long a, float b);
class XPLANE {
private:
uint... | [
"erik@palsbo.com"
] | erik@palsbo.com |
445897cc5d15217eb9efe4681826c60bb2fc9b40 | 1dbed0f84a670c787d2217d97ae3984401c7edb3 | /gj/h116.cpp | 9966b4eaac56825368c1019dc3f5f25b9aac635c | [] | no_license | prprprpony/oj | 311d12a25f06e6c54b88bc2bcd38003f7b6696a9 | 84988be500c06cb62130585333fddd1a278f0aaa | refs/heads/master | 2021-07-13T16:03:54.398841 | 2021-03-27T14:19:52 | 2021-03-27T14:19:52 | 46,796,050 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | #include <iostream>
using namespace std;
int main()
{
int t, ans;
long long a[6];
long long m;
cin >> t;
while (t--) {
m = 1;
ans = 0;
for (int i = 0; i < 6; i++) {
cin >> a[i];
m *= a[i];
}
for (int i = 1; i <= 4; i++)
... | [
"3254tg89@gmail.com"
] | 3254tg89@gmail.com |
3d8dd229c4c36643b002c8a4895448364ca0b40d | c8f29fbdbbfc42902427a60a69f500e360c39abc | /TestProject/src/TestProject.cpp | 50479adca0ff0455c8edd153e9bcd6eb25208d1e | [] | no_license | WirelessCaveman/AlgorithmsTest | 523ef14aa1f9ab8f23ca00abb4fe78fe34fc08e8 | 668f421d667a81859ae934dfb6b40a33923f0947 | refs/heads/master | 2021-01-19T02:17:46.955676 | 2016-06-20T07:10:06 | 2016-06-20T07:10:06 | 26,628,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | //============================================================================
// Name : TestProject.cpp
// Author : Shailesh Kadamaje
// Version :
// Copyright : Your copyright notice
// Description : Small Test programs
// 1. int WithoutConditions(int a, int b, int c): without using conditional stat... | [
"wireless.caveman@gmail.com"
] | wireless.caveman@gmail.com |
a7b2c0b45ec31b676c46e0b1bb24629ebcc29ce7 | c02b8bbe6ddd03e3a6a4d0544f28c8848537d848 | /server/ManagerLogic.cpp | d1a8e4853e88df91e5ee586509423d6d9c7942bc | [
"MIT"
] | permissive | github188/net | 72a3c706974453dfbb9da73d45f0e35ed31e8b50 | add2c8ee93bee9c0a47e200e2c79297ab7a0c158 | refs/heads/master | 2021-01-15T13:50:23.955433 | 2014-04-14T06:03:51 | 2014-04-14T06:03:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | cpp | #include "ManagerLogic.h"
#include "db.h"
#include "Info.h"
#include "start.h"
class PhysicNodeInfo_Table:public db::DBTable{
public:
LogicNodeInfo info;
std::string ip;
DEC_TABLE
};
TABLE_BEGIN(PhysicNodeInfo_Table)
FIELD(info.nodeType);
FIELD(info.port);
FIELD(ip);
TABLE_END
CLASS_MAP(ManagerLogic)
{
BIND_NE... | [
"jjl_2009_hi@163.com"
] | jjl_2009_hi@163.com |
c8eaeaf303770fee3b26a83f0db9f7443e3efdaa | d53b5582454b38260b248e3a2900f14e5c060284 | /include/binder/MemoryHeapBase.h | 470a3403fb84f388083764ad5b06b31e8821be7d | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | leoisright/android_frameworks_base | 3bb158f5515191b25b3d9245df7188268cc435f5 | 5bd346e46691ebbf16ad43e6b506ee1e4885e3c6 | refs/heads/master | 2021-01-19T04:50:55.175534 | 2012-03-01T02:19:35 | 2012-03-01T02:19:35 | 3,382,201 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,824 | h | /*
* Copyright (C) 2008 The Android Open Source Project
*
* 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 app... | [
"leoisright@gmail.com"
] | leoisright@gmail.com |
fb2b90663c863d320db5a473c33720cf62f7a7d6 | cc7661edca4d5fb2fc226bd6605a533f50a2fb63 | /System.Xml/XmlSchemaAppInfo.h | 7ef2f41d54047dc319db7daf60a8ab42d271814e | [
"MIT"
] | permissive | g91/Rust-C-SDK | 698e5b573285d5793250099b59f5453c3c4599eb | d1cce1133191263cba5583c43a8d42d8d65c21b0 | refs/heads/master | 2020-03-27T05:49:01.747456 | 2017-08-23T09:07:35 | 2017-08-23T09:07:35 | 146,053,940 | 1 | 0 | null | 2018-08-25T01:13:44 | 2018-08-25T01:13:44 | null | UTF-8 | C++ | false | false | 399 | h | #pragma once
#include "..\System\Xml\XmlNode.h"
#include "..\UnityEngine\UnicodeString*.h"
namespace System
{
namespace Xml
{
{
namespace Schema
{
class XmlSchemaAppInfo : public XmlSchemaObject // 0x70
{
public:
System::Xml::XmlNode* markup; // 0x70 (size: 0x8, flags: 0x1, type: 0x1d)
UnityEngine::UnicodeS... | [
"info@cvm-solutions.co.uk"
] | info@cvm-solutions.co.uk |
c8227325474fc24ae10529b5e3b4b49f262af5d0 | 0841c948188711d194835bb19cf0b4dae04a5695 | /p2pserver_v2/ifox_track/sources/thelib/src/track/trackprocess.cpp | 2d559dc3ae563f932cc9c062497d4570d75a2da8 | [] | no_license | gjhbus/sh_project | 0cfd311b7c0e167e098bc4ec010822f1af2d0289 | 1d4d7df4e92cff93aba9d28226d3dbce71639ed6 | refs/heads/master | 2020-06-15T16:11:33.335499 | 2016-06-15T03:41:22 | 2016-06-15T03:41:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,413 | cpp | #include "netio/netio.h"
#include "p2p/p2p.h"
#include "track/trackprocess.h"
#include "track/trackworker.h"
#include "track/user.h"
#include "track/cmd.h"
TrackProcess::TrackProcess(TrackWorker *worker)
: BaseProcess(1024*1024)
{
worker_ = worker;
timer_ = NULL;
memset(&head_, 0, sizeof(head... | [
"greatmiffa@gmail.com"
] | greatmiffa@gmail.com |
5afb43ab2126a251636d072221dbe3ca810d862d | 1bfbeb5bddf83d05f8d8bc1be0b191346ba38f88 | /settings.cpp | 0bb768101603992ed83f7b92b59184db156895bf | [] | no_license | emmios/synth-greeter | 00c41fff561de69e5b78e8b24f0bfe750aaf172d | 85c7688d1ec34f1b2fb80612eb871119e3954555 | refs/heads/master | 2020-03-31T01:26:53.200976 | 2018-10-05T21:53:53 | 2018-10-05T21:53:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include "settings.h"
Settings::Settings() : QSettings("/etc/lightdm/emmi-greeter.conf", QSettings::NativeFormat)
{
beginGroup("Config");
this->backgroundImage = value("greeter-background-image").toString();
this->userImage = value("greeter-user-image").toString();
this->lastSession = value("last-sessi... | [
"kamikazi3200"
] | kamikazi3200 |
2d1e208a5f456183a07856aa3a51be535f6ddd08 | 9c54d9d6e081bc38f5ba60fa8f50d93460d02b66 | /177.cpp | f768d12e2a24aa61e0d4a0b93bae1804f98bb94d | [] | no_license | HaiZeizhouyuan/HZOJ | 8444281e7ac8a30a507db810edc0ac1144044434 | 9b5adb02da476e19578327d3a90bf41d9e0e68ef | refs/heads/master | 2023-03-24T08:00:57.835764 | 2021-03-23T05:42:44 | 2021-03-23T05:42:44 | 274,556,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | cpp | /*************************************************************************
> File Name: 177.cpp
> Author:
> Mail:
> Created Time: Fri May 29 01:49:09 2020
************************************************************************/
#include<iostream>
#include<cstring>
using namespace std;
int main() {
char st... | [
"3623936813@qq.com"
] | 3623936813@qq.com |
b48b9bea0e87af0430d7f8a0685203da1f3ffba0 | 4febf57a9c1d0f72efb24c774feb9023eb5119e5 | /lib/Maxbotix/Maxbotix.cpp | 3a65061767b69954288ae2bf07d4446123890bae | [] | no_license | smaug-g/floodfellas-sonar | 1c856b1bb973255089260ee1ab43be96227e1d50 | 0b5df69a58ec97a90edda78c9fa01f8d1a4b7bfe | refs/heads/master | 2022-04-18T15:56:31.162659 | 2020-04-13T16:32:24 | 2020-04-13T16:32:24 | 255,382,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | cpp | #include <Maxbotix.h>
SoftwareSerial *mySerial;
int EN_pin;
void begin_maxbotix(SoftwareSerial* port, int _EN_pin)
{
mySerial = port;
EN_pin = _EN_pin;
pinMode(EN_pin, OUTPUT);
digitalWrite(EN_pin, LOW);
}
void read_maxbotix(char *buffer, int len_buffer)
{
mySerial->listen();
int i = 0;
char incoming_ch... | [
"smg10@rice.edu"
] | smg10@rice.edu |
36d8f9310405f97cdbe4e9fd087b3d93e10b7da0 | 38a6e516e34082b24c443b07234fa3cc2b31df43 | /tools/test/windows/tw.cc | ca57d369392b7cad4f5cc97e1d6312e3d4ce59ac | [
"Apache-2.0"
] | permissive | rachcatch/bazel | 4d6c641342621fba95f530f34c018e6cd2dd3710 | 1b4aa06432ac98505ddcdb5c72b8a8b9105d73fa | refs/heads/master | 2020-04-03T14:34:09.372844 | 2018-10-30T00:00:51 | 2018-10-30T00:02:30 | 155,326,573 | 0 | 0 | Apache-2.0 | 2018-10-30T04:55:50 | 2018-10-30T04:55:49 | null | UTF-8 | C++ | false | false | 35,726 | cc | // Copyright 2018 The Bazel 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 appl... | [
"copybara-piper@google.com"
] | copybara-piper@google.com |
1bda57066d1ee82a035ba525036ffecc30b9e833 | 81a3d9fdd4a6ed1854396fe12076dc97d13a5731 | /graph adjacency matrix.cpp | 83771bae595f0aa0e3b4b2d8d4f91f13791113da | [] | no_license | acodebreaker/practice-codes- | 1de1ce32f7270fdb81b7d66ee68e75188eab3986 | 5a02cc01f1a7940e6762aeb1814ec9a02f87766b | refs/heads/master | 2021-01-10T01:02:34.663920 | 2014-12-31T13:07:36 | 2014-12-31T13:07:36 | 19,846,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | #include<bits/stdc++.h>
#define MAX 101
int adj[MAX][MAX];
using namespace std;
int main()
{
int choice;
printf("enter 1 for directed , 2 for undirected graph\n ");
scanf("%d",&choice);
printf("enter number of vertex\n");
int n,i,j;
int source,dest;
scanf("%d",&n);
int max_edges;
if(choice==1)
max_edges=n*(n-1);
if(ch... | [
"itsankitrawat@gmail.com"
] | itsankitrawat@gmail.com |
cab631685dfad985801fff2f0acee2f5290e2880 | 3cb4924e93ac5214f4a86e356e2b6fa200c75235 | /Homework/5/BinaryTreeQ9Mirror/BinaryTreeQ9Mirror/BinarySearchTree.h | 49ff67bccdf0ecd2dcbaf70b46e0d64297f3e700 | [] | no_license | LauraKirby/data-structures-and-algorithms-cpp | 885c0879c48703ccb76a137fa21b234dfc03171e | a6803583d267650359e6f1aba7bcd1e9054a0047 | refs/heads/master | 2021-08-31T16:09:23.146426 | 2017-12-22T01:20:07 | 2017-12-22T01:24:47 | 107,609,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,099 | h | //
// BinaryTreeNode.h
// BinaryTreeQ8BST
//
// Created by Laura Kirby on 12/3/17.
// Copyright © 2017 LK. All rights reserved.
//
// This file includes all of the pieces of the
// Binary Search Tree implementation
#ifndef BinarySearchTree_h
#define BinarySearchTree_h
// Node implementation
#include "BinarySearc... | [
"laurakirby26@gmail.com"
] | laurakirby26@gmail.com |
4ad6bef6df0a2e63d8d60e6c4294f447dddb5341 | 8a957f9111645551f196d3fd07b98e5f39d70513 | /Assignment1Final/Assignment1Final/DFS.cpp | e67130f8adcfce961af3b3ef780ff0349655937e | [] | no_license | SuperNova911/DataStructure-Class | 7eb39b0e38978d7b20c611b4773541ffd1bdc083 | 948265248a8ea1667328103dea078115b8853bd7 | refs/heads/master | 2020-03-30T12:25:53.510498 | 2018-12-25T13:48:52 | 2018-12-25T13:48:52 | 151,223,834 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,799 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <sstream>
#include "GenericStackDL.h"
#include "GenericDoublyListP.h"
#define MAX_GRAPH_SIZE 256
#define BRANCH_NUM 10
using namespace std;
template<typename Out>
void Split(const string &s, char delim, Out result);
vector<string> Split(const string &s... | [
"suwhan77@naver.com"
] | suwhan77@naver.com |
b40cd17fb729b56bf0883fd4013834395809fd4f | 7e6ec74f3e6eab63bb4f4b57bc0f58450f3113b5 | /GeneratedFiles/ui_DirectManipulatorDlg.h | 64a660dc4fa1ae5a3435187e4253c9cc8c0c0d06 | [] | no_license | asdln/EarthGlobal | c4ce96abbc84e7e1ea5906770f7405cb851bd4b7 | 2ac9d84965d27b90fb52d9e95ffc5fce2b5abbcf | refs/heads/master | 2020-03-21T12:09:02.287370 | 2018-11-28T14:48:10 | 2018-11-28T14:48:10 | 138,538,096 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,599 | h | /********************************************************************************
** Form generated from reading UI file 'DirectManipulatorDlg.ui'
**
** Created by: Qt User Interface Compiler version 5.6.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
******************************... | [
"93347786@qq.com"
] | 93347786@qq.com |
d7b71b46b7c3c8af2ef50f54fb58b03e885ce840 | 0e6e81a3788fd9847084991c3177481470546051 | /Explore/Algorithm Interview/code by cpp/395_Longest Substring with At Least K Repeating Characters.cpp | d6e006eb344a475a88a35d21079317da5c82625f | [] | no_license | Azhao1993/Leetcode | 6f84c62620f1bb60f82d4383764b777a4caa2715 | 1c1f2438e80d7958736dbc28b7ede562ec1356f7 | refs/heads/master | 2020-03-25T19:34:30.946119 | 2020-03-05T14:28:17 | 2020-03-05T14:28:17 | 144,089,629 | 4 | 2 | null | 2019-11-18T00:30:31 | 2018-08-09T02:10:26 | C++ | UTF-8 | C++ | false | false | 1,820 | cpp | #include<iostream>
#include<unordered_set>
#include<vector>
using namespace std;
/*
395. 至少有K个重复字符的最长子串
找到给定字符串(由小写字符组成)中的最长子串 T , 要求 T 中的每一字符出现次数都不少于 k 。输出 T 的长度。
示例 1:
输入: s = "aaabb", k = 3 输出: 3
最长子串为 "aaa" ,其中 'a' 重复了 3 次。
示例 2:
输入: s = "ababbc", k = 2 输出: 5
最长子串为 "ababb" ,其中 'a' 重复了 2 次, 'b' 重复了 3 次。
*... | [
"1358227862@qq.com"
] | 1358227862@qq.com |
5f434c2e62a6fda8befaa4babbf121ed3e0f3264 | 868214cb91fb1967c4fa18d5fbfd5e5a7c94b1d0 | /student/11/yatzy/yatzygame.cpp | 81b9ebdefdf1ff3a86b4c9ffa16a8ae5c6acadc6 | [] | no_license | OskariNiemela/OperskTy-t | 97d525580c39786b0c2fffbfcf8f0e2d7d416441 | dde5aad4f2302915e59cd1b06c981429ea23f653 | refs/heads/master | 2020-04-09T15:28:09.936192 | 2018-04-26T09:26:48 | 2018-04-26T09:26:48 | 160,427,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,938 | cpp | #include "yatzygame.hh"
#include "yatzyrules.hh"
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <iostream>
YatzyGame::YatzyGame(unsigned int seedValue) :
rollsLeft_(YatzyRules::ROLLS_PER_TURN),
dieRolls_(YatzyRules::NUMBER_OF_DICE, 1),
keepDie_(YatzyRules::NUMBER_OF_DICE, false),
... | [
"oskari.niemela@student.tut.fi"
] | oskari.niemela@student.tut.fi |
b4de7841140949a51e401ac385692aee3e381c62 | ea169e62e49ce529439a8323ca0e54e7a3056d13 | /d03/ex02/ClapTrap.hpp | 3b0153a20450d1b54b52dcc78f99d02bd7a3bcbd | [] | no_license | abarriel/cpp | 58d0994e50d0c36fac3e94835b45eaa9bbb6f816 | a1f8d1d97a7c0749efe2d6939014128cf70c2403 | refs/heads/master | 2021-09-11T09:55:37.862177 | 2018-04-06T16:31:03 | 2018-04-06T16:31:03 | 125,994,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | hpp | // ClapTrap
#ifndef CLAPTRAP_HPP
#define CLAPTRAP_HPP
#include <iostream>
class ClapTrap {
public:
ClapTrap(void); // Canonical
ClapTrap(ClapTrap const & src); // Canonical
~ClapTrap(void); // Canonical
ClapTrap& operator=(ClapTrap const & rhs); // Canonical
bool rangedAttack(std::string const & ta... | [
"abarriel@student.42.fr"
] | abarriel@student.42.fr |
413b4f20b7cd83f453a0e5bd065f2b0d92734849 | 527fcb7e82754a310ecd77cb7d7bf6658afe6c57 | /Table2.h | 735ce9cc51daa9c18055e44f20b3449d2cdb9522 | [] | no_license | JFergen/Hash-Table-Project | 475a2e0a73111d8244831e51a3c33118706a2bd7 | 3cbf280c24b0d5f66e27305d15b60d54ed9ec6e4 | refs/heads/master | 2020-04-29T06:46:56.835563 | 2019-04-08T19:03:10 | 2019-04-08T19:03:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | h | //
// Created by Joseph Fergen on 3/16/2019.
//
//Very similar to that of Table1 class
#ifndef INC_2110PROJECT2_TABLE2_H
#define INC_2110PROJECT2_TABLE2_H
#include <string>
#include <vector>
#include <sstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <fstream>
using namespace std;
struct itemS... | [
"josephfergen150@gmail.com"
] | josephfergen150@gmail.com |
c08cb2896ac684bdc9a1befad11bbc7911ea833a | 8be7a7efbaa6a4034e435bc8221cc5fb54f8067c | /Bots/Other/code/Chapter9_FluidInteractionUsingKinect/KinectController.h | eb2a89e98d49677f397ce76ac5a51cb7fdfc8ed1 | [] | no_license | RinatB2017/Qt_github | 9faaa54e3c8e7a5f84f742d49f4559dcdd5622dd | 5177baa735c0140d39d8b0e84fc6af3dcb581abd | refs/heads/master | 2023-08-08T08:36:17.664868 | 2023-07-28T07:39:35 | 2023-07-28T07:39:35 | 163,097,727 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,291 | h | /*****************************************************************************
* Ch9 of the book "Mastering OpenCV with Practical Computer Vision Projects"
* Copyright Packt Publishing 2012.
* http://www.packtpub.com/cool-projects-with-opencv/book
* http://code.google.com/p/fluidwall/
**************************... | [
"tux4096@gmail.com"
] | tux4096@gmail.com |
0e8fd04670712fd92d785e1a7687ad1801079e3e | 259ef188ee78e35f96ca94ce3a00569e99cb8fa6 | /BDSJSRunner/BDSJSRunner/net/net.cpp | 1d2eaa6629cf76354653b1a66dc0228bca74a68d | [] | no_license | Rosireity/DUnion-IE | c4016f03516ff76f08df39f2e3f29db79b345c7e | 643ded34eb42925ddcac158c89782cab54095edc | refs/heads/master | 2023-01-10T01:09:56.942721 | 2020-11-09T09:11:22 | 2020-11-09T09:11:22 | 311,224,513 | 5 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,365 | cpp | #include "net.h"
#include <curl\curl.h>
// 注意参数 size * nmemb 是数据的总长度
static size_t netwirte_callback(char* ptr, size_t size, size_t nmemb, void* userdata)
{
int l = size * nmemb;
char* buf = new char[l + 3]{ 0 };
memcpy(buf, ptr, size * nmemb);
buf[size * nmemb] = 0;
*(std::string*)userdata = *(std::string*)userd... | [
"2601683266@qq.com"
] | 2601683266@qq.com |
cefac4d7aa2ef8f3cdc869364213644e26ec32fa | 59409fab0056c63eb8b43c6bebc46ad2320e5f3f | /MAX10/tsbs/common_sw_library/tsb/ip/software/ltc2123/ltc2123_virtual_uart.cpp | 034a7abcbd8b145f2433b49811078671b81ef551 | [] | no_license | thomaslindner/xu1-max10-testing | ce96004e9ee51c927ec64fdc8d2438bc95742a46 | a44bdeff1bf533632bfaea5ab9c8cf22d0529e85 | refs/heads/master | 2022-12-22T20:14:30.665124 | 2020-05-19T22:53:52 | 2020-05-19T22:53:52 | 295,867,338 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,072 | cpp | /*
* ltc2123_virtual_uart.cpp
*
* Created on: Feb 7, 2014
* Author: yairlinn
*/
#include "ltc2123_virtual_uart.h"
#include "basedef.h"
#include <sstream>
#include <iostream>
#include <string>
#include <stdio.h>
#include "linnux_utils.h"
#include "basedef.h"
#include <vector>
extern "C" {
#include <xprintf.h... | [
"rypayne@hotmail.ca"
] | rypayne@hotmail.ca |
220cdd95e86baac31136bc5c9e2c57e6b8fa9565 | e1bafb9c94db3a6cfd86ce4b3a641e79583220b3 | /muduo_test/34_TcpConnection_LifeTime/esft.cpp | 9794e565f76381d7da17a225874442f86d310f3f | [] | no_license | lightjameslyy/lt-cpp | 055b0245ba9cc4608db6a0d08dc081d1c2766ba2 | 525c3f0fbeb4b112361a6650bf3ef445fdb61e2c | refs/heads/master | 2021-07-09T08:32:24.405308 | 2020-06-08T08:45:10 | 2020-06-08T08:45:10 | 128,907,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 764 | cpp | #include <boost/enable_shared_from_this.hpp>
#include <boost/shared_ptr.hpp>
#include <cassert>
#include <iostream>
class Y: public boost::enable_shared_from_this<Y>
{
public:
boost::shared_ptr<Y> f()
{
return shared_from_this();
}
Y* f2()
{
return this;
}
};
int main()
{
boost::shared_ptr<Y> p(new Y);//p... | [
"lightjameslyy@gmail.com"
] | lightjameslyy@gmail.com |
1c544c50528d6d6e5fa058ab8055aa09fb7e6a4d | 753a70bc416e8dced2853f278b08ef60cdb3c768 | /include/tensorflow/lite/schema/schema_generated.h | b5c80ed55b17c6699d146ba44f88f8052fece5e0 | [
"MIT"
] | permissive | finnickniu/tensorflow_object_detection_tflite | ef94158e5350613590641880cb3c1062f7dd0efb | a115d918f6894a69586174653172be0b5d1de952 | refs/heads/master | 2023-04-06T04:59:24.985923 | 2022-09-20T16:29:08 | 2022-09-20T16:29:08 | 230,891,552 | 60 | 19 | MIT | 2023-03-25T00:31:18 | 2019-12-30T09:58:41 | C++ | UTF-8 | C++ | false | false | 615,564 | h | /* Copyright 2018 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... | [
"finn.niu@apptech.com.hk"
] | finn.niu@apptech.com.hk |
b39d2aaebda4d7e1e0d805943b8b2d3626d61214 | b405fd9cd3c53a3ed279e75aca3fec89ba745df5 | /261.Graph Valid Tree/261.Graph Valid Tree/main.cpp | 3b48db0a685ef31f80ace5dfedf3aec0b94a656f | [] | no_license | Abysman/MyLeetCode | 4842db63f4914022a3773be1e9d9ce068cb6d3bd | a4eb8af658996e7ba4501342f4aa4bbd113e6cfb | refs/heads/master | 2021-04-06T20:48:17.260497 | 2020-01-23T23:09:35 | 2020-01-23T23:09:35 | 125,452,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,172 | cpp | //
// main.cpp
// 261.Graph Valid Tree
//
// Created by Abysman on 2018/10/30.
// Copyright © 2018年 Abysman. All rights reserved.
//
#include <iostream>
#include <vector>
class Solution {
public:
bool validTree(int n, std::vector<std::pair<int, int>>& edges) {
std::vector<std::vector<int>> neighbors(n... | [
"756884429@qq.com"
] | 756884429@qq.com |
d79df45e10c93ca10b064539b9318e3529f17976 | 7c5d7fb6a64df1a118a64bdf6087ecf395a3a722 | /data/spb-team-f/sources/503-f-5.cpp | a56ff482d90a5179c905d3087dcec647a2991d0c | [] | no_license | alexhein189/code-plagiarism-detector | e66df71c46cc5043b6825ef76a940b658c0e5015 | 68d21639d4b37bb2c801befe6f7ce0007d7eccc5 | refs/heads/master | 2023-03-18T06:02:45.508614 | 2016-05-04T14:29:57 | 2016-05-04T14:54:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | cpp | #include <iostream>
#include <fstream>
#include "io.h"
#include "stdio.h"
using namespace std;
int max(int a, int b)
{
return ((a > b) ? a : b);
}
int min(int a, int b)
{
return ((a < b) ? a : b);
}
int NOD(int a, int b)
{
int i;
for (i = min(a, b); i > 0; i--)
{
if ((a%i == 0) ... | [
"shk.slava@gmail.com"
] | shk.slava@gmail.com |
d443d9f528b44d7038aacc67edf0b4e585b56da4 | 1bf404fe821694258a4f44204fde126553dc4bed | /6.DoubleHashing/main.cpp | d856632b7f151eb5bffe52869ceedfa39212f909 | [] | no_license | Cass2046/DataStructure | f159a32de8985b79b13d59f9a9436d202e8c1acd | 3961d0c6c0ad57eab8b7bda8db843ff2e2386a01 | refs/heads/master | 2020-04-27T16:19:24.709340 | 2019-03-08T06:23:01 | 2019-03-08T06:23:01 | 174,480,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | cpp | #include <string>
#include "Executive.h"
int main(int argc, char* argv[])
{
Executive E;
E.run("data.txt");
return 0;
}
| [
"lu.yin2046@gmail.com"
] | lu.yin2046@gmail.com |
c58183dd9fe652b6acf07d9028bf17a05c4ad47d | 5a2996a8a78779bebe455aca5f723abe8d43e607 | /task1.cpp | fe0b51562613ea64e60fbb2fa287bf7c6ec087db | [] | no_license | pokachopotun/hpc-acad-2018 | e2ef5c458ef9bac9addb75ce5438e1d11a381b31 | 13973cf88032426a2e461e5b4f2b8dc620d8549a | refs/heads/master | 2021-09-24T00:29:30.629402 | 2018-09-30T15:26:22 | 2018-09-30T15:26:22 | 149,976,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,026 | cpp | #include <omp.h>
#include <cstdio>
#include <iostream>
using namespace std;
#define VECTOR_SIZE 10000000
int main(){
int v[VECTOR_SIZE];
mp_set_num_threads(4);
#pragma omp parallel for
for( int i = 0; i < VECTOR_SIZE; ++i)
{
v[i] = i;
}
for(int threadNum = 1; threadNum <= 4; threadNum++){
printf("threa... | [
"mr.salixnew@gmail.com"
] | mr.salixnew@gmail.com |
4d506d21bbd44f00e83e56632f63c3d63cd0c59d | fb316bfb0fdb2318d3ecc872e2d61ff272638dab | /app/file/file-operation-manager.cpp | 3cff9dd8742f4182518e0af43a66f3fa94e0372d | [
"MIT"
] | permissive | dingjingmaster/filesystem | 88acd30fc3158128a700617827b49823b251f670 | 5ff321e62c87c4fa3a709ad71c59616ee7ddb23e | refs/heads/master | 2022-12-13T05:56:17.618978 | 2020-09-05T10:53:33 | 2020-09-05T10:53:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,670 | cpp | #include "file-operation-manager.h"
#include <QUrl>
#include <file-utils.h>
#include <file/file-watcher.h>
#include <QMessageBox>
#include <QApplication>
#include <QtConcurrent>
#include <QStandardPaths>
#include <global-settings.h>
#include "global-settings.h"
#include "file-copy-operation.h"
#include "file-move-op... | [
"dingjing@live.cn"
] | dingjing@live.cn |
fc188b3628ca02e0e6ba71972b1d575354abbdbe | ff85890b9926f57c7a920c569811c5f7dcc539ca | /ENIGMATH.cpp | f637ed5cc9f38542f381b243619e1c86e0487c96 | [] | no_license | vd-07/Spoj-List | c40034be58b18124d3f8185fd25581de3a68b095 | 60b0a8de4de12d843a948d1417d469a2a5c885d5 | refs/heads/master | 2020-12-22T04:47:09.296636 | 2020-05-03T15:12:31 | 2020-05-03T15:12:31 | 236,673,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cpp | //Author : Vivek Dubey
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define ull unsigned long long int
#define f(i,s,e) for(int i=s;i<e;i++)
#define test ll t;cin>>t;while(t--)
#define mod 1000000007
void solve(){
ll A,B;
cin>>A>>B;
set<ll> factors;
for(ll i=1;i*i<=B;i++){
... | [
"dubey.vivek.2805@gmail.com"
] | dubey.vivek.2805@gmail.com |
4f5fb437779088c6d7cb5d2dac6449471266b968 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-codecommit/include/aws/codecommit/model/EvaluatePullRequestApprovalRulesResult.h | 7daeb26de3acbc6e6cdd71dfff25c19c335ea398 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 3,678 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
c2ebf471a45571ee92b5d54ad464f9258c340da6 | e9c02bb0df7ad3a928cf7c97b8294451eaa8dbc8 | /graph-source-code/417-C/12143104.cpp | dea5461403339ca5188fe61e6647312b8351ca21 | [
"MIT"
] | permissive | AmrARaouf/algorithm-detection | b157a534545fa8920bbe94e7307d4b937a74aa60 | 59f3028d2298804870b32729415d71eec6116557 | refs/heads/master | 2021-01-13T14:37:04.074339 | 2015-12-06T21:14:31 | 2015-12-06T21:14:31 | 45,905,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,300 | cpp | //Language: GNU C++11
#include <iostream>
#include <vector>
#include <queue>
#include <stack>
#include <algorithm>
#include <string>
#include <string.h>
#include <functional>
#include <list>
#include <set>
#include <map>
#include <stdio.h>
#include <math.h>
typedef long long ll;
#define INF_MAX 21474836... | [
"amr.abdelraouf93@gmail.com"
] | amr.abdelraouf93@gmail.com |
b43aaa3a7b57e28928122109a7008dfe9ad25ce3 | 483de0c089559fb5b16259795b3420693507c14b | /Game/debug-overlay.cpp | 30493c854ab0f7d6b37b066101167a6d0fcaa5ec | [] | no_license | eplawless/pong | 8dd54879b99d172170951e081d49b3ef46335249 | 75bcfc6fc046fa042d809791ebd8edd5056cf9b3 | refs/heads/master | 2020-04-08T18:56:21.073962 | 2019-01-15T18:44:29 | 2019-01-15T18:44:29 | 159,631,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,382 | cpp | #include "debug-overlay.h"
#include "../Engine/Libraries/DearIMGUI/imgui.h"
#include "../Engine/Libraries/DearIMGUI/imgui_impl_win32.h"
#include "../Engine/Libraries/DearIMGUI/imgui_impl_dx11.h"
extern LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
DebugOverlay::DebugOverla... | [
"eplawless@gmail.com"
] | eplawless@gmail.com |
6ee05cd005d8c041292d40d84577e70a4f364d8a | 24b8aef808a1722b29ee22dc26b2dec0447db427 | /PAT-Advanced/最短路径/1018 Public Bike Management (30 分)/1018.cpp | 0a19f8ce5e159c6614e9d85dcbb53d7a6cb0dcce | [] | no_license | drincs/100-day-plan | 63f080a5328a58cb6f1fe1e97677a13f05d50c45 | ff06270f5d8d53fea3d34d990bb3ff336bb77557 | refs/heads/main | 2023-07-25T10:10:52.797163 | 2021-09-09T10:25:31 | 2021-09-09T10:25:31 | 359,845,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,405 | cpp | #include <iostream>
#include <vector>
#include <string.h>
#include <stack>
using namespace std;
int Cmax, N, Sp, M, half;
const int MAXN = 501;
const int INF = 0x3fffffff;
struct Station
{
int v, time;
Station(int _v, int _time) : v(_v), time(_time) {}
};
vector<Station> Adj[MAXN];
int num[MAXN];
bool vis[MAXN]... | [
"drincs@github"
] | drincs@github |
b76a840d688a125661c76ad1ca371bf294c20035 | 56c11c2c4e0ef9752ccf9118825dec1a58787491 | /1_LineStructures/2_ ConsoleRectDraw_CircleCalcs.cpp | fdf0f4e4ca1d91fa40ab3aa6d8059ed4bf6f8be0 | [] | no_license | Ocvcorp/PR60Cplusplus | 79a1e2029756975f2ec81e01924609a6b2657aaf | 33aaf6dbe148a12d6d0beb5500a9707096a089f5 | refs/heads/master | 2021-02-07T03:08:23.119140 | 2020-08-14T21:40:34 | 2020-08-14T21:40:34 | 243,975,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,030 | cpp | /*
Семинар 1-3
задача 5
Пользователь вводит количество секунд, прошедшее с некоторого момента. Вывести на экран это количество времени в формате: дни часы минуты секунды.
*/
#include <iostream>
#include <math.h>
#include <locale>
#define PRINT(X) cout<<#X<<"="<<X<<endl;
using namespace std;
int main()
{
int M, S, D, ... | [
"ocvcorp123@outlook.com"
] | ocvcorp123@outlook.com |
24b7d761937109937df4dcde1bfbb6d63d8f29d1 | 50c1593f3183e7fe578926ccabe1021105b88e90 | /やさしいC++/lesson7/sample6.cpp | 020a7f24676b042ddf7a8b1b14752472935e29eb | [] | no_license | birune/learning-cpp | a30a8887c6fbcabeb2cb176ba22dd0119114ade1 | 6670bd15597d3d46c744f764c4814aa11cc84f84 | refs/heads/master | 2020-05-20T02:15:27.192662 | 2019-05-07T13:49:39 | 2019-05-07T13:49:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | cpp | #include <iostream>
using namespace std;
int buy(int x, int y);
//関数の定義の先頭に戻り値の型を指定する
int buy(int x, int y){
int z;
cout << x << "円と" << y << "円の車を買いました\n";
z = x+y;
//"return 戻り値"で一つだけ戻り値を返せる
//return文が来た時点で関数内の処理は終了する
return z;
}
int main(){
int num1, num2, sum;
cout << "いくらの車を買いますか... | [
"1221birune@gmail.com"
] | 1221birune@gmail.com |
27826210064f526193fc45a45860135ad4673c53 | 025414d26a2661a3479a6842ce8716877fd2e9da | /BWin/BWin/Event/EventCollection.h | a9a5b668bac72928d77229a270191b1e9bb12c24 | [
"MIT"
] | permissive | benbraide/BWin | d5ed92d2cf133d090387463fad0e20b9a6aaa3e9 | 465df64e889321283236e405212a37c528dc9f2d | refs/heads/master | 2022-12-07T17:17:44.169467 | 2020-09-03T06:48:55 | 2020-09-03T06:48:55 | 290,417,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,113 | h | #pragma once
#include <unordered_map>
#include "../Thread/ThreadContext.h"
#include "EventState.h"
namespace Win::Event{
namespace Exception{
class InvalidId : public Core::Exception::Base{
public:
InvalidId()
: Base("Invalid ID: Cannot access event handler with specified ID."){}
};
class Unsupport... | [
"benbraide@yahoo.com"
] | benbraide@yahoo.com |
d535e3f0695af24509e428881a95508db04017c6 | 4f344dd6034de9d0fcb23928baaf2e6f0db7d842 | /Critical Mass/Source Files/OptionsMenu.cpp | 256cb8146328e127d76c080685a5b093e8e0d888 | [] | no_license | ianalcid08/FinalProject2 | 9e5d20bd489b5a5edf9cbc140f8f4ceef764a696 | 1666302e3e426b49c95fabfd63d1d0e1dad2d0ac | refs/heads/master | 2016-09-06T03:02:47.264788 | 2014-02-25T00:44:36 | 2014-02-25T00:44:36 | 17,156,022 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 77,074 | cpp | #include "../Header Files/stdafx.h"
#include "../Header Files/OptionsMenu.h"
/*****************************************************************
File name: OptionsMenu.cpp
Date: 7/17/13
Modify Date: 08/13/13
Modify Initials: CM
Author: Ian Alcid
Purpose: Class for Options state.
*****************************... | [
"ian.alcid08@gmail.com"
] | ian.alcid08@gmail.com |
1a2e55397bd43bb9ac9731d8b2fdfe05d30cf640 | ed7f0eaeacf71da995ab3e5c2df1c9fe6738d1e1 | /Source/VitaCoreEditor/Public/CustomDetails/VCCharacterDetails.h | 6ec6d74077f0728dcbb91ce84e5c5b3123079fc8 | [] | no_license | ekokturk/VitaCoreSource | d5c6e91d2e6b208dcca860173b894f628bc987c0 | b5ac9d627daeef125c19c7f49f157f3ce62c19de | refs/heads/master | 2022-12-14T16:20:30.567047 | 2020-09-12T00:08:57 | 2020-09-12T00:08:57 | 285,476,849 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | h | // VitaCore - Copyright (C) Eser Kokturk, 2020. All Rights Reserved.
#pragma once
#if WITH_EDITOR
#include "Editor/DetailCustomizations/Public/DetailCustomizations.h"
#include "Editor/PropertyEditor/Public/IDetailCustomization.h"
class FVCCharacterDetails : public IDetailCustomization
{
public:
static TSharedRef<I... | [
"eserkokturk@yahoo.com"
] | eserkokturk@yahoo.com |
e1106b453e52fda27e118cc10a8fef03c6fe550f | 51c1c5e9b8489ef8afa029b162aaf4c8f8bda7fc | /easymodeling/src/libmodeling/WeldJoint.h | 703b867cef20cc725e8e12409f6e7667cad02c7f | [
"MIT"
] | permissive | aimoonchen/easyeditor | 3e5c77f0173a40a802fd73d7b741c064095d83e6 | 9dabdbfb8ad7b00c992d997d6662752130d5a02d | refs/heads/master | 2021-04-26T23:06:27.016240 | 2018-02-12T02:28:50 | 2018-02-12T02:28:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | h | #ifndef _EASYMODELING_WELD_JOINT_H_
#define _EASYMODELING_WELD_JOINT_H_
#include "Joint.h"
namespace emodeling
{
class WeldJoint : public Joint
{
public:
WeldJoint(Body* b0, Body* b1);
virtual bool IsContain(const sm::vec2& pos) const override;
virtual bool IsIntersect(const sm::rect& rect) const override;
vir... | [
"zhuguang@ejoy.com"
] | zhuguang@ejoy.com |
c8da683ea15558c50edd13000568257400316558 | 88f11922f8ffb0f9a01c2fdd012d948472e373f5 | /main.cpp | b4e4f7387ab4bf590b6a28ab7afc19b9fbfaf57a | [] | no_license | Rikitaru/Queue | ad0c230d8498573ea4e77e687177a27874c38c4e | 6425417375d43b4c93683cdb8351a6f6b28fdc6c | refs/heads/master | 2023-07-30T22:24:20.465153 | 2021-09-16T02:21:25 | 2021-09-16T02:21:25 | 406,526,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,303 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
struct Point {
int x;
int y;
int z;
Point() {
this->x = 1;
this->y = 2;
this->z = 3;
}
Point& operator= (const Point& point) //перегрузка оператора присваивания, создание нового объекта структуры
{
th... | [
"danila.korobkov@yandex.ru"
] | danila.korobkov@yandex.ru |
33b1e115dbe2ad32438c0cbf3f3a5076faedcd15 | 6dcdc3f3403729af872f0ab0884f9f5ad7a6e122 | /src/CRSpline.cc | c978bf64063d1c879c6338047d9af1248bbe2b21 | [] | no_license | bagnalla/puddi | 520cc048e1cb0c94bc7dd6cb9bef37f4fb706e06 | 6c51b1602d72097295cfc8e1a04c038083c81f15 | refs/heads/master | 2021-01-10T14:05:15.067722 | 2019-02-26T04:11:09 | 2019-02-26T04:11:09 | 51,229,043 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | cc | // FROM http://www.codeproject.com/Articles/30838/Overhauser-Catmull-Rom-Splines-for-Camera-Animatio
#include "CRSpline.h"
namespace puddi
{
CRSpline::CRSpline()
: vp(), delta_t(0)
{
}
CRSpline::CRSpline(const CRSpline& s)
{
for (int i = 0; i < (int)s.vp.size(); i++)
v... | [
"ab667712@ohio.edu"
] | ab667712@ohio.edu |
6e4b97da115f1e333ad87be9e2cb0ab9f4d741b5 | 2e10a55bcc27421c2ce00bac67d62ca3ae7a43be | /gcommon/source/gphysicscomponentspring.h | f687e39678bb3a14dc145ccca613d1b02535f18f | [
"Unlicense"
] | permissive | DavidCoenFish/ancient-code-0 | 2f72b8e20406b9877daa032f9e9fb8343da62340 | 243fb47b9302a77f9b9392b6e3f90bba2ef3c228 | refs/heads/master | 2020-03-21T10:18:30.613722 | 2018-06-24T01:18:30 | 2018-06-24T01:18:30 | 138,444,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | h | //
// GPhysicsComponentSpring.h
//
// Created by David Coen on 2010 10 30
// Copyright 2010 Pleasure seeking morons. All rights reserved.
//
#ifndef _GPhysicsComponentSpring_h_
#define _GPhysicsComponentSpring_h_
class GVector3Float;
/**/
class GPhysicsComponentSpring
{
//constructors
public:
GPhysicsComponentS... | [
"35204591+DavidCoenFish@users.noreply.github.com"
] | 35204591+DavidCoenFish@users.noreply.github.com |
b59a18ce62a2a5f8278e803ca38baf564abb9920 | 9eaa3db05f1537266bd42646e3dafc12aa4c7941 | /src/ReadRecord.h | 5cf1295b7791fbd82c49838aa139be0044940b63 | [] | no_license | JLUprojects/taq-cprogram2018-group_11 | 0709df7780914e07ad2b82a6bbe729e3e765d924 | dd6e328e87dc39321338fdf6e5384d0f1ce8b0b3 | refs/heads/master | 2020-03-18T19:38:30.684779 | 2018-06-24T15:11:44 | 2018-06-24T15:11:44 | 135,166,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | h | #pragma once
#include <stdio.h>
class CReadRecord
{
public:
CReadRecord(void);
CReadRecord(CReadRecord& src);
~CReadRecord(void);
CReadRecord& operator =(const CReadRecord& src);
public:
int Save(IN FILE* fp);
int Load(IN FILE* fp);
public:
CString m_strDate;
int m_iStartPage;
int m_iEndPa... | [
"wu_bingrui@outlook.com"
] | wu_bingrui@outlook.com |
55d0b3c39b54184f3486e09662c36f8088e85799 | a8895974e5aac4b6746733ba97cdf6e0846d044d | /libs/cocos2dx/script_support/CCScriptSupport.cpp | 638d648d6f0301716ee72c829a58df928a70e239 | [] | no_license | 51anygo/mybird | b9260cb3b7e5cb14302d5115196be9f0b19de3af | 71e9375e81ecce4fa8b8ae69195ae416f1da5dc4 | refs/heads/master | 2020-05-16T11:16:19.561900 | 2014-04-10T12:53:51 | 2014-04-10T12:53:51 | 17,505,897 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,034 | cpp | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
http://www.cocos2d-x.org
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 S... | [
"51anygo@gmail.com"
] | 51anygo@gmail.com |
dbd55603c78276dfbf527994bf5b3b16eca2befd | 07b79ec27132b2632fc0273efad4647f56b70068 | /oj_old/进程创建实验.cpp | d58632c5917e4293c8be54bb6bfc73920e17d74e | [] | no_license | oliverhust/cpp_lianxi | 549797eefb4742c87dc10155cedd31b4c6081518 | 6a162068a374af0ded7237af7eb9d4dc11112034 | refs/heads/master | 2020-07-22T22:41:58.162958 | 2016-12-09T01:15:23 | 2016-12-09T01:15:23 | 67,104,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,390 | cpp | #include <windows.h>
#include <stdio.h>
#include <string.h>
#define MAX_LINE_LEN 128
int main()
{
//local variables
char cmdLine[MAX_LINE_LEN];
//CreateProcess parameters
LPSECURITY_ATTRIBUTES processA = NULL;//Default
LPSECURITY_ATTRIBUTES threadA = NULL;//Default
BOOL shareRights = TRUE;//Default
DWORD creatio... | [
"liangjinchao@d3p.com"
] | liangjinchao@d3p.com |
8db37baf4b6fb3a2fd9467db47c44751e5e7ba18 | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/third_party/webrtc/common_audio/resampler/push_sinc_resampler_unittest.cc | aca73b2d4bc2aba1203e06f6a6d7d6f426053cbc | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webrtc",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
"MS-LPL",
"LicenseRef-scancode-takuy... | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 14,498 | cc | /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
ccc8094901f7884326363b5901f33ee475ca37ed | 8304dce0451d1c6929c4a038d59d1a322859f09e | /src/libzerocoin/Denominations.cpp | 44d102a7bcfb03d2a15c2710ca6592481944be8f | [
"MIT"
] | permissive | AnkerPay/Anker | 07c04eb0f4bdd21406dfaa65fc1779292d47e24e | a20a6e911c35c480da222e0ed95b673922d8de5d | refs/heads/master | 2021-06-26T06:00:45.053462 | 2020-10-29T09:18:55 | 2020-10-29T09:18:55 | 167,381,545 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,022 | cpp | /**
* @file Denominations.cpp
*
* @brief Functions for converting to/from Zerocoin Denominations to other values library.
*
* @copyright Copyright 2017 PIVX Developers
* @license This project is released under the MIT license.
**/
#include "Denominations.h"
#include "amount.h"
namespace libzeroc... | [
"vtitch@gmail.com"
] | vtitch@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.