blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6c1fa9f5e0a9bcb34ce8cb48277778391679f1c7 | 569c6b959101aea574f14ef7a2930b9a74b57103 | /Best Time to Buy and Sell Stock II.cpp | 879b79a52664f00ef9d747ebba95b4cf35f55d75 | [] | no_license | sripadhse/Arrays | 4519292d6e6bf1d0ae6da0e90fbea51263575d77 | 4a36c8ae18ae7da4ba6ce00ffe9757f9718fa460 | refs/heads/main | 2023-05-03T17:08:50.049663 | 2021-05-28T10:27:42 | 2021-05-28T10:27:42 | 371,664,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | class Solution {
public:
int maxProfit(vector<int>& prices) {
int result = 0;
for (int i = 1; i < prices.size(); ++i) {
result += max(0, prices[i] - prices[i - 1]);
}
return result;
}
}; | [
"noreply@github.com"
] | noreply@github.com |
d1d7a4134bd9ba608ae8529243447a250025160f | a0b56f17bbf3b57bcd57e75af8b7e319a43a71fa | /com/win32comext/adsi/src/PyIDsObjectPicker.cpp | 5681b875f41086085bb353e536f8efaea9434e6b | [] | no_license | vmuriart/pywin32 | be1848f0e4d0e938331c6e76a98260edaa9ba52c | 57815f6b4a273ef522366c9308dbcd932812379c | refs/heads/master | 2021-01-10T01:29:22.709507 | 2016-02-04T01:07:45 | 2017-03-13T03:14:34 | 50,973,124 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 20,784 | cpp | /*
* FILE : C:\pywin32-220\pywin32-220\com\win32comext\adsi\src\PyIDsObjectPicker.cpp
*
* This file was automatically generated by :
* Simplified Wrapper and Interface Generator (SWIG)
* Version 1.1 (Patch 5)
*
* Portions Copyright (c) 1995-1998
* The University of Utah and The Regents of the University of Cali... | [
"victor.m.uriarte@intel.com"
] | victor.m.uriarte@intel.com |
7acedda9b0204b6a5c927898476fbb32a0ae9ba1 | c99e20650b5c178e229dce2a796d74532e68647b | /15651.cpp | afcef1d29b6d6fed7549f75318345e0cf9fce90c | [
"Apache-2.0"
] | permissive | Wookhwang/BaekJoon- | 8c94d58240b54c90f5e51c387f89300b7b6fb955 | 1dfc9783a70318b5c4a6fe796878f767b30af3ed | refs/heads/master | 2020-11-30T12:26:27.596307 | 2020-04-27T17:23:09 | 2020-04-27T17:23:09 | 230,396,717 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 630 | cpp | /*
BaekJoon 15651
Problem name : N°ú M(3)
category : back tracking
*/
#include <iostream>
#include <vector>
#define endl '\n'
using namespace std;
bool arr[10];
int N;
int M;
vector<int> V;
void dfs(int count) {
if (count == M) {
for (int i = 0; i < V.size(); i++) {
cout << V[i] << " ";
... | [
"noreply@github.com"
] | noreply@github.com |
87a08da1a3ce77c97080962aa97dac96449b91fd | ac35049e5a491a3fa4c3b56343096a4115cf5c20 | /src/core/types/shared_haplotype.hpp | cbf05fde00152f63a19af77a2b637a37a1df98db | [
"MIT"
] | permissive | iamh2o/octopus | c9123281b4906e178d406b9aab187bafe6167a71 | 09ebd28945026556e77d73f1dcd8f0212265183c | refs/heads/develop | 2023-07-09T08:46:42.934415 | 2021-07-30T14:01:37 | 2021-07-30T14:01:37 | 395,281,376 | 0 | 0 | MIT | 2021-08-12T10:31:27 | 2021-08-12T10:31:26 | null | UTF-8 | C++ | false | false | 3,983 | hpp | // Copyright (c) 2015-2021 Daniel Cooke
// Use of this source code is governed by the MIT license that can be found in the LICENSE file.
#ifndef shared_haplotype_hpp
#define shared_haplotype_hpp
#include <memory>
#include <utility>
#include <type_traits>
#include <functional>
#include "concepts/mappable.hpp"
#includ... | [
"dcooke@well.ox.ac.uk"
] | dcooke@well.ox.ac.uk |
dfea87cc7ab98bef890d792286102296bd0c8b77 | cecd8cb33c5413c3b7b13471e853043e1f08ac4a | /bottom_view.cpp | 9d5ecf1a3bf2ff80fc534e9277be8d86ecdf2161 | [] | no_license | Mahinder4519/Third-PR | c5e414ad077b48c40d9030111cbcc3166cb65321 | d2c3de6fbfa6c5e374923a4391ce4e941ee318f7 | refs/heads/main | 2023-08-31T21:34:37.795625 | 2021-10-26T20:21:46 | 2021-10-26T20:21:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | cpp | #include<bits/stdc++.h>
using namespace std;
class node
{
public:
int data;
node *left;
node *right;
node(int d)
{
data=d;
left=NULL;
right=NULL;
}
};
multimap<int, int> m;
void getLevelOrder(node *root){
int n=0;
queue<pair<node *,int>> q;
q.push({root,0});
while(!q.empt... | [
"noreply@github.com"
] | noreply@github.com |
743b40b9de993b89b9c37bbcc5473f44ea1b04e3 | eecdb1d4ea164abae696ed72a02ee1e6e483ae36 | /src/Shader.cpp | ce4816341c8fe5be77266b67c59cbe9837c8c8b7 | [] | no_license | pauloalexandreanjos/ogl-screenshooter | 3b1e68933fc058ec8b884b510c80352702809fc2 | 6af9e2e731f86738db1e1e30e7b792caf3bf7e8b | refs/heads/master | 2023-03-02T06:39:50.403149 | 2021-02-06T16:57:25 | 2021-02-06T16:57:25 | 324,896,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,117 | cpp | #include "Shader.h"
#include <iostream>
#include <string>
Shader::Shader(std::string vertexShaderFile, std::string fragmentShaderFile) {
unsigned int vertexShader = this->createShader(
vertexShaderFile,
GL_VERTEX_SHADER);
unsigned int fragmentShader = this->createShader(
fragmentShade... | [
"paulo.alexandre.anjos@gmail.com"
] | paulo.alexandre.anjos@gmail.com |
18105f956e2373c493928a9332f5c4f390da8121 | a967db628a6b214f56eeb63a2c5502e6435ea28e | /CPP_3/EWeek4_solution2017/Assignment4Code/BrightnessDecorator.h | 85c90bb887551111df7ac4286edd40144e2d0755 | [] | no_license | claytonjwong/cpp-UW | 09a183412e99ff04a0584c60bd70ba0fc3e47837 | da6fdcae4a8d1e53b3b8398ef6c89ceb66b02869 | refs/heads/master | 2020-05-17T02:28:39.292059 | 2019-04-26T00:24:40 | 2019-04-26T00:24:40 | 183,454,522 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | #pragma once
#include "BitmapIteratorDecorator.h"
#include "Byte.h"
namespace BitmapGraphics
{
class BrightnessDecorator : public BitmapIteratorDecorator
{
public:
BrightnessDecorator(
HBitmapIterator originalIterator,
const int& brightnessAdjustment);
void setBrightnessAdjustment(int brig... | [
"claytonjwong@gmail.com"
] | claytonjwong@gmail.com |
6cdffea21923925a710d362e91140e4a9ecc9a45 | 4a4c1dcd29abe87745bb30adfbdf5205eb39f3b5 | /havok/Source/Common/Base/Math/Vector/Mx/hkMxVector_AVX.inl | ad032de73fe5143a1500f92e637dcc59bd5f5a4b | [] | no_license | Hengle/ThirdParty | e7c4d794088712ec88bcea28a27f3acb71b6208c | a7ebed87d43e9cc58ec50836a2cc747bc539fd93 | refs/heads/master | 2023-03-16T04:24:59.905476 | 2014-01-20T16:54:54 | 2014-01-20T16:54:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 89,679 | inl | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | [
"evg.gamedev@gmail.com"
] | evg.gamedev@gmail.com |
8a69bea5259d582f54d5d940f4d4a1a3b36f7268 | 444e3a601af404664cc5c59624eb91388e49dc88 | /RecoUtils/src/classes.h | 226f502fc72d51ff7460fd601a09a5942eac16f1 | [] | no_license | muell149/CommonTools | d2386e61e66b9178a735c740a356f80226cd8282 | c950bff9969efa63e9d4f9ae0737ee902ddcefdf | refs/heads/master | 2021-01-23T10:00:37.059864 | 2014-09-15T00:59:46 | 2014-09-15T00:59:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 328 | h | #include "DataFormats/Common/interface/Wrapper.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDProducer.h"
namespace {
struct dictionary {
std::vector<std::pair<unsigned int,float> > am7;
std::map<unsigned int,std::vector<std::pair<unsigned int,float> > > am8;
... | [
"charles.mueller@cern.ch"
] | charles.mueller@cern.ch |
a384f21a079c281509045a5b555e301dce8cbf1c | e88f8d973fd9e725d6041670c57b016b95eb5571 | /11278 - One-Handed Typist.cpp | 9f44b358c41c2f0ed1e884188a479eb7c0efc7d7 | [] | no_license | rhasanrakib/UVA-Problem-Solved- | 577a49ec041e7ab322e4413bac8b3bd93327f4b6 | 5bdf5fc284c80979f8018ecd9c5719895a0d2462 | refs/heads/master | 2023-03-13T04:21:03.762698 | 2021-02-28T10:03:24 | 2021-02-28T10:03:24 | 132,423,088 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
char dvo[] = "`123qjlmfp/[]456.orsuyb;=\\789aehtdck-0zx,inwvg' ~!@#QJLMFP?{}$%^>ORSUYB:+|&*(AEHTDCK_)ZX<INWVG\"";
char keyboard[]="`1234567890-=qwertyuiop[]\\asdfghjkl;'zxcvbnm,./ ~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:\"ZXCVBNM<>?";
char indx[200];
int i,j,k,l... | [
"rakibulh170@gmail.com"
] | rakibulh170@gmail.com |
8c46263094aef5a3f864a3c586239d5a058a5ca7 | ca7319fc17b36a9f28bf8eb14d944e70aa787c85 | /src/cpp_code/Hockney/Hockney.H | 13904b13be28e0c6e41a2f47f695c0639a7f68ec | [] | no_license | hbeams/VortexInCell | a5bb6c90f6da5942ab6adc73d893d8b70ce0f78f | 9e08b8192747d8577e4a4aa722b05db517713457 | refs/heads/master | 2020-06-30T04:53:33.840575 | 2019-08-05T21:42:10 | 2019-08-05T21:42:10 | 200,731,701 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | h | #ifndef _HOCKNEY_
#define _HOCKNEY_
#include "RectMDArray.H"
#include "FFTMD.H"
#include "ConvKernel.H"
#include <array>
#include <memory>
#include <iostream>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <string>
using namespace std;
class Hockney
{
public:
Hockney();
Hockney(shared_ptr<ConvKer... | [
"noreply@github.com"
] | noreply@github.com |
958a00bee4c5eff7ca217ba40ccd17e9961760ee | 412490586f58cd690eea9bb0fdc30bb1fafa79e1 | /test/gtl_test_socketclient/gtl_test_socketclient.cpp | ca3fd3613c6d6eb582171bbbe51582f830c3d9b3 | [] | no_license | xyfigo/gtl | a93e236557fc3eee73fe8025775cef22977be125 | 2468d858dec43d664e7aafa252e1d2b79623fba1 | refs/heads/master | 2020-04-15T15:55:41.025404 | 2017-03-29T04:09:30 | 2017-03-29T04:09:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,915 | cpp | // gtl_test_socketclient.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include "../../gtl/socket.h"
int _tmain(int argc, _TCHAR* argv[])
{
gtl::Socket::startup();
gtl::SocketClient sc;
gtl::SessionSharedPtr ssp = sc.connect("127.0.0.1", 6666);
int ok = -1;
int cmd = gtl::Session::BEGINSESSION;
ssp->send((const... | [
"zwhe@cug.edu.cn"
] | zwhe@cug.edu.cn |
f72e33d1960db91b15d2f0a5d52f03f402d0428c | da1ba0378e1ed8ff8380afb9072efcd3bbead74e | /google/cloud/dialogflow_es/contexts_options.h | 991a33690a1cc33d97f47c1642a4bfde5a013357 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Jseph/google-cloud-cpp | 76894af7ce744cd44304b48bea32d5116ded7497 | fd8e70650ebac0c10bac4b293972e79eef46b128 | refs/heads/master | 2022-10-18T13:07:01.710328 | 2022-10-01T18:16:16 | 2022-10-01T18:16:16 | 192,397,663 | 0 | 0 | null | 2019-06-17T18:22:36 | 2019-06-17T18:22:35 | null | UTF-8 | C++ | false | false | 2,053 | h | // Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"noreply@github.com"
] | noreply@github.com |
7e1d08fc7d0a13d2f6247df57ddeed36e6bf1add | 050243efb53e78497024af0156c87d416c3afc53 | /src/checkpoints.cpp | 0ce9515dbd3d942d4daeeb3398392e466966bf17 | [
"MIT"
] | permissive | LeinCoin/Ritzcoin | 95f358031c1ffe1a714c5ea08f8abe2d6b3ea00d | 393bf63f2a7e7e672138f1caec8b7b9862acc060 | refs/heads/master | 2021-01-15T22:30:01.871282 | 2016-05-15T13:27:42 | 2016-05-15T13:27:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,287 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.h"
#include "m... | [
"webmaster@ritzcoin.com"
] | webmaster@ritzcoin.com |
062054fd83bf7d2ec911d73e7ff1fe0606a88934 | 5b4da825e536f570a464ae9f5d7f377fc16e12b7 | /externals/wasm-compiler/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | 7ed18f27e5912ad2ecdf83330723d3a96796aa23 | [
"BSD-3-Clause",
"Apache-2.0",
"MIT",
"NCSA"
] | permissive | JaminChan/eos_win | 9ecb3fe7d1fbb52340e7b8df42b2d3d6695930a6 | c03e57151cfe152d0d3120abb13226f4df74f37e | refs/heads/master | 2020-03-24T20:38:49.539494 | 2018-09-06T10:13:16 | 2018-09-06T10:13:16 | 142,989,586 | 0 | 0 | MIT | 2018-09-04T06:49:10 | 2018-07-31T09:02:44 | C++ | UTF-8 | C++ | false | false | 14,761 | cpp | //===-- SILowerControlFlow.cpp - Use predicates for control flow ----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"349683504@qq.com"
] | 349683504@qq.com |
f62031bf9fcc660a5c613019ccc0dc933dd6a945 | 2bbb3cb94e8340aa60e0f17a16ff100e32b9ba0b | /proj/src/proj_multihreading.cpp | 9aebef74694a2af0e7a27ba04af9f15d0db38a44 | [] | no_license | monalisakalla/Assignments | 8346d13b9aa73f914b7dbbc6f103f2c2a4b33bc4 | f7e239e329d01949f7d31da8b2385682ef788a26 | refs/heads/master | 2020-03-21T22:43:22.880792 | 2018-10-31T06:40:05 | 2018-10-31T06:40:05 | 139,143,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,669 | cpp | #include "../inc/proj_multihreading.h"
static bool threadCreation = false;
static bool keepAlive = true;
bool WorkerThread::wthKeepAlive = true;
PrimaryThread::PrimaryThread()
{
dataregion.resize(MAXSIZE);
}
void PrimaryThread::gracefullExitCallBackFunc(int signum)
{
cout<<endl<<"gracefull exit called"<<endl;
Wor... | [
"monalisa.kalla@einfochips.com"
] | monalisa.kalla@einfochips.com |
a5a0e6cd9c471aa19c56deac9c2bc4d627d86677 | b1f1316be90ffbdf2bf81bf9521f309763b92233 | /Doom/src/Doom/OpenGl/Texture.cpp | 7fbdb711c1f5f45ab0783c34373b28acf5845cc0 | [
"MIT"
] | permissive | anggawasita/OpenGL_Engine | f8cde189521f6b717d75db82991943eff85999af | 16393609755e171dd5430cdd7586771d859d5113 | refs/heads/master | 2023-02-27T14:34:00.550646 | 2021-01-29T13:46:19 | 2021-01-29T13:46:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,123 | cpp | #include "../pch.h"
#include "Texture.h"
#include "stb_image.h"
#include <filesystem>
namespace fs = std::filesystem;
using namespace Doom;
Texture::Texture(const std::string& path, int flip,bool repeat)
:m_RendererID(0), m_FilePath(path), m_LocalBuffer(nullptr),
m_height(0), m_width(0), m_BPP(0)
{
auto iter = s_T... | [
"turlak01@mail.ru"
] | turlak01@mail.ru |
4bce27aafd8d54074f819d7b9e14604d7bf33147 | 394fd2a44126ae5607c30a58fe5593db1c6e5a02 | /src/SCmodParPortPPdev.hpp | 2932d24c47162cc85a7c15e4ad20094cd2464a63 | [] | no_license | thx8411/qastrocam-g2 | 653b98463609737ab328f63929690f27d7f100eb | c1453cc8bc2e7719db21bae5bffe3340c66b42e0 | refs/heads/master | 2021-01-17T11:35:54.403879 | 2016-04-01T20:33:07 | 2016-04-01T20:33:07 | 40,839,897 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,591 | hpp | /******************************************************************
Qastrocam-g2
Copyright (C) 2009 Blaise-Florentin Collin
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License v2
as published by the Free Software Foundation.
This program is distr... | [
"thx8411@c1ec87e9-771e-51c6-fe90-2aeb2be771a7"
] | thx8411@c1ec87e9-771e-51c6-fe90-2aeb2be771a7 |
f76defdfe76b231af0d04704b095c42d5d55ba93 | 5b483e4aae2404a538d9d4a31d0f6ed7b1f346be | /BumperStrip.cpp | 2e1eb3314dbf7bc132d6a407b0bd72b4e2247a8d | [] | no_license | SilasYoome/Bumper_Strip_Interrupt_in_Arduino | cc4733f44ae22212815cc90c4611eb5328f784d9 | 2d9a24fb0e15ace12d0f10b98247d7109ce1ebf2 | refs/heads/main | 2023-03-22T04:01:03.089020 | 2021-03-08T06:22:33 | 2021-03-08T06:22:33 | 345,551,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include "BumperStrip.h"
#include <Arduino.h>
int Debug_Flag = 0;
BumperStrip::BumperStrip(int BumperStrip_Pin){
BumpterStrip_Pin_ = BumperStrip_Pin;
}
void BumperStrip::init(){
pinMode(BumpterStrip_Pin_,INPUT_PULLUP);
attachInterrupt(digitalPinToInterrupt(BumpterStrip_Pin_),&BumperStrip::BumperStrip_ISR,... | [
"71079352+SilasYoome@users.noreply.github.com"
] | 71079352+SilasYoome@users.noreply.github.com |
6a10c210c2a5685bfbf9ae401b66c0b9d6214635 | 1d395f31bd8fc6485a333618d6f523a1bc9a8489 | /Src/BlackCat.Game/Game/System/Network/bcNetworkManager.h | 957b0d0b77e31b862bc2c6a6e7bed51a8442b52c | [] | no_license | MohammadRB/BlackCat-Engine | f44f8ced87dee8fd6840fce2917beba74ab8865e | e0490ee54f124ec20e57a3ea1960a07957866a9c | refs/heads/master | 2023-08-23T12:25:10.703995 | 2023-07-19T22:11:48 | 2023-07-19T22:11:48 | 19,066,510 | 3 | 1 | null | 2023-09-10T14:20:59 | 2014-04-23T10:59:49 | C++ | UTF-8 | C++ | false | false | 1,259 | h | // [27/05/2021 MRB]
#pragma once
#include "CorePlatformImp/Utility/bcClock.h"
#include "Game/System/Network/Message/bcNetworkMessage.h"
#include "Game/System/Network/bcNetworkDefinitions.h"
namespace black_cat::game
{
class bc_scene;
class bc_actor;
struct bc_network_manager_update_context
{
const platform::b... | [
"mohammad.r.barzegar@gmail.com"
] | mohammad.r.barzegar@gmail.com |
aa2a43facf9124a212ede5bbaf5758e7633a3eed | 30052f149920c6a235759e9c573990a5ec00b976 | /A/mountain_scenery.cpp | c53c694e29fca2ec5e0f7976598b489c6081f2b7 | [] | no_license | Ajay35/spoj | 63f29fda94aeed4a581d265dfabbd6ef600ddd69 | 34d59f8b1c435b98cc1a171d57cdcff7b50e6f78 | refs/heads/master | 2020-03-18T16:32:59.068268 | 2019-07-30T11:54:29 | 2019-07-30T11:54:29 | 134,972,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
int n,k,i,p;
cin>>n>>k;
p=2*n+1;
int a[p];
for(i=0;i<p;i++)
cin>>a[i];
for(i=1;i<p;i+=2){
if(k>0 and a[i-1]+1<a[i] and a[i]>a[i+1]+1){
a[i]=a[i]-1;
k--;
}
if(k==0) break;
}
for(i=0;i<p;i+... | [
"ajayjadhav35@live.com"
] | ajayjadhav35@live.com |
f5c21bc5a301c22a6b2e2e9bc8963dd0fd23047b | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /ocr/include/tencentcloud/ocr/v20181119/model/MotorVehicleSaleInvoice.h | 667ce3c1c0549a204449b24dcccdaafdb1de55c2 | [
"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 | 39,959 | 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
4eded410d1b22ffd34135df09be735aa360a0116 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/CDM_PresentationDirectory.hxx | cb81c92bb0f8a763ba30bccc51be8c9db10eaaa0 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,998 | 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 _CDM_PresentationDirectory_HeaderFile
... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
ab1ed5aa0ebde0b6afe38c6ecd618f0487f02240 | 046b675cb8529d1585a688f21563eb0209c94f19 | /src/Control2012/libreoffice/com/sun/star/sheet/XCellAddressable.hpp | ed0b89106cdf230556f16151de9f31ed50c8a27c | [] | no_license | yoshi5534/schorsch-the-robot | a2a4bd35668600451e53bd8d7f879df90dcb9994 | 77eb8dcabaad5da3908d6b4b78a05985323f9ba4 | refs/heads/master | 2021-03-12T19:41:35.524173 | 2013-04-17T20:00:29 | 2013-04-17T20:00:29 | 32,867,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,511 | hpp | #ifndef INCLUDED_COM_SUN_STAR_SHEET_XCELLADDRESSABLE_HPP
#define INCLUDED_COM_SUN_STAR_SHEET_XCELLADDRESSABLE_HPP
#include "sal/config.h"
#include "com/sun/star/sheet/XCellAddressable.hdl"
#include "com/sun/star/uno/XInterface.hpp"
#include "com/sun/star/table/CellAddress.hpp"
#include "com/sun/star/uno/RuntimeExcep... | [
"schorsch@localhost"
] | schorsch@localhost |
b146aa34d96764e4c0cf1101de4467b40a9d6bb6 | 2a88b58673d0314ed00e37ab7329ab0bbddd3bdc | /blazetest/src/mathtest/dmatdmatmult/DDbDDb.cpp | f10f883ba27781a2026efe14887ba2e4fc038946 | [
"BSD-3-Clause"
] | permissive | shiver/blaze-lib | 3083de9600a66a586e73166e105585a954e324ea | 824925ed21faf82bb6edc48da89d3c84b8246cbf | refs/heads/master | 2020-09-05T23:00:34.583144 | 2016-08-24T03:55:17 | 2016-08-24T03:55:17 | 66,765,250 | 2 | 1 | NOASSERTION | 2020-04-06T05:02:41 | 2016-08-28T11:43:51 | C++ | UTF-8 | C++ | false | false | 4,127 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatmult/DDbDDb.cpp
// \brief Source file for the DDbDDb dense matrix/dense matrix multiplication math test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
96d4675ef05c01842533d14e8a3896f6646180e8 | f8a6635b8375c605b0ce0ada67c998020ec6e944 | /src/typing_machine.hpp | 4ae62a323b0c99e26b6260a08449abbdac956c2d | [] | no_license | marekesz/rbgParser | 94fa3f01e3241c01ac8923792e58a770d4f1daa6 | 58c40a0a6a5493c12063e5cdf8e8d8cc5154ff86 | refs/heads/master | 2020-03-18T04:55:48.385785 | 2018-05-21T14:30:52 | 2018-05-21T14:30:52 | 134,314,322 | 1 | 0 | null | 2018-05-21T19:16:49 | 2018-05-21T19:16:48 | null | UTF-8 | C++ | false | false | 1,748 | hpp | #ifndef TYPING_MACHINE
#define TYPING_MACHINE
#include<map>
#include"tree_utils.hpp"
namespace rbg_parser{
class declarations;
class typing_machine{
std::map<operator_type, std::vector<possible_operator_interpretation>> operator_meanings;
std::map<bracket_type, std::vector<possible_bracket_interpret... | [
"jakubsutowicz@gmail.com"
] | jakubsutowicz@gmail.com |
3d2e798efd7c56653dc1af4f34962a744d78f219 | 66d8ea74e6ec6effebb3649782a61c28eaf58ddd | /arduino/sketchbook/libraries/RichUNOKitC/RichUNOKitC_LCD1602.h | 9d656064bbb0af4bcde219ae2a508a7452e17039 | [] | no_license | philipp68/IOT-Experiments | ca35273bc45e0e0e18e2d9ac4b030721c8a136f7 | bcaf76f559be84012d5244374b7d32401dab8dbc | refs/heads/master | 2021-06-29T13:45:08.037205 | 2019-04-16T19:55:09 | 2019-04-16T19:55:09 | 134,470,403 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,642 | h | /**********************************************
LiquidCrystal_I2C
last updated on 21/12/2011
Tim Starling Fix the reset bug (Thanks Tim)
www.yfrobot.com
**********************************************/
#ifndef LiquidCrystal_I2C_h
#define LiquidCrystal_I2C_h
#include <inttypes.h>
#include "Print.h"
#includ... | [
"philipp.schneider@phonak.com"
] | philipp.schneider@phonak.com |
8dc2b829268efabd4470b54c92d130308117f3b4 | 610e522e2e42330d8438bc940b310317e564b2bb | /GPRMB.ino | c721b69a6ebad5d888abd57048d435abc2e32df7 | [] | no_license | Hammershoj/BoatPilot | 932b71c4f1b450562bf606a0875b590827ad5cd8 | efaf5c8346def2f7502178a44544e71f8b64e8b3 | refs/heads/master | 2022-10-03T09:17:47.763112 | 2022-09-14T18:49:37 | 2022-09-14T18:49:37 | 195,001,793 | 4 | 1 | null | 2022-09-14T18:39:42 | 2019-07-03T07:26:24 | C | UTF-8 | C++ | false | false | 5,624 | ino | #if GPS_Used ==1
void Get_GPRMB()
{
//Serial.println("GPRMB");
j_MAX = 15; // number of Words in NEMA Sentence
Parse_Sentence();
for(int j = 0; j<j_MAX; j++)
{
data_RMB[j] = data_IN[j]; //see void Parse Sentence
if(print_RMB)Serial.println(data_IN[j]);
}
// data... | [
"carsten@hammershoj.com"
] | carsten@hammershoj.com |
e62fce9d293a971ee03a0032921922f448bb07a7 | 504afac34ed4aa421b66fec21c92e10c525ebc57 | /code/estudio4/gui/linkopdlg.hpp | 6296be8cd8641214fcf5d170dffb744af4a2ed55 | [
"CC0-1.0"
] | permissive | grimtraveller/Enigma-Studio-4 | 1c63ed0f1d04f8c9685cbe299025f9a2f1051bf8 | 5b82e1e2b05e95b409f372b323e4c0fdeedab6fa | refs/heads/master | 2021-01-20T05:57:38.984513 | 2016-04-19T14:58:37 | 2016-04-19T14:58:37 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,671 | hpp | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* This file is part of
* ______ _ __ __
* / ____/____ (_)____ _ ____ ___ ____ _ / // /
* / __/ / __ \ / // __ `// __ `__ \ / __ `/ / // /_
* / /___ / / / // // /_/ // / / / /... | [
"hunta@braincontrol.com"
] | hunta@braincontrol.com |
27bec98a25faba3166b1ce0fb5cdc2a94bc3445d | 82f5957f2b20f7d62c94950f6ff4f4b5e9ad05e0 | /src/init.cpp | ff2494f1b54e40f9232330c2fcfe9d8755224b28 | [
"MIT"
] | permissive | VChainX/vCredit | 8c8033701e119450e72602b992af57dbf86df387 | d0031ee9e445dc18313be760a5f9fd0c24d6a328 | refs/heads/master | 2021-07-08T08:45:15.970901 | 2019-01-02T11:52:02 | 2019-01-02T11:52:02 | 134,194,116 | 3 | 1 | MIT | 2018-06-02T23:43:48 | 2018-05-20T23:08:38 | C++ | UTF-8 | C++ | false | false | 36,038 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "walletdb.h"
#include "bitcoinrpc.h"
#include "net.h"
#i... | [
"noreply@github.com"
] | noreply@github.com |
f10129b22df8431bef05407237bfd65163026219 | 74ef11065048fcf08ee5b9ef1c11c0ce10079301 | /expansion_js/src/duktaper/standalone_run.h | b2decf701bfd49e28824bb3d7a6102773cb22549 | [
"MIT"
] | permissive | kliment-olechnovic/voronota | fa2548c9ccc3dd6f5a10a054300aca8b6d31ecf4 | 52c2b0d55f2979d0eef478ed0be20376cb3d561a | refs/heads/master | 2023-09-04T05:09:11.275304 | 2023-08-30T07:59:07 | 2023-08-30T07:59:07 | 203,789,299 | 19 | 6 | MIT | 2023-07-04T06:25:54 | 2019-08-22T12:20:48 | C++ | UTF-8 | C++ | false | false | 3,980 | h | #ifndef DUKTAPER_STANDALONE_RUN_H_
#define DUKTAPER_STANDALONE_RUN_H_
#include <unistd.h>
#include <stdio.h>
#include "../dependencies/linenoise/linenoise.h"
#include "binding_javascript.h"
#include "duktape_manager.h"
#include "stocked_data_resources.h"
namespace voronota
{
namespace duktaper
{
class StandaloneR... | [
"kliment.olechnovic@gmail.com"
] | kliment.olechnovic@gmail.com |
107da19ef6fd9a0c11da1f1397d3690c403e5b6d | cc335dee59a178db2d02e843749682db4cf71441 | /Speed&Traction Control/Traction_Control/Traction_Control.ino | b44ec626d2ff83151ee0c626d64829f6c8558014 | [] | no_license | Tyler-Montcalm/Mech471 | b8f70919ca014ae79d76f4085898ad70256bca8d | 482da9117907273bf1bd4ad42d81091991c549bb | refs/heads/master | 2020-12-10T21:13:06.172924 | 2020-04-30T00:35:41 | 2020-04-30T00:35:41 | 233,707,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | ino | //Code written by: Tyler Montcalm
#include "PID_traction.h"
#include "definitions.h"
float U_traction=0;
float percent_speed=50;
float my_motor_speed_traction=0;
float t0_traction=0;
void launch_control();
void setup()
{
t0_traction=micros()*11.0e-6;
}
void loop()
{
// Idea is to adjust the speed of the rear s... | [
"montcalm-tyler@outlook.com"
] | montcalm-tyler@outlook.com |
aaf61e9a68749c5c7e02edd1d211a2916f5bcb02 | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/vc6addon/ide/pkgs/dbg/miscdlgs.cpp | 6d0d1a5521af2229c5d1215bd19788c2494b6fb8 | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,563 | cpp | #include "stdafx.h"
#pragma hdrstop
#include "plist.h"
#include "fbrdbg.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#define new DEBUG_NEW
#endif
///////////////////////////////////////////////////////////////////////////////
// CMapRemoteDllDlg implementation
//////... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
378946db06522b2a4ebfd2f223abd564c680f2a9 | 7eddcf61699205e0af7d4421fe76fe67cb232ec9 | /C++/CodeChef/NUMGAME.cpp | 2e2f0c71156bfd84a61f4e5fe38763e10c5c8af4 | [] | no_license | cuongdangn/CompetitivePrograming | 389761a140d9351abaa411f8ca53f07c70c0b6ba | 86ab92e313cb5c15b429fb0fb4d36534ae89eb4e | refs/heads/master | 2022-11-28T22:43:21.392720 | 2020-08-14T17:24:02 | 2020-08-14T17:24:02 | 287,583,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #include<iostream>
#include<cmath>
#include<cstdio>
using namespace std;
int t;
int main()
{
scanf("%d",&t);
for(int i=1;i<=t;i++)
{
int x;
scanf("%d",&x);
if(x%2==0)printf("ALICE\n");
else printf("BOB\n");
}
}
| [
"cuongdangngoc97@gmail.com"
] | cuongdangngoc97@gmail.com |
b7521953480e71971dbec0683ac7362882aadcc8 | 96cfecabf42dab5deee1855b3bb8a81ff5ee896b | /dnde3/archive.ixx | 01b996bb7accfaa321c8dbb6899a1ea3d9ea3c1e | [] | no_license | Pavelius/dnde3 | 7ba54fec0b5ddf2e7c1dc32376e1a5cdf0c1e475 | 9fb515f1c0b0c6d17648fd9d5659e183d1820bf2 | refs/heads/master | 2021-12-14T22:50:37.013939 | 2021-12-10T06:27:38 | 2021-12-10T06:27:38 | 226,627,371 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,453 | ixx | export module archive;
import collections;
import stream;
import stringbuilder;
export struct archive {
struct dataset {
void* data;
template<class T, unsigned N> constexpr dataset(T(&data)[N]) : data(&data), size(sizeof(T)), count(current_count), current_count(N), maximum_count(N) {}
template<class T, unsign... | [
"p000000000001@gmail.com"
] | p000000000001@gmail.com |
86f1d0c0c8ab8462bd20c1e07d4e054983fd4fc2 | ecb4b5e25557ca4edf4f28300510d47fea2edcbe | /Classes/HelloWorldScene.cpp | ada389f84a76b4613a7802de296961e464592a3d | [] | no_license | haidragon/chess | 42690dcac02e6cb2507b2ce4de25d41df7a3a472 | f99ca5ad41ac234348a180b204cf4b33d3c335e6 | refs/heads/master | 2020-03-22T20:53:34.587731 | 2018-07-15T08:37:37 | 2018-07-15T08:37:37 | 140,639,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,826 | cpp | /****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
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... | [
"noreply@github.com"
] | noreply@github.com |
cd434d6e8d3cc111e1b2916f44a0ad609f43c781 | 38f7189795c68b451b49b57821414e9588e0c755 | /zad5/main.cpp | 1703fe3002d34d25d3147a333d7d8beb35c3de02 | [] | no_license | Jyang772/przykladowe_zad_egzamin | cb6e9f50a942678d9f030af5731d2482712ae352 | 7dc4a8bf1397dd8168d089c7a833cd1bc7a8f1bb | refs/heads/master | 2020-12-31T01:23:54.903466 | 2013-12-20T23:33:33 | 2013-12-20T23:33:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | #include <iostream>
#include <fstream>
#include <cstring>
using namespace std;
void wiersze(string nazwa,char zn)
{
ifstream plik(nazwa.c_str());
if(!plik.good())
{
cout << "Blad pliku";
}
string wiersz;
int n = 0;
while(!plik.eof())
{
getline(plik,wiersz);
b... | [
"karina.szewczyk@poczta.onet.pl"
] | karina.szewczyk@poczta.onet.pl |
b4f8b8cd48631408cec002981b006a1815a74971 | f536aefa791d6c3783547998a04386a15346a0a6 | /src/Tortoise_Object.h | 202b7fd9b324e9490c7970ddd5a5ee106761b9cc | [] | no_license | Hanslen/CPP_mario_Wrestle | afd83e7c109e841a45632f6945becc2c9b80edbf | 2afc11e029e1b97fc6637edf0666716cadfd1871 | refs/heads/master | 2021-07-07T10:52:39.953410 | 2017-09-28T17:38:28 | 2017-09-28T17:38:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | h | #pragma once
#include "DisplayableObject.h"
#include "JPGImage.h"
class Tortoise_Object :
public DisplayableObject
{
public:
Tortoise_Object(BaseEngine* pEngine);
~Tortoise_Object();
void Draw();
ImageData tortoise, tortoise2;
ImageData subTortoise1, subTortoise;
int left;
bool up;
bool fly;
... | [
"psyjc3@exmail.nottingham.ac.uk"
] | psyjc3@exmail.nottingham.ac.uk |
519fac5c84ec674801bebee9c129b2d98660c932 | 18b71afb22f6c65d0916e8b2457a525dd53205cc | /functional.h | c46334379a388306ce6c6d29c62bf19409ebc984 | [
"MIT"
] | permissive | keithalewis/fmsum | d0fd9c87c4578a00321cf81bd1323c8987339d9a | d2da4021115d429799d734b66e8b47bd6e72d990 | refs/heads/master | 2020-04-16T09:02:13.523028 | 2019-02-25T21:40:50 | 2019-02-25T21:40:50 | 165,448,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | h | // functional.h - Extend <functional>
#pragma once
#include <functional>
namespace {
template<class X, class Y, class Binop>
inline auto operator_binop(const Binop& binop, const std::function<Y(X)>& f, const std::function<Y(X)>& g)
{
return [&binop,&f,&g](const X& x) { return binop(f(x), g(x)); };
}
}
template<cl... | [
"keithalewis@live.com"
] | keithalewis@live.com |
ded60d2da6aaeeee91a774d1cb8987484df5340b | c5f925c1e63239f92942d3c3c306f77facbdbc44 | /clang/test/SemaSYCL/sampler_t-member-init.cpp | 9fff3c5cf83c93169758eb0aff06596daf80918f | [
"Apache-2.0",
"LLVM-exception",
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hanzhan1/llvm | e4f71c99e09744e749295716a5641d23e74311e5 | efe40bb5c797b102088e3cd2579a0f57ccf93310 | refs/heads/private/hanzhan1/fix-sync-main | 2023-05-08T09:10:40.750734 | 2020-12-22T02:31:13 | 2020-12-22T02:31:13 | 311,268,275 | 0 | 0 | null | 2021-05-26T08:28:04 | 2020-11-09T08:16:43 | null | UTF-8 | C++ | false | false | 1,516 | cpp | // RUN: %clang_cc1 %s -fsycl -fsycl-is-device -ast-dump 2>&1 | FileCheck %s
const __ocl_sampler_t Global = 0;
class Foo {
int i;
__ocl_sampler_t Member;
__ocl_sampler_t Member2;
__ocl_sampler_t Member3;
__ocl_sampler_t Member4;
Foo(__ocl_sampler_t Param) :
// CHECK: CXXConstructorDecl
// CHECK-SA... | [
"alexey.bader@intel.com"
] | alexey.bader@intel.com |
2ac40cfc78698eb054cd30a72a899533d1aced0d | 70681b44e800d9994bc7e128a537eca932f8eec9 | /zillow/trinary_tree/Trinary.cpp | 39e4d23134362c65e47599dd47433da2892f6957 | [] | no_license | shercoder/practice_problems | 3e12b3aa4238dccb5b9f0f1be8294cfb2815a54d | 7d92656df49bb750f7cd601e97b336305efddbc9 | refs/heads/master | 2020-04-18T02:39:02.815559 | 2015-05-18T01:05:05 | 2015-05-18T01:05:05 | 8,229,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,151 | cpp | #include <iostream>
#include <fstream>
using namespace std;
#include "NodeTree.h"
int main(int argc, const char* argv[]) {
if (argc != 2) {
cout << "Usage: " << argv[0] << " <input_file>" << endl;
return 1;
}
ifstream ifs(argv[1]);
if (!ifs.is_open()) {
cout << "Could not open... | [
"singh.pardeep6605@gmail.com"
] | singh.pardeep6605@gmail.com |
7b7936f6dd12f5668f5686b89dcf71b14578bcf7 | 4b36f779b3aba48287616bcef32d781aa6aecd1f | /doc_template/src/sources/table/xml/xmltablesourcedialog.cpp | 1a05b81490aa7dc1f1232d6b379b114774e8db73 | [] | no_license | dicentra13/doctpl | 00333772454aafe2e5e94355fddaaf12634f1618 | 4f917eda1c724ecda856b73b340d1b4c82c45cbf | refs/heads/master | 2020-12-24T09:38:15.663662 | 2018-06-19T19:01:56 | 2018-06-19T19:01:56 | 73,277,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,461 | cpp | #include "xmltablesourcedialog.h"
#include "xmltablesource.h"
#include <QListWidget>
#include <QListWidgetItem>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QDialogButtonBox>
#include <QMessageBox>
#include <QPushButton>
XMLTableSourceDialog::XMLTableSourceDialog(Sou... | [
"anastasia.petrushkina@gmail.com"
] | anastasia.petrushkina@gmail.com |
84c8e078430d28e2c68d0d5572fbabba815e37d9 | c3eb514bddbb3d0b5a54498af7583cef5e5f1117 | /Project/Project/input_interface.h | 5f68fb05babbf7a3f1293e889b5cb104438f13ea | [] | no_license | alen6248/Our_Project | f292e70a867c63ca16ffe6b548192cf058c04708 | e131377c0854ab4cb9f5207a5a18285c3db235fd | refs/heads/master | 2021-01-10T14:24:15.364135 | 2016-01-02T05:14:43 | 2016-01-02T05:14:43 | 48,281,479 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 1,520 | h | #pragma once
//==========================設計===================================
//=================================================================
/**************************問題***********************************/
//使用tile?
/*****************************************************************/
#include "SDL.h"
#in... | [
"alen6248@gmail.com"
] | alen6248@gmail.com |
40635aebbbbda2dbb5bb549c4c53e0e71ed6b593 | 051c898be81003a5c90f5a1ce77a252252774973 | /preliminary/C/33907693.cpp | 657f441d11bad2ac0bcca7bf7400a651d4bede15 | [] | no_license | mmatrosov/FKN2020 | 29caffa241882e672df654b4857b5674d5f96f6e | 38bfa7811d4af175415f7cc4da81df44b5b4a74c | refs/heads/master | 2022-12-27T19:15:05.849915 | 2020-10-16T07:12:27 | 2020-10-16T07:12:27 | 298,350,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | #include <bits/stdc++.h>
typedef long long ll;
typedef long double ld;
using namespace std;
int main() {
ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
int n;
cin >> n;
map<int, bool> used;
vector<int> a;
for (int i = 0; i < n; ++i) {
int b;
cin >> b;
if (!used... | [
"mikhail.matrosov@gmail.com"
] | mikhail.matrosov@gmail.com |
639b578600be71eb65cb48950e9816314f2eb7cc | 346b34e4359c4230373a74a5cb785483d4885784 | /examples/example_parse_response_header.cpp | b7e026ea6384805fb0a1aa36d7660a971e81434c | [
"MIT"
] | permissive | cmejj/cxxurl | ef851f15beac8844ad49e9436bd7b8a55f256299 | 516218a740912dc649d3fda297e920f2aad45846 | refs/heads/master | 2021-09-04T14:21:12.416761 | 2018-01-19T13:04:21 | 2018-01-19T13:04:21 | 118,410,579 | 0 | 0 | null | 2018-01-22T05:27:35 | 2018-01-22T05:27:35 | null | UTF-8 | C++ | false | false | 1,721 | cpp | /**
* @author : xiaozhuai
* @date : 17/1/4
*/
#include <iostream>
#include <cxxurl/cxxurl_all.h>
#include <cxxurl/HeaderParserStream.h>
using namespace std;
using namespace CXXUrl;
void example1();
void example2();
int main(int argc, char** argv){
// these two sample do the same thing
example1();
e... | [
"798047000@qq.com"
] | 798047000@qq.com |
503b56e0784de693b5becb4651021e5388510095 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /content/browser/accessibility/browser_accessibility_state_impl.cc | a248bc92a95ce8f33a7ffae00f463443453ed4f5 | [
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 9,576 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/accessibility/browser_accessibility_state_impl.h"
#include <stddef.h>
#include "base/bind.h"
#include "base/command_line.h... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
35f43a890909e8bf1b36536c0b77d3c2386cdfb2 | 2496a1ae2ac0d0ace6a70ce8d2ada38a63a33401 | /tensorflow/dtensor/cc/dtensor_device_util.cc | c64c8e7da09ed6d80bdebbb6a4123c5711ed50cd | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | plaidml/tensorflow | d78ba08f8fac6455b467e9001f17ad975d7580a2 | 607ae43f43426421642f26a6abaf350a20b5ffbe | refs/heads/master | 2022-09-20T22:33:39.225897 | 2022-08-11T13:31:22 | 2022-08-11T13:35:05 | 215,591,809 | 1 | 1 | Apache-2.0 | 2022-04-22T18:49:14 | 2019-10-16T16:15:50 | C++ | UTF-8 | C++ | false | false | 47,132 | cc | /* Copyright 2022 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... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
69c4c15b5bdbf77687038a7077c6d0461ccfb785 | 6b5bddc107b800f7fd658413cf626ed6f801ed36 | /data/portal.cpp | ec8e285ccb029b0674eb2c8e45b0367275c31916 | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | ashr/notes | 6c5cc00c1b0a2e30e87755b6f5ee32d463f28ed5 | c449d10374b0bded8177e318892fdd58bcce3524 | refs/heads/master | 2021-05-11T04:39:22.877171 | 2018-01-17T15:01:05 | 2018-01-17T15:01:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | // address: 0x4A1ABC
//
// portal_town_y_from_player_num maps from player number to Y-coordinate of the
// town portal position in Tristram.
int portal_town_y_from_player_num[4];
// address: 0x4A1ACC
//
// portal_town_x_from_player_num maps from player number to X-coordinate of the
// town portal position in Tristram.... | [
"rnd0x00@gmail.com"
] | rnd0x00@gmail.com |
9fc86e67d7f4871a1f124604c96c91f21d705797 | 7f69e98afe43db75c3d33f7e99dbba702a37a0a7 | /src/misc/cliapplication.cpp | 2fef1e0674958a2b8ab82da24af4a3505fa1b4cf | [
"Apache-2.0"
] | permissive | hsorby/opencor | ce1125ba6a6cd86a811d13d4b54fb12a53a3cc7c | 4ce3332fed67069bd093a6215aeaf81be81c9933 | refs/heads/master | 2021-01-19T07:23:07.743445 | 2015-11-08T13:17:29 | 2015-11-08T13:17:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,154 | cpp | /*******************************************************************************
Licensed to the OpenCOR team under one or more contributor license agreements.
See the NOTICE.txt file distributed with this work for additional information
regarding copyright ownership. The OpenCOR team licenses this file to you under
t... | [
"agarny@hellix.com"
] | agarny@hellix.com |
c38bbbc642580124887fdee60239a3b773f5891d | e763b855be527d69fb2e824dfb693d09e59cdacb | /aws-cpp-sdk-cognito-idp/source/model/AdminUpdateUserAttributesRequest.cpp | 023464695b68d5e81e4d46b1d7c154bbbf4c0e82 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | 34234344543255455465/aws-sdk-cpp | 47de2d7bde504273a43c99188b544e497f743850 | 1d04ff6389a0ca24361523c58671ad0b2cde56f5 | refs/heads/master | 2023-06-10T16:15:54.618966 | 2018-05-07T23:32:08 | 2018-05-07T23:32:08 | 132,632,360 | 1 | 0 | Apache-2.0 | 2023-06-01T23:20:47 | 2018-05-08T15:56:35 | C++ | UTF-8 | C++ | false | false | 2,042 | cpp | /*
* 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... | [
"henso@amazon.com"
] | henso@amazon.com |
3ffff48cf19fd43edac3715125e626a0aa0244c2 | 8559edef3b57407ac5d11cb23df68b50b07b7911 | /Best_Online Judge solution/Code force online judge/Wrong Subtraction.cpp | 265d0664de2c0bf68fb4c8e8b5372e0e7f470f9b | [] | no_license | mijanur-rahman-40/C-C-plus-plus-Online-Judge-Algorithms-Practise-Programming | 2a031b0743356ba4c8670623aaa87b57f0b43f27 | 254924e4bd890e2f6d434abcc9ef52ef3e209211 | refs/heads/master | 2023-02-13T06:26:20.422678 | 2021-01-13T14:20:21 | 2021-01-13T14:20:21 | 329,330,528 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int num,len;
scanf("%d%d",&num,&len);
for(int i=0; i<len; i++){
if(num%10==0){
num = num/10;
}
else
num = num-1;
}
cout<<num<<endl;
}
| [
"mijanurrahman31416@gmail.com"
] | mijanurrahman31416@gmail.com |
052e1239c0a2c889f5eb4ac50b9303a8c64d5a1e | 3051050dc3dee97dc60ef78d31ff500b6e93d0fb | /chrome/browser/ash/login/oobe_quick_start/connectivity/target_device_connection_broker_impl_unittest.cc | 956dcfcf8dd529295405de5d87361f010ae29d08 | [
"BSD-3-Clause"
] | permissive | weblifeio/chromium | cd249e1c9418dcf0792bd68bbdcd2a6e56af0e2e | 74ac962b3a95c88614f734066ab2cc48b572359c | refs/heads/main | 2023-06-09T19:45:03.535378 | 2023-05-26T19:16:31 | 2023-05-26T19:16:31 | 177,631,387 | 0 | 0 | null | 2019-03-25T17:15:48 | 2019-03-25T17:15:47 | null | UTF-8 | C++ | false | false | 21,898 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/login/oobe_quick_start/connectivity/target_device_connection_broker_impl.h"
#include <array>
#include "base/base64.h"
#include "base/command_line... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
347e100a2e3d3d2eb2886c38de5a878658220a8c | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /ui/views/examples/message_box_example.cc | 67ff6dc0c78b7c4d680f38a51a2c533c55164356 | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 2,483 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/examples/message_box_example.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "u... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
847a18a74124ad3125f90c7a841932f378c4b2ec | 24428e18296300212ca28250208dc7f946542e3b | /Array/kadane algo.cpp | 3ed2e4890e069af1b47747edf77bd40470290ef1 | [] | no_license | Kunal1701/My-Codes | 134b21fde6a45816d37a55743ea37a674a5c2ca8 | 27a81ebdc5c6c79ee9f3f43865803c9195c9d0e7 | refs/heads/main | 2023-08-29T17:29:26.503621 | 2021-11-11T15:54:35 | 2021-11-11T15:54:35 | 388,391,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | #include <iostream>
#include <climits>
using namespace std;
int main()
{
int n;
cin >> n;
int a[n];
for (int i = 0; i < n; i++)
{
cin >> a[i];
}
int sum = 0;
int largest = INT_MIN;
for (int i = 0; i < n; i++)
{
sum += a[i];
if (sum < 0... | [
"noreply@github.com"
] | noreply@github.com |
0e2889d53a127dfef30a2b6d03ea868b5067575c | b57193090bbfa5838f1e673f37ac82ad26286b54 | /src/istream/ToBucketIstream.hxx | 7598619717b77b97ce1eca8459298cd7095f8842 | [] | no_license | luckydonald-backup/beng-proxy | 8021e4fe7bb06e24b6f7d2a5464fc6051a8df25f | 34ef0a94c7005bde20390c3b60a6439cc6770573 | refs/heads/master | 2020-05-24T20:56:31.428664 | 2019-05-16T08:40:44 | 2019-05-16T09:14:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,634 | hxx | /*
* Copyright 2007-2019 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must reta... | [
"mk@cm4all.com"
] | mk@cm4all.com |
a5263bd4531085a259660bfcf5aa6e29b050b9ec | 6086e218fd8d3d86849e712373698b0de3e22f9e | /src/maxnode/maxnode-payments.cpp | 29cb50b3e55c612921a3285902f6e34c8572c2e3 | [
"MIT"
] | permissive | LytixChain/peermaxcoin | 4d6530b8d3722feb7b05d97cf3a60da99daccc07 | 13c2c5e4a8e2ea145cdf965bf5238bf469fe4a24 | refs/heads/master | 2020-04-01T14:41:28.960879 | 2018-10-19T18:33:21 | 2018-10-19T18:33:21 | 153,304,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,734 | cpp | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "maxnode-payments.h"
#include "addrman.h"
#include "maxnode-budget.h"
#in... | [
"faetos@yahoo.com"
] | faetos@yahoo.com |
709d2a4ab9a43d491c40324ca41cdb4637e7a72f | 2cff28468b2f463ae242ad9f8c2dbf47a94c47b6 | /sia20_control/src/test3.cpp | df3d697f5da10470aa479137f2372964fac7227f | [] | no_license | harumo11/sia20 | 2e49890554d6b554a5603f0cb0d79012467296ad | 8dbbac997701de4ddf486e62423582521130c0ef | refs/heads/master | 2021-06-26T03:07:03.887460 | 2020-10-27T23:09:12 | 2020-10-27T23:09:12 | 160,215,058 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 14,118 | cpp | //このプログラムはdynetを使用して学習した箒の使用方法を実際に推測し,実行するための
//プログラムです.学習済みモデルを読み込み,ニューラルネットを構築し
//そこにリアルタイムで得たセンサーからの情報を入力として流し込み
//出力として手先の速度を得ます.その後,ROSでその速度をpublishします.
//
//入力&出力は下記のURLを参照とのこと(レプトリノ含む)
//https://harumo11.github.io/sia20/training_data/
#include <iostream>
#include <algorithm>
#include <fstream>
#include <memory>... | [
"s_harumo@hotmail.co.jp"
] | s_harumo@hotmail.co.jp |
7ac2107457925504bc951c73fca455124153b5a3 | eb46dbb888d661f8577da2ef3fdc744ffac1e5e4 | /modules/gapi/opencv_test_gapi_pch.cpp | 1200bcc902ae757b641c1b56e9043025f4dd710a | [] | no_license | gzhangx/opencv.builds | 251d692767285d2dd9a84e934618fa348417a9fe | 760936d44450a6660efb750cf8ad5726c33a4504 | refs/heads/master | 2023-08-03T09:46:02.559701 | 2021-09-17T22:19:37 | 2021-09-17T22:19:37 | 406,840,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67 | cpp | #include "D:/work/acccn/opencv/modules/gapi/test/test_precomp.hpp"
| [
"gzhangx@hotmail.com"
] | gzhangx@hotmail.com |
5c5349eb3ad003606429df2a5261fa6b3e03add9 | 0c7e20a002108d636517b2f0cde6de9019fdf8c4 | /Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/graphics/CAtlasEntry.cpp | 0607b087d0bb881851fa73401db5ece4e085a4e9 | [
"Apache-2.0"
] | permissive | kernal88/Elastos5 | 022774d8c42aea597e6f8ee14e80e8e31758f950 | 871044110de52fcccfbd6fd0d9c24feefeb6dea0 | refs/heads/master | 2021-01-12T15:23:52.242654 | 2016-10-24T08:20:15 | 2016-10-24T08:20:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cpp | #include "elastos/droid/graphics/CAtlasEntry.h"
namespace Elastos {
namespace Droid {
namespace Graphics {
CAR_OBJECT_IMPL(CAtlasEntry)
CAR_INTERFACE_IMPL(CAtlasEntry, Object, IAtlasEntry)
CAtlasEntry::CAtlasEntry()
: mX(0)
, mY(0)
, mRotated(FALSE)
{}
ECode CAtlasEntry::constructor()
{
return NOE... | [
"luo.zhaohui@kortide.com"
] | luo.zhaohui@kortide.com |
64773e2f0be7a01900744ef57adec5b6c816ebf3 | 06b542327f232e4d88dc2e79eb5b11675a4d12e4 | /hoomd/md/EvaluatorPairZBL.h | 41fcf0a74f4e6425353d16124a6f7bfefab8c15d | [
"BSD-3-Clause"
] | permissive | turalaksel/hoomd-blue | d0ed754b6fe7d0d2f808ba667f8c13b93c89f8e3 | 1286779b1b17adfa7d773f79a0f81118f1662638 | refs/heads/master | 2021-04-02T10:47:48.047279 | 2018-03-19T23:28:48 | 2018-03-19T23:28:48 | 124,343,898 | 0 | 1 | null | 2018-03-08T05:55:11 | 2018-03-08T05:55:11 | null | UTF-8 | C++ | false | false | 4,959 | h | // Copyright (c) 2009-2017 The Regents of the University of Michigan
// This file is part of the HOOMD-blue project, released under the BSD 3-Clause License.
#ifndef __PAIR_EVALUATOR_ZBL__
#define __PAIR_EVALUATOR_ZBL__
#ifndef NVCC
#include <string>
#endif
#include "hoomd/HOOMDMath.h"
/*! \file EvaluatorPairZBL.h... | [
"joaander@umich.edu"
] | joaander@umich.edu |
d91302cec4c4563a3f7fae46104786ccf40dd79a | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5648941810974720_1/C++/Gaabs/a.cpp | c057fab95ead6fed65ae76022439542d85e8076b | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,413 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fr(i,a,b) for(int i = a; i < b; i++)
#define fre(i,a,b) for(int i = a; i <= b; i++)
#define frd(i,a,b) for(int i = a; i > b; i--)
#define fred(i,a,b) for(int i = a; i >= b; i--)
#define pb push_back
#define SET(a,v) memset(a,v,sizeof a)
#define INF 1e8
... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
40977f3d5e25f555be9d587ffea12e47077827af | cb8c337a790b62905ad3b30f7891a4dff0ae7b6d | /st-ericsson/multimedia/audio/noise_reduction/proxy/NoiseReductionNmfHost_PcmProcessing.h | 75ff30399effbb8080b23956b039759fdb82028f | [] | no_license | CustomROMs/android_vendor | 67a2a096bfaa805d47e7d72b0c7a0d7e4830fa31 | 295e660547846f90ac7ebe42a952e613dbe1b2c3 | refs/heads/master | 2020-04-27T15:01:52.612258 | 2019-03-11T13:26:23 | 2019-03-12T11:23:02 | 174,429,381 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,846 | h | /*****************************************************************************/
/**
* © ST-Ericsson, 2011 - All rights reserved
* Reproduction and Communication of this document is strictly prohibited
* unless specifically authorized in writing by ST-Ericsson
*
* \brief Noise Reduction Host nmf processing class h... | [
"xiangxin19960319@gmail.com"
] | xiangxin19960319@gmail.com |
d8e3d9ebf6cbc91da39e0c13b444372b46ebf359 | d68814db6fb3a3906efaa87e70a70d08cdefc6e2 | /rotary_encoder_reader/rotary_encoder_reader.ino | 9fc1fa9ab23b5dedf9cbaac3a0b1368e2ac744c3 | [] | no_license | CML-lab/ARDUINO_RotaryChair | 2b33229a0ae58e49ea4945b3156b70f6c51f2c13 | 2745fcba912a284d66850e5c17ba047b110dbd2a | refs/heads/master | 2023-03-03T05:57:13.333283 | 2021-02-16T16:02:09 | 2021-02-16T16:02:09 | 337,789,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,536 | ino | /*
Read optical incremental rotary encoder output.
This code was modified from https://gist.github.com/kinverarity1/8ca395b85bb63e1e7471d7db0284c30b
Serial output columns:
1. Absolute encoder position (pulses, integer) from startup
2. Change in encoder position from trial start (pulses, integer)
... | [
"cognitivemotorlab@gmail.com"
] | cognitivemotorlab@gmail.com |
6534ff4f71a3c5b65e099651b14def406d1c55b9 | 5df7293b4a7d7f3cf4e4d25921e252ac92c21b5f | /onnxruntime/core/providers/qnn/builder/opbuilder/conv_op_builder.cc | 1f4d61f472a4e70cd4b0b08369ce70df97db2b36 | [
"MIT"
] | permissive | Nifury/onnxruntime | ccd7fed07ad917fb3b63ae333c388895073f9263 | 198994d01d4e226fd3a8816e8b2fad00c84a691c | refs/heads/main | 2023-04-08T21:40:39.383881 | 2023-04-05T00:34:13 | 2023-04-05T00:34:13 | 312,125,003 | 7 | 2 | MIT | 2020-11-12T00:28:40 | 2020-11-12T00:28:39 | null | UTF-8 | C++ | false | false | 21,075 | cc | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "core/providers/common.h"
#include "core/providers/shared/utils/utils.h"
#include "core/framework/tensorprotoutils.h"
#include "core/providers/qnn/builder/qnn_model_wrapper.h"
#include "core/providers/qnn/builder/o... | [
"noreply@github.com"
] | noreply@github.com |
cc3d44757a379f26e4157f53697515a2a3f3e097 | 80f579c4a9b22ca4c9ad49310d89839a944807ca | /Programmers/Lv5/Lv5_파일명정렬.cpp | 274a2c111b15cfe66824bd23c635b8cd4fe4d2d8 | [] | no_license | wh2per/Programmers-Algorithm | ba2abdf6966d11aa1a8c80630eab5e9d30b45e4d | 9c3a01c4525c8b67fa2a0be4aabb14b4011adb19 | refs/heads/master | 2022-04-30T16:16:11.418261 | 2022-04-03T16:54:28 | 2022-04-03T16:54:28 | 165,787,650 | 27 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | cpp | #include <string>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
struct info_file {
string head;
int num;
int recent;
};
bool cmp_file(info_file a, info_file b) {
if (a.head < b.head)
return true;
else if (a.head == b.head) {
if (a.num < b.num)
return true;
else if (a.... | [
"93negaro@gmail.com"
] | 93negaro@gmail.com |
b40e81f79927bf132b5e9c58bd84c2a1d29f40be | 14d915325d5dd97e908d387da1a02fcebd603a8c | /projekt3/Tic-tac-toe/Tic-tac-toe/Window.h | ae88f7a216c4c838fa218f6dee52f1678d5d0165 | [] | no_license | KarolinaGl/Projektowanie-algorytmow | d2af45ae35cffcfee0a75f90cc9d76f59dd6ebbd | e587b7f46e57947b72c6ba0fa6e5af74db8f289a | refs/heads/master | 2021-04-24T06:17:21.596561 | 2020-06-16T19:36:29 | 2020-06-16T19:36:29 | 250,089,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | h | #pragma once
#include <vector>
#include <iostream>
#include <SFML/Graphics.hpp>
#include "Board.h"
#include "Button.h"
#include "View.h"
#include "MenuView.h"
#include "GameView.h"
#include "Constants.h"
class Window
{
public:
View* view;
sf::RenderWindow* window;
Window();
void run();
void changeView(View* n... | [
"karolina.gluszek6@gmail.com"
] | karolina.gluszek6@gmail.com |
b10a4d202391ee955d292c54ed221d44c991b0b1 | caceb4994bd2a3e2dda5eea1674fda41f8907aba | /Hello_World_Rahul/Arduino/constants.cc | da81790ea31b156130660806dc3b1f4201ce440e | [] | no_license | rssr25/TinyML | 978669e230fc91774f51216c3ba7ef618ed8bee2 | a34aa7041f9eb646e02fb2976657d86782fa9a74 | refs/heads/master | 2022-11-20T19:37:51.712116 | 2020-07-23T06:57:38 | 2020-07-23T06:57:38 | 281,366,462 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110 | cc | #include "tensorflow/lite/micro/examples/hello_world_rahul/constants.h"
const int kInferencesPerCycle = 1000; | [
"rahulsharmacs50@gmail.com"
] | rahulsharmacs50@gmail.com |
75f28a4acf5dc29dfc20168eb29315c8fe032760 | 52a4efd8d21a7eb5e2e7106e6eb3965ca7623b58 | /src/qt/addressbookpage.cpp | d015bfc0c4b9587cff23d1ad972359ad25f4f34c | [
"MIT"
] | permissive | MobioCrypto/MBO | 344cda9e68b9d5dc9d13717553f95340049dbd4a | 949f83bdde9815ab0beaf4a7cd28f2910b0c16f3 | refs/heads/master | 2020-04-14T21:14:15.128776 | 2019-01-04T15:13:35 | 2019-01-04T15:13:35 | 164,122,182 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,172 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The Mobio developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lic... | [
"46378708+MobioCrypto@users.noreply.github.com"
] | 46378708+MobioCrypto@users.noreply.github.com |
2974ec65b701f6453e7c3bba05a24728baca4ee1 | 1d9e60a377ce2b0b94234e90c3156f212f2a7e9b | /6/View/TestView3.cpp | e84f0d5a7859f250e17a6a21f7155f3ee1ab5414 | [] | no_license | seehunter/visual_c-_reff_skill_code | fd13ceec2c34bd827f2556638bbc190be46d9b93 | 1a99bd875c32a04cbcc07c785b61270821c58341 | refs/heads/master | 2020-04-09T21:28:33.030596 | 2018-12-06T01:59:25 | 2018-12-06T01:59:25 | 160,603,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,302 | cpp | // TestView3.cpp : implementation file
//
#include "stdafx.h"
#include "View.h"
#include "TestView3.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTestView3
IMPLEMENT_DYNCREATE(CTest... | [
"seehunter@163.com"
] | seehunter@163.com |
68a786df0a32d792caf12d12c952200e0a94b1ea | 3e8e42b902fc21d3d399260473990a186398f7c8 | /demo_ballDrop.cpp | 38743b11abe1e809440668fceaea4589603f9488 | [
"MIT"
] | permissive | melanz/demo-ball-drop | 23c0c08f19fc667f24c12329f492666624d950f6 | 2a9c54fa404d07a18ee8e60dd6867b0e6134a71a | refs/heads/master | 2016-09-11T08:53:14.758267 | 2013-11-19T21:25:21 | 2013-11-19T21:25:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,391 | cpp | #include "common/common.h"
template<class T>
void RunTimeStep(T* mSys, const int frame) {
// add code here that you want to execute at each timestep
}
int main(int argc, char* argv[])
{
bool visualize = true;
int threads = 8;
int config = 0;
real gravity = -9.81; //acceleration due to gravity
real timestep =... | [
"daniel.melanz@gmail.com"
] | daniel.melanz@gmail.com |
a15da5c234cabd47216481f6d1f733243f743d1f | fef98cc8ed59c2f13410f1c5ddc126cf08427a05 | /src/s2/s2shape_index.h | 9c9aecff1bc9139782a9d163be492d4769d15dae | [
"Apache-2.0"
] | permissive | romange/s2geometry | ac14ddf1f25e8cd1805521bfcaa2ed16224391d9 | 5c584fa3c3c1464dd9ce254e341857fbc9749bb4 | refs/heads/master | 2020-04-02T21:42:15.570372 | 2018-10-26T10:48:31 | 2018-10-26T10:48:31 | 154,808,921 | 0 | 0 | Apache-2.0 | 2018-10-26T09:17:39 | 2018-10-26T09:17:39 | null | UTF-8 | C++ | false | false | 29,323 | h | // Copyright 2012 Google Inc. 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... | [
"jmr@google.com"
] | jmr@google.com |
9670c329d495c468325bf30d85125fe95e61e512 | 3971983e59390620c53007c51774bb752f52ea34 | /The Ethereal Land/Animator.hpp | 327f1768ff08e7ae798ee261f2003530eb850dfa | [] | no_license | legalquentin/The-Ethereal-Land | b8e03a2779f1fccf6d462b0e603792ad2dd0a432 | 24a6d3c364855259a52a08603ccb6e2039e219b9 | refs/heads/master | 2021-01-11T16:50:20.525072 | 2017-01-24T20:25:18 | 2017-01-24T20:25:18 | 79,681,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,297 | hpp | //
// Utilities.hpp
// The Ethereal Land
//
// Created by Quentin Le Gal on 19/01/2017.
// Copyright © 2017 Quentin Le Gal. All rights reserved.
//
#pragma once
#ifndef Utilities_hpp
#define Utilities_hpp
#include <SFML/Audio.hpp>
#include <SFML/Graphics.hpp>
#include <stdio.h>
#include <string>
#include <list>
c... | [
"legal.quentin@gmail.com"
] | legal.quentin@gmail.com |
630ae6008d50b091b1df0b896a9d12f9064a2f98 | c6a6a000cd67f06f3a51d80b131b941df034b3c5 | /cmake-build-debug/controllers/controller_autogen/mocs_compilation.cpp | 04dad76c6821d4a0c5e3d31c268f3a57f2bc8ec7 | [] | no_license | eerimez/tf2blog | ff822aaf4e6ccdc17e23d3d4095d1bc6293103ef | f24f904742bc73af70fdf4f2666bd987c0fff6c5 | refs/heads/master | 2023-06-22T19:18:49.465478 | 2019-11-14T16:01:33 | 2019-11-14T16:01:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | cpp | // This file is autogenerated. Changes will be overwritten.
#include "EWIEGA46WW/moc_applicationcontroller.cpp"
#include "EWIEGA46WW/moc_blogcontroller.cpp"
| [
"john@qlcorp.net"
] | john@qlcorp.net |
ae24f38fa3fe353d94fef7f5eaccec1dc183adeb | 07e6fc323f657d1fbfc24f861a278ab57338b80a | /cpp/apps/SailWar_Multi/test_buoyancy.cpp | 5236114579e2dee2c83861a754db8b013c2d63b6 | [
"MIT"
] | permissive | ProkopHapala/SimpleSimulationEngine | 99cf2532501698ee8a03b2e40d1e4bedd9a12609 | 47543f24f106419697e82771289172d7773c7810 | refs/heads/master | 2022-09-05T01:02:42.820199 | 2022-08-28T10:22:41 | 2022-08-28T10:22:41 | 40,007,027 | 35 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 5,028 | cpp |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <vector>
#include <algorithm>
#include <math.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include "Draw2D.h"
#include "fastmath.h"
#include "Vec2.h"
#include "VecN.h"
#include "PolyLinear1d.h"
#include "geom2D.h"
#include "Convex2d.h"
#i... | [
"ProkopHapala@gmail.com"
] | ProkopHapala@gmail.com |
2e23dff8a6768d1b86f704080adf4bbfcdf96dac | 489718e32bdcacf338e75630a2f7f75ac6668c72 | /freeglut project 3D/Llanta.h | aebdb706ce9d9b9060331df990c51ca41976a44c | [] | no_license | antoniofmp/snowman_graphics_freeglut | 7697efb3de2d252da6f1f59551a378b7e3558f6d | 200cdff6aa9e8391d9c1017db69a4e294d3975f5 | refs/heads/master | 2022-04-18T16:02:11.586081 | 2020-04-20T06:45:40 | 2020-04-20T06:45:40 | 257,185,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | h | #include <GL/glut.h>
#include <Windows.h>
#include <gl/GL.h>
#include <gl/GLU.h>
#include "Objeto3D.h"
class Llanta : public Objeto3D{
public:
GLUquadricObj* llanta1; //objeto para el tronco
//constructor y destructor
Llanta();
~Llanta();
void dibuja(); // para dibujar en el main.cpp
}; | [
"antoniofmp@gmail.com"
] | antoniofmp@gmail.com |
100fef3e9043d31ccfc50426905e45f2db7603e3 | adbc979313cbc1f0d42c79ac4206d42a8adb3234 | /Source Code/李沿橙 2017-10-3/competition/source/武汉 张志立/ping.cpp | 1105775fd0736067206416af585cca5e7511f1ee | [] | no_license | UnnamedOrange/Contests | a7982c21e575d1342d28c57681a3c98f8afda6c0 | d593d56921d2cde0c473b3abedb419bef4cf3ba4 | refs/heads/master | 2018-10-22T02:26:51.952067 | 2018-07-21T09:32:29 | 2018-07-21T09:32:29 | 112,301,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934 | cpp | #include<iostream>
#include<cmath>
#include<cstdio>
#include<cstring>
using namespace std;
int i,j,k,m,n,a,b;
int l[17][17];
int u[115],v[115];
int bb[115][17];
int bj[115],sum[17];
int ans[17];
int z[17],zb[17];
void dfs(int a,int b,int s)
{
if(a==b) for(j=1;j<=s-1;j++) bb[i][z[j]]=1;
else
for(int j=1;j<=n;j++)
{
... | [
"lycheng1215@sina.com"
] | lycheng1215@sina.com |
b622a008327566766728831d4d586f9e17b3bd43 | bf4ebb891673e4d2345ba08ede6ef7a99dced447 | /work/DCMConverter/DCMConverter.cpp | 9c68f3c860a13eae1a3b418ad7f8b99d33b8f662 | [] | no_license | pglen/xraynotes | 1fc500da9d8ba5584bbf0024028ee273971bf51c | 2cb7f1fda78a03e4c98a1f8aa1d8ee27f113b340 | refs/heads/master | 2021-01-22T01:19:19.821846 | 2017-09-02T20:20:42 | 2017-09-02T20:20:42 | 102,216,286 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,076 | cpp | // DCMConverter.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "DCMConverter.h"
#include "DCMConverterDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
////////////////////////////////////////////////////////////////////////... | [
"peterglen99@gmail.com"
] | peterglen99@gmail.com |
c826bf28c8ab91fc630079e56d17fe757372d095 | 485faf9d4ec7def9a505149c6a491d6133e68750 | /include/inv/misc/SoCallbackList.H | 49c00bd0704d957f777422c10428c84c4f2741dc | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | ohlincha/ECCE | af02101d161bae7e9b05dc7fe6b10ca07f479c6b | 7461559888d829338f29ce5fcdaf9e1816042bfe | refs/heads/master | 2020-06-25T20:59:27.882036 | 2017-06-16T10:45:21 | 2017-06-16T10:45:21 | 94,240,259 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,484 | h | /*
*
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opti... | [
"andre.ohlin@umu.se"
] | andre.ohlin@umu.se |
13b91595037516a63606a6253ab2c79bbc7784af | 8c13b36ed2760ac3397df16ae877af22561fd567 | /server-streaming/src/services/protocols/audio_frame_protocol.h | 674555846228ddc3a7999e239a9ffe1afed99a03 | [] | no_license | vietanhdev/gict-meeting | f30e0ea1825c88a693c8b08d595c2c8de0e68ab0 | b04c23edade48928078eeac06871bbbf1ddd50e8 | refs/heads/master | 2021-11-23T23:31:29.445715 | 2021-10-21T15:22:39 | 2021-10-21T15:22:39 | 175,574,112 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | h | // The basic protocol transmits raw, uncompressed audio frames only. This is
// the most basic audio protocol.
#ifndef AUDIO_FRAME_PROTOCOL_H
#define AUDIO_FRAME_PROTOCOL_H
#include <vector>
#include "protocol.h"
#include "conference.h"
#include "message_type.h"
class AudioFrameProtocolData : public ProtocolData {
... | [
"vietanh@vietanhdev.com"
] | vietanh@vietanhdev.com |
625dcbcf7405cf2e5619071efb249cd291940f54 | 137352bada7bf748ad197657f53361015fdb05d2 | /C++/OpenGL/Program 6 - Creature Watcher/Team Final/ParticleEngine.h | 08c4a31d51691c639ad1ad6da44b48e3afc109bf | [] | no_license | ryanpsloan/cnm | 7b25cb32debfa728b9d90933ce6bcb46afbfe516 | 6b22a43bf4386b148f3ecd12dfa436ff44aceeca | refs/heads/master | 2020-04-20T12:50:48.114979 | 2014-11-22T02:09:17 | 2014-11-22T02:09:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | h | //Ryan Sloan
//Particle Definition for Particle Engine
// - SloanP6 -
//OpenGL
//CIS 2270
//rsloan2@cnm.edu
#include <windows.h> // Must have for Windows platform builds
#include <gl\gl.h> // Microsoft OpenGL headers (version 1.1 by themselves)
#include <gl\glu.h> // OpenGL Utilities
#include <gl\glut.h>
#includ... | [
"ryansdeal@hotmail.com"
] | ryansdeal@hotmail.com |
5b6ff2becb92f949ddec8da25b29af4ec88f092a | 20d129f8b674c47cd32947bf7b14a4287cfb543d | /t1/t1/t1.cpp | b54293b5e2dd96227dbed99f211af117785b9e32 | [] | no_license | OwenKDuffy/CompArch2 | 6ef1ab6bd236ee06702328b5f63eb0c02c167724 | 9652f1ebe37d1a1349ff9dc4dc4e0e84758eb71c | refs/heads/master | 2020-03-29T22:18:52.789410 | 2018-11-29T20:02:25 | 2018-11-29T20:02:25 | 150,413,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121 | cpp | // t1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int main()
{
return 0;
}
| [
"duffyow@tcd.ie"
] | duffyow@tcd.ie |
02155096aa0523182361edaa5f6064cef3338934 | 13e15674dffc2a3d7feb0cfa879d4ed201d1996c | /Engine/Entity.h | d1a156de02a2db84a5a28a8dd4fc583812e9b166 | [] | no_license | SreeDev-4522/PooGame | 3097a0efd749da9d77bcfe64c5560beaec206de6 | 737c72b7a8b83a61aba10821df5cd9526fc81906 | refs/heads/master | 2022-12-14T00:52:31.241281 | 2020-08-10T13:59:23 | 2020-08-10T13:59:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | h | #pragma once
#include "Graphics.h"
#include "Vec2D.h"
class Entity
{
public: // Data Members
Vec2D coordinate; // Top Left Coordinates of the object
Vec2D velocity; // Velocity of the object
int r = 255, g = 255, b = 255; // Colour of the object
int width;
protected: // Member Functions
public:
Entity() = delete... | [
"shubh.agarwal@live.com"
] | shubh.agarwal@live.com |
891d20af6c4ce3e83c62f106f79eab371e8e4610 | fdec81cec63805cdcedef2d5b93274e13be2e9b7 | /src/TopDileptonPlots_t.cpp | 0e1daee903ed85b3b46cd5d06d4acf8194579381 | [] | no_license | ddboline/top_dilepton_me | 15c54ddb5e455d847eb6d55481a73d13b5b62827 | e80a78d0297882f15adc20cc45f37c1d679c64ac | refs/heads/master | 2016-09-08T01:52:26.053371 | 2015-09-09T13:53:42 | 2015-09-09T13:53:42 | 25,307,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79 | cpp | #include "top_dilepton_me/TopDileptonPlots.hpp"
int main()
{
return( 0 );
}
| [
"ddboline@gmail.com"
] | ddboline@gmail.com |
ef3339ce56775b3efc8cee64a14f3d6d407eddd6 | a52e5bf6bf2340e238655e914ab7947b4b601a7b | /Source1.cpp | 83976bf41a16b0742036a20bffad47d17783e470 | [] | no_license | MahiPalihawadana/DIP | 4dca78a979f429a5f68ebd2621a8c8fc7a84f836 | af4852c9bbabf7c7f5b5ca0463a09ead39b2774c | refs/heads/master | 2023-06-15T08:22:35.630941 | 2021-07-14T04:00:27 | 2021-07-14T04:00:27 | 385,145,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include "cv.h"
#include "highgui.h"
int main(int argc, char* argv[]) {
IplImage* img;
img = cvLoadImage(argv[1], CV_LOAD_IMAGE_COLOR);
if (!img){
printf("Could not load image file: %s\n", argv[1]);
return -1;
}
cvNamedWindow("Image");
cvShowImage("Image", img);
cvWaitKey(0);
cvDestroyWindow("Image");
cvR... | [
"dilkipalihawadana95@gmail.com"
] | dilkipalihawadana95@gmail.com |
998192cfab85600fec504fdda2aa0d097b28c92b | 18e9db71a0e207dbc7654135123bceaa7b3339e4 | /6.学习文档/1.c++/note-master/C++/stlbookcode/c1/1config3.cpp | e322471e50d166c9ec37445c339ef06a1ddfb4b5 | [] | no_license | TheIslland/learning-in-collegelife | 358490cc74914b87d4d626a6485c2fe1ff06462f | 1794e18addfd05e32cf8108895ac1585586394e1 | refs/heads/master | 2021-07-08T00:51:00.908370 | 2020-07-11T01:04:35 | 2020-07-11T01:04:35 | 144,252,958 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 984 | cpp | //file:1config3.cpp
//测试在class template中拥有static data members
//test __STL_STATIC_TEMPLATE_MEMBER_BUG,define in <slt_config.h>
//
//编译器:clang-800.0.42.1
#include <iostream>
using namespace std;
template <typename T>
class testclass
{
public:
static int _data;
};
template<> int testclass<int>::_d... | [
"861436930@qq.com"
] | 861436930@qq.com |
ade2d710441e51117d4cda6287595e2431add6ab | 688cd6b75839ba98141d0aa089d1dee28f2a0c77 | /C/ACM/51Nod/1283 最小周长.cpp | a8d0efe83457cc5130fc59ecedfdbe030fa181ad | [] | no_license | chenwei182729/code | c3e1208264e96c3146c8b6e4044eaed12fd269b3 | ac9c81da6c010bd134d61127d72ea5a8e651f17d | refs/heads/master | 2020-06-30T20:36:35.557266 | 2016-12-02T12:40:52 | 2016-12-02T12:40:52 | 74,349,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | #include<iostream>
#include<cmath>
#define LOCAL
using namespace std;
int main()
{
#ifdef LOCAL
freopen("1283.in","r",stdin);
freopen("1283.out","w",stdout);
#endif
int S=0,r=0,d=0,tmp=0,sum=0;
cin>>S;
r=sqrt(S);
for(d=0;d<=r;d++)
{
tmp=S%(r+d);
if(tmp==0)
{
tmp=S/(r+d);
break;
}
}
cout<<"... | [
"chenwei182729@163.com"
] | chenwei182729@163.com |
4c2155ebf483ddc9998f5d15c511a4e0e755f523 | 7a92206984e9007948afaa363adbb95c06897a74 | /demo/CppBaseTest/for_each.cpp | 04126544ad0eba8a611ef9e39b73fa7afdfb08f9 | [] | no_license | fengbingchun/Messy_Test | 6a801414a36581bce16edbde122b66ac86b57ddb | b55fcfc4b8adc538f9ac70bf78aa391a50b20241 | refs/heads/master | 2023-06-26T18:07:59.679346 | 2023-06-22T06:23:16 | 2023-06-22T06:23:16 | 55,020,860 | 305 | 171 | null | null | null | null | UTF-8 | C++ | false | false | 6,217 | cpp | #include "for_each.hpp"
#include <iostream>
#include <algorithm> // for_each
#include <vector>
#include <string>
// Blog: http://blog.csdn.net/fengbingchun/article/details/52294862
////////////////////////////////////////////
// reference: http://en.cppreference.com/w/cpp/algorithm/for_each
struct Sum {
Sum() : sum{... | [
"fengbingchun@163.com"
] | fengbingchun@163.com |
3e1e2703eb02c45bd645857184b5f8947c576b68 | 5d07b105147d5f20ad67f8c15f2670e98ed4430c | /MakerbotFEMSim/MakerbotFEMSim/BaseStepper.cpp | 1bb9a29388f6c5ba03512c1df35bb50b011c899d | [] | no_license | arjunnar/MakerbotFEMSim | da5bd11288aeb5abffd4311a4a04a8fc9f1d4b51 | 3a34537ae2eea8a2e3a505049e6de3d8e809404b | refs/heads/master | 2021-01-19T11:43:11.514497 | 2014-05-15T16:59:56 | 2014-05-15T16:59:56 | 18,683,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 98 | cpp | #include "BaseStepper.h"
BaseStepper::BaseStepper(ElementMesh * mesh)
{
this->mesh = mesh;
}
| [
"lusmyk@mit.edu"
] | lusmyk@mit.edu |
ee10046512f27f145ea15f948c5d9d98c9ed003e | 4be1e4021a834f7996765a14e91e0f7f41f273d9 | /nn.h | 12f593cb48b92b6c291e99a736e679d4dd8c53c6 | [] | no_license | wolverineq/nn | bdad1bcddf90aef279478268430afc21d69a4676 | 6798a7688a27ff17379be5114e34d80670b2dd19 | refs/heads/master | 2021-05-14T19:22:57.678863 | 2017-12-20T23:26:47 | 2017-12-20T23:26:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,325 | h | #ifndef NN_H
#define NN_H
#include "autodiff/autodiff.h"
#include "nn/tensor-tree.h"
namespace nn {
struct pred_nn_t {
std::shared_ptr<autodiff::op_t> logprob;
};
pred_nn_t make_pred_nn(std::shared_ptr<tensor_tree::vertex> var_tree,
std::shared_ptr<autodiff::op_t> input);
std::share... | [
"haotang@ttic.edu"
] | haotang@ttic.edu |
f46e47cb980b3ddf8d23349c84731b35c6f98546 | 31589435071cbff4c5e95b357d8f3fa258f43269 | /PPTVForWin8/ppbox_1.2.0/src/p2p/server_mod/ImageServer/SessionManager.cpp | c7fe04c0f3d5adb816373d443ac63b344666bc94 | [] | no_license | huangyt/MyProjects | 8d94656f41f6fac9ae30f089230f7c4bfb5448ac | cd17f4b0092d19bc752d949737c6ed3a3ef00a86 | refs/heads/master | 2021-01-17T20:19:35.691882 | 2013-05-03T07:19:31 | 2013-05-03T07:19:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | cpp | #include "Common.h"
#include "SessionManager.h"
SessionManager::SessionManager(void)
{
}
SessionManager::~SessionManager(void)
{
}
| [
"penneryu@outlook.com"
] | penneryu@outlook.com |
9beb862bccf152dc83f12ef1e1a4964b5747135f | f856ad2e96263a38a6c717eca995f8a3f66b3f2f | /tools/compiler/dr/src/parse/parse.cc | a4fbbe36d486aea09de9a19dd84a4538f7d5c8e8 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | permissive | xiake-1024/Pebble | befaee5868905fb804c50d895e80d3489d464200 | 283310f67f5b30adaed5a21df97f706560b3617f | refs/heads/master | 2022-12-09T14:24:51.785830 | 2020-09-26T03:05:05 | 2020-09-26T03:05:05 | 296,327,254 | 0 | 0 | NOASSERTION | 2020-09-17T13:00:05 | 2020-09-17T13:00:04 | null | UTF-8 | C++ | false | false | 1,403 | cc | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | [
"chexiongsheng@qq.com"
] | chexiongsheng@qq.com |
359c2a1c8c28166d04a89e9b01dfaceabaffca83 | 1b547e4ff87c7c4f4fe0acd9b45a714455b14fa3 | /opencv/opencv/源.cpp | 92635240d4365bc14ae5227e6906536ec4729e88 | [] | no_license | wisdombyzf/opencv | fff34ba6cda7c8b9974015ebf965c0b0d79e13a1 | bfb443b4a68175c8c0a45bcc8559a4ac185a8128 | refs/heads/master | 2021-05-07T15:44:00.320417 | 2017-10-28T06:17:54 | 2017-10-28T06:17:54 | 108,533,841 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 780 | cpp | /*
调用nameWindow函数和imshow函数,显示出两个窗口时将debug模式改为release模式即可
*/
#include<iostream>
#include<opencv2\core.hpp>
#include<opencv2\highgui\highgui.hpp>
#include<opencv2\opencv.hpp>
#include<opencv2\objdetect.hpp> //物体侦测头文件
#include<opencv2\imgproc.hpp>
#include"简单图形绘制.h"
#include"GUI设置.h"
#include"基本操作.h"
#include... | [
"781516223@qq.com"
] | 781516223@qq.com |
41bf5407560de6e585090d8036011a163547c4a5 | 147ca0f5523e06c012a60d8b388fa53489d5d570 | /codejam/nested.cpp | dad21d9081e2d9b40a3f5553d621fe715c80defc | [] | no_license | Shubhamsk1/cp | f24b2dd532f8b14d533e9bd4e359e1ae9ea574a4 | 26380d2439a14b70c798fb742f1bc1891bc3fe43 | refs/heads/main | 2023-05-28T21:39:50.220206 | 2021-06-14T04:11:29 | 2021-06-14T04:11:29 | 372,040,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | #include<bits/stdc++.h>
#include <string>
using namespace std;
string nested(string arr,string curstring,int open, int close,int max)
{
if(max==1)
curstring+("("*arr[max-1])+arr[max-1]+(")"*arr[max-1]);
}
int main()
{
int t;
cin>>t;
while(t--)
{
queue<char> q;
string arr;
... | [
"shubahmsk1@gmail.com"
] | shubahmsk1@gmail.com |
4b12dad2811a3e0aff49ee9e1bfa88930ff910be | b25b72c9728e772e1d9ec5bbfbd6a730251a600a | /src/brisk_descriptor.h | 47db2d40672d404c6f3cce68ff70fe1403a4fce1 | [] | no_license | powei-lin/vfx2017panorama | 85d0ea6f8d5ef48a246b3bdc2f720eb3f515efc3 | 44adb92976416f7aeb464cd7fefc0a2f2796d830 | refs/heads/master | 2021-11-06T12:44:40.438525 | 2017-05-14T14:30:18 | 2017-05-14T14:30:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | h | #ifndef BRISK_DESCIPTOR_H
#define BRISK_DESCIPTOR_H
#include "opencv2/imgcodecs.hpp"
#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
#include <opencv2/highgui.hpp>
#include <opencv2/opencv.hpp>
#include <iostream>
#include <string>
#include <vector>
#include <cmath>
struct pt_pair{
cv::Point2f start... | [
"b01501122@ntu.edu.tw"
] | b01501122@ntu.edu.tw |
2cb20a03e31bdc449a4478f6b8d902fb7ad0e6b8 | fb45d4c91a45a94405794b4f52437a26733a8e7a | /game/src/main/jni/Socket.cpp | c44743c3f8a7a3081de8bc7abd6dc6c4893d83d5 | [] | no_license | hockey92/platformer | be15408ed1d5d49c7eac776a1bbb1b24583a15eb | a0af47a406b11315781cb94b89dd5d7a3cdbb6d8 | refs/heads/master | 2020-04-11T09:56:32.869171 | 2016-11-20T07:56:17 | 2016-11-20T07:56:17 | 68,041,156 | 0 | 0 | null | 2016-09-18T16:38:54 | 2016-09-12T19:35:13 | C++ | UTF-8 | C++ | false | false | 1,332 | cpp | //
// Created by qwerty on 29.10.16.
//
#include "Socket.h"
bool Socket::open(unsigned short port) {
handle = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
if (handle <= 0) {
printf("failed to create socket\n");
return false;
}
sockaddr_in address;
address.sin_family = AF_INET;
a... | [
"shibachel@gmail.com"
] | shibachel@gmail.com |
d0607e78cbe0c52cf834d480ec8d46f8dd3b0b4b | af21eb6ee11e0506a879a34774e19f8d89ce4c27 | /WS08/lab/Line.h | 967eae72afbd524372132be79c627ea7abef9e2c | [] | no_license | Genne23v/myOOP244_Workshop | ecef307ef98c7049e9eae05783af396a06e58b93 | 3a7d8fb6e294e1ec5aebf5d66edacd54c2a9b8f9 | refs/heads/main | 2023-07-06T18:16:14.605906 | 2021-04-08T02:11:54 | 2021-04-08T02:11:54 | 336,471,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | h |
/**********************************************************
* Name: Wonkeun No
* Student ID: 145095196
* Seneca email: wno@myseneca.ca
* Section: NGG
**********************************************************/
#ifndef __LINE_H__
#define __LINE_H__
#include <iostream>
#include "LblShape.h"
namespace sdds
{
class Lin... | [
"59734889+Genne23v@users.noreply.github.com"
] | 59734889+Genne23v@users.noreply.github.com |
a539831d4e223f8f630e14e94cdf876fef28f76b | 4e04b0940d62d55283ec0d163b189f94d77dccd7 | /src/share/vm/oops/annotations.cpp | 19dcc755e5e15c0d263cc0bea68c0a740edfcfbc | [] | no_license | lightvelocity/cpp_jvm8 | bd51ac0247123c759e8b657f22928e6f64362ac2 | f464d5cf03291f92d13858cfbe3e45b7ce389906 | refs/heads/master | 2021-09-05T05:20:06.182196 | 2018-01-24T10:41:25 | 2018-01-24T10:41:25 | 115,502,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,375 | cpp | /*
* annotations.cpp
*
* Created on: 2018年1月18日
* Author: limaozhi
*/
// OK
#include "precompiled.hpp"
#include "classfile/classLoaderData.hpp"
#include "memory/heapInspection.hpp"
#include "memory/metadataFactory.hpp"
#include "memory/oopFactory.hpp"
#include "oops/annotations.hpp"
#include "oops/instance... | [
"hzlimaozhi@gmail.com"
] | hzlimaozhi@gmail.com |
b0c280dcfa6f9948f53a426f8f6828ade5991daf | 8077ae53610c54d4c97f49c22f35353e01eb9843 | /Engine/src/Graphics/RenderingEngine.h | b66e0ac11bb72a0ce194a25689b8c162273e3750 | [] | no_license | Paolo5150/397Project | 6fc3cab18526ab5d27e134f3b08afc818ab212fe | 2324941d0110c264e230c2676f4cb2c4b866a44b | refs/heads/master | 2022-01-11T19:51:21.785897 | 2019-05-30T13:43:56 | 2019-05-30T13:43:56 | 173,710,285 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,948 | h | #pragma once
#include "GL/glew.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include "..\Core\Application.h"
#include "..\Components\Renderer.h"
#include <map>
class FrameBuffer;
/**
* @class RenderingEngine
* @brief Manages renderer and rendering mechanics
*
* @author Paolo Ferri
* @version 01
... | [
"p.ferri1986@gmail.com"
] | p.ferri1986@gmail.com |
8cfd0ba177e979a1f9a3a735080cf07631c070b2 | a9adbed43b238da95b003c1c9a6a52e15f996210 | /Source/TBS/Private/Grid/TBSGridPathRenderer.cpp | fefdd3eb73613c1df4b8c7fcbecb1e0720d083de | [] | no_license | idleplaythings/tbs | 765ed5933e598df53a774bd0df514b8720565288 | 4a6a0ccb08138db53e7c288facdc285d913a7186 | refs/heads/master | 2021-03-24T11:42:51.489773 | 2016-10-06T10:40:04 | 2016-10-06T10:40:04 | 46,412,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,202 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "TBS.h"
#include "TBSGridPathRenderer.h"
// Sets default values
ATBSGridPathRenderer::ATBSGridPathRenderer()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
P... | [
"niko@nevala.fi"
] | niko@nevala.fi |
95b42466d66ebab568bedabb1c5eb82385622703 | 963118795aaf7b70bc817b6d4428783d1a3c9f05 | /Water-3D-simulation/Content/Sample3DSceneRenderer.cpp | 4674a28d708d138f906f71c00a4ec6c5bba36cc9 | [] | no_license | idomaz00/DirectX11-3Dsimulation | 93d4bb5d57171029b9d757fa3e2d47c733b9cb69 | daa3a8e7f0188a79508e23f30bdb713ee5955d80 | refs/heads/master | 2020-05-29T09:16:30.613656 | 2016-09-28T18:17:12 | 2016-09-28T18:17:12 | 69,491,181 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,768 | cpp | #include "pch.h"
#include "Sample3DSceneRenderer.h"
#include "..\Common\DirectXHelper.h"
using namespace Water_3D_simulation;
using namespace DirectX;
using namespace Windows::Foundation;
// Loads vertex and pixel shaders from files and instantiates the cube geometry.
Sample3DSceneRenderer::Sample3DSceneRenderer(c... | [
"v-izabela.domazet@dump.hr"
] | v-izabela.domazet@dump.hr |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.