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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
244464e660f7fc656c3dd1a1d9d828323d616f4a | aca4f00c884e1d0e6b2978512e4e08e52eebd6e9 | /2013/MUTC/1/proH.cpp | 5a287695e37a4fd0aebf96c8c0b32b4b4b07f6a3 | [] | no_license | jki14/competitive-programming | 2d28f1ac8c7de62e5e82105ae1eac2b62434e2a4 | ba80bee7827521520eb16a2d151fc0c3ca1f7454 | refs/heads/master | 2023-08-07T19:07:22.894480 | 2023-07-30T12:18:36 | 2023-07-30T12:18:36 | 166,743,930 | 2 | 0 | null | 2021-09-04T09:25:40 | 2019-01-21T03:40:47 | C++ | UTF-8 | C++ | false | false | 870 | cpp | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
using namespace std;
#define N 1100000
int n,m,w,p;
int nbs[N],nxt[N],dst[N],num;
int mrk[N];
void addEdge(const int &u,const int &v){
nxt[++num]=nbs[u];nbs[u]=num;dst[num]=v;
}
void dfs(const int &u,const int &_w){
mrk[u]=1;if(_w>w){ w=_w;p=... | [
"jki14wz@gmail.com"
] | jki14wz@gmail.com |
ff30db813cb85598476f31cedd708df6fb8d63eb | d9e43fa0caa63be642a161f2a1253e3c10b0e174 | /EXIT/FixedPointQuantizer.h | 97d28a5b09cc61f2343732c9511465f1c1fbd687 | [] | no_license | guiji101/Turbo | 60860eec342dd79708e36142ce84fdc05ff0df43 | edec859a702922240e327d9f21c7f7da597b7e8d | refs/heads/master | 2020-12-12T21:00:41.738833 | 2013-11-15T01:47:17 | 2013-11-15T01:47:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | h | #ifndef FIXED_POINT_QUANTIZER
#define FIXED_POINT_QUANTIZER
#include <vector>
using std::vector;
class FixedPointQuantizer
{
public:
FixedPointQuantizer();
FixedPointQuantizer(int n, int nf);
void init(int n, int nf);
double quantify(double val)
{
double ret = int(val * _powN) / double(_powN);
if (ret > _upp... | [
"guiji101@qq.com"
] | guiji101@qq.com |
6cd09726e63344ceb11879230fb4e002f044f653 | 272c3b13339d0e7871c27a9c5d555a171380afe4 | /libFileRevisorTests/ValueTypes/RenameResultTests.cpp | df27f8a543e67c2bf999e033a6b575b3b50a9e2d | [
"MIT"
] | permissive | NeilJustice/FileRevisor | 4b219a8b6dfafdcb8994365bf7df941c964022ca | a12d7d57503cfe6f2a0dcd6fa8dd31a2ff8a005a | refs/heads/main | 2023-08-16T15:42:29.221920 | 2023-08-12T18:30:48 | 2023-08-12T18:30:48 | 151,807,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,903 | cpp | #include "pch.h"
#include "libFileRevisor/ValueTypes/RenameResult.h"
TESTS(RenameResultTests)
AFACT(DefaultConstructor_SetsFieldsToDefaults)
AFACT(ThreeArgConstructor_SetsFields)
FACTS(DidRenameFileOrDirectoryFieldIsTrue_ReturnsTrueIfDidRenameFileOrDirectoryFieldIsTrue)
EVIDENCE
TEST(DefaultConstructor_SetsF... | [
"njjustice@gmail.com"
] | njjustice@gmail.com |
104be8ad5ef28fed89d559a2658470c0b4529d08 | b6b498ddc8600f91a9e2abdbeb72cd41024b464c | /06_납품현황/2017/06_화성동탄이마트/03_SERVER/New_PS_ServApp/stdafx.cpp | 3d12d1c4a16e27e57b3a8f3fc28eae0a06bd5250 | [] | no_license | dongdong-2009/02_PGS-1 | 01cfa514cef4010139c693a78757744085522123 | daeb6477ac9cf2d1cdc1b3e700363b745880c37a | refs/heads/master | 2021-09-12T17:53:26.784206 | 2018-04-19T11:59:05 | 2018-04-19T11:59:05 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 25,268 | cpp |
// stdafx.cpp : 표준 포함 파일만 들어 있는 소스 파일입니다.
// PS_ServApp.pch는 미리 컴파일된 헤더가 됩니다.
// stdafx.obj에는 미리 컴파일된 형식 정보가 포함됩니다.
#include "stdafx.h"
#include "math.h"
#include "WrapManNetComm.h"
#include "PaneBD.h"
#include "PS_ServAppDoc.h"
#include "PS_ServAppView.h"
#include "Shlwapi.h"
#define M_PI (acos (-1.))
#define... | [
"myeom66@gmail.com"
] | myeom66@gmail.com |
d606a04493cd0f526aef32278565b489ca54ff10 | a615d3604fc47643df42f7d9fd14102eb27efc7e | /vod/src/model/DescribeVodStorageDataRequest.cc | 68ec9312ce8ca5b163f7916dfe2683196b28bcd9 | [
"Apache-2.0"
] | permissive | CharlesE-233/aliyun-openapi-cpp-sdk | b5d336e8d5f8c6041f3d294d99b89965e3370831 | cba94f21199ae8943b5d0024099a90b1880024e7 | refs/heads/master | 2021-04-19T10:15:35.376349 | 2020-03-24T02:53:36 | 2020-03-24T02:53:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,407 | 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 |
36ae440e48a1dfed4be498131d0d9906c0b32b17 | 381bb42ab2c4c56fc934e7fb979c02b591b74022 | /project/video/CXStreamer/common/factorycommon.cpp | 2482f519d22cf79541ececbad05cd0f43e077cbf | [] | no_license | wp4613/HI3531D_BSP | 8858a880c317769d492bd05d24f189093e067d7c | 64cda51e76df56617cfc385ef9e50887d44bb269 | refs/heads/master | 2021-04-16T11:20:49.520645 | 2020-03-03T19:37:24 | 2020-03-03T19:37:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | cpp | #include <string.h>
#include "../factory.h"
namespace CXS{
class FactoryCommon : public Factory
{
FactoryCommon(){
}
~FactoryCommon(){
}
public:
DECLARE_FACTORY_GET_INSTANCE(FactoryCommon)
};
static int init()
{
return 0;
}
static void ... | [
"you@example.com"
] | you@example.com |
64245e6e1e80d1fbd0ef6b5416f1acd06b9b97a3 | 0ae39e4f9744046848868cd58598f3f489fb22b4 | /Libraries/JUCE/modules/juce_audio_utils/gui/juce_BluetoothMidiDevicePairingDialogue.h | ae590154774486dcad1242aff461adf026104cbb | [] | no_license | gogirogi/RS-MET | b908509ddd7390d05476ffce9c9cbb30e95439e8 | d767896f542d8e00e803ad09d20c05b2f25c2c71 | refs/heads/master | 2021-08-19T21:56:36.416451 | 2017-11-27T14:11:52 | 2017-11-27T14:11:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,698 | h | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2015 - ROLI Ltd.
Permission is granted to use this software under the terms of either:
a) the GPL v2 (or any later version)
b) the Affero GPL v3
Details of these ... | [
"robin@rs-met.com"
] | robin@rs-met.com |
75806fc95965d9c833b46ba8306130e82aa7d15f | e50b5f066628ef65fd7f79078b4b1088f9d11e87 | /llvm/tools/clang/include/clang/AST/ASTTypeTraits.h | f14e45950360234004b925bd19158bfb54f7995e | [
"NCSA"
] | permissive | uzleo/coast | 1471e03b2a1ffc9883392bf80711e6159917dca1 | 04bd688ac9a18d2327c59ea0c90f72e9b49df0f4 | refs/heads/master | 2020-05-16T11:46:24.870750 | 2019-04-23T13:57:53 | 2019-04-23T13:57:53 | 183,025,687 | 0 | 0 | null | 2019-04-23T13:52:28 | 2019-04-23T13:52:27 | null | UTF-8 | C++ | false | false | 19,214 | h | //===--- ASTTypeTraits.h ----------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------... | [
"jeffrey.goeders@gmail.com"
] | jeffrey.goeders@gmail.com |
6078c08e30b518d08d4cd71f51031c02064a7d51 | 43ef1f7464e4dbaacb116176698c6c09daef3558 | /과제제출/API/Mine/Doyun's_Engine/ResourcesManager.h | 0647b4ed85ff5e986365bc11a30db863efe7b225 | [] | no_license | Sicarim/UmDoYun | ab17b61c0679fb9cffb48863b152b1425c288745 | ec7f29025ee1b6d649a1a6fc97913c42081095eb | refs/heads/master | 2023-04-29T11:18:55.521613 | 2021-05-11T07:43:07 | 2021-05-11T07:43:07 | 207,284,540 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,040 | h | #pragma once
#include "GlobalDefine.h"
#include "SingleTon.h"
#include "BitMap.h"
using namespace std;
namespace DoEngine
{
/**
* @brief DoEngine::BitMap클레스를 관리하는 클래스
* @details DoEngine::BitMap클레스를 관리하는 클래스 , 같은 DoEngine::BitMap 객체가 생성되는 것을 막아주고 파일로드를 담당.
*/
class ResourcesManager : public Singleton<ResourcesMa... | [
"djawleh@naver.com"
] | djawleh@naver.com |
5055b72155520e0e788e5a70a1b201797b9be235 | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/BOPAlgo_BuilderSolid.hxx | cb859a7c97410963e9a4bd3e2b85d182eb27c826 | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,313 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _BOPAlgo_BuilderSolid_HeaderFile
#define _B... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
3a3dd97992b26a19c45378adc06cc7a426c2c71e | 5e324fbfcb83944332f11834342dfd188f0c5c09 | /tests/DrawOpAtlasTest.cpp | e45ef525a170609d7dc62cb27a018deda7ed5e7e | [
"BSD-3-Clause"
] | permissive | weiwang74/skia | 5d48d8c63abba54abe7da29f43eb5cb037c5e0c3 | 827af667bbe8e057f9ee08e9f9b598add232b491 | refs/heads/master | 2021-04-03T08:31:05.296757 | 2018-03-09T21:08:58 | 2018-03-12T14:07:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,664 | cpp | /*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkTypes.h"
#if SK_SUPPORT_GPU
#include "GrContextPriv.h"
#include "Test.h"
#include "text/GrGlyphCache.h"
static const int kNumPlots = 2;
static const int kPlotSi... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
e723b93a503fad0e8d6ddb64ca1c759b6dacaa41 | 53b609ab511e401a4a91df2551e8654dc9510194 | /Ray.h | d0fd044a6008213a00eb95fc95e08718926c36f9 | [] | no_license | Software-Steve/RayTracer | f6268770cd154a744361abba373a11cd3ed1ca66 | 60edc980e1e7cec7f5b8f0c0303d09044d808430 | refs/heads/master | 2021-01-18T13:59:21.878668 | 2015-08-07T01:53:15 | 2015-08-07T01:53:15 | 40,334,823 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | h | #ifndef RAY_H
#define RAY_H
#include <glm/glm.hpp>
class Ray
{
public:
glm::vec4 start;
glm::vec4 dir;
};
#endif // RAY_H
| [
"scgooda@gmail.com"
] | scgooda@gmail.com |
a738a0dc15cd360d71a08ab4bfd13a6ac008f6ea | 05c046d94416a2b86b469888f4353080e6e5fadb | /vector.hpp | c70c2f912c0d650dd5ee623c25e9c61d1ffe982a | [] | no_license | ivan371/Jana | 4847fcc0bb26e147a45671b4af80a31b57003308 | 5aae9957d5d41bbd51dda97afcf5c6f3f0ffaa0a | refs/heads/master | 2021-09-15T00:57:07.349018 | 2018-05-23T08:39:09 | 2018-05-23T08:39:09 | 103,926,020 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 707 | hpp | #include <stdlib.h>
const int SIZE = 1000;
class Vector {
private:
int* arr;
int size;
int v_size;
public:
Vector() {
arr = new int(SIZE);
v_size = SIZE;
size = 0;
}
~Vector() {
size = -1;
v_size = -1;
delete(arr);
}
int get(int index) {
if(index < size) {
... | [
"ivan@DESKTOP-GM6Q430.localdomain"
] | ivan@DESKTOP-GM6Q430.localdomain |
d4ebe983a1edd098ecf808d7fc5076113b549b19 | e95adb59feacfe95904c3a8e90a4159860b6c26a | /build/Android/Preview/outsideTheBox/app/src/main/include/Fuse.Animations.SplineTrack.h | 67fc48d90b26e937e691f1eb696b26d5e7f194bb | [] | no_license | deliloka/bethebox | 837dff20c1ff55db631db1e0f6cb51d935497e91 | f9bc71b8593dd54b8aaf86bc0a654d233432c362 | refs/heads/master | 2021-01-21T08:20:42.970891 | 2016-02-19T10:00:37 | 2016-02-19T10:00:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,967 | h | // This file was generated based on '/usr/local/share/uno/Packages/Fuse.Animations/0.23.2/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.ContinuousTrackProvider.h>
#include <Fuse.Animations.ITrackProvider.h>
#include <Fuse.Animations.KeyframeTrack.h>
#i... | [
"Havard.Halse@nrk.no"
] | Havard.Halse@nrk.no |
c578afb187a91f2ebb1c822a82183fb24f845892 | 3a745bd756a010e03c900044afc9214510c5ff4d | /practices/cpp/level1/p01_Queue/Queue.cpp | 2c2b157480861a8e8034c35b918418e3d75534c7 | [] | no_license | chenxiaoyu233/CCpp2017 | 92d3c62d51ebceefe066803203ee1c29b0c2f39a | 88c07c019f40fbf14de72194f85b80f9470ad2aa | refs/heads/master | 2021-01-20T15:27:14.224857 | 2017-06-23T04:44:04 | 2017-06-23T04:44:04 | 82,816,594 | 1 | 0 | null | 2017-02-22T14:54:48 | 2017-02-22T14:54:48 | null | UTF-8 | C++ | false | false | 240 | cpp | #include "Queue.h"
void Queue::append(int x){
r++;size++;
r %= MAX_SIZE;
w[r] = x;
}
void Queue::pop(){
l++;size--;
l %= MAX_SIZE;
}
bool Queue::is_empty(){
return size == 0;
}
bool Queue::is_full(){
return size == (MAX_SIZE - 1);
}
| [
"x312035@gmail.com"
] | x312035@gmail.com |
43d2eae8ee1d440c4e360c6d948b3ae0bb739004 | f6209d36a511958860203bfae8bdc97e60be7bb5 | /approximationSDK/src/Hermite.cpp | 380c121dc895ebbbe503e3b8ad0490390855a730 | [] | no_license | tamasdzs/ApproximationTools | 7886168614ce1f8d4167de7c11a72c28d6172d94 | 47ad90234e19b7b63948a959032b0dcc81a71eb3 | refs/heads/master | 2021-09-06T21:34:03.009243 | 2018-02-11T20:51:00 | 2018-02-11T20:51:00 | 115,791,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,038 | cpp | #include "Hermite.h"
#include <math.h>
#include <iostream>
/* /////////////////////////////////////////////////////////////////////
* Hermite::ort_fun_sys_roots()
* Calculculate the roots of the n-th Hermite function.
* This will serve as the domain of the Hermite system used
* to approximate the ECG signal. The ... | [
"tamasdzs@gmail.com"
] | tamasdzs@gmail.com |
db8df74ace17476d74745ee6496daebd10194ac8 | b09e962b2a9816eb12ed1d375994a77f29493b7f | /src/Engine/Gfx/Model.h | 8d4cbd6ae718a8e2e89010fdf0d13bce4be559c2 | [] | no_license | HyperionGroup/HeliosEngine | 3eea114c74049ffafc2e525eff97ecd8536924aa | f98933cc26e47ed21b29da8d65371fc6fd64d765 | refs/heads/master | 2021-01-23T04:39:36.218877 | 2017-08-08T13:45:13 | 2017-08-08T13:45:13 | 92,934,958 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | h | #pragma once
#include "Core\Name.h"
namespace gfx
{
class CGeometry;
class CModel : public core::CName
{
public:
CModel() = default;
virtual ~CModel() = default;
void Load(const core::CStr& _filename);
protected:
std::string mFilename;
std::vector< CGeometr... | [
"vazquinhos@gmail.com"
] | vazquinhos@gmail.com |
8776d53ad020543ddb81b3d0f4f7fd8be3c92c6f | c157ae97762cdef9805d7fdbb6be36f998ed02ba | /src/recipe.cpp | d9b14e4dfa219fcd127bd4ebbbf4a667ebabdd76 | [] | no_license | Chirurgus/cookbox_server_cpp | 50a9868a38888c7c50681043172c562770d31053 | b45414ed22854e371c437b7dc58249e0dd8c4fad | refs/heads/master | 2021-04-12T09:03:18.876128 | 2018-06-07T19:06:52 | 2018-06-07T19:06:52 | 126,232,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,914 | cpp | #include <memory>
#include <recipe.h>
namespace recipe {
// (re)definition needed to avoid link errors
constexpr Recipe::id_type Recipe::no_id;
}// namespace recipe
// helper functions
namespace {
std::string to_string(const utility::string_t& str) {
return std::string(str.begin(), str.end());
}
}
// from std... | [
"sasha.sashaxl@gmail.com"
] | sasha.sashaxl@gmail.com |
00690d62e42d2f6e5127bc8090320ba416db0113 | 235bccb2fc4f06898ac53402706371bef544f377 | /Codeforce/B. Fox And Two Dots.cpp | 3b80d36025ffd1c50991f82fca27844c3dc200f1 | [] | no_license | GaziNazim/CPP | 76fa44bff7e11d87ffcf95426b0306ea9f9dca93 | 78b0d68642efe33fef5ce6bb50153bd38a11b4bc | refs/heads/master | 2016-08-08T00:50:50.996535 | 2015-05-10T15:33:13 | 2015-05-10T15:33:13 | 30,353,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | cpp | #include<bits/stdc++.h>
#include<algorithm>
#include<cmath>
#include<cstdlib>
#include<cstdio>
using namespace std;
#define rep(i,n) for(__typeof(n) i=0;i<(n);i++)
#define REP(i,a,b) for(__typeof(b) i=(a);i<=(b);i++)
#define INF (1<<31)
#define pb push_back
#define Sort(v) sort(v.begin(),v.end())
#define sz size()
#def... | [
"gazinazim1@gmail.com"
] | gazinazim1@gmail.com |
71116433150d491ac263d5b51cf14122bc7cc231 | b59cceebacb423b54f38775bd88a99f5a15d013b | /atcoder/abc/abc079/a.cpp | 195944321c268992cc8c18e0d4a4ea2433537240 | [
"MIT"
] | permissive | yu3mars/proconVSCodeGcc | 5e434133d4e9edf80d02a8ca4b95ee77833fbee7 | fcf36165bb14fb6f555664355e05dd08d12e426b | refs/heads/master | 2021-06-06T08:32:06.122671 | 2020-09-13T05:49:32 | 2020-09-13T05:49:32 | 151,394,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
int main()
{
string s;
cin >> s;
if(s.at(1) == s.at(2) &&
(s.at(0) == s.at(1) || s.at(2)==s.at(3)))
{
cout << "Yes"<< endl;
}
else
{
cout << "No" << endl;
}
return... | [
"yu3mars@users.noreply.github.com"
] | yu3mars@users.noreply.github.com |
36869df061d5ef4709311987d79c52f2867ce109 | c10be2d679e96ce416acdaaafd7647730d8f4dba | /chapter4/7/main.cpp | 0c1ff755428badd4fd5b2c3410ff8e65260b7e0e | [] | no_license | DMyhai/Tasks | 7111bddfffd359cc47f3bd97b201dd0ae10e210f | 90f20b958528003c5c455f87d3ba281bc391c353 | refs/heads/master | 2016-08-07T23:29:26.836811 | 2014-02-25T13:35:22 | 2014-02-25T13:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include <iostream>
#include <string>
using namespace std;
struct info {
char nameCompany[15];
int diameter;
int weight;
} ;
int main()
{
info array[10];
for (int i=0; i<3; i++){
cout<<"Enter name of the company: ";
cin.get();
cin.getline(array[i].nameCompany, 15);
... | [
"dmytro.mykhailishen@globallogic.com"
] | dmytro.mykhailishen@globallogic.com |
cccb55368fb6bde4c61a78e96ae2b8b760aa4ee4 | 588142a878994e36c7f91070c86e8e41e8a29824 | /src/uarp.cc | 74d1ab0954ff9584e6882ed5cbd45ec0c8cdf7f6 | [] | no_license | dsosnov/uaplotter1 | 189a4f4505b9d51053454d21c3072d9e856d80ba | e86651ea30f2aafab317e4e7124dda81ad8ad528 | refs/heads/master | 2021-01-23T12:25:19.866524 | 2018-08-04T11:32:19 | 2018-08-04T22:31:23 | 93,156,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,323 | cc | #include "uarp.h"
#include <time.h>
#include <string>
#include "iostream"
#include "TString.h"
#include "Rtypes.h"
#include "TMath.h"
#include "TH2.h"
#include "TBranch.h"
ClassImp(uarp)
float uarp::FriciVar()
{
float var = 0;
if(track_valid[0] && track_valid[1]){
var = -0.1;
}else if (track_valid[0]){
... | [
"dmitry.sosnov@cern.ch"
] | dmitry.sosnov@cern.ch |
4831e4bc05ef6d74a47ee5c10ece0b52de52bc1f | 6e77b2d7d45a22e4e12d3624f6e4186da600fbb8 | /src/Engine/Demo/GUtils.h | e98eacfc99c1e7291ddf53373286d2e68a893ab3 | [] | no_license | dgadens/ActionEngine | c414eb216e1a4d99251a079dab4e20164005f521 | 410e04411b55d436c0df2f548444bb5b2bb2052d | refs/heads/master | 2021-01-23T22:42:52.296434 | 2012-11-26T00:35:39 | 2012-11-26T00:35:39 | 5,075,926 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 602 | h | #ifndef __GUTILS_H
#define __GUTILS_H
#include <windows.h>
#include <conio.h>
#include <iostream>
//esse static faz a variavel ser vista apenas dentro desse arquivo :)
static bool consoleVisible = false;
class GUtils
{
public:
static void ShowConsole()
{
if (!consoleVisible)
{
AllocCon... | [
"degadens@gmail.com"
] | degadens@gmail.com |
379992f54b820e87daae949245ec5fbffbc811fc | 8dff49c4dc92983cbd0934725f97224fd9754d1d | /ZeroJudge/c121.cpp | 1ed374762705885036ba05258442b768e073ce38 | [] | no_license | cherry900606/OJ_Solutions | 1c7360ca35252aec459ef01d8e6a485778d32653 | b70f8baed30f446421fd39f311f1d5071a441734 | refs/heads/main | 2023-05-14T13:38:44.475393 | 2021-06-19T07:29:35 | 2021-06-19T07:29:35 | 378,026,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | cpp | #include <iostream>
#include <string>
using namespace std;
string fib[5001];
string add(string a,string b) // short+long
{
if(a.size()>b.size()) swap(a,b);
for(int i=0;i<a.size();i++)
b[b.size()-i-1]+=a[a.size()-1-i]-'0';
for(int i=b.size()-1;i>=1;i--)
{
if(b[... | [
"cherry900606@gmail.com"
] | cherry900606@gmail.com |
9332ec2980019b0dd41b354d7001a57906708f35 | 6859f5319c0ec8cfd0547b60dee8abaf93e4923c | /Plugins/VRExpansionPlugin/VRExpansionPlugin/Intermediate/Build/Win32/UE4/Inc/VRExpansionPlugin/GrippableBoxComponent.generated.h | 49120261bcd304f2bd7d1c912b0e6fade73dbfe6 | [
"MIT"
] | permissive | GoVRCenter/QuestVRE | b90d98cb4d6b9de9e0fdbf74caa8521d8bee0070 | e32a68f86546e20852187ba7626e2899c2180f6d | refs/heads/master | 2022-02-21T09:28:48.249435 | 2019-09-17T00:29:39 | 2019-09-17T00:29:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,543 | h | // 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!
==============================================================... | [
"Justin@tonofham.com"
] | Justin@tonofham.com |
69a482f455727cf89f71f6632634ee972124d23a | 817db7f867910c7f09c034c5cd73fb570a025842 | /Other/Various Problems and Solutions/My Implementation/Æfingaverkefni/Æfing - Average Calculator - rétt/Æfing - Average Calculator/main.cpp | b091bee04ea81d13cffa3076699282fd8e6d6dd6 | [] | no_license | eddast/T-201-GSKI | 77a8e98bd84167f6f9a21ae42d78745bf556b618 | 998cb26f10d79c5f703f1df0010efdff262b80db | refs/heads/master | 2021-03-30T17:26:38.746772 | 2017-04-21T08:53:00 | 2017-04-21T08:53:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | cpp | #include <iostream>
#include "averagecalculator.h"
#include "factoraveragecalculator.h"
using namespace std;
int main(int argc, char **argv)
{
AverageCalculator avg;
avg.addNumber(1.0);
avg.addNumber(3.0);
avg.addNumber(2.0);
avg.addNumber(4.0);
avg.addNumber(2.0);
cout << "Should be 2.4... | [
"eddasr15@ru.is"
] | eddasr15@ru.is |
2cfeb01cd83964eb2466cd754c8484663f119769 | 3d739f27ee3e4c86e7aeb765d3b2668ec7918147 | /CODEFORCE/1099C.cpp | e73c0a4dd7ea62332ebf0290c9d84583b8fdc146 | [] | no_license | monircse061/My-All-Codes | 4b7bcba59a4c8a3497d38b6da08fca1faf0f6110 | b5c9f4367efd134c08a4f1eff680202484963098 | refs/heads/master | 2023-04-13T18:55:50.848787 | 2021-04-24T03:46:45 | 2021-04-24T03:46:45 | 361,062,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string s,ans_string="";
int k,sum=0,sub=0,letter=0,unletter=0;
cin>>s;
scanf("%d",&k);
for(int i=0; i<s.length(); i++)
{
if(s[i]>=97&&s[i]<=122)
{
letter++;
}
else
{
unletter... | [
"monirahammod097@gmail.com"
] | monirahammod097@gmail.com |
62a74f56d0bc1b334763324beae66159b9871c3f | a1809f8abdb7d0d5bbf847b076df207400e7b08a | /Simpsons Hit&Run/game/libs/radscript/tools/radTuner/src/resource/EnterSliderValueDlg.h | 058cac691cb693bd5c469104b46d8d9695c2f8b8 | [] | no_license | RolphWoggom/shr.tar | 556cca3ff89fff3ff46a77b32a16bebca85acabf | 147796d55e69f490fb001f8cbdb9bf7de9e556ad | refs/heads/master | 2023-07-03T19:15:13.649803 | 2021-08-27T22:24:13 | 2021-08-27T22:24:13 | 400,380,551 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,460 | h | #if !defined(AFX_ENTERSLIDERVALUEDLG_H__763D49CE_02AA_4DC6_9A57_D9EDB4861ADE__INCLUDED_)
#define AFX_ENTERSLIDERVALUEDLG_H__763D49CE_02AA_4DC6_9A57_D9EDB4861ADE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EnterSliderValueDlg.h : header file
//
////////////////////////////////////... | [
"81568815+RolphWoggom@users.noreply.github.com"
] | 81568815+RolphWoggom@users.noreply.github.com |
6b07207b1b82cebae711828e0757c07118f0ee12 | 906784a48e7bdedde263ed9d841de37515dd4aef | /src/test/coins_tests.cpp | 280b77a20b6f51b144e99b94dca36cd071a024b9 | [
"MIT"
] | permissive | conan-equal-newone/pptp | 1865dc5f62155202a72bdd50ee7485610434317b | 1013c98859e6b9301e61cce53b9feea642962910 | refs/heads/master | 2020-03-07T16:24:04.113626 | 2018-04-02T13:07:10 | 2018-04-02T13:07:10 | 127,581,220 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 37,861 | cpp | // Copyright (c) 2014-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "coins.h"
#include "random.h"
#include "script/standard.h"
#include "uint256.h"
#include "undo.h"
#include "utilstre... | [
"manuke77@hotmail.com"
] | manuke77@hotmail.com |
77fd366db1cbc553f2162129764cc0db8fd54f01 | b16e2f0fd07d99f4fdf2abd84b032e47033c8dd8 | /Exercises/07-09-2019/ex5.cpp | adcff2f31f59893ab7195e7a2496ae293e46fb5f | [] | no_license | pcc-cs/cs-003a-summer-2019 | aba0c724c1c7bdc116a127a642d2a4ddbbe96ac8 | 22a35b50447c88c92c494377f34e11a8ef6e62bf | refs/heads/master | 2020-06-13T18:12:02.355367 | 2019-07-31T03:48:26 | 2019-07-31T03:48:26 | 194,744,853 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | #include <cstdio>
struct Duo {
int a, b;
};
class Point {
private:
int x, y;
public:
Point();
Point(int, int);
};
Point::Point() {
}
Point::Point(int a, int b) : x(a), y(b) {
}
int main() {
Duo da1[] = {
{1, 2},
{22, 3},
{-9, 4}
};
Point pa1[0x10];
Point pa2[] = {
Point(10, 20),
... | [
"sekhar@allurefx.com"
] | sekhar@allurefx.com |
bddbdb7d8be885f0fb3289ff18c19465d051f233 | 1af49694004c6fbc31deada5618dae37255ce978 | /chrome/browser/android/autofill_assistant/trigger_script_bridge_android.h | 5aee6ecc4e5f1f5b5c71683ec91d69196be46a6b | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 3,588 | h | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ANDROID_AUTOFILL_ASSISTANT_TRIGGER_SCRIPT_BRIDGE_ANDROID_H_
#define CHROME_BROWSER_ANDROID_AUTOFILL_ASSISTANT_TRIGGER_SCRIPT_BRIDGE... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
8cb7753816fe62dd7fcc290bc2377a4a4e706e7c | d9a7afdf160f15a2a8bc5f07e07a0422c5d8da8b | /3-work/qt/qt-HMIClient/HMIClient/netinterface/mesmqttclient.cpp | 24adecea433d69187e3a8e04df2d35fd62873136 | [] | no_license | programcj/programming_path | 964cd53fdef74041241ebe392eeb0c4566eb1d89 | 04a410492a9ee7173612122e367ac1c5b101d7ce | refs/heads/master | 2021-12-15T10:43:33.066541 | 2021-12-11T10:20:01 | 2021-12-11T10:20:01 | 184,296,551 | 1 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 9,289 | cpp | #include "mesmqttclient.h"
#include "../appconfig.h"
#include "../tools/MQTTClient.h"
#include "../dao/mesproducteds.h"
#include "mesmsghandler.h"
//d2s/设备序列号/协议版本/data 下位机上传数据
//s2d/设备序列号/协议版本/data 上位机下传数据
//S2d/设备序列号/协议版本/config 配置消息下发
volatile MQTTClient_deliveryToken deliveredtoken;
#define QOS 1
... | [
"aa"
] | aa |
604d0f00cdb3a09822f381fb830aeaeefe72c939 | 7caf7448f4af84989e0a1f43bf287bd83cefce64 | /src/Namespace_Exercise.cpp | 2610898c4bed41120b7a09eba520220f0638af8c | [] | no_license | westsidepedro/Namespace_Exercise | ac2c31310a6e4a0412b8d0dfaa5022ab11f019c5 | 36d5a736ce872d69f9c761458c36256453fe62b1 | refs/heads/master | 2021-04-05T23:49:14.149109 | 2018-03-12T20:28:50 | 2018-03-12T20:28:50 | 124,916,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | //============================================================================
// Name : Namespace_Exercise.cpp
/*
* -create 2 classes
* -put one of each in different namespaces
* -use 'using' and 'nameSpace::class' to refer to namespace in function
*/
// Description : Hello World in C++, Ansi-style
//===... | [
"jpetterson@DS-17.decker.local"
] | jpetterson@DS-17.decker.local |
c98acdb96b68959dfcb052657e37be38ef65184f | 78b56332ebc8fdb14e9a9433c031f5ed35f43c94 | /cxxcommon/message/message_device_realtime_data_item.cpp | 2217016946ac33d1be168d7b5caeabe30f920a34 | [] | no_license | xiezhaoHi/guolujiance_server | 0b43c193d32851f8e59af21a8b58cd4335138e5f | e3ac88b95cadc2eaa8aea167e17b356cdc32708f | refs/heads/master | 2021-05-14T14:21:26.081310 | 2018-12-11T08:39:54 | 2018-12-11T08:39:54 | 115,968,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,555 | cpp | #include "message_device_realtime_data_item.h"
CMessageDeviceRealtimeDataItem::CMessageDeviceRealtimeDataItem()
{
static_assert(sizeof(T_MSG_DEVICE_REALTIME_DATA_ITEM) == 12, "sizeof(T_MSG_DEVICE_REALTIME_DATA_ITEM) != 12");
memset(&m_struct, 0x00, sizeof(m_struct));
}
CMessageDeviceRealtimeDataItem::~CMes... | [
"15182911195@163.com"
] | 15182911195@163.com |
f73bd5b3eb0b70ab3d9568707bb41c0d1b3c9e85 | 3b0711d6a7680c341f2e77d2a016f36d059b95e6 | /project_game/game.h | 8959bed588d20280c2355c7537c8000013fa5d49 | [] | no_license | tremwil/CiSA_Prog2_Arduino | 213d7a6a86b2f05961176295b0d19a6e606edc09 | 9233c54a9ef460e148dbddf6c2664895fdb93808 | refs/heads/master | 2022-04-12T22:13:01.421088 | 2020-03-10T05:27:58 | 2020-03-10T05:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,141 | h | #ifndef GAME_H
#define GAME_H
#include <LiquidCrystal.h>
typedef unsigned long long uint64;
#define FPS 20
// Indexed with (next << 2 | curr)
const byte LVL_TO_CHAR[16]
{
' ', 0x03, 0x05, 0x01,
0x02, '!', '!', '!',
0x04, '!', '!', '!',
0x00, '!', '!', 0xff
};
class LcdGame
{
private:
... | [
"tremwil@gmail.com"
] | tremwil@gmail.com |
9e8347423ce6640ea7c0c10b67c14c5c34eea73e | 485003035ae6dbab60ffa280de2cde1736123048 | /acm/sicily/graph1002.cpp | 0be19ccc761b442a3dfdf1d0f1577c75d149e813 | [] | no_license | yeyue910107/algorithm | 96d900219ebf86e06b3ee6ca0b558b82155195c4 | 5aa96ab4843cbb6815744042676c84a487193d39 | refs/heads/master | 2021-01-10T01:12:56.529233 | 2014-02-28T13:06:49 | 2014-02-28T13:06:49 | 8,578,205 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | cpp | #include <stdio.h>
#include <vector>
using namespace std;
class Graph {
private:
std::vector<vector<int> > table;
int num;
public:
void dfs(const int, vector<bool> &);
void get_connection_component();
void create_graph(const int, const int);
Graph() { }
Graph(const vector<vector<int> > &table, const int &num... | [
"yeyue910107@gmail.com"
] | yeyue910107@gmail.com |
58e4010d5ba30ddf9272e46545ce2b960d768fb2 | 51835b8233eccfb53cffe96c071fc6fcf3d84f9b | /src/PinkGoblin.h | 6c80d03bf7a13f10c828bbf39da23057f9638cea | [
"MIT"
] | permissive | GoldbergData/newWorldSimulation | eda3dc31df52c15ff19c3cb78a0001f1ac0bd6c3 | 9534592ac2c9f5909bd0aba126fa678a40cf0408 | refs/heads/main | 2023-05-15T02:14:00.805514 | 2021-06-18T02:46:05 | 2021-06-18T02:46:05 | 373,677,715 | 0 | 0 | MIT | 2021-06-09T03:14:35 | 2021-06-04T00:32:16 | C++ | UTF-8 | C++ | false | false | 464 | h | /**
* @file PinkGoblin.h
* @author John Nguyen, Joshua Goldberg (jvn1567@gmail.com, J.GOLDBERG4674@edmail.edcc.edu)
* @brief Bare alien class. Did not have time to implement differences.
* @version 0.1
* @date 2021-06-12
*
* @copyright Copyright (c) 2021
*
*/
#ifndef _PinkGoblin_h
#define _PinkGoblin_h
#in... | [
"josh.goldberg1@outlook.com"
] | josh.goldberg1@outlook.com |
0904bff8ad90ddc386b261157cc6d347f238f30d | 7e0979fbe2d94eb0d51f0f0d174bedceab42032e | /UpnpLibrary/upnpactionreply.h | 3b0cb4179ef2598ca4afff0a1bf72b38916b8c26 | [] | no_license | robby31/Upnp | 86874a42d122f9aaf298a9ff323ce3cfb375be17 | 8bb97922eca35ce62b9fbb12297f8c60555eeed2 | refs/heads/master | 2021-01-22T14:20:42.201774 | 2020-02-15T08:53:34 | 2020-02-15T08:53:34 | 82,330,493 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 925 | h | #ifndef UPNPACTIONREPLY_H
#define UPNPACTIONREPLY_H
#include <QObject>
#include <QNetworkReply>
#include "upnperror.h"
#include "soapactionresponse.h"
class UpnpActionReply : public QObject
{
Q_OBJECT
Q_PROPERTY(SoapActionResponse* response READ response NOTIFY responseChanged)
public:
explicit UpnpActi... | [
"guillaume.himbert@gmail.com"
] | guillaume.himbert@gmail.com |
0e8f80a49bc0cb154279314349c01cb01833e4f5 | 58958463ae51c6af762ade55e53154cdd57e9b71 | /OpenSauce/shared/Include/blamlib/Halo1/items/item_structures.hpp | 40e4b406a24c8faa097e79c1d2bd0ceafd261d0b | [] | no_license | yumiris/OpenSauce | af270d723d15bffdfb38f44dbebd90969c432c2b | d200c970c918921d40e9fb376ec685c77797c8b7 | refs/heads/master | 2022-10-10T17:18:20.363252 | 2022-08-11T20:31:30 | 2022-08-11T20:31:30 | 188,238,131 | 14 | 3 | null | 2020-07-14T08:48:26 | 2019-05-23T13:19:31 | C++ | UTF-8 | C++ | false | false | 1,967 | hpp | /*
Yelo: Open Sauce SDK
See license\OpenSauce\OpenSauce for specific license information
*/
#pragma once
#include <blamlib/Halo1/objects/object_structures.hpp>
namespace Yelo
{
namespace Flags
{
enum item_flags : long_flags {
_item_in_unit_inventory_bit,
_item_hidden_in_unit_inventory_bit,... | [
"kornman00@gmail.com"
] | kornman00@gmail.com |
d11a05f7576ba5d07b671965f9f3b9609089ea29 | a97b9ad50e283b4e930ab59547806eb303b52c6f | /tutorials/incompressible/pisoFoam/ras/cavity/10/p | af98e70335117684f48ca9e5bd5c1badfd61d9be | [] | no_license | harrisbk/OpenFOAM_run | fdcd4f81bd3205764988ea95c25fd2a5c130841b | 9591c98336561bcfb3b7259617b5363aacf48067 | refs/heads/master | 2016-09-05T08:45:27.965608 | 2015-11-16T19:08:34 | 2015-11-16T19:08:34 | 42,883,543 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,609 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
... | [
"brennankharris@gmail.com"
] | brennankharris@gmail.com | |
2fdb1b92b9cc675ec52ae3307df6a2d463eb3fa6 | 763159c1308c14447b389209244645c7b638ccb5 | /sstd_lua/source/lua_linit.cpp | c54bfc9ffd39f530cbc8a2d5a5f615f1d45c5255 | [] | no_license | 15831944/sstd_library | 9f53791df831724b02f7e86988fbd9a3c146e6b6 | 10c2ec1db09417c6d3217a37462db5bbf1a6fa5c | refs/heads/master | 2022-03-09T06:50:09.977767 | 2019-07-20T03:10:51 | 2019-07-20T03:10:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,734 | cpp | /*
** $Id: linit.c,v 1.39.1.1 2017/04/19 17:20:42 roberto Exp $
** Initialization of libraries for lua.c and other clients
** See Copyright Notice in lua.h
*/
#define linit_c
#define LUA_LIB
/*
** If you embed Lua in your program and need to open the standard
** libraries, call luaL_openlibs in your program. If you... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
608a246a633c74565f202d0cbbbf85bf64e27763 | 55416919c2f53162d8667d9e6ee978520036b5fa | /src/main.cxx | 90f5368ca250070ad6013bb2e87519f3a86c8c7d | [] | no_license | gorobaum/gc1 | e4be0dddb9d3a7da937dfc04445e55695f411f2d | d1cb123249d022e7ddb91434887914dd90b7d8fc | refs/heads/master | 2020-11-26T21:00:51.185891 | 2014-09-27T16:52:33 | 2014-09-27T16:52:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cxx | #include <iostream>
#include <fstream>
#include "parser.h"
#include "automata.h"
#include "scenegenerator.h"
int main(int argc, char** argv) {
if (argc != 2) {
std::cout << "Dae precisa do arquivo com os roles\n";
} else {
Parser parser(argv[1]);
parser.parseFile();
Automata automata(parser.getAxiom(), pars... | [
"gorobaum@gmail.com"
] | gorobaum@gmail.com |
1d589670d035438174f54a81e472188634d6d178 | 19b3b5f451efeb34f0a14f189beb24959222f703 | /problems_B/p40/p33_B_Decoding.cpp | 7e0d34a7305850bfad3151771447dd95c6c4e6dc | [] | no_license | PabloTabilo/codeforces-challenge | 67d559b46577ad2379c719057f018c8bffba7f23 | b51a77fd27a829fdfc0685171ecf59dc21bc6735 | refs/heads/main | 2023-07-11T02:08:02.549800 | 2021-08-12T18:04:31 | 2021-08-12T18:04:31 | 368,192,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | cpp | #include<iostream>
#include<string>
using namespace std;
int main(){
int n, i;
string s1;
cin>>n;
cin>>s1;
if(s1.size()<=2){
cout<<s1;
}else{
string res="";
i=n-2;
if(n%2!=0){
while(i>=1){
res+=s1[i];
i-=2;
... | [
"pablo.tabilo@ticnow.cl"
] | pablo.tabilo@ticnow.cl |
00ad621681093d044e583b0e360d0627e88f0dc3 | ca9a8dac9adab9925fde6b99b8f7dc155312b984 | /GranularTextureSynthesis/JuceLibraryCode/BinaryData.h | efaa5bf324b4cd8992a36372fc5c0a3e55b79cf1 | [] | no_license | rupschy/GranularTextureSynthesis | 0e9cd71d0dc4c799d0004d4c85542fce709d6ef5 | bd3b3a73869c3cf15df73d7da17a4fdb34462e46 | refs/heads/main | 2023-04-02T03:11:56.179546 | 2021-04-16T18:21:24 | 2021-04-16T18:21:24 | 342,366,410 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,782 | h | /* =========================================================================================
This is an auto-generated file: Any edits you make may be overwritten!
*/
#pragma once
namespace BinaryData
{
extern const char* knob_b_small_png;
const int knob_b_small_pngSize = 5457;
... | [
"john.rupsch@pop.belmont.edu"
] | john.rupsch@pop.belmont.edu |
08625d6948935132fdcb4904fc6fcbb1bd7fc757 | 9f16950a070174c4ad6419b6aa48e0b3fd34a09e | /users/marcel/veem-sound/thermalizer.cpp | 552aed18351a21cc66c233b538ce4eb2ed70a6c0 | [] | no_license | marcel303/framework | 594043fad6a261ce2f8e862f921aee1192712612 | 9459898c280223b853bf16d6e382a6f7c573e10e | refs/heads/master | 2023-05-14T02:30:51.063401 | 2023-05-07T07:57:12 | 2023-05-07T10:16:34 | 112,006,739 | 53 | 1 | null | 2020-01-13T18:48:32 | 2017-11-25T13:45:56 | C++ | UTF-8 | C++ | false | false | 4,111 | cpp | #include "framework.h"
#include "Noise.h"
#include "thermalizer.h"
#include <cmath>
const double kCelcius = 273.0;
Thermalizer::Thermalizer()
: thermalToView(true)
{
}
Thermalizer::~Thermalizer()
{
shut();
}
void Thermalizer::init(const int _size)
{
shut();
//
if (_size > 0)
{
size = _size;
thermal... | [
"marcel303@gmail.com"
] | marcel303@gmail.com |
3f6e82ecfb0755c13107d06a93ac4abad8a09627 | cb68eec0d3e4a4dd2a02bdf9eb7f62468a2704d4 | /Input Test/main.cpp | a3e3db9528732a608b4109c03542102d54b29592 | [] | no_license | zomawia/IntroToCPP | 3533317d0c8fc4b902c525f08591d85b1587bac4 | a2004e9ae99b5714832fd6ce3ba4387b00b11994 | refs/heads/master | 2020-04-18T10:27:03.285531 | 2017-01-31T23:48:49 | 2017-01-31T23:48:49 | 66,312,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | // Problem 5
#include <iostream>
int main()
{
int i = 0;
float f = 0;
char ch = 'a';
std::cin >> i >> ch >> f;
std::cout << "i: " << i << "\nch: " << ch << "\nf: " << f << std::endl;
system("pause");
} | [
"zomawai.sailo@SEA-1A7525"
] | zomawai.sailo@SEA-1A7525 |
e6b6ff5f64bd57bd0709a9b330cb3555eba05d0d | d38bd5737e0de480cba23f139d3fe542dbd4de95 | /ThirdParty/Bullet/src/BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.cpp | cb8ad5a1dd9427a4136d07b841ec5b2dd502fd1b | [] | no_license | bmjoy/GameEngine | 56ddc007e0d22cc1fa50d3a56000929c1b6f54bc | 39b59b0e382d0010526b1a40487120e4a143f3c7 | refs/heads/master | 2020-11-23T22:21:51.998221 | 2019-12-16T05:17:22 | 2019-12-16T05:17:22 | 227,844,666 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,199 | cpp | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | [
"ironmandev@gmail.com"
] | ironmandev@gmail.com |
8918c9156297e32f5a911da6abf54d36b1e786b7 | 7415cc42241ea7c553858fd2018d2f479f356984 | /1_7_For_Arrays/Task3/main.cpp | c35d8420acefb0296f441a753039e2b1856fedb8 | [] | no_license | nkolesnikov999/IntroCPP | f1bc6b800521ecffd5fc1e00925bada7ffc15c67 | 0b70a742288248ce512abddf65d636c755ff7ce2 | refs/heads/master | 2021-01-19T00:27:39.279714 | 2016-09-10T17:22:52 | 2016-09-10T17:22:52 | 67,435,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | cpp | /*
Выведите все элементы массива с четными индексами (то есть A[0], A[2], A[4], ...).
Формат входных данных
В первой строке вводится количество элементов в массиве. Во второй строке вводятся элементы массива.
Формат выходных данных
Выведите ответ на задачу.
Sample Input:
5
1 2 3 4 5
Sample Output:
1 3 5
*/
... | [
"nkolesnikov@mail.ru"
] | nkolesnikov@mail.ru |
f2efe13729fe7a0aaf43c9920362d78d2200e059 | 7f2b581ba5bf174e3cd7665d65a9c66c586f3222 | /src/main.cpp | 05760b87ea441dbd743218801c46356139694a67 | [] | no_license | zsuzuki/StickLED | d7fef5760401c0f24acca339f39ebca4d41f54a9 | 74dd6179e12c791afb8008aba0dfe2390dec3511 | refs/heads/master | 2023-07-16T10:52:50.209145 | 2021-09-05T21:51:38 | 2021-09-05T21:51:38 | 394,878,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,087 | cpp | #include <Arduino.h>
#include <FastLED.h>
#include <vector>
#include <M5GFX.h>
#include <I2C_BM8563.h>
#include <I2C_AXP192.h>
#include <WiFi.h>
#include <array>
namespace
{
constexpr int BM8563_I2C_SDA = 21;
constexpr int BM8563_I2C_SCL = 22;
constexpr int DIN = 26;
constexpr int NB_LED = 12;
using DateTyp... | [
"wave.suzuki.z@gmail.com"
] | wave.suzuki.z@gmail.com |
61ea0c8000d56e34fd8bb4b44ed15bf664b46824 | 33fd5786ddde55a705d74ce2ce909017e2535065 | /build/iOS/Debug/include/Fuse.Input.PointerMovedHandler.h | c6c30d85f1869e29b0109ae68a4c84f317dbc75f | [] | no_license | frpaulas/iphodfuse | 04cee30add8b50ea134eb5a83e355dce886a5d5a | e8886638c4466b3b0c6299da24156d4ee81c9112 | refs/heads/master | 2021-01-23T00:48:31.195577 | 2017-06-01T12:33:13 | 2017-06-01T12:33:13 | 92,842,106 | 3 | 3 | null | 2017-05-30T17:43:28 | 2017-05-30T14:33:26 | C++ | UTF-8 | C++ | false | false | 450 | h | // This file was generated based on '../../../../Library/Application Support/Fusetools/Packages/Fuse.Nodes/1.0.2/input/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Delegate.h>
namespace g{
namespace Fuse{
namespace Input{
// public delegate void PointerMovedHan... | [
"frpaulas@gmail.com"
] | frpaulas@gmail.com |
881ea7fbab372d1b6fb2a636def3dbd8bb0460f6 | e000dfb2e1ddfe62598da937d2e0d40d6efff61b | /venusmmi/app/Cosmos/ScreenLock/vapp_screen_lock_unlock_item_kit.cpp | b6b8d563e2ceb2e28f844581cc6609acf4dd9453 | [] | no_license | npnet/KJX_K7 | 9bc11e6cd1d0fa5996bb20cc6f669aa087bbf592 | 35dcd3de982792ae4d021e0e94ca6502d1ff876e | refs/heads/master | 2023-02-06T09:17:46.582670 | 2020-12-24T02:55:29 | 2020-12-24T02:55:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,525 | cpp | /*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or dis... | [
"3447782@qq.com"
] | 3447782@qq.com |
2a865f45eea1a1260c9892cb811df21e4e62ab83 | 618ff458ffbcfa4c66930d47667162b148bcb57a | /exe1/EpslonRestrito.cpp | 73e79eb653833e8ed396b83bd7a14ffd1585fd9e | [] | no_license | dsaleixo/TrabalhoInf628 | 351f9095b80a74eb5cdd35fc7348756f4265dcff | b132846c4fab416ad0759ca266f0ba17b17db694 | refs/heads/master | 2022-12-02T18:03:27.870502 | 2020-08-11T00:19:38 | 2020-08-11T00:19:38 | 278,403,853 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,899 | cpp | #include "EpslonRestrito.h"
EpslonRestrito::EpslonRestrito(string s, int p, string saida,bool otimizado) : MMO(s, p, saida) {
this->otimizado = otimizado;
}
void EpslonRestrito::rodar() {
this->model.setInicio(0);
this->model.setFim(this->model.Z_size);
double A1, A2, B1, B2;
int i, f;
model.CriaVari... | [
"david_leixo@hotmail.com"
] | david_leixo@hotmail.com |
307e87698d4769dc35cf07f6a3236e522099e235 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cms/src/v20190321/model/UserKeyword.cpp | ba437240b2292f161414086d3ddb9dc2f9da7917 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 4,850 | cpp | /*
* 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
effc2b344aafb4e76d8830003f3fab47fe14a1ac | 55fe6d52a77c6a08de59fa3b562e4f428a21cf29 | /cipher.cpp | 6624e56a214019a12fa90153dc0f11c9354c22ea | [] | no_license | helenwub/DataAlgorithmProj | 451a63cc9f09cf6f6d98249aa18323205254e076 | 64886818b56ccfd0cc9d5b38ef92dd3ae5ea46a7 | refs/heads/main | 2023-06-18T01:55:23.776211 | 2021-07-13T23:47:00 | 2021-07-13T23:47:00 | 385,760,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | #include <iostream>
#include <fstream>
#include "encrypt.h"
#include "decrypt.h"
using namespace std;
int main()
{
char letter;
const int size = 126;
char FilePath[size];
int shift;
char text[size];
char* pEncrypt;
memset(text,0x20, size);
ifstream inFile;
cout << "Would you like to (e)ncrypt or (d)ecrypt a ... | [
"helina123konjo@gmail.com"
] | helina123konjo@gmail.com |
be4d40d004e1eaee715fab8970a343012bf40460 | a0d60beae8a2a77bfbe7e73c37274cc6f77c1ee1 | /program6/mstapp.cpp | cd6f9024e403364d77e6fe281fea0553c846be7a | [] | no_license | german9304/CSCI311-CSUCHICO | 1dfa45dc074c1f81bd429819f6e899592d2f6d45 | 84b7be3dc1e64622587ac5e493998154c100a2d1 | refs/heads/master | 2021-08-30T19:17:10.665037 | 2017-12-19T04:30:04 | 2017-12-19T04:30:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,199 | cpp | /**
@Brief In this assignment you will implement Prim's algorithm
for generating a Minimum Spanning Tree (MST).
@Author German Razo Rodriguez
*/
#include <stdio.h>
#include "mstapp.h"
#include <sstream>
using std::cin;
using std::cout;
using std::endl;
/*******
@Description This function eads a weighted undirected grap... | [
"31298672+german9304@users.noreply.github.com"
] | 31298672+german9304@users.noreply.github.com |
0dc306eac9e10b450599e94ad3d533f4b9ae9b7d | e04045891517f5ffb5820177d50bcc48ed65a3fb | /task9/main.cpp | 2e7cf7ebdc9d8f51f149381d5800599cea58d072 | [] | no_license | ZaiqiangWu/pba | 8580d16d8501444e6d744c6b87b3671eee4772cb | ed39259c07b10ef02455f0e71cbb88c656915837 | refs/heads/main | 2023-06-09T13:29:27.121004 | 2021-06-28T05:44:09 | 2021-06-28T05:44:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,026 | cpp |
#include "delfem2/glfw/viewer2.h"
#include <GLFW/glfw3.h>
#include <cstdlib>
#include <cstdio>
// print out error
static void error_callback(int error, const char* description){
fputs(description, stderr);
}
void Draw(){
glBegin(GL_LINE_LOOP);
glColor3f(0.f, 0.f, 0.f);
glVertex2f(0.f, 0.f);
glVertex2f(1.f,... | [
"n.umetani@gmail.com"
] | n.umetani@gmail.com |
90a6859ef3372b3b7264ecb9038cf4fb102be767 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/blink/renderer/platform/wtf/threading_win.cc | 93f324ea512fe3610e4ca752b201ced8c8ba8958 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 8,697 | cc | /*
* Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2009 Google Inc. All rights reserved.
* Copyright (C) 2009 Torch Mobile, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditio... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
f130251ebbf3dd6185ba9385eac939b62fcf525d | 23dd9d94f20f52fe405b7ac96ea05e0db943e718 | /PAO/addvisitdialog.h | 62f5252fe6ba59a9537fb26afe92de8bd652c3bc | [] | no_license | fedsib/pao-project | c44d7ed19839ec50f47e19a303e152d94869cfaa | 83744a04892c792c0908acdcea0f7031322f2c2c | refs/heads/master | 2021-03-27T16:39:13.872401 | 2017-01-01T11:12:40 | 2017-01-01T11:12:40 | 24,765,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | h | #ifndef ADDVISITDIALOG_H
#define ADDVISITDIALOG_H
#include <QRadioButton>
//#include <QLabel>
#include <QPushButton>
#include "basicvisit.h"
#include "specializedvisit.h"
#include "vaccinevisit.h"
#include "vetcontrol.h"
class AddVisitDialog : public QDialog {
Q_OBJECT
private:
VetControl* vetc;
QGroup... | [
"fedsib@users.noreply.github.com"
] | fedsib@users.noreply.github.com |
943abbdbf191e5617af64205e9bb390a93a36bed | ab1c643f224197ca8c44ebd562953f0984df321e | /snapin/dfsadmin/dfsgui/utils.h | edb931bca3162d18063ebacfe1f8bd6c707b9c50 | [] | no_license | KernelPanic-OpenSource/Win2K3_NT_admin | e162e0452fb2067f0675745f2273d5c569798709 | d36e522f16bd866384bec440517f954a1a5c4a4d | refs/heads/master | 2023-04-12T13:25:45.807158 | 2021-04-13T16:33:59 | 2021-04-13T16:33:59 | 357,613,696 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,943 | h | /*++
Module Name:
Utils.h
Abstract:
This module contains the definition for CUtils class.
Contains utility method which are used throughout the project.
--*/
#if !defined(AFX_UTILS_H__B3542C03_4260_11D1_AA28_00C06C00392D__INCLUDED_)
#define AFX_UTILS_H__B3542C03_4260_11D1_AA28_00C06C00392D__INCLUDED_
... | [
"polarisdp@gmail.com"
] | polarisdp@gmail.com |
557f5171bb7106e086b9e19204760faa345f4fbd | 31d746e5dbe161fc693909a121eaf362b2c8eaff | /assignment1.cpp | 0eedfc769b73cbc18bf0dbd032f0b747c398b1f8 | [] | no_license | ambroseled/OpenGL-2-Graphics-Scene | 88fb1972b3974a2d2a6a12d4f229741bfba5c48c | 36ae31d6e2e77b447f4a987e1b3cb8baf5afa7e0 | refs/heads/master | 2020-05-02T18:14:16.978232 | 2019-04-04T08:20:34 | 2019-04-04T08:20:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,734 | cpp | // ========================================================================
// COSC363: Computer Graphics (2019); CSSE University of Canterbury.
//
// FILE NAME: Skybox.cpp
// See Lab03.pdf for details
// ========================================================================
#include <iostream>
#include <GL/fr... | [
"ajl190@uclive.ac.nz"
] | ajl190@uclive.ac.nz |
b681d352223786663e19dd652b62658d75cc9210 | 1efed76acf602d77073cbb2356ccd5c56d8f48b6 | /src/MotionControl.cpp | 9a28d869a193095e6742582024ece17e72ace0db | [] | no_license | KITmedical/viky | 4c42a16a3cb1625ddd753ac5730f85954b53b0f3 | 26f07c67bca007483ebfb6c4d5cb81ff9e44e891 | refs/heads/master | 2020-12-25T12:28:30.817946 | 2015-03-03T13:20:16 | 2015-03-03T13:20:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,647 | cpp | #include "MotionControl.h"
// system includes
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <termios.h>
#include <unistd.h>
#include <err.h>
#include <stdexcept>
#include <sys/ioctl.h>
// library includes
#include <ahbstring.h>
// custom includes
/*-------------------... | [
"andreas.bihlmaier@gmx.de"
] | andreas.bihlmaier@gmx.de |
c6393dd3beb38b33262320bcd79de10c1e3b4993 | 4ffca8ba04cf99773e14ba3ce82d8bd80bbb3d27 | /toolkits/graphical_models/deprecated/gibbs_sampling/sampler.cpp | 67bab620f46b3adde8a7d2399f76f007240e6144 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lqhl/PowerWalk | 3f491dd42d16988b97f7b08dc0fef49b7496ce0f | 36aeeaeaa4eb44c76ab9633ace27972260cc098f | refs/heads/master | 2020-12-28T08:30:01.070302 | 2017-01-03T05:28:24 | 2017-01-03T05:28:30 | 38,031,557 | 16 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,759 | cpp | /**
* Copyright (c) 2009 Carnegie Mellon University.
* 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... | [
"joseph.e.gonzalez@gmail.com"
] | joseph.e.gonzalez@gmail.com |
179a28413a4f38e4d5837178c200aaa74bd23756 | 12d83468a3544af4e9d4f26711db1755d53838d6 | /cplusplus_basic/Qt/boost/mpl/list/aux_/push_back.hpp | 07064b948913efe361dc923833a0967744c010d1 | [] | no_license | ngzHappy/cxx17 | 5e06a31d127b873355cab3a8fe0524f1223715da | 22d3f55bfe2a9ba300bbb65cfcbdd2dc58150ca4 | refs/heads/master | 2021-01-11T20:48:19.107618 | 2017-01-17T17:29:16 | 2017-01-17T17:29:16 | 79,188,658 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | hpp |
#ifndef BOOST_MPL_LIST_AUX_PUSH_BACK_HPP_INCLUDED
#define BOOST_MPL_LIST_AUX_PUSH_BACK_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http:/... | [
"819869472@qq.com"
] | 819869472@qq.com |
881428cfca9b485e46ee8dd6f81e9b82bfe9ba4c | e955145c9892970e1db3b51c1f1807f1fb8afd90 | /mycoppelia/src/simdemo.cpp | e6ec1f731a7352ded3ab9cd310005d77a72d167a | [] | no_license | 0000duck/CoppeliaRobotics | f04256c4591d7d6a1403261b3effd6dfce8cef3c | 6fb73679fde8dc6c876a20f1541c95646f1ec33c | refs/heads/master | 2023-01-24T12:52:51.825472 | 2020-11-23T02:58:45 | 2020-11-23T02:58:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,769 | cpp | #include <ros/ros.h>
#include <stdio.h>
#include <stdlib.h>
#define _USE_MATH_DEFINES
#include <math.h>
#define NON_MATLAB_PARSING
#define MAX_EXT_API_CONNECTIONS 255
extern "C" {
#include "../../programming/remoteApi/extApi.h"
#ifdef _Included_extApiJava
#include "extApiJava.h"
#endif
}
class Sim_client{
privat... | [
"taisuke.march4@icloud.com"
] | taisuke.march4@icloud.com |
adbe47f56893b76d9b12f42864b4643ca55d8f13 | b0ac4ed4d3130712afeac22219fc94da7309ea80 | /src/demo_data.cpp | 86b32d473b0025ae0143402cc456669c09a94607 | [] | no_license | hotTeaFun/sync_epoll_client | af46cd934bdf02c43fee6c620eb5a26e09d3b7a8 | b356b509a42500dc5c77791f587200a0f1f20163 | refs/heads/master | 2023-08-12T05:27:43.555513 | 2021-10-08T10:05:52 | 2021-10-08T10:05:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | cpp | #include "demo_data.h"
DemoData::DemoData() { this->header.type = data_invalid; }
DemoData::DemoData(DataType type) { this->header.type = type; }
DemoData::DemoData(DataType type, std::string content) {
this->header.type = type;
this->body.content = content;
}
DemoData::DemoData(DataType type, std::string timestamp... | [
"1767230254@qq.com"
] | 1767230254@qq.com |
5a8cbdc4c9b69618a6f22c2a9bf87e357413a59b | 5bfd135b7b3312a8ca476c7acbc3bc10d4590845 | /Arkanoid/Arkanoid/common.cpp | 263a1aa504144ac1fb06e53dca1c2bfa5bba9ea8 | [] | no_license | fdq09eca/cpp_study | c8a2d817d6371810d4b13e3ee42d57d1285cf2cb | 8baa8766a7fccaef413eed5b5a52191be676a38d | refs/heads/master | 2023-07-10T00:50:57.067898 | 2023-07-04T22:47:23 | 2023-07-04T22:47:23 | 338,491,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,457 | cpp | //
// common.cpp
// Arkanoid
//
// Created by ChrisLam on 22/03/2021.
//
#include "common.hpp"
SDL_Renderer* g_renderer = nullptr;
Point::Point(float x_, float y_):x(x_), y(y_){};
float Point::distance(const Point& p) const {
float dx = x - p.x;
float dy = y - p.y;
return sqrt(dx * dx + dy * dy);
}
... | [
"fdq09eca@gmail.com"
] | fdq09eca@gmail.com |
3fd14abf46d0979994e77a46d65a4313d655c57b | 5336d19e8dfbbe6a22eb3b915265b332ad7f0f88 | /LeetCode/0097_Interleaving_String_Medium/0097_Interleaving_String_Medium_01.cpp | 8bdf29856d316e7e51697119ab14a5151080fe4f | [] | no_license | kaichenhong/Coding_Practice | 84d0a7b1984469a664bb0c3d07ddd59e2a61019e | fd5bd9bb18581bad497b35255c1d7ed31c6d8e46 | refs/heads/master | 2023-08-21T22:23:25.897502 | 2023-08-21T17:02:27 | 2023-08-21T17:02:27 | 204,305,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,501 | cpp | /*
* Results: AC (0 ms [100.00%]; 7.1 MB [57.86%])
*/
// #define TLE
#ifndef TLE
class Solution {
public:
bool isInterleave(string s1, string s2, string s3) {
dp.resize(s1.size(), vector<int>(s2.size(), -1));
return dfs(0, 0, 0, s1, s2, s3);
}
private:
bool dfs(const int idx1, const... | [
"kaichenhong@gmail.com"
] | kaichenhong@gmail.com |
2e45d17d4341a491b831adaabe032ebfa0127f20 | fdaa86ee590e5a097b5d9bcb6c2ea9f065d21c83 | /dtn_agent/oasys-1.4.0/thread/Atomic-mips.h | fe904bf2f72ef7ffe16d9bd0facf771a7f611708 | [
"Apache-2.0"
] | permissive | vshirikian/cmusv-dtn | 58ebaf61fe34e866440b0bb48fb5bc3f807bdc3e | a8c9ee90c804567edf62b98971124715baa4c7f6 | refs/heads/master | 2021-01-22T05:10:07.109160 | 2011-04-13T08:33:17 | 2011-04-13T08:33:17 | 1,290,466 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,451 | h | /*
* Copyright 2004-2006 Intel Corporation
*
* 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... | [
"vache@vg1.(none)"
] | vache@vg1.(none) |
9755217f38d36862a648042debb7d987f8dbcbd8 | 55e6d3c2f1976f26e8e470586a8d6114db1b2e90 | /server.cpp | 501303649e17cfe181f2d14852f240a4f468a4e2 | [] | no_license | 0crab/read_write_test | 1a0c76061181d131cefc7c7baeea8acec9db77d4 | 766ed538f5723a622fbd469dd2e36d84922840e5 | refs/heads/master | 2022-11-05T17:43:25.345530 | 2020-07-02T09:22:24 | 2020-07-02T09:22:24 | 276,603,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,451 | cpp | #include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/unistd.h>
#include <netinet/in.h>
#include <iostream>
using namespace std;
int main(void)
{
printf("AF_INET\n");
socklen_t listen_fd;
listen_fd = socket(AF_INET, SOCK_STREAM, 0);
if(listen_fd < 0) {
... | [
"czl_289@163.com"
] | czl_289@163.com |
c91ed68d66534d280f1f65b1168c6fa043b33243 | 4c25432a6d82aaebd82fd48e927317b15a6bf6ab | /data/dataset_2017/dataset_2017_8_formatted/sazerterus/5304486_5697460110360576_sazerterus.cpp | f2a709cc4e000952eaded489b333748c38cc8d9e | [] | no_license | wzj1988tv/code-imitator | dca9fb7c2e7559007e5dbadbbc0d0f2deeb52933 | 07a461d43e5c440931b6519c8a3f62e771da2fc2 | refs/heads/master | 2020-12-09T05:33:21.473300 | 2020-01-09T15:29:24 | 2020-01-09T15:29:24 | 231,937,335 | 1 | 0 | null | 2020-01-05T15:28:38 | 2020-01-05T15:28:37 | null | UTF-8 | C++ | false | false | 2,048 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<pair<pair<long long, long long>, long long>> V;
long long R[55];
long long P[55][55];
set<pair<long long, long long>> S[55];
int main() {
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
int t;
cin >> t;
int index = 1;
... | [
"e.quiring@tu-bs.de"
] | e.quiring@tu-bs.de |
bbb98177f3a0573a9f32ee45b8dd9a0611b53192 | 6b3a76f96746d32c2c9feb84e5a4e25f784455ca | /Gamefiles/card.cpp | c8be8ca6a25bce29653bd2d3030b595942ec032e | [] | no_license | Cnubba-Inc-odz-No-really-its-a-feature/Game_Name_pending | 9159607ced915262bae4a55533514f2756f2228f | 016949a3135072939d4c129c260e3d2b648ea72a | refs/heads/master | 2020-09-21T16:52:39.901054 | 2020-02-17T08:50:46 | 2020-02-17T08:50:46 | 224,854,973 | 0 | 0 | null | 2020-01-29T13:54:29 | 2019-11-29T12:59:49 | C++ | UTF-8 | C++ | false | false | 3,624 | cpp | #include "card.hpp"
std::ifstream& operator>>(std::ifstream& input, E_lane& unitLane){
std::string laneString;
input>>laneString;
if(laneString == "groundLane"){
unitLane = E_lane::groundLane;
return input;
}else if(laneString == "skyLane"){
unitLane ... | [
"ties1000@live.nlgit config -- glocal user.name Matthies"
] | ties1000@live.nlgit config -- glocal user.name Matthies |
e96f8fa9b0cd705d566971046dba0954c12c43bd | 8ba5bbf806f3a9024528bbfda9d41f3e40fea02f | /Marlin/Analysis.h | 628ba2bae093ffbded6bad30f2d5d93e192474fc | [] | no_license | pkucherov/CXHibernate | 478718c8bb0e736bd2e27e3a01480bf7ca254375 | 51a30eec880593b92ca5076c1e8cb22e0d751404 | refs/heads/master | 2020-08-26T16:34:36.588686 | 2019-09-24T06:51:53 | 2019-09-24T06:51:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,102 | h | /////////////////////////////////////////////////////////////////////////////////
//
// SourceFile: Analysis.h
//
// Marlin Server: Internet server/client
//
// Copyright (c) 2015-2018 ir. W.E. Huisman
// All rights reserved
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this ... | [
"edwig.huisman@hetnet.nl"
] | edwig.huisman@hetnet.nl |
2b4aa8ce498d2598755986563ff39ad1aef37a5f | bfa701005855b5efe5947f577f5320153d348f50 | /src/MPI/MPI_ExchangeBoundaryFlag.cpp | d4251916e615e6e26ec106830edb67afb475846e | [
"BSD-3-Clause"
] | permissive | hyschive/gamer-fork | b9849fa6c497d762ed3ab85dd223245d49682292 | c0eb589c8013dc120ea47ef9b3890260031cc941 | refs/heads/main | 2023-09-05T20:20:12.743585 | 2023-09-05T10:05:17 | 2023-09-05T10:05:17 | 114,169,587 | 3 | 20 | NOASSERTION | 2023-09-13T05:59:29 | 2017-12-13T21:15:01 | C++ | UTF-8 | C++ | false | false | 4,144 | cpp | #include "GAMER.h"
#ifndef SERIAL
//-------------------------------------------------------------------------------------------------------
// Function : MPI_ExchangeBoundaryFlag
// Description : Get BuffFlag_NList[] and BuffFlag_PosList[] from 26 neighbor ranks
//
// Parameter : lv : Target refinement lev... | [
"hyschive@gmail.com"
] | hyschive@gmail.com |
e178283061d5cbc539a7f6bfe139694a56850892 | e56a80bd922563cee64ce0b5486dadd8861ce468 | /WeekendRays/sphere.h | fea7f9d915350700e1e98e8e22a52d958857ea66 | [] | no_license | HeikkiLi/WeekendRays | 3c0a5112bebc090acef0e147ada08be65bf83247 | 985c5867df8c5d9cc7133731af9956ddca02552b | refs/heads/master | 2021-01-21T15:22:47.498674 | 2018-05-20T15:11:57 | 2018-05-20T15:11:57 | 95,387,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,105 | h | #pragma once
#include "hitable.h"
#include "onb.h"
class Sphere: public Hitable
{
public:
Sphere() {}
~Sphere() {}
Sphere(Vec3 cen, float r, Material *m): center(cen), radius(r), material(m) {};
virtual bool hit(const Ray& r, float t_min, float t_max, HitRecord& rec) const;
virtual bool bounding_box(float t0, fl... | [
"heikki.ikaheimonen@gmail.com"
] | heikki.ikaheimonen@gmail.com |
aa30ba4a31661be89b50125f9d9e3a0e949e58f0 | eaa0a83719dff2e09af9a25ec64c09da4ad62979 | /6-communication_modes/communication_modes.cpp | 22ab62cbc3f9a0da38e7ae99cd4960142455e239 | [] | no_license | nuriozcelik/MPI-Ogretici | 0a9f0f023abe61e57ed149064a03abd56c1c7ffe | 8741d05a9c2fb045bcbf4fd43c047a23484ddb94 | refs/heads/master | 2020-05-04T13:07:42.444165 | 2019-04-02T19:58:44 | 2019-04-02T19:58:44 | 179,148,564 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,188 | cpp | ///////////////////////////////////////////////////////////
// communication_modes.c //
///////////////////////////////////////////////////////////
//kutuphaneler
#include <iostream>
#include <unistd.h>
#include <mpi.h>
int main(int argc, char **argv) {
//MPI baslatilir
MPI_Init(&... | [
"nuriozcelik.07@gmail.com"
] | nuriozcelik.07@gmail.com |
a8a877dc531852ba7a67f6d3cafcc40d713d7ce2 | 639a49238e0404c69a870c6ca64a14ade3924960 | /src/THistogram.cxx | 144452af0f6627eb8dee932dc65547670c2752ad | [] | no_license | Jacek-Turnau/genex1 | dddd77746f78d6944709f7b00eb8b24c164f3050 | ef9d95ec8905a78787b85e29facd22b236e860e0 | refs/heads/master | 2021-01-10T20:32:19.435162 | 2015-02-18T19:30:27 | 2015-02-18T19:30:27 | 30,874,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,817 | cxx | /***********************************************************************
* THistogram
*
* Selects histogramming class depending on the number of particles in final state.
*
* ... | [
"turnauster@gmail.com"
] | turnauster@gmail.com |
1824addbf113632e1aa86b7a954a3ba238ae7528 | c7c900a7cf64e7b84787abc2c1a660375665113d | /1.5 编程基础之循环控制/31 开关灯/31.cpp | e56ebfd4f8f66041c295b57c5bed24a4476344d2 | [] | no_license | z-Endeavor/OpenJudge-NOI | 096e1bc6a7b4ad1f146b57348b89f15f6238650a | b0a504eed8d0db2934f46371fa3189e800b25a00 | refs/heads/master | 2020-07-02T01:17:00.921397 | 2019-09-13T02:00:00 | 2019-09-13T02:00:00 | 201,370,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include <iostream>
using namespace std;
int main(){
int light[5000], n, m;
cin>>n>>m;
for (int i=1; i<=n; i++) {
light[i] = 0;
for (int j=2; j<=m; j++) {
if (i%j == 0) {
light[i] = light[i] == 0 ? light[i] = 1 : light[i] = 0;
}
}
if (light[i] == 0) {
if (i == 1) printf("%d", i);
else printf... | [
"zkczdd@163.com"
] | zkczdd@163.com |
8d11b4cbdf35d1f6220b1ca63b593e49655c1852 | 57d177fbd7d1bac2d97acaf081ff4fa75ed8ba53 | /third_party/skia/src/pdf/SkPDFFont.cpp | f386b7152393e8773629ae865c95eb07f1ba6257 | [
"BSD-3-Clause"
] | permissive | venkatarajasekhar/chromium-42.0.2311.135 | 676241bb228810a892e3074968c1844d26d187df | 8d6b0c3b1481b2d4bf6ec75a08b686c55e06c707 | refs/heads/master | 2021-01-13T11:57:38.761197 | 2015-05-04T12:43:44 | 2015-05-11T12:58:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,109 | cpp | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <ctype.h>
#include "SkData.h"
#include "SkGlyphCache.h"
#include "SkPaint.h"
#include "SkPDFCatalog.h"
#include "SkPDFCanon.h"
#include "SkPDFDevice.h"
#include "SkP... | [
"jonathan.anderson@ieee.org"
] | jonathan.anderson@ieee.org |
0fadbe7de63344e91b7b35f89adbbdcf17307a78 | 10eccad146f4cfa83c2dde2c78e7859ccbf752f1 | /downwash/canondriver.cpp | cc42cfd48247dea6cc8b271c36654e486ec6b9e6 | [
"BSD-3-Clause"
] | permissive | highfestiva/life | 4b7098432efc46e8dae7bcede4eee39e090d2772 | b05b592502d72980ab55e13e84330b74a966f377 | refs/heads/master | 2020-05-25T15:45:46.557932 | 2019-06-07T11:29:30 | 2019-06-07T11:29:30 | 58,243,887 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,762 | cpp |
// Author: Jonas Byström
// Copyright (c) Pixel Doctrine
#include "pch.h"
#include "canondriver.h"
#include "../cure/include/contextmanager.h"
#include "../cure/include/health.h"
#include "../lepra/include/random.h"
#include "../life/projectileutil.h"
#include "level.h"
namespace Downwash {
CanonDriver::Canon... | [
"highfestiva@gmail.com"
] | highfestiva@gmail.com |
9a2ad0b686bc9b6b30d5f05366a8d471314b05f9 | 5a7b71f01b1b2b7538410eada81d26368f295460 | /client/src/convex_counter.h | 57004e8c548cb7bd6f28b7349fb50a0cdad0aef4 | [] | no_license | alkhimey/LatticeAnimals | a7089de97966af22ee27e1ab30a41287fde3016c | 61313c057984e80a5bd885ddd16d444def365e01 | refs/heads/master | 2020-12-29T01:53:31.759182 | 2017-09-03T17:55:57 | 2017-09-03T17:55:57 | 42,391,669 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | h | #include <vector>
#include "counting_algorithm.h"
using namespace std;
namespace redelemeier_with_pruning {
/**
* Improved version that counts convex polycubes in a smart way pruning trees of non convex polycubes.
*/
void line_convex_counter_3d(coord_t n,
coord_t n0,
count_t lowId,
... | [
"artium@nihamkin.com"
] | artium@nihamkin.com |
677589e6e0599b114e43c314dccf60d5f1af5873 | 26692ccf4bb943213813b571b11d2d34c4681d85 | /app/src/main/cpp/glm/detail/type_mat4x4.hpp | dcb7269b9fd54539f3852a030b0eea639e080b7b | [
"Apache-2.0"
] | permissive | githubhaohao/NDK_OpenGLES_3_0 | a48990609bfa86933da477996531db4a97127f4c | 5fd276a84703fd8b440d60dfd5125927f88a4c67 | refs/heads/master | 2023-08-21T22:38:55.752538 | 2023-06-16T03:12:54 | 2023-06-16T03:12:54 | 196,941,867 | 2,580 | 694 | Apache-2.0 | 2021-05-04T09:33:12 | 2019-07-15T06:55:25 | C++ | UTF-8 | C++ | false | false | 8,800 | hpp | ///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentatio... | [
"haohaochang86@gmail.com"
] | haohaochang86@gmail.com |
7c2f5e023592569ce07374e9da77dbe4092fcff2 | cc6ce8d8a462748f5a5db6a355819d012134b4a1 | /src/cartographer/cartographer/sensor/landmark_data.h | d88a6242adddba0452aa9ea11aae8976b2d4b436 | [
"Apache-2.0"
] | permissive | Xiankuanliu/google_cartographer_commit_version | 721399ab6b0765e01c098caf24473f2a6befdaa4 | 43792f9db6c084540bac781b40f8be8c66936ab3 | refs/heads/master | 2022-04-14T17:29:53.461654 | 2020-04-07T08:11:35 | 2020-04-07T08:11:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,723 | h | /*
* Copyright 2017 The Cartographer Authors
*
* 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... | [
"406780373@qq.com"
] | 406780373@qq.com |
65725aeb29670f7e7cc8ecfccb6943404fe5f909 | 3ce3f3bffbdd447abc7b551f5efdcc0b57920d8e | /src/GTsource.cpp | cfe4d2fd03d35529390b420c812cbe37a6c22b11 | [] | no_license | dongdong-2009/live-app | 9cb8ff84dd0e5eea48679253dfc6c6426800b60c | f4734511511066453ab85c064a5a288d21e74920 | refs/heads/master | 2021-05-27T12:30:19.792659 | 2013-12-19T04:44:10 | 2013-12-19T04:44:10 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 8,972 | cpp | /*
* GTsource.cpp
*
* Created on: 2013-12-9
* Author: yangkun
*/
#include "GTsource.h"
#include "InputFile.hh"
#include "GroupsockHelper.hh"
#include "DataWR.h"
GTsource*
GTsource::createNew(UsageEnvironment& env,
GTParameters params) {
return new GTsource(env, params);
}
EventT... | [
"xyyangkun@gmail.com"
] | xyyangkun@gmail.com |
532b20d2aa3d13c6f2c7b3b82aa461e80f267e77 | 3a4cc9ef55549b3d8e062ed9ebe2311f5455f279 | /osx/opznet/opznetPriv.h | 890bdaaa8c8e854c2fe506a3baa345fbc8162eab | [] | no_license | seobyeongky/opznet | 5a93d0538ac8e886fa1723b72292ef640185f48b | 8443c2f7b4b9e87eac9086c8d36c6ad8b641baf7 | refs/heads/master | 2021-01-19T10:57:30.079119 | 2014-10-14T03:24:34 | 2014-10-14T03:24:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 315 | h | /*
* opznetPriv.h
* opznet
*
* Created by 서병기 on 2014. 10. 14..
* Copyright (c) 2014년 ooparts. All rights reserved.
*
*/
/* The classes below are not exported */
#pragma GCC visibility push(hidden)
class opznetPriv
{
public:
void HelloWorldPriv(const char *);
};
#pragma GCC visibility pop
| [
"byeonggee.seo@redduck.com"
] | byeonggee.seo@redduck.com |
a4e212418d9a3b549e7c24b520c17869cca04935 | 38774bbe5122c4a4328f9a5e6e9f53e8e9b54df9 | /example/falta_revisar/conjunto1.cpp | cc587069d17bd6aba9fcf07f5c59eba0a8fa094f | [] | no_license | Malows/aedcode | b2964985712e4f21cc701545bb341a942e97cd55 | 1b9dc6160b989a7699e8d48049ca6ffb78b24de4 | refs/heads/master | 2021-01-18T11:01:32.422219 | 2011-10-22T00:57:05 | 2011-10-22T00:57:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,059 | cpp | // $Id$
/*
COMIENZO DE DESCRIPCION
Diversas operaciones con conjuntos:
purge : purga elementos repetidos de una lista usando
un conjunto como estructura auxiliar y con
una implementacion tal que sea O (n).
set_intersection : interseccion de conjuntos;
prints ... | [
"DGalizzi@gmail.com"
] | DGalizzi@gmail.com |
5e27de2188c47e5667cfb5e8fadfc0b43d76d8d2 | 63c7c7e07cf23aa82b6a61a516174da63504f095 | /西北大学新生寒假训练(1)/F.cpp | e65ca22a3bf3ebb3f0802d4fd2c9cda50545ac81 | [] | no_license | Linfanty/Code-in-Freshman | 3b174b6fab510dc1aa214d760f050ca1618afc8d | b60b99f520c4740c6b8306880680a610f054f403 | refs/heads/master | 2021-01-24T12:37:29.255747 | 2018-02-27T15:10:29 | 2018-02-27T15:10:29 | 123,144,148 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include<stdio.h>
#include<string.h>
#include<ctype.h>
int main()
{
int n;
scanf("%d",&n);
while(n--)
{
long long int sum=0;
char s[1000];
scanf("%s",&s);
for(int i=0;i<strlen(s);i++)
{
if(s[i]>= '0' && s[i] <= '9')
sum++;
}
printf("%lld\n",sum);
}
}
| [
"wty2003728@163.com"
] | wty2003728@163.com |
6bd1e2515a04ae1d8028d4a687bd868ea07bfdc0 | 7d23b7237a8c435c3c4324f1b59ef61e8b2bde63 | /include/lua_reg/module.hpp | be3249aa3f84ec220a615e89393e2444fc0e6269 | [] | no_license | chenyu2202863/smart_cpp_lib | af1ec275090bf59af3c29df72b702b94e1e87792 | 31de423f61998f3b82a14fba1d25653d45e4e719 | refs/heads/master | 2021-01-13T01:50:49.456118 | 2016-02-01T07:11:01 | 2016-02-01T07:11:01 | 7,198,248 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,841 | hpp | #ifndef __LUA_REG_MODULE_HPP
#define __LUA_REG_MODULE_HPP
#include "config.hpp"
#include "details/function.hpp"
#include "class.hpp"
namespace luareg {
struct state_t;
class module_t
{
state_t &state_;
const char *name_;
public:
module_t(state_t &state, const char *name)
: state_(state)
, name_... | [
"chenyu2202863@gmail.com"
] | chenyu2202863@gmail.com |
cb79bd4ade4aecbca5df512f0407cede337aca86 | b7a614f1bb6aee241a761a805595d36a05045343 | /test/_lib/test_headers.h | 82433805e606d9ccc40d8e0ecfc12af1e1f137e5 | [] | no_license | sh19910711/contest-old | c67b1497d81e86bab187c86449323be3e82a1b6d | e1dbe590f0ca289faaa8a0a1be9c8acf90ca8af0 | refs/heads/master | 2021-05-27T20:47:13.916226 | 2014-02-03T00:59:09 | 2014-02-03T00:59:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | // @snippet<sh19910711/contest-base:headers.cpp>
#define __THIS_IS_CPP11__
#include <iostream>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <vector>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <algorithm>
#include <numeric>
#include <limits>
#include <complex>
#include ... | [
"sh19910711@gmail.com"
] | sh19910711@gmail.com |
ccdae09e65080938f6e3e145143edbc850aef429 | 24d4ee3f4b18ff42a67694cd64294eb523542ee3 | /baekjoon/1874.cpp | 7da96e118008cca9c2fdd82e0459e715a49214b6 | [] | no_license | solo5star/test | 9d9ab05a647b1bbb212c280e847b92403459c6c4 | 8345250b914556ae07fe7907c19992935ef7e495 | refs/heads/main | 2023-02-28T19:46:40.849783 | 2021-02-08T18:33:51 | 2021-02-08T18:33:51 | 332,493,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <utility>
#include <algorithm>
#include <math.h>
#include <unordered_map>
#include <string>
#include <math.h>
using namespace std;
int stack[100000];
char history[200000];
int historyIndex = 0;
int top = 0;
int current = 1;
inlin... | [
"solo_5@naver.com"
] | solo_5@naver.com |
95a5e89345063ac3b4f7daaf7cdf0a87a97be6e0 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_DmgType_ProjectileWithImpactFX_TripleTorp_parameters.hpp | f3cbb0a1866e3194084a8d4f0dbfe2febb6b310e | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DmgType_ProjectileWithImpactFX_TripleTorp_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//----------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
4b6c6b3abf920df71b560ff18a2d877bebff436e | 8352ca72d4f1e8e8ebbbb7d6b07a4e0963be7f41 | /DataServer/DataServer_TIP/TA_BASE/transactive/test/TestODBC/TestODBCMysql/src/TestManager.cpp | 5e7240e2bc8e687ee103cad52be75b4a2d450c1e | [] | no_license | radtek/slin_code | 114f61695fc1a23a018da727452c3c42f64ebe39 | a0073e52d600839f7836c2b7673b45b4266259e2 | refs/heads/master | 2020-06-04T15:03:56.618177 | 2015-04-27T10:27:47 | 2015-04-27T10:27:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | cpp | #include "TestManager.h"
#include "TestWorker.h"
#include "TestWorkerTable.h"
#include "TestWorkerTinyODBC.h"
#include "ProjectCommonData.h"
CTestManager::CTestManager( void )
{
// m_pWorker = NULL;
// m_pWorker = new CTestWorker();
// m_pWorker->run();
m_pTestWorkerTable = NULL;
m_pTestWorkerTa... | [
"shenglonglinapple@gmail.com"
] | shenglonglinapple@gmail.com |
6762efd617c31bc215b3162716e41292192a256b | 96681d233d1c91d677c0364bcf30491f87fec929 | /Codeforces/Team Selection.cpp | 7fa6a97559185457738199cbf8be6a1a7c6ef1f5 | [] | no_license | CarlosSalazar84/Solutions-Competitive-Programming- | 533669028b0838f977b46e252463948ee16e4082 | 5ef1f736a60eb481a5392a0245970fa112677ba4 | refs/heads/main | 2022-12-31T19:50:45.688585 | 2020-10-16T01:56:43 | 2020-10-16T01:56:43 | 304,451,401 | 0 | 0 | null | 2020-10-16T01:56:44 | 2020-10-15T21:24:38 | C++ | UTF-8 | C++ | false | false | 1,122 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fastIO ios::sync_with_stdio(0), cin.tie(0)
#define endl '\n'
#define ft first
#define sd second
#define pb push_back
#define pob pop_back()
#define pf push_front
#define pof pop_front()
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin, (x).rend()
typ... | [
"carlos.al.sa.me2002@gmail.com"
] | carlos.al.sa.me2002@gmail.com |
d974a43d5640ac5393dba932a81475a859c30ece | f6cdaaca00a8509f4a868b100905e610bedd5c3e | /Week 3/src/main.cpp | f2d06c7ffdea9b662423ca46b2e30acbcad8b656 | [
"MIT"
] | permissive | ElizaHenderson/GuiPuzzles | abf545249cbda72c2e0a68615b782c713417c132 | 34350f34a15a4ef00f1484003c52840dfe0158b0 | refs/heads/master | 2021-01-18T23:15:02.920950 | 2016-06-01T21:05:38 | 2016-06-01T21:05:38 | 55,809,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | cpp | #include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include "magic_8_ball.h"
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;
magic_8_ball cursed_8_ball;
engine.rootContext()->setContextProperty("Cursed_8_ball", &cursed_8_... | [
"caffeineloveaffair@gmail.com"
] | caffeineloveaffair@gmail.com |
fd3c0196ba4246562db82fc4f3f2c2e39dd26abd | 5fe634e7327f5f62bcafa356e76d46f07b794b36 | /CPPPrimer/src/13-operator-override/strVec.h | f459139b1978c210bf9a1667bb53bd2fb454851d | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | MarsonShine/Books | 8433bc1a5757e6d85e9cd649347926cfac59af08 | 7265c8a6226408ae687c796f604b35320926ed79 | refs/heads/master | 2023-08-31T05:32:35.202491 | 2023-08-30T10:29:26 | 2023-08-30T10:29:26 | 131,323,678 | 29 | 3 | Apache-2.0 | 2022-12-07T13:01:31 | 2018-04-27T17:00:17 | C# | UTF-8 | C++ | false | false | 3,260 | h | #include <string>
#include <memory>
#include <utility>
class StrVec
{
private:
// 定义下标运算符
std::string& operator [](std::size_t n) { return elements[n]; }
const std::string& operator[](std::size_t n) const { return elements[n]; }
static std::allocator<std::string> alloc;
std::string *elements; // 数组... | [
"ms27946@outlook.com"
] | ms27946@outlook.com |
af530bcfa47c6c1f55b94a453325e2ff7fbc230c | 1d4a143eee20929ba83704b4cd5f8fc47550f5e6 | /LineMode.cpp | 294e0daf5057ee24d4af0d25a1c8ff3ab8d2bca2 | [] | no_license | phanvha/DOHOAMAYTINH | 197b6dd59774b43772724a04428e4b572e85b8b0 | a70f448b895906c787bf316c10048d02cb15b08e | refs/heads/master | 2021-07-05T23:26:42.059165 | 2020-12-07T14:06:37 | 2020-12-07T14:06:37 | 213,279,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | #include <winbgim.h>
#include<conio.h>
#define DELAY 10
int color = 2;
void Bresenham(int x1, int y1, int x2, int y2){
int Dx = abs(x2 - x1);
int Dy = abs(y2 - y1);
int p = 2*Dy - Dx;
int c1 = 2*Dy;
int c2 = 2*(Dy-Dx);
int x = x1;
int y = y1;
int x_unit = 1, y_unit = 1;
putpixel(x,y,... | [
"pvha.17it3@sict.udn.vn"
] | pvha.17it3@sict.udn.vn |
38cd754a8622b32dc7a0254c15aeaa7cb9426d12 | 3cae667175b2d6aac6d7f3d8189e9a02c38ea1cf | /AtCoder/ABC0/ABC067/B.cpp | 2ad2c6669bbd9bc9a6cad772f821dba5ba736657 | [] | no_license | kokorinosoba/contests | 3ee14acf729eda872ebec9ec7fe3431f50ae23c2 | 6e0dcd7c8ee086650d89fc65616981361b9b20b9 | refs/heads/master | 2022-08-04T13:45:29.722075 | 2022-07-24T08:50:11 | 2022-07-24T08:50:11 | 149,092,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, k; cin >> n >> k;
vector<int> l(n);
for (int& e: l) cin >> e;
sort(l.rbegin(), l.rend());
int ans = 0;
for (int i = 0; i < k; i++) {
ans += l.at(i);
}
cout << ans << endl;
}
| [
"34607448+kokorinosoba@users.noreply.github.com"
] | 34607448+kokorinosoba@users.noreply.github.com |
c3f0f3a0fa1408975a298772c1829b7ef6843579 | 48f83215cee33672cd53e5beee89a1a8cb67aa10 | /__exchequer_pbl/____PB6/cppgen/include/PBGCPPRT.H | 31d7a955b13021127f68823968f8dc570efb18ae | [] | no_license | dimad77771/GUKV | dc6dbe4bc7d01dde2b77ec5082f950ba9d462a6c | 193fecf40a3e1d941747683f99640034b34fc67a | refs/heads/master | 2023-08-18T23:54:56.416948 | 2022-09-25T16:32:29 | 2022-09-25T16:32:29 | 238,393,571 | 0 | 0 | null | 2023-05-31T19:57:59 | 2020-02-05T07:35:19 | C# | UTF-8 | C++ | false | false | 23,423 | h | // Copyright Sybase, Inc. 1996
//
// Sybase, Inc. ("Sybase") claims copyright in this
// program and documentation as an unpublished work, versions of
// which were first licensed on the date indicated in the foregoing
// notice. Claim of copyright does not imply waiver of Sybase's
// other rights.
//
//-----... | [
"dima7777@DESKTOP-KCF43RE"
] | dima7777@DESKTOP-KCF43RE |
76e1bc34ea9424dadf625b444b85e31b86f32f9f | e5d976cabcfc10fdf9152e16ef0f488eb91f9c70 | /Source/Layouts/Public/LayoutsCommands.h | 60915923271ba094517054b9ad81e7abdd51107f | [] | no_license | Moiz-BiM/LayoutsPlugin | 4d40550fbd5e165bc0d47172077e26effa3d5014 | 153f96c30cff49ea034bcee1cdf3f3ced4b9686d | refs/heads/master | 2022-10-27T11:02:23.953158 | 2019-05-24T21:40:18 | 2019-05-24T21:40:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | h | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Framework/Commands/Commands.h"
#include "LayoutsStyle.h"
class FLayoutsCommands : public TCommands<FLayoutsCommands>
{
public:
FLayoutsCommands()
: TCommands<FLayoutsCommands>(TEXT("Layouts"), NSLOCTEXT("... | [
"alessafur@gmail.com"
] | alessafur@gmail.com |
d3d16b5271c9607d43bc3db4425338fb0447c893 | e6e6c81568e0f41831a85490895a7cf5c929d50e | /yukicoder/6/642.cpp | c26415d938be609092be3fdce0883034e611387f | [] | no_license | mint6421/kyopro | 69295cd06ff907cd6cc43887ce964809aa2534d9 | f4ef43669352d84bd32e605a40f75faee5358f96 | refs/heads/master | 2021-07-02T04:57:13.566704 | 2020-10-23T06:51:20 | 2020-10-23T06:51:20 | 182,088,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | cpp |
#include<bits/stdc++.h>
using namespace std;
#define inf INT_MAX
#define INF LLONG_MAX
#define ll long long
#define ull unsigned long long
#define M (int)(1e9+7)
#define P pair<int,int>
#define FOR(i,m,n) for(int i=(int)m;i<(int)n;i++)
#define RFOR(i,m,n) for(int i=(int)m;i>=(int)n;i--)
#define rep(i,n) FOR(i,0,n)
#d... | [
"ee177100@meiji.ac.jp"
] | ee177100@meiji.ac.jp |
db184aa4bcf2e0c54c05a7b886481248b3d0c354 | ed840b1b044dc07d3c131bccc8c020958f41efe7 | /leetcode/lengthoflongestsubstring.cpp | 15d43c89da94d37161d396189366b31a6105e739 | [] | no_license | niubin261/awesome-cpp-leetcode | 5fbfc90747cec7d9ab311a229487ee29130be71d | 1a3e86b0f4d45666583b20c594fa55cd69d404a1 | refs/heads/master | 2020-03-18T04:18:50.316159 | 2018-05-21T14:35:53 | 2018-05-21T14:35:53 | 134,281,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | //
// Created by niubin on 17-9-17.
//
#include <string>
#include <iostream>
using namespace std;
class Solution {
public:
int lengthOfLongestSubstring(string s) {
int ans = 0, left = 0, len = s.length();
int last[255];
memset(last, -1, sizeof last);
for (int i = 0; i < len; i++) {... | [
"niubin@mail.ustc.edu.cn"
] | niubin@mail.ustc.edu.cn |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.