blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
911c5bc19d5b1080ef90fb9c28dcbeb394ab35d2 | 13bfcfd7492f3f4ee184aeafd0153a098e0e2fa5 | /Kattis/quickestimate.cpp | 31d2c1ccf9a44f3fa4bc716eece97538b6a4481b | [] | no_license | jqk6/CodeArchive | fc59eb3bdf60f6c7861b82d012d298f2854d7f8e | aca7db126e6e6f24d0bbe667ae9ea2c926ac4a5f | refs/heads/master | 2023-05-05T09:09:54.032436 | 2021-05-20T07:10:02 | 2021-05-20T07:10:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include<iostream>
using namespace std;
int main(){
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
string a;
cin>>n;
while(n--){
cin>>a;
cout<<a.size()<<'\n';
}
return 0;
} | [
"froghackervirus@gmail.com"
] | froghackervirus@gmail.com |
953737bde45651fbba0aaa535f6c92cf4f670496 | 3bbe06642f31145e5172c94b92f204261ea510ba | /TornadoEngine/Source/Developer/ShareDev/Adapters/AdapterSoundEngine.cpp | a3db27911df42fbddb1394574cb8a585bc5eb25f | [] | no_license | xJayLee/MMO-Framework | 82061fce005a613fd8e685c8056882bc63db41cf | bf024d1265712e784d247883965c5bbbf43c3599 | refs/heads/master | 2021-05-29T18:12:13.845027 | 2015-01-16T20:59:30 | 2015-01-16T20:59:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | /*
Author: Gudakov Ramil Sergeevich a.k.a. Gauss
Гудаков Рамиль Сергеевич
Contacts: [ramil2085@mail.ru, ramil2085@gmail.com]
See for more information License.h.
*/
#include "AdapterSoundEngine.h"
AdapterSoundEngine::AdapterSoundEngine()
{
}
//----------------------------------------------------------------------
A... | [
"ramil2085@mail.ru"
] | ramil2085@mail.ru |
cdf81bf63d2da602e6de8925a3439d07eb248eb9 | 93294d148df93b4378f59ac815476919273d425f | /src/Lib/steam/isteamugc.h | 4a7d2964b66dd427ab4869f7ed9678240a8f854f | [
"MIT"
] | permissive | FreeAllegiance/Allegiance | f1addb3b26efb6b8518705a0b0300974820333c3 | 3856ebcd8c35a6d63dbf398a4bc7f0264d6c823c | refs/heads/master | 2023-07-06T17:53:24.363387 | 2023-06-29T00:24:26 | 2023-06-29T00:24:26 | 98,829,929 | 86 | 34 | MIT | 2023-06-28T03:57:34 | 2017-07-30T23:09:14 | C++ | UTF-8 | C++ | false | false | 28,116 | h | //====== Copyright 1996-2013, Valve Corporation, All rights reserved. =======
//
// Purpose: interface to steam ugc
//
//=============================================================================
#ifndef ISTEAMUGC_H
#define ISTEAMUGC_H
#ifdef _WIN32
#pragma once
#endif
#include "isteamclient.h"
// callbacks
#if d... | [
"nick@zaphop.com"
] | nick@zaphop.com |
f507e5bb6456db79a6576bd6e0f0b279958179ec | b24c8b02807377cdc70ba226f275cf738aba2220 | /Module04/ex03/IMateriaSource.hpp | cb489072f45c4dfecc9140805459b380fe998a12 | [] | no_license | Saadelfadil/Cplusplus | a619708999a5cab0c50d33b5be3318e6c6409b39 | 99121d3cff2a914c418d7b5ca66ed8f6d7a65f4f | refs/heads/main | 2023-08-25T02:46:40.542522 | 2021-10-05T19:50:08 | 2021-10-05T19:50:08 | 352,775,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,277 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* IMateriaSource.hpp :+: :+: :+: ... | [
"saadelfadil18@gmail.com"
] | saadelfadil18@gmail.com |
18263d045d8d89d8876f872b98a7fae8c22bf887 | 401852dcbbabb0c1efd168d24dfdc5e265dc3148 | /stack/deleteMiddle.cpp | 05ebd4af42770c7fdb11243710f7fae6e161f373 | [] | no_license | radhikaarajput/Competitive_Programming | 85090db5d26cb6c5fa4e9cbd3e6482c818127894 | f974efa92972b4f992cb5c6f778c669016b00ca8 | refs/heads/master | 2023-06-10T08:23:59.419847 | 2021-06-22T13:28:53 | 2021-06-22T13:28:53 | 370,107,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 863 | cpp |
#include <iostream>
#include<cmath>
#include <stack>
using namespace std;
/*
Approach use a recusive fn
pop all elememts in stack and store them in a variable
call recusive f till all elemenst pop cout
push all ements in stack again (x) except the middle eleemnts i.e. (n+1)/2
*/
void del_mid(stack<int>s,... | [
"rajputradhika20177@gmail.com"
] | rajputradhika20177@gmail.com |
3071ab018fc7cab0d27b196e368b128e501da2fd | 19eb97436a3be9642517ea9c4095fe337fd58a00 | /private/inet/mshtml/btools/pdlparse/pdlparse.hxx | ad969645a6260ebfb535250e0357a6088dacb4a9 | [] | no_license | oturan-boga/Windows2000 | 7d258fd0f42a225c2be72f2b762d799bd488de58 | 8b449d6659840b6ba19465100d21ca07a0e07236 | refs/heads/main | 2023-04-09T23:13:21.992398 | 2021-04-22T11:46:21 | 2021-04-22T11:46:21 | 360,495,781 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,823 | hxx | #define COLLECT_STATISTICS 0 // Set to 1 to enable statics gathering
extern const char *rgszCcssString[];
#define CCSSF_NONE 0 // no flags
#define CCSSF_CLEARCACHES 1 // clear the caches when changing
#define CCSSF_REMEASURECONTENTS 2 // need to resize site after c... | [
"mehmetyilmaz3371@gmail.com"
] | mehmetyilmaz3371@gmail.com |
a50d12719ee5879ff038e0ff9d007602aadb8aa8 | 8565325365db437120a4ae8b97f2919e362be8a6 | /Baekjoon/Graph/14502/14502.cpp | a6a235f5a47356f64bfef89e88caf82423e5a875 | [] | no_license | FacerAin/Algorithm-Study | 31e56ea9ba01cff0fb27211b62d6665f1620dbb5 | ad7474c72d8a6c83a15880b86e931ac6f03893fd | refs/heads/master | 2021-07-24T00:53:10.022607 | 2021-07-03T14:37:48 | 2021-07-03T14:37:48 | 194,530,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,727 | cpp |
//14502번 연구소
#include <iostream>
#include <queue>
#include <utility>
#include <algorithm>
using namespace std;
int wall_cnt = 0;
int dy[4] = {1,-1,0,0};
int dx[4] = {0,0,1,-1};
int map[10][10];
int temp[10][10];
int check[10][10];
int N, M;
int ans;
queue<pair<int,int>> init_q;
queue<pair<int,int>> q;
void copyMap... | [
"ywsong.dev@kakao.com"
] | ywsong.dev@kakao.com |
b2b3f58f03f145868b41873e2de73f03fd969173 | 3af68b32aaa9b7522a1718b0fc50ef0cf4a704a9 | /cpp/D/E/C/E/C/ADECEC.h | 2690b682817f3caaa2ed7b19733f8781ab175d6b | [] | no_license | devsisters/2021-NDC-ICECREAM | 7cd09fa2794cbab1ab4702362a37f6ab62638d9b | ac6548f443a75b86d9e9151ff9c1b17c792b2afd | refs/heads/master | 2023-03-19T06:29:03.216461 | 2021-03-10T02:53:14 | 2021-03-10T02:53:14 | 341,872,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67 | h | #ifndef ADECEC_H
namespace ADECEC {
std::string run();
}
#endif | [
"nakhyun@devsisters.com"
] | nakhyun@devsisters.com |
f03ccfa02b8512af10704fcb8e3c595e935c276e | 56ac25837e47a1fde7a76750a5b2b6dddd48989e | /NewSuperMarioBrosPC/MarioState.cpp | d795a699da20855b6da77e7e791dcc9e516980b7 | [] | no_license | TranAnhMinh/NewSuperMarioBrosPC | 1c0a459a3f719c148dc8a9cda5b69be61c5e4f16 | d82eb4a48831fb5be401d7f2bad95cb5feb224fa | refs/heads/master | 2021-01-23T02:05:21.421693 | 2015-11-27T14:40:15 | 2015-11-27T14:41:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,692 | cpp | #include "MarioState.h"
#include "MarioObject.h"
#include <string>
using namespace std;
//================STATE====================
void MarioState::onAPress(){
//do nothing
}
void MarioState::onBPress(){
//do nothing
}
void MarioState::onCollision(Object* ob){
// do nothing
}
string MarioState::getName(){
retu... | [
"whitefang.tcotw@gmail.com"
] | whitefang.tcotw@gmail.com |
0358e12e39d57d6d5629c4e270cac5dbf01b5628 | 87ccab055884dace36a74d530790e70011b764d2 | /a.2.7/a.2.7/main.cpp | 0e3a92a024db741a4d7d94c7f81a1b090bd9d504 | [] | no_license | matricir/ADS2020 | 70b841caca0bfe55baab81593440ad4d5716d7eb | cc8ca1d2cf0a2307d4b3283de4ea4e553f656341 | refs/heads/master | 2022-04-13T14:31:48.907499 | 2020-02-23T22:07:15 | 2020-02-23T22:07:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | cpp | //
// 7.cpp
// Assignment2
//
// Created by Luis Alberto Perez on 2/17/20.
// Copyright © 2020 Luis Alberto Perez. All rights reserved.
//
/*
//If this shows up as copied I got this from myself as I am retaking this course
CH08-320143
a2 p7.cpp
Luis Alberto Perez
l.perezoteiza@jacobs-university.de
*/
#include <iost... | [
"noreply@github.com"
] | matricir.noreply@github.com |
f99cc9e3dc05b4f41841d7d2a74d34cb2abc2e67 | a2c3b3126cb130b3c6f498b674919fcff81752df | /include/entradas.hpp | e35ccd102a8bf1a5229a82b0a9823d8189e9829d | [] | no_license | DinoMah/PrimalPikachusDrugStore | 78f88dfe27195c3d7fabf9376bda3dad21b27f46 | 06b14091a96425aefa8f7aacda848cda20526271 | refs/heads/master | 2022-12-31T14:45:24.333088 | 2020-10-16T18:47:30 | 2020-10-16T18:47:30 | 300,769,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 117 | hpp | #ifndef ENTRADAS_H
#define ENTRADAS_H
#include "../src/objeto.cpp"
void entradas( objeto & );
#endif // ENTRADAS_H | [
"leithonpeas@hotmail.com"
] | leithonpeas@hotmail.com |
48db3b06d5004c4e32604543a7f63aff01784031 | 330030bc578ce17ab3f795ded8060c5834aba601 | /lower_or_upper.cpp | 66bd55e15dc2c5e97fbd2d3541c6f42376ff680e | [] | no_license | pravinkumarkg/basic_programs_part1 | 6efcd0baa3ad34d1fa9a83377e2c120ba9827440 | cddc58b780258f90d89f7ddfa0b46d3daed156c1 | refs/heads/master | 2020-07-07T12:30:06.975134 | 2019-09-07T07:27:14 | 2019-09-07T07:27:14 | 203,347,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | cpp | #include <iostream>
using namespace std;
int main() {
char ch;
cin>>ch;
if(ch>=97&&ch<=122)
{
cout<<"lowercase";
}
else
{
cout<<"uppercase";
}
return 0;
}
| [
"noreply@github.com"
] | pravinkumarkg.noreply@github.com |
30622cb6f82a7f1ab45cdc1fc54ebe068e48bb4a | add092c3d2998e666fb633e809903c11b6f8d7c0 | /Window.cpp | 1e9a02c946f5e77e24c6bbd9c477ac8c93b88802 | [] | no_license | rodreri/ProyectoPC-Grafica | f7cd263a23efc67b0f20c5757547e293881a26cc | 76c391c30c96adcae639bace86bd01471f04e583 | refs/heads/master | 2023-08-15T01:29:31.594628 | 2021-08-13T23:13:17 | 2021-08-13T23:13:17 | 389,838,608 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,343 | cpp | #include "Window.h"
Window::Window()
{
width = 800;
height = 600;
for (size_t i = 0; i < 1024; i++)
{
keys[i] = 0;
}
}
Window::Window(GLint windowWidth, GLint windowHeight)
{
width = windowWidth;
height = windowHeight;
muevex = 2.0f;
for (size_t i = 0; i < 1024; i++)
{
keys[i] = 0;
}
}
int Window::Initi... | [
"rodreri@gmail.com"
] | rodreri@gmail.com |
9781f8d6ddb220a928e80527e91f09e56c48ec47 | 2a4aeb44cb6609a3700787b902c1a265c5023a85 | /week4/rational_calculator.cpp | e1dc3190d0a3b60e724393232439d62453e2d103 | [] | no_license | RealAntonVoronov/coursera_cpp_white | 1c262bc4af9084c4dbf06e56df53f62d3a0a8016 | 943edd004f69f4126d39a2fe2442b7a7506328dd | refs/heads/master | 2023-08-21T02:39:21.363281 | 2021-09-22T12:11:32 | 2021-09-22T12:11:32 | 400,862,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,529 | cpp | #include <iostream>
#include "numeric"
using namespace std;
class Rational {
public:
Rational() {
p = 0;
q = 1;
}
Rational(int numerator, int denominator) {
if (denominator == 0) {
throw invalid_argument("Invalid argument");
} else {
int gcd = std::g... | [
"a.voronov3797@gmail.com"
] | a.voronov3797@gmail.com |
a6ddde2528d0dd1a69cb6a23689d0fe391e4b602 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/Profile/UNIX_Profile_LINUX.hxx | ca28052bce17b2e492883dfe91186bced7aea68e | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | hxx | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
a4a59e07f795395c9658f02199c57c9b65eaec10 | c9ea4b7d00be3092b91bf157026117bf2c7a77d7 | /深度优先搜索初步/P1219.cpp | 7e1d70ac0f33adc9b2fef59e0cad5b1ea294954e | [] | no_license | Jerry-Terrasse/Programming | dc39db2259c028d45c58304e8f29b2116eef4bfd | a59a23259d34a14e38a7d4c8c4d6c2b87a91574c | refs/heads/master | 2020-04-12T08:31:48.429416 | 2019-04-20T00:32:55 | 2019-04-20T00:32:55 | 162,387,499 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | #include<iostream>
#define MAXN 15
using namespace std;
int a[MAXN],b[MAXN<<1],c[MAXN<<1],ans[MAXN],n=0,cnt=0;
void dfs(int);
int main()
{
int i=0;
cin>>n;
dfs(1);
cout<<cnt<<endl;
return 0;
}
void dfs(int x)
{
int i=0;
if(x==n+1)
{
cnt++;
if(cnt<=3)
{
for(i=1;i<=n;... | [
"3305049949@qq.com"
] | 3305049949@qq.com |
93249c18893b9b170d3f4daad5de2cac3daab93b | c6551fc92088db6d2a8481fd974994f1880ec198 | /evita/dom/text/text_mutation_observer.h | 8fec2e3de674a47e02f1486a2cbfd7ca9c4fc71f | [] | no_license | eval1749/evita | dd2c40180b32fada64dce4aad1f597a6beeade8a | 4e9dd86009af091e213a208270ef9bd429fbb698 | refs/heads/master | 2022-10-16T23:10:07.605527 | 2022-10-04T07:35:37 | 2022-10-04T07:35:37 | 23,464,799 | 3 | 3 | null | 2015-09-19T20:33:38 | 2014-08-29T13:27:24 | C++ | UTF-8 | C++ | false | false | 1,547 | h | // Copyright (c) 1996-2014 Project Vogue. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EVITA_DOM_TEXT_TEXT_MUTATION_OBSERVER_H_
#define EVITA_DOM_TEXT_TEXT_MUTATION_OBSERVER_H_
#include <memory>
#include <vector>
#include "evita/... | [
"eval1749@gmail.com"
] | eval1749@gmail.com |
867e98dcb4c6105e52688fb25fd9ff6a5d972852 | e09287b0da2feb548d8c7dd307a0119e6ae65f4d | /menge_core/src/BFSM/Actions/ObstacleAction.cpp | d3189d35046b3bb2be2dcacea845975b282d6af5 | [] | no_license | flztiii/menge_ros | ee52f37a0aa710c6128c047a4c4e3d25832bfe7b | af50499f90117a29ea8bddd1b496dead232b5ec0 | refs/heads/master | 2023-03-18T10:57:48.634069 | 2017-08-23T19:34:27 | 2017-08-23T19:34:27 | 510,190,699 | 1 | 1 | null | 2022-07-04T02:48:29 | 2022-07-04T02:48:29 | null | WINDOWS-1252 | C++ | false | false | 5,200 | cpp | /*
License
Menge
Copyright © and trademark ™ 2012-14 University of North Carolina at Chapel Hill.
All rights reserved.
Permission to use, copy, modify, and distribute this software and its documentation
for educational, research, and non-profit purposes, without fee, and without a
written agreement is hereby gran... | [
"anooparoor@Minerva.cs.hunter.cuny.edu"
] | anooparoor@Minerva.cs.hunter.cuny.edu |
583c9162629b16adaa3a4ed61f451939695064c4 | 58337d1029cfc8b830408cd2f7053237e6c40d06 | /song.h | 5898cf5393b58544aa9c74b001b71dab9d0aa2d2 | [] | no_license | JustviCiT/QTXMLParser | 14300bc38a1f7c77b68e7a1bab16c38bcbdde4b7 | de50db19f483c170b1dd83132abc5a18bd082e40 | refs/heads/master | 2020-09-03T03:35:17.742368 | 2019-11-04T09:12:16 | 2019-11-04T09:12:16 | 219,376,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | h | #ifndef SONG_H
#define SONG_H
#include <QObject>
#include <QDebug>
class Song
{
public:
explicit Song();
void print();
void setArtist(QString);
void setiD(int);
void setAlbum(QString);
void setFav(bool);
void setID(int);
QString gArtist();
QString gAlbum();
bool gFav();
i... | [
"victor.serov@protonmail.com"
] | victor.serov@protonmail.com |
3339fa471f6138de4c041d9f85964861d013ad89 | 469c34f2a031d0add6de15cfadd4d6b351b8fe99 | /src/include/spin/SpinClusterIndex.h | 466fa0df4ff0e9c139ae3d3d1ae069148d970878 | [] | no_license | HoldenGao/oops | d0bc3e280678be2e4d78952d187c9e46130de78f | 6710eebdb28b74b982475074ea67157bfbb7a9fb | refs/heads/master | 2021-01-20T16:47:57.410682 | 2016-04-08T08:22:19 | 2016-04-08T08:22:19 | 56,654,023 | 1 | 0 | null | 2016-04-20T03:59:55 | 2016-04-20T03:59:53 | null | UTF-8 | C++ | false | false | 1,337 | h | #ifndef SPINCLUSTERINDEX_H
#define SPINCLUSTERINDEX_H
#include <iostream>
#include <vector>
#include <set>
#include <string>
#include <armadillo>
#include "include/easylogging++.h"
#include "include/spin/Spin.h"
typedef pair<size_t, size_t> ClusterPostion;
////////////////////////////////////////////////////////////... | [
"nzhao@csrc.ac.cn"
] | nzhao@csrc.ac.cn |
4df4fc772752dbf68ea63988337d014d9d329f69 | a521ad7729b50b554ec571f7be0332db0c20ffd6 | /geant4reweight/src/PredictionBase/G4CascadeDetectorConstruction.hh | f2bf2be4066f65915dc113d635a73ed0cfc67437 | [] | no_license | nusense/Geant4Reweight | cc47a8ee238074e7d4bdbedd5d249e28a73fbcdc | 333947cf58f436b3ad37c13a4cf7b3d91927644e | refs/heads/master | 2023-06-19T06:34:41.824032 | 2021-07-23T21:07:14 | 2021-07-23T21:07:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | hh | #ifndef G4CascadeDetectorConstruction_h
#define G4CascadeDetectorConstruction_h 1
#include "Geant4/G4VUserDetectorConstruction.hh"
class G4VPhysicalVolume;
class G4LogicalVolume;
class G4CascadeDetectorConstruction : public G4VUserDetectorConstruction{
public:
G4CascadeDetectorConstruction();
G4CascadeDet... | [
"calcuttj@msu.edu"
] | calcuttj@msu.edu |
3b42d8491eba897d2322a7ffb06b80cdbd4c9810 | 117246cd4faafd099cb8ec981378820ca111d744 | /Snake/Game.cpp | edfa45f9e72b3f071701ca46d3d348a7a712794c | [] | no_license | TruongHoangPhuLoc/Snake | eebeb23d6a0367f6f61b70255c4dc1805a323bd4 | b359c5aecee6505474125ba145c1be31e6624bba | refs/heads/master | 2023-07-30T19:57:26.945354 | 2021-09-19T05:18:25 | 2021-09-19T05:18:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,185 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
#include<Windows.h>
#include<conio.h>
#include<time.h>
#define DOT_RAN 254
#define MAX 100
#define LEN 1
#define XUONG 2
#define TRAI 3
#define PHAI 4
#define WallTop 5
#define WallBot 28
#define WallLeft 0
#define WallRight 118
void Nocursortype()
{
... | [
"truongphuloc030499@gmail.com"
] | truongphuloc030499@gmail.com |
31698a12640782a4afdf2e762fee6e3ef7777828 | ffa9bada806a6330cfe6d2ab3d7decfc05626d10 | /51Nod/Nod2653.cpp | d6df7799bbec093dafa2f93002cf7451b6587d5b | [
"MIT"
] | permissive | James3039/OhMyCodes | 064ef03d98384fd8d57c7d64ed662f51218ed08e | f25d7a5e7438afb856035cf758ab43812d5bb600 | refs/heads/master | 2023-07-15T15:52:45.419938 | 2021-08-28T03:37:27 | 2021-08-28T03:37:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | #include <cstdio>
#include <iostream>
#include <cmath>
int ans, a, b, bi, len;
int main(){
scanf("%d %d", &a, &b);
bi=log(a)/log(2);
if((1<<bi)<a) bi++;
len=log(b-(1<<bi)+1)/log(2);
if(len==1 || (1<<bi)>=b) {
for(int i=a; i<=b; i++) ans = ans^i;
}
else{
for(int i=a; i<(1<<bi); i++){
ans ... | [
"1816750728@qq.com"
] | 1816750728@qq.com |
60738dee6b30c63a8c39cf2434bc77f7ee8a8bd5 | d8e7a11322f6d1b514c85b0c713bacca8f743ff5 | /7.6.00.37/V76_00_37/MaxDB_ORG/sys/src/SAPDB/DBM/Srv/BackupHistory/DBMSrvBHist_FileLineEBF.cpp | 74ae1634a28f09ad0399655cf87379e0a8dd680d | [] | no_license | zhaonaiy/MaxDB_GPL_Releases | a224f86c0edf76e935d8951d1dd32f5376c04153 | 15821507c20bd1cd251cf4e7c60610ac9cabc06d | refs/heads/master | 2022-11-08T21:14:22.774394 | 2020-07-07T00:52:44 | 2020-07-07T00:52:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,018 | cpp | /*!
\file DBMSrvBHist_FileLineEBF.cpp
\author TiloH
\ingroup backup history handling by the DBMServer
\brief a class determining the layout of a line of dbm.ebf
\if EMIT_LICENCE
========== licence begin GPL
Copyright (c) 2004-2005 SAP AG
This program is free software; you can redistribute... | [
"gunter.mueller@gmail.com"
] | gunter.mueller@gmail.com |
bee55885367599bb4cc013e06e1f63600bae8d94 | 1a76cdf3b8776c238f0fecaca9c9491145106ec6 | /SDK/FN_Athena_PlayerCameraModeSkydiveDive_classes.hpp | dae2da56422b8ed4e8928065b10a6768dbc36da8 | [] | no_license | JimmyJones97/aasd | 9af6e9c83eec4d1b4c76c601c2ccba814ce8a1c0 | 1961458db5ef577e6f013ca9ea744dcd48f2b4ad | refs/heads/master | 2022-02-19T11:47:42.191429 | 2017-10-27T11:59:07 | 2017-10-27T11:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | hpp | #pragma once
// Fortnite SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Athena_PlayerCameraModeSkydive... | [
"joker@slaughter-gaming.de"
] | joker@slaughter-gaming.de |
6b03970353ede99d395b4e12cb2a5e14f2f02ea2 | 01c93dfd17bf4aa76067bcc3baf6aa8d0a400536 | /PAT乙级/B1070.cpp | 3c21ebad60cc8931102eff9139c4230cd1b4a78a | [] | no_license | lfwbale/PATbasic | 908aa8e99afcffe3753eb380cc7bd32317f99a5b | 26d51773bb8304bc8c5baff67cb5cf41f49b8e2c | refs/heads/master | 2020-09-05T19:22:41.441664 | 2019-11-07T10:54:16 | 2019-11-07T10:54:16 | 220,191,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include<stdio.h>
#include<algorithm>
using namespace std;
int main(){
int n; scanf("%d",&n);
int a[n];
for(int i=0;i<n;i++){
scanf("%d",&a[i]);
}
sort(a,a+n);
int sum=0;
for(int i=0;i<n;i++){
sum=(sum+a[i])/2;
}
printf("%d\n",sum);
return 0;
}
| [
"stunning@MacBook-Pro-4.local"
] | stunning@MacBook-Pro-4.local |
1cdf121cacb8d1f5d799187bb64a9eff464fe58d | 80ea2ec75f3505931c6643a4159f5784d24f7112 | /magic_get/include/boost/pfr/detail/core14.hpp | 6ea3607dbd0c596cb73604356cac1777f4bc7d27 | [] | no_license | ksmurph1/VulkanConfigurator | 843c6282b5eb75c9bcf5d0501ba2ff2b293fc930 | 986992a8b963a6b271785a77d5efd349b6e6ea4f | refs/heads/master | 2023-03-30T14:11:27.417840 | 2021-04-03T20:57:28 | 2021-04-03T20:57:28 | 270,752,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | hpp | // Copyright (c) 2016-2019 Antony Polukhin
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PFR_DETAIL_CORE14_HPP
#define BOOST_PFR_DETAIL_CORE14_HPP
#pragma once
#include "config.hpp"
#if BOOST_P... | [
"ksmurph1@gmail.com"
] | ksmurph1@gmail.com |
253999d3d9f0236851131f53e43e8a5845825c84 | 0ca50389f4b300fa318452128ab5437ecc97da65 | /example/less-than-1k/assign/rgb/rgb2YPbPr709.cpp | 4d31b1bd6edc2caa2b12bf6837f6195a1c31ae1d | [
"Apache-2.0"
] | permissive | dmilos/color | 5981a07d85632d5c959747dac646ac9976f1c238 | 84dc0512cb5fcf6536d79f0bee2530e678c01b03 | refs/heads/master | 2022-09-03T05:13:16.959970 | 2022-08-20T09:22:24 | 2022-08-22T06:03:32 | 47,105,546 | 160 | 25 | Apache-2.0 | 2021-09-29T07:11:04 | 2015-11-30T08:37:43 | C++ | UTF-8 | C++ | false | false | 783 | cpp | #include <iostream>
#include <iomanip>
#include "color/color.hpp"
int main( int argc, char *argv[] )
{
::color::rgb< float > c0; //!< Instead of float you may put std::uint8_t,std::uint16_t, std::uint32_t, std::uint64_t, double, long double
::color::YPbPr< std::uint8_t, ::color::constant... | [
"dmilos@gmail.com"
] | dmilos@gmail.com |
cb917761fef4adba5af9cca4e434fd2bc231f3af | 3e7ae0d825853090372e5505f103d8f3f39dce6d | /AutMarine v4.2.0/AutLib/Geom/GeoMesh/GeoMesh_TriangleMesh2dInnerBoundaryList.hxx | 6540bf8df89fd38e3b6f625984f622789bb1dfb7 | [] | no_license | amir5200fx/AutMarine-v4.2.0 | bba1fe1aa1a14605c22a389c1bd3b48d943dc228 | 6beedbac1a3102cd1f212381a9800deec79cb31a | refs/heads/master | 2020-11-27T05:04:27.397790 | 2019-12-20T17:59:03 | 2019-12-20T17:59:03 | 227,961,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | hxx | #pragma once
#ifndef _GeoMesh_TriangleMesh2dInnerBoundaryList_Header
#define _GeoMesh_TriangleMesh2dInnerBoundaryList_Header
#include <GeoMesh_TriangleMesh2dInnerBoundary.hxx>
#include <ADT_Ary1d.hxx>
namespace AutLib
{
typedef ADT_Ary1d<Global_Handle(GeoMesh_TriangleMesh2dInnerBoundary)> GeoMesh_TriangleMesh2dInner... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
570c3c3ae858c17a276c1075ecdd38a025dbcbe8 | d12ef5f7472ad8ef90410f7232ba52620314263f | /baekjoon/DP/2758.cpp | 504791fda4c52870877e6a8e9b184ad7726882ce | [] | no_license | b-chae/AlgorithmStudy | 34c1af96058c29caae49c0692a21bdc190adac7f | d5d2f01bcfbff56f23c05b1238d3b060169b732f | refs/heads/master | 2023-08-04T04:08:34.051246 | 2021-09-12T00:15:49 | 2021-09-12T00:15:49 | 257,220,705 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | #include <iostream>
using namespace std;
int T, N, M;
long long D[15][2001];
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
cin >> T;
for(int i=0;i<T;i++){
cin >> N >> M;
for(int x=1; x<=M; x++) D[1][x] = 1;
for(int x=2; x<=N; x++){
for(int y=1; y<=M; y++){
... | [
"noreply@github.com"
] | b-chae.noreply@github.com |
52b716d7310aca87be4d977f3889aa1c2eb1689d | 70cb5e043b7a469fecf810fc1c12ddd3faba452f | /c++ primer ,5th/word map/main.cpp | cd257407389cf7b89e7d762b723516d866b0e76a | [] | no_license | yulifromchina/exercise | 5205d7e27f46d397a3048919e76d45ab4c3f9b32 | bc2302db0fa75db85c4ab6bc7356b5f3727b2701 | refs/heads/master | 2021-01-19T13:42:29.552298 | 2018-02-23T05:17:42 | 2018-02-23T05:17:42 | 100,857,569 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 289 | cpp | #include "Filter.h"
int main()
{
Filter obj_filter;
obj_filter.AddBlackListFromFile("KeyWords.txt");//添加C/C++中的关键字
obj_filter.AddRuleFromFile("Rule.txt");//读取规则
obj_filter.TransFile("OriginText.txt");//翻译原文本,生成result.txt
return 0;
} | [
"yulifromchina@gmail.com"
] | yulifromchina@gmail.com |
3d908408a8c8447c48431adeb0d4c8064357f51a | b7691235885c17306a660d242afe1cf6a70e867b | /8/81265.cpp | b934aec5617af3f8d2313f8c6177f9bf1f8f702a | [] | no_license | DobrinTs/Artifical-Intelligence-FMI-course | 8dc67a27f9a50d0d756b7a7405519d9d7d8b7714 | d171e092c9c2f1192932f92646e26f867169ed8c | refs/heads/master | 2020-04-14T11:56:52.539124 | 2019-01-08T09:55:56 | 2019-01-08T09:55:56 | 163,827,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,358 | cpp | #include<iostream>
#include<fstream>
#include<vector>
#include<queue>
#include<math.h>
using namespace std;
string fullClassName(string classAbbreviation)
{
if(classAbbreviation == "set")
{
return "Iris-setosa";
}
else if(classAbbreviation == "ver")
{
return "Iris-versicolor";
}... | [
"dobrits97@gmail.com"
] | dobrits97@gmail.com |
72cca768972d3edd6cacc0b0254665146100172b | fce8d9c72923ed0123ac9b7ee1b09731084b8faa | /D3D_Base/cRabitGirl.h | 05aa8e37bd4094d8c52a44b31d87b63603e2286d | [] | no_license | asy1256/TestGit | b7a68787e79a219c7231797c88110cac4a1cecd0 | 9ac26242c349990dcf08e0403655489e49c27f22 | refs/heads/master | 2021-07-25T10:21:37.475127 | 2017-11-05T07:58:26 | 2017-11-05T07:58:26 | 109,367,418 | 0 | 0 | null | 2017-11-05T07:58:27 | 2017-11-03T07:49:08 | C++ | UTF-8 | C++ | false | false | 247 | h | #pragma once
#include "cCharacter.h"
class cAseLoader;
class cRabitGirl : public cCharacter
{
private:
LPD3DXMESH m_pMesh;
cAseLoader* m_pAseLoader;
public:
cRabitGirl();
~cRabitGirl();
void Setup();
void Update();
void Render();
}; | [
"asy1256@daum.net"
] | asy1256@daum.net |
957f5f51b6241890070678e1b68f747ee242b21d | 9987a33adf46172cf5352b57e2e1319955dd75ab | /SongInfoEditor/TabID3v2.h | 1e05ddd67e4070b79d339eac8cdc6f77f6e3e67a | [] | no_license | lilinayuy/SongInfo | ce4cb73c7d4b394abf1f063939d758cbef79743c | d02929c16f5144a542093b88be02118e9d54f20b | refs/heads/master | 2016-09-10T18:24:53.640838 | 2015-03-24T01:53:41 | 2015-03-24T01:53:41 | 32,769,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,553 | h | #pragma once
#include "afxwin.h"
// CTabID3v2 dialog
class CTabID3v2 : public CDialog
{
DECLARE_DYNAMIC(CTabID3v2)
public:
CTabID3v2(CWnd* pParent = NULL); // standard constructor
virtual ~CTabID3v2();
// Dialog Data
enum { IDD = IDD_DLG_ID3V2 };
protected:
virtual void DoDataExchange(CDataExchange* pDX);... | [
"heeroyuy1982@163.com"
] | heeroyuy1982@163.com |
95a8c9a3ae97d2c01f845a82f19e1c8ee8bb4ff2 | 335e56925e49716c7b7766f2bbca71590e0c77a8 | /hdoj/Problem Achieve/2102 A计划.cpp | e4e7291d9aefb6d21544c54bd81356fc50231b1b | [] | no_license | suzumiyayuhi/AlgorithmTraining | 388b9bfd5aed5d76a20c71ad03b69a5269d2e7a7 | 1af9584fde2ec209429e6b85c5e0381685733c16 | refs/heads/master | 2021-01-18T17:54:03.491535 | 2018-01-20T10:57:12 | 2018-01-20T10:57:12 | 86,822,395 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,911 | cpp | #include<iostream>
#include<queue>
#include<string.h>
#include<cstdio>
using namespace std;
char palace[11][11][3];
bool flag[11][11][3];
int N,M,T,ex,ey,ez;
struct point
{
int x,y,z,time;
}person;
int dx[4]={0,0,1,-1};
int dy[4]={1,-1,0,0};
bool check(point a)
{
if(a.x>=1&&a.x<=N&&a.y>=1&&a.y<=M)
if(palace[a.x]... | [
"923051761@qq.com"
] | 923051761@qq.com |
195102e22851dae46772b6ab4a64c44a9812f322 | e0aa106c29732b28625e03f0dbe64a534f63da6a | /src/051-prime-digit-replacements/cpp/bin/range.cpp | 374a42b1ba69eefa82cbbf7d61a4470ef130b466 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | xfbs/euler | ee2002c77c67ed7c6a57ebca014ae8b764a8c380 | e26768c56ff87b029cb2a02f56dc5cd32e1f7c87 | refs/heads/master | 2020-04-16T17:05:25.589886 | 2019-06-12T22:12:21 | 2019-06-12T22:12:21 | 40,597,273 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | #include <array>
#include <iostream>
#include <range/v3/all.hpp>
#include <vector>
using std::cout;
using std::endl;
using namespace ranges;
auto is_six = [](int i) -> bool { return i == 6; };
auto doub = [](int i) -> int { return 2 * i; };
int main() {
std::vector<int> v{6, 2, 3, 4, 5, 6};
auto c = count_if(v, ... | [
"pelsen@xfbs.net"
] | pelsen@xfbs.net |
f668a94d5cffaefaba1530a6b563c0f6fa24e75d | 6ff225ced3f8ea771a0db118933907da4445690e | /logdevice/server/locallogstore/ShardedRocksDBLocalLogStore.cpp | 3f89fbb5ce249d3d8eb538f6ca7d3259b2a20350 | [
"BSD-3-Clause"
] | permissive | mickvav/LogDevice | c5680d76b5ebf8f96de0eca0ba5e52357408997a | 24a8b6abe4576418eceb72974083aa22d7844705 | refs/heads/master | 2020-04-03T22:33:29.633769 | 2018-11-07T12:17:25 | 2018-11-07T12:17:25 | 155,606,676 | 0 | 0 | NOASSERTION | 2018-10-31T18:39:23 | 2018-10-31T18:39:23 | null | UTF-8 | C++ | false | false | 26,794 | cpp | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ShardedRocksDBLocalLogStore.h"
#include <array>
#include <cerrno>
#include <... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
4709b69c8360e57dbce60265702549451a7155f8 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/wget/hunk_191.cpp | c5c6ff2cb2af6099e3920b1925375ca4b95d4f22 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | break;
default:
- /* Can't happen. */
- assert (1);
+ logprintf (LOG_ALWAYS, _("Logically impossible section reached in getftp()"));
+ logprintf (LOG_ALWAYS, _("cwd_count: %d\ncwd_start: %d\ncwd_end: %d\n"),
+ ... | [
"993273596@qq.com"
] | 993273596@qq.com |
301fcb8c103dc5c5f4ecff5181c077e391710f34 | ca4471cd7cbc445953244aa71b1999b8c290b5f4 | /farm/farm/QuestTable.cpp | 8b21b25be89db8b4e0862ed902e7edb9d63ab40c | [] | no_license | YangHun/d3d12-example-farm | e2bed7b3d64f0403504d1977b37ad7f15cbe518d | 25b7b19af41fee32b7add4a10320f85d11aec675 | refs/heads/master | 2021-01-05T01:37:25.601418 | 2020-03-31T12:58:07 | 2020-03-31T12:58:07 | 240,831,755 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | #include "stdafx.h"
#include "Objects.h"
QuestTable::QuestTable()
{
SetTag("QuestTable");
GetRenderer()->SetMesh("Assets/table.fbx");
GetCollider()->SetBoundFromMesh(GetRenderer()->meshDesc());
}
void QuestTable::Update(float dt)
{
}
void QuestTable::Interact()
{
Notify(nullptr, E_Event::TABLE_INTERACT_CLICKED)... | [
"pitahano@gmail.com"
] | pitahano@gmail.com |
d7cd9d3be7b38cec4f15998a16ef5862672baf1d | 34fe5b48225c2509d272032c44d6fe5be08a6330 | /src/test/scheduler_tests.cpp | 4cacb3d84c431888bcfd7f6aa59d12982d2e1ad5 | [
"MIT"
] | permissive | mcret1/socialcoin | 8386f2ef1287dadd7530c65d2b8464d83adeb308 | 7c2a94ff33cd48708113b29ce40515a7236bf7fd | refs/heads/main | 2023-06-27T13:29:24.003888 | 2021-08-04T12:25:04 | 2021-08-04T12:25:04 | 376,731,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,017 | cpp | // Copyright (c) 2012-2013 The Bitcoin Core developers
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2018 The socialcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "random.h"
#include "sched... | [
"80612177+mcret1@users.noreply.github.com"
] | 80612177+mcret1@users.noreply.github.com |
f9da8f7f503cc2ba8e464abac4dd56ee21c23647 | 3242efa02269cacff87891448dd4c532e3bef882 | /InterestingXOR.cpp | a683ead0bbe190148a62d126c93b66e7b76e554b | [] | no_license | m0hit312000/CppPrograms | 35419ca81450aa4afdd9ffe79c8870ae1c0530be | da1f2ca1f625833d293c8bd471ca13ef76cc6055 | refs/heads/master | 2023-04-03T14:48:58.733788 | 2021-04-13T17:59:21 | 2021-04-13T17:59:21 | 286,248,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,425 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, a, b) for (int i = a; i < b; i++)
#define REV(i, a, b) for (int i = a; i >= b; i--)
#define vi vector<int>
#define vl vector<long long>
int main()
{
ll t;
cin >> t;
while (t--)
{
ll c, no1 = 0, no2 = 0;
vi... | [
"mm8085574989@gmail.com"
] | mm8085574989@gmail.com |
00b50a7b40ed9b05301d87b413cd8fdbbf0be452 | cff9a867a30cd0478a659f200e657401555ab13c | /Windows/OldEksamensOPRG/Reeksamen Jan16/e16opg4.h | 3881e0e8beee353529297d2072d4d60825c19e91 | [] | no_license | AndreasAHN/AHN2018 | a1e6d6a33503cfbf56e8c1051c9cb1258563d77e | f41e165674f3ca50e5799433a00863da50eb08ed | refs/heads/master | 2020-03-08T00:50:55.082617 | 2018-09-09T23:07:51 | 2018-09-09T23:07:51 | 127,815,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | h | #pragma once
#include "e16opg5.h"
class Taxa
{
public:
Taxa(int vognNummer, int maxAntalKunder);
void setErDrift(bool iDrift);
void setErLedig(bool ledig);
void udskrivStatus()const;
private:
int vognNummer_;
int maxAntalKunder_;
bool erIDrift_;
bool erLedig_;
};
| [
"andreas.hervert@gmail.com"
] | andreas.hervert@gmail.com |
3b7ededaa9fd96d858a2089960001b982bed8f52 | ca08b976e9772a756314648eb913c7a7da261523 | /Codeforces/230A. Dragons.cpp | 5ca23e23730256bd4923cbd345db28c9dbec409b | [] | no_license | NousinTabassum/ProblemSolving | 11574a340d1d899b6ae5e053b74adef452b984c4 | f313d7497307139d2a50e44e9b1500be0087d0ca | refs/heads/main | 2023-08-04T23:27:48.503539 | 2021-09-24T15:33:02 | 2021-09-24T15:33:02 | 410,012,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | #include<iostream>
using namespace std;
int main()
{
int s,n,i,x[1000],y[1000],temp,j,c=0,temp2;
cin>>s>>n;
for(i=0; i<n; i++)
{
cin>>x[i]>>y[i];
}
for(i=0; i<n; i++)
{
for(j=0; j<n; j++)
{
if(x[i]<x[j])
{
temp=x... | [
"noreply@github.com"
] | NousinTabassum.noreply@github.com |
b366307ec1b0122b5bf770d994077e55b8f88788 | f9a8e812a0f8e8ddcae5a7da6576f376d5b4c100 | /test/unit_and_integrationtests/TestGlobalData.cpp | 8792e243a1836bc91bd5f52b7604706b183e6e63 | [
"MIT"
] | permissive | CapRat/APAL | d44bfbee74540e812ccd63901d47de401fefb672 | a08f4bc6ee6299e8e370ef99750262ad23c87d58 | refs/heads/master | 2022-12-13T18:52:11.512432 | 2020-08-19T11:24:40 | 2020-08-19T11:24:40 | 290,733,218 | 2 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 501 | cpp | //#include <interfaces/IPlugin.hpp>
#include "CatchTools.hpp"
#include "base/PluginBases.hpp"
#include <GlobalData.hpp>
using namespace APAL;
class SimpleExamplePlugin : public LazyPlugin
{
public:
// Geerbt über LazyPlugin
virtual void processAudio() override {}
};
REGISTER_PLUGIN(SimpleExamplePlugin);
using nam... | [
"benjaminheisch@yahoo.de"
] | benjaminheisch@yahoo.de |
5334c9e04defb26aa4c0a74167c5981696708821 | 6ec6ebbd57752e179c3c74cb2b5d2d3668e91110 | /rsase/SgBagUML/src/ihm/vuecanevas.h | 3b31a2792b274f039f6c16dac0ef57047bddbe4b | [] | no_license | padenot/usdp | 6e0562a18d2124f1970fb9f2029353c92fdc4fb4 | a3ded795e323e5a2e475ade08839b0f2f41b192b | refs/heads/master | 2016-09-05T15:24:53.368597 | 2010-11-25T16:13:47 | 2010-11-25T16:13:47 | 1,106,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | h | #ifndef VUE_CANEVAS_H
#define VUE_CANEVAS_H
#include <QGraphicsItem>
class FenetrePrincipale;
/**
* Classe abstraite, qui permet de définir des implémentation
* de méthodes communes au éléments graphiques.
*/
class VueCanevas: public QGraphicsItem
{
public:
/**
* Classe abstraite, qui permet de définir des impl... | [
"golumbeanu.monica@gmail.com"
] | golumbeanu.monica@gmail.com |
faa04cf0a9dcd98a9f4b7172e0ffb74c3ed51d1f | 75d19cc8b24640f0e632176dc48458d8455dbb7b | /code_generator.cpp | 39abdad742194ff92afb2c3c2b76c683db3830eb | [] | no_license | pablogadhi/DecafCompiler | 8e91ce7bddf3fa3a2843b0d14e808205c565d930 | af59ab996774cf23aae7c82b51c4db8474c9a4d3 | refs/heads/master | 2023-01-20T01:42:07.894232 | 2020-11-27T01:12:06 | 2020-11-27T01:12:06 | 281,763,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,677 | cpp | #include "code_generator.h"
#include <fstream>
#include <iostream>
CodeGenerator::CodeGenerator(vector<Triple> code,
shared_ptr<SymbolTable> &table)
: inter_code(code), symbol_table(table) {
init_code();
main_name = dynamic_pointer_cast<Literal>(inter_code[0].arg0())->value();
en... | [
"pablogadhi@gmail.com"
] | pablogadhi@gmail.com |
63c2608b3c1d6e8ad3f665836f7e0686b555d88a | 653f49d47f6f88c7c8c0b0343b02e8a5bb8ae66d | /gazebo/converter/convertURDF.cpp | 3c897edd2b465423e107308ed09fd29f57bd2a05 | [] | no_license | ana-GT/huboCode | 53a860454c40090fc61d68ba8c3d6b205e810e42 | a45fd1b78b7c3c6a9b37d6097dddfeca831994e4 | refs/heads/master | 2021-01-10T14:30:48.400413 | 2013-05-12T04:05:07 | 2013-05-12T04:05:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | /**
* @file convertURDF.cpp
*/
#include <gazebo/sdf/interface/parser_urdf.hh>
/**
* @function main
*/
int main( int argc, char* argv[] ) {
urdf2gazebo::URDF2Gazebo u2g;
TiXmlDocument xml_sdf;
xml_sdf = u2g.InitModelFile( argv[1] );
xml_sdf.SaveFile("test.sdf" );
return 0;
}
| [
"ahuaman3@gatech.edu"
] | ahuaman3@gatech.edu |
309888b30219beb00c58b3c3b8eebb049553e412 | fe4ac813edf7cece997d4a02940c1aed40efe4b7 | /src/Fryer.h | 36daf3ed394299d1d3c95f05a6196a1ac5110d6d | [] | no_license | piotrek-k/SO2_Projekt_2 | 0d312f1a8c954080f909e04168fbc898b595d128 | d5272a1352ce3e59e649a6a452069cf3575b5857 | refs/heads/master | 2022-10-22T22:09:08.464478 | 2020-06-15T13:50:07 | 2020-06-15T13:50:07 | 258,800,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | h | #ifndef SO2_PROJEKT_FRYER
#define SO2_PROJEKT_FRYER
#include <mutex>
#include <functional>
#include "Worker.h"
enum FryerState
{
Inactive,
WorkingAndFoodNotYetPrepared,
WorkingAndFoodBurnt
};
class Worker;
class Fryer
{
private:
std::mutex mtx;
bool taken = false;
public:
Fryer();
~Fryer... | [
"kpiotrek3@gmail.com"
] | kpiotrek3@gmail.com |
eeb28be50d77a8af8fb73f4feb40646e0e8c8b7b | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5634697451274240_1/C++/amalykh/Source1.cpp | 2165d46058f35b1d19a88b0c49d7480b1e8b6a75 | [] | 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 | 831 | cpp | #define _CRT_SECURE_NO_WARNINGS
#pragma comment(linker, "/STACK:134217728")
#include <algorithm>
#include <iostream>
#include <string>
#include <cstring>
#include <cstdio>
#include <cstdlib>
#include <set>
#include <vector>
#include <map>
#include <sstream>
#include <queue>
#include <ctime>
typedef lon... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
c2f95714cf0bd71d2a9c5935bd525c861c25901d | a25c33ac5f47e8a28e4cb7439d658e511e95843b | /Palindrome Assignment/Project13/Main.cpp | fa1d35e2a758eb7d81142805ce5ee5d66f81e8cd | [] | no_license | SGNitron/Palindrome-Checker | 9d92f649b34307ded61951f9313ebc617db14b1b | 5388ce59011bd3beaaebdfb3a5229c3ae14629e2 | refs/heads/master | 2020-09-29T11:26:09.431599 | 2019-12-10T05:23:08 | 2019-12-10T05:23:08 | 227,029,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,202 | cpp | #include "ArrayQueue.h"
#include "ArrayStack.h"
#include "PrecondViolatedExcept.h"
#include "QueueInterface.h"
#include "StackInterface.h"
#include <fstream>
#include <iostream>
#include <string>
using namespace std;
void fixCaps(char array[], int size);
int main() {
string fileInput, originalInput;
... | [
"noreply@github.com"
] | SGNitron.noreply@github.com |
98a9d7e3f949b2f949eedd9fd9e74c947d51736d | 2470b6e1cfb284400cee9e61b05c8e1ea7dfcbb9 | /Source/Voxel/Private/VoxelDebug/VoxelDebugManager.cpp | d7cffa3a2cd16cb62f24c313331b3a7606cced02 | [
"MIT"
] | permissive | ADMTec/VoxelPlugin | 893a77e9a52249b9a3f1f02baf3d944b93cba0f0 | db3c94fd8140d27671b9e80f09c47b28d02a6096 | refs/heads/master | 2022-04-29T20:27:16.755901 | 2022-03-06T14:39:33 | 2022-03-06T14:39:33 | 128,440,588 | 0 | 0 | MIT | 2020-03-30T13:39:07 | 2018-04-06T18:42:52 | HLSL | UTF-8 | C++ | false | false | 25,279 | cpp | // Copyright 2021 Phyronnaz
#include "VoxelDebug/VoxelDebugManager.h"
#include "VoxelDebug/VoxelDebugUtilities.h"
#include "VoxelData/VoxelData.h"
#include "VoxelRender/IVoxelLODManager.h"
#include "VoxelRender/IVoxelRenderer.h"
#include "VoxelData/VoxelDataIncludes.h"
#include "VoxelComponents/VoxelInvokerCom... | [
"phyronnaz@gmail.com"
] | phyronnaz@gmail.com |
8b267815331340b27c84475de651766dce21b93a | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /tests/Utils/NameValidatorTest.cpp | 79cee49175e24ac8854f42826853129257770bc4 | [
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"Zlib",
"GPL-1.0-or-later",
"OpenSSL",
"ISC",
"LicenseRef-scancode-gutenberg-2020",
"MIT",
"GPL-2.0-only",
"CC0-1.0",
"BSL-1.0",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"Bison-exception-2.2",
"LicenseRef-scancode... | permissive | arangodb/arangodb | 0980625e76c56a2449d90dcb8d8f2c485e28a83b | 43c40535cee37fc7349a21793dc33b1833735af5 | refs/heads/devel | 2023-08-31T09:34:47.451950 | 2023-08-31T07:25:02 | 2023-08-31T07:25:02 | 2,649,214 | 13,385 | 982 | Apache-2.0 | 2023-09-14T17:02:16 | 2011-10-26T06:42:00 | C++ | UTF-8 | C++ | false | false | 64,709 | cpp | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | [
"noreply@github.com"
] | arangodb.noreply@github.com |
5f1a6d865005f2de48d73017c27afa1380a23910 | 09ea1901af1caa0cd7a6977209c384e08278a371 | /code/Ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_UserInteract_MAVLink.cpp | 60272dd0567685b92f08b861cc46d46d48435cee | [] | no_license | sid1980/JAGUAR | e038e048a0542d7f3b67c480d27881f91ef42e4e | 2dc262fdc10a600335f71878e092265bc9da77c2 | refs/heads/master | 2021-12-03T05:19:44.367320 | 2014-05-01T23:21:27 | 2014-05-01T23:21:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,586 | cpp | // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include <stdarg.h>
#include <AP_HAL.h>
#include <GCS_MAVLink.h>
#include "AP_InertialSensor_UserInteract_MAVLink.h"
extern const AP_HAL::HAL& hal;
uint8_t AP_InertialSensor_UserInteract_MAVLink::blocking_read(void)
{
uint32... | [
"jonathan2@Jonathans-MacBook-Pro.local"
] | jonathan2@Jonathans-MacBook-Pro.local |
44b0f7125194375a06e2ca4d91337b18d02c8c2c | 24a0e03c45f95d5bf36422653792f79105bc9491 | /Leetcode/198_HouseRobber.cc | 4d621482edcc69bf8c484d5084fe6530885b275f | [] | no_license | csc19960608/Wu-Algorithm | f7e58d1d604fef2e4bf005c5a2a99119bdd8550e | facaba3e0fc9b57fff9ce4e2b384796ea8d45a99 | refs/heads/master | 2021-09-01T17:19:24.724575 | 2017-12-28T03:03:09 | 2017-12-28T03:03:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | cc | #include<vector>
using namespace std;
//数组中的最大和序列,要求序列中元素不能相邻
class Solution {
public:
int rob(vector<int>& nums) {
int taken=0;
int nontaken=0;
int maxprofit=0;
for(int i=0;i<nums.size();++i){
taken=nums[i]+nontaken;
nontaken=maxprofit;
maxprofit... | [
"jt26wzz@icloud.com"
] | jt26wzz@icloud.com |
071fda499d8c193b5ca8db5a76c5e5877f772be0 | 872f24199d847f05ddb4d8f7ac69eaed9336a0d5 | /code/synthesis/ImagerObjects/SIImageStoreMultiTerm.cc | eb4efa3562bc1b7840f39e626a5b6c983677bfd8 | [] | no_license | schiebel/casa | 8004f7d63ca037b4579af8a8bbfb4fa08e87ced4 | e2ced7349036d8fc13d0a65aad9a77b76bfe55d1 | refs/heads/master | 2016-09-05T16:20:59.022063 | 2015-08-26T18:46:26 | 2015-08-26T18:46:26 | 41,441,084 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 37,972 | cc | //# SIImageStoreMultiTerm.cc: Implementation of Imager.h
//# Copyright (C) 1997-2008
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This program is free software; you can redistribute it and/or modify it
//# under the terms of the GNU General Public License as published by the Free
//# Software Foundatio... | [
"darrell@schiebel.us"
] | darrell@schiebel.us |
5c747cf2c831a3386873e8acc98af24f4874c901 | 49eb0d08311529b1d2375429a9cbb5582d77fd2d | /src/bench/ccoins_caching.cpp | 62a326d2ae05d3718f7de9c61c673e5b179bf074 | [
"MIT"
] | permissive | mario1987/deimos | bcbaa7b4ed617a70c37047e6590264941b94a170 | 72cb8c33b5a6d4e09e4019602db7cea8c686d505 | refs/heads/master | 2020-03-19T23:11:08.313125 | 2018-06-11T23:06:30 | 2018-06-11T23:06:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,476 | cpp | // Copyright (c) 2016 The DeiMos Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bench.h"
#include "coins.h"
#include "policy/policy.h"
#include "wallet/crypter.h"
#include <vector>
// FIXME: Dedup wi... | [
"support@lipcoins.org"
] | support@lipcoins.org |
0bbec4e1cd02ba01ea57b6784b06dc62464ea3cf | 85ec0860a0a9f5c0c0f0d81ce3cc0baf4b2a812e | /soulng/spg/Domain.hpp | c1bb264bdbc5ebcf3453ee67026124cd6dfda265 | [] | no_license | slaakko/soulng | 3218185dc808fba63e2574b3a158fa1a9f0b2661 | a128a1190ccf71794f1bcbd420357f2c85fd75f1 | refs/heads/master | 2022-07-27T07:30:20.813581 | 2022-04-30T14:22:44 | 2022-04-30T14:22:44 | 197,632,580 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,020 | hpp | // =================================
// Copyright (c) 2022 Seppo Laakko
// Distributed under the MIT license
// =================================
#ifndef SOULNG_SPG_DOMAIN_INCLUDED
#define SOULNG_SPG_DOMAIN_INCLUDED
#include <soulng/spg/ParserFile.hpp>
#include <soulng/spg/Tokens.hpp>
#include <soulng/util/CodeFormatt... | [
"slaakko@gmail.com"
] | slaakko@gmail.com |
17166d98a3c37ea1a43cfedaee2e6284f259f4d9 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/wget/old_hunk_2796.cpp | 8fbc6c55b2e02e67b7908b0c76e61772516b5ad3 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 283 | cpp | PRINT being the host name we're connecting to. */
if (print)
{
const char *txt_addr = pretty_print_address (ip);
if (print && 0 != strcmp (print, txt_addr))
logprintf (LOG_VERBOSE, _("Connecting to %s|%s|:%d... "),
escnonprint (print), txt_addr, port);
| [
"993273596@qq.com"
] | 993273596@qq.com |
6022ee97664c2fb79d5ad240d6f99ae5bec0aa8c | 325d0ecf79bec8e3d630c26195da689ea5bb567e | /nimbro/motion/indep_cpg_gait/src/gaitcode/RobotControl/Percept.h | 95c40c6c0f0a26dd072a8fdebae38eede4d85db1 | [] | no_license | nvtienanh/Hitechlab_humanoid | ccaac64885967334f41a161f1684ff3a1571ab0f | 34c899f70af7390b9fbdb1a1ad03faf864a550be | refs/heads/master | 2020-04-22T10:34:21.944422 | 2016-08-28T06:02:00 | 2016-08-28T06:02:00 | 66,521,772 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | h | #ifndef PERCEPT_H_
#define PERCEPT_H_
#include "Action.h"
#include "util/Vec2f.h"
// The percept struct contains the raw sensor data received from the robot / simulation.
namespace indep_cpg_gait
{
struct Percept
{
Vec2f fusedAngle;
Vec2f DfusedAngle;
Pose pose;
};
}
#endif // PERCEPT_H_
| [
"nvtienanh@gmail.com"
] | nvtienanh@gmail.com |
124f3bc736f3f923884c640177201c11c6d329da | 77a0ccdb3c430aea86f50d6888694ce4d91e2d33 | /Heracles/TopLevelController.cc | 0fe6d3419d39e1954ba7dfe1af96e477fd79746b | [] | no_license | zeronek501/mutilate | 216d96a7716b020eb70b11023890d23ab361c35b | 86458eaa01ecac8b33cfe89a016d8de973f530ea | refs/heads/master | 2020-03-27T01:23:06.206942 | 2018-09-19T15:38:20 | 2018-09-19T15:38:20 | 145,705,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,575 | cc | #include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/socket.h>
#include <time.h>
#include <cstring>
#include <string>
#include <cstdlib>
#include <assert.h>
#include <arpa/inet.h>
#include <pthread.h>
#include <fstream>
#include <iostream>
#include <vector>
#include <vector... | [
"zeronek501@gmail.com"
] | zeronek501@gmail.com |
9a408cefe6fc301d4dc58a8866cae5221e915263 | fe73b179108ab6c0b5eed9c7decee2817a237f5f | /include/tpf/math/tpf_quaternion.inl | 1d74aa948af3bef2a6e619a530eea832d56e54b6 | [
"MIT"
] | permissive | UniStuttgart-VISUS/tpf | d9c7f275e7b1e1a7609afb5ee69b8b48e779b450 | 7563000f1f7abca2156b3b1f6393f2db3c1c1f3d | refs/heads/master | 2023-08-03T17:36:30.897646 | 2023-07-24T18:35:34 | 2023-07-24T18:35:34 | 159,207,802 | 0 | 3 | MIT | 2023-05-17T16:46:24 | 2018-11-26T17:31:02 | C++ | UTF-8 | C++ | false | false | 8,055 | inl | #include "tpf_quaternion.h"
#include "tpf_math_defines.h"
#include "Eigen/Dense"
#include <cmath>
#include <iostream>
namespace tpf
{
namespace math
{
template <typename floatp_t>
inline quaternion<floatp_t>::quaternion() : real(1.0), imaginary(0.0, 0.0, 0.0)
{ }
template <t... | [
"alexander.straub@visus.uni-stuttgart.de"
] | alexander.straub@visus.uni-stuttgart.de |
d6bfab750726ba66463d716ecab703e2f149d029 | 153b7c2a47d97c9f4d1b35784d35b74a1a76ae89 | /html/HTMLImageLoader.cpp | 710c1777083722725b9ac9fa1221f620b5d1a1c0 | [] | no_license | planetsong/cs5231-browser-acl | 46eabe1969fcfeceb5ecd54058e6dfebb14261d4 | 17119f1a8563232eb76468e9df19c9282fafacf7 | refs/heads/master | 2021-01-01T16:14:09.760358 | 2012-03-27T15:38:24 | 2012-03-27T15:38:24 | 32,124,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,936 | cpp | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* ... | [
"happyyesg2011@gmail.com@347aa7df-b7d0-cf80-a8c3-eaa8d009e25a"
] | happyyesg2011@gmail.com@347aa7df-b7d0-cf80-a8c3-eaa8d009e25a |
28218a366ed51a24a1e96f1be1c923057f2528cd | 070e98268ebf06e9bd4520a66302ba8ce6474706 | /Cuidar.h | 22e731b9b5a950dbf348af5d93815591b3a059cf | [] | no_license | rNexeR/Estructura-Proyecto1 | 53c689b47cf5266dc2109411693523391ee75a52 | fbfd1a794741f4c6c45f5aae4f44982b21f67b0a | refs/heads/master | 2021-01-20T11:05:36.662784 | 2015-06-01T04:42:55 | 2015-06-01T04:42:55 | 36,203,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | h | #ifndef CUIDAR_H
#define CUIDAR_H
#include <QWidget>
#include <QTimer>
#include <list>
#include "tamagotchi.h"
namespace Ui {
class Cuidar;
}
class Cuidar : public QWidget
{
Q_OBJECT
public:
explicit Cuidar(QWidget *parent = 0);
~Cuidar();
public slots:
void setParametros(list<Tamagotchi*>* animale... | [
"rnexer@gmail.com"
] | rnexer@gmail.com |
bb073348928e973ec20c340279d3d360f699f60f | 522c568e8920d76a94198599614e9315f575ce23 | /Temp/Trigger/Node/Special/WRTriggerSpecialNodeBase.h | 91788896bdc3d2c50ec5ac6c47a3464aba39c870 | [] | no_license | kyukyu86/Demo | 2ba6fe1f2264f9d4820437736c9870a5c59960cb | d2bb86e623ec5f621e860aa5defe335ee672ca53 | refs/heads/master | 2023-01-07T11:46:08.313633 | 2020-11-06T08:59:06 | 2020-11-06T08:59:06 | 269,510,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | h | #pragma once
#include "../WRTriggerBaseNode.h"
class WR_API WRTriggerSpecialNodeBase : public WRTriggerBaseNode
{
public:
WRTriggerSpecialNodeBase(/*int32 InUid, const FString& InNodeName, EWRTriggerNodeType::en InNodeType*/);
~WRTriggerSpecialNodeBase();
virtual void Signal(class WRTriggerNodeBase* CallFrom/*, WR... | [
"pelpin2080@gmail.com"
] | pelpin2080@gmail.com |
5d06cfa52ee97d4665de0fbfa8af341bfd3eb822 | 2a603ffd23cdac093d3bb579d1a0539b59c16b08 | /Mondrian.h | ad3a95a862e73f2a574968d1b8f3e6871e8d80a3 | [] | no_license | gdiakidis/Mondrian-algorithm | 70dc15abedabacad5a72e9a50401f06d8f7b7cee | f274b9681e5060cc313b14d497f4a17b467fa758 | refs/heads/master | 2022-03-01T11:40:29.261508 | 2019-09-26T12:09:26 | 2019-09-26T12:09:26 | 92,457,498 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 763 | h | /*
* File: Mondrian.h
* Author: george
*
*/
#include <iostream>
#include <iomanip>
#include <fstream>
#include <map>
#include <vector>
using namespace std;
#ifndef MONDRIAN_H
#define MONDRIAN_H
class Mondrian {
public:
Mondrian(map<int,string> data,int k);
vector< vector<int> > InitiateArrays();
voi... | [
"gdiakidis19@gmail.com"
] | gdiakidis19@gmail.com |
f95280e4c2b1b36071b352e2817a8521e69a53f4 | 72736ca51d4b27665c45c349d5cac6f1355d75a7 | /source/engine/include/whery/db/base/FieldManipulator.h | fc3163bf17ead852a52e8b6e870c15c7f298bdf4 | [] | no_license | sgolodetz/whery | 0c1535eb8e94afa70562240efdb5636c803bf0ec | 6b469ef3d2a8198fffe07ba5788b71642c8f5ed2 | refs/heads/master | 2020-05-26T23:59:17.496633 | 2013-07-02T15:08:06 | 2013-07-02T15:08:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,570 | h | /**
* whery: FieldManipulator.h
* Copyright Stuart Golodetz, 2013. All rights reserved.
*/
#ifndef H_WHERY_FIELDMANIPULATOR
#define H_WHERY_FIELDMANIPULATOR
#include <functional>
#include <string>
#include <boost/uuid/uuid.hpp>
namespace whery {
/**
\brief An instance of a class deriving from this one is used t... | [
"sgolodetz@gxstudios.net"
] | sgolodetz@gxstudios.net |
09dcc8a764c08c29d4457e586332837afd88cfba | 45d19fe4f3cea15d7c2c667feb334d49bca5872c | /Src/FactoryPattern/MethodFactory/cproductafactory.cpp | 42e559be60deb727a3ef6892461bb8501824adc9 | [
"MIT"
] | permissive | whuer-xiaojie/Design_Patterns_C_Plus_Plus | a9c198b3719331658fe83fb37883beb9fe2ecef2 | 467459e4f62ee5b0e4ce682c55a8f7f8ae986167 | refs/heads/master | 2022-04-11T12:40:19.497613 | 2020-04-05T06:47:29 | 2020-04-05T06:47:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | cpp | /*
* MIT License
*
* Copyright (c) 2018 Whuer_XiaoJie <1939346428@qq.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights... | [
"xiojie@sansi.com"
] | xiojie@sansi.com |
bd06a7e74a9d30edbc502160f5f7e3eaa3a4bea6 | 2e0a6fd5767ee4551d370f682910702be9095d73 | /Base/Segmentation/itktubeRadiusExtractor2.hxx | 91b6867139f9448ef6f761d3f463b22cb2209d5c | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | LucasGandel/TubeTK | ee0ce6a378aab732a3ee051ecd2ea36332d4943a | 50682d4d8b30b0392575685e11e16a1086790bc8 | refs/heads/master | 2021-01-18T09:29:06.802793 | 2016-01-30T04:11:39 | 2016-01-30T04:11:39 | 40,605,754 | 1 | 1 | null | 2015-08-12T14:39:59 | 2015-08-12T14:39:59 | null | UTF-8 | C++ | false | false | 27,259 | hxx | /*=========================================================================
Library: TubeTK/VTree3D
Authors: Stephen Aylward, Julien Jomier, and Elizabeth Bullitt
Original implementation:
Copyright University of North Carolina, Chapel Hill, NC, USA.
Revised implementation:
Copyright Kitware Inc., Carrboro, NC, US... | [
"stephen.aylward@kitware.com"
] | stephen.aylward@kitware.com |
efcdc63f79623dc31404dcce42d30b8a24b9dfe1 | 6dfd52d6fba36acc5a3c5ecaa497de97bc976e4e | /SdlBreakout/SdlBreakout/SerializableLevel.h | c8b90f3f369355da5da0f51c23873fd656353d7b | [] | no_license | Autoquark/SdlBreakout | 4a0939abd80efa1c58dfb334f0990f6e0ebf9638 | d63d274f0832436eb6cd3baa43a7ab854dcd4c29 | refs/heads/master | 2023-02-26T08:03:59.280927 | 2021-02-04T15:19:44 | 2021-02-04T15:19:44 | 221,943,204 | 0 | 0 | null | 2021-02-04T13:58:42 | 2019-11-15T14:44:36 | C++ | UTF-8 | C++ | false | false | 261 | h | #pragma once
#include "stdafx.h"
#include <nlohmann/json.hpp>
#include "LegendEntry.h"
struct SerializableLevel
{
public:
std::vector<std::string> grid;
std::vector<LegendEntry> legend;
NLOHMANN_DEFINE_TYPE_INTRUSIVE(SerializableLevel, grid, legend)
};
| [
"github@autoquark.33mail.com"
] | github@autoquark.33mail.com |
d2c31ceed2b41553302a6a16fbcb17fa362d6fc5 | c1ce1b303de794a4dc8f0d2f2d14e9d771d5e754 | /ABC/ABC046/D2.cpp | 96748638afed303338cb831bb5cee93a07ede7d6 | [] | no_license | reiya0104/AtCoder | 8790f302e31fa95aaf9ea16e443802d7b9f34bbf | 16d6257b82a0807fa07d830e22d1143c32173072 | refs/heads/master | 2023-05-09T17:29:12.394495 | 2021-06-21T02:39:16 | 2021-06-21T02:39:16 | 342,526,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | /**
* author: reiya0104
* created: 05.04.2021 01:19:38
**/
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
const int INF = 1001001000;
int main() {
string s;
cin >> s;
int count_p = 0;
int count_g = 0;
int count_win = 0;
in... | [
"reiya0104@ezweb.ne.jp"
] | reiya0104@ezweb.ne.jp |
9ec3dc7990ab8ddafb5fa037a2cb7e18995c33ed | e08ebd3daae7d0c9a578aced6be490ef9c560fdc | /Source/Atomic/IO/Serializer.cpp | 3951e0da5b5281242a05282a14a550525b292045 | [
"MIT",
"BSD-3-Clause",
"Zlib",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-khronos",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"NTP"
] | permissive | bryant1410/AtomicGameEngine | 86070cb6f575c9d6fdb0de12b66ac1ec295e55c8 | 51286ffc4102dcf2b633d36d5c0cb2dae9817302 | refs/heads/master | 2021-01-19T19:56:23.085734 | 2017-04-17T03:41:20 | 2017-04-17T03:41:20 | 88,465,101 | 1 | 0 | null | 2017-04-17T03:41:21 | 2017-04-17T03:41:21 | null | UTF-8 | C++ | false | false | 10,781 | cpp | //
// Copyright (c) 2008-2016 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, mod... | [
"josh@galaxyfarfaraway.com"
] | josh@galaxyfarfaraway.com |
90687af94347b35f0d7ba217466a338ac19f6054 | fb383048bc12afd0b303f1f25816c8ee6910b20c | /cpp_primer/chaper9/927.cpp | 71dd776ec2d6246bdca7b05c78d9b5bc72513673 | [] | no_license | linw/cpp | cf02aac2df2a07a71dc70593315b11d889d6c237 | 5bf054eef413ed5e7a80b6c837ee92b51b13a7a3 | refs/heads/master | 2016-08-08T12:12:06.995979 | 2012-01-02T13:21:25 | 2012-01-02T13:21:25 | 3,087,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | cpp | /*
* File name: 927.cpp
* Author: linwei
* E-mail: kinglw8729@gmail.com
* Date: 2011-12-5
*
*/
#include <vector>
#include <list>
#include <deque>
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int FindAndErase(list<string> &source, const string &s){
int count = 0;
list<st... | [
"kinglw8729@gmail.com"
] | kinglw8729@gmail.com |
b0efe47ad575d5e79104c6c78f6dd661368d837b | 0c153f489e523afdc33b950a6b9ee21af09e968e | /cpp/src/burgers1d_input_parser.hpp | b0ca5febcc53e48ed2d7d37a30f3beabbe369c6d | [] | no_license | Pressio/pressio-sisc-burgers1d | 86f1acb31d40d1aefa83b61bb4e8a7d70621cf1a | 671f45b7abd5dc59d574b6d26cc4a5f23ee90306 | refs/heads/master | 2021-01-26T01:04:20.594259 | 2020-04-26T11:32:00 | 2020-04-26T11:32:00 | 243,249,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,355 | hpp |
#ifndef BURGERS1DCPP_INPUT_HPP_
#define BURGERS1DCPP_INPUT_HPP_
#include <sstream>
struct InputParser{
using scalar_t = double;
std::string fileName_ = "empty";
int32_t numCell_ = {};
scalar_t dt_ = {};
scalar_t finalT_ = {};
int32_t numSteps_ = {};
int32_t observerOn_ = 0;
int32_t snapshots... | [
"fnrizzi@sandia.gov"
] | fnrizzi@sandia.gov |
a785177706e2aa861621b094cfb1dfb22d4fc193 | 776f5892f1395bb8d30731a60466e4c756a44c8c | /contests/abc215/abc215_a/main.cc | e6ced2ebc38afff7d078d7e50f18e17b54418988 | [] | no_license | kkishi/atcoder | fae494af4b47a9f39f05e7536e93d5c4dd21555b | f21d22095699dbf064c0d084a5ce5a09a252dc6b | refs/heads/master | 2023-08-31T18:37:13.293499 | 2023-08-27T21:33:43 | 2023-08-27T21:33:43 | 264,760,383 | 0 | 0 | null | 2023-03-10T05:24:07 | 2020-05-17T21:30:14 | C++ | UTF-8 | C++ | false | false | 119 | cc | #include <bits/stdc++.h>
#include "atcoder.h"
void Main() {
strings(s);
wt(s == "Hello,World!" ? "AC" : "WA");
}
| [
"keisuke.kishimoto@gmail.com"
] | keisuke.kishimoto@gmail.com |
b23ca1fcaca947594efcfa6436b8a170cb42aec1 | 39a1d46fdf2acb22759774a027a09aa9d10103ba | /ngraph/core/reference/include/ngraph/runtime/reference/transpose.hpp | bf3a016ea9223162b6ee597c1a8f0c84ae31b5bc | [
"Apache-2.0"
] | permissive | mashoujiang/openvino | 32c9c325ffe44f93a15e87305affd6099d40f3bc | bc3642538190a622265560be6d88096a18d8a842 | refs/heads/master | 2023-07-28T19:39:36.803623 | 2021-07-16T15:55:05 | 2021-07-16T15:55:05 | 355,786,209 | 1 | 3 | Apache-2.0 | 2021-06-30T01:32:47 | 2021-04-08T06:22:16 | C++ | UTF-8 | C++ | false | false | 656 | hpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <cfenv>
#include <cmath>
#include <numeric>
#include <vector>
#include "ngraph/shape.hpp"
namespace ngraph
{
namespace runtime
{
namespace reference
{
void transpose(const... | [
"noreply@github.com"
] | mashoujiang.noreply@github.com |
548d04068851caef4819a597f02ddbd4bffe7d39 | afee22fe8845a736b9916b64cecfe686f2491065 | /ContainerWithMostWater/ContainerWithMostWater.cpp | 1771fc1109ed39641372a1d0cd7493bdba442f46 | [] | no_license | felixfqiu/leetcode-havefun | 40e6e5225fc713304db1b9c346abc8f0482f6e1c | 996a167763696f488c6889d20311b590aaf158d1 | refs/heads/master | 2021-01-12T12:17:57.648499 | 2016-12-27T09:26:15 | 2016-12-27T09:26:15 | 72,419,580 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 664 | cpp | // ContainerWithMostWater.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <vector>
using namespace std;
int min(int a, int b)
{
return a < b ? a : b;
}
int max(int a, int b)
{
return a > b ? a : b;
}
int area(vector<int>& height, int l, int r)
{
int h = min(height[r], height[l]);
return (r - l) * h;
}
int... | [
"felixfqiu@gmail.com"
] | felixfqiu@gmail.com |
c6b7aa14ae9c9c5bb80a90d2894fd236d82d26e6 | 43e28ce11f5ddd07407a87385809c5e3933f348f | /mhdlc/src/vpp_interface.cc | 7fe8cdf210e1e1d85cd01dbdd6982bb5c101632f | [] | no_license | xinmeng/metahdl | 5d3421a5f06521d821d089efd94958abf78816f3 | b9465b3b44c1069382286365211ffb328a0b657f | refs/heads/master | 2022-06-29T18:15:11.937153 | 2015-07-01T06:31:52 | 2015-07-01T06:31:52 | 32,431,363 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,555 | cc | /* Copyright (C) 1996 Himanshu M. Thaker
This file is part of vpp.
Vpp is distributed in the hope that it will be useful,
but without any warranty. No author or distributor
accepts responsibility to anyone for the consequences of using it
or for whether it serves any particular purpose or works at all... | [
"zinces@cd89b550-3133-0410-a459-13e4e5e64c7f"
] | zinces@cd89b550-3133-0410-a459-13e4e5e64c7f |
38c7c41be02b38d5c119e44e630c839318ce43dc | 8b930c0ced69054f02ed32fa5913f62a8cc86446 | /NodemcuSerialArduino/NodemcuSerialArduino.ino | f608d7bbeda1deb39ef681d8df16aef473d388ff | [] | no_license | Arion12112/HardwareCodeSimpleAWS | 99e7b1eb9c2bf54b88872b49904fa9ba40f8d7cd | c5ac5a1673d27156804df6912da27cf54a747f7f | refs/heads/master | 2020-08-31T20:17:18.120657 | 2019-11-28T15:59:15 | 2019-11-28T15:59:15 | 218,776,156 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,188 | ino | #include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <PubSubClient.h>
#include <SoftwareSerial.h>
SoftwareSerial s(D6,D5);
#include <ArduinoJson.h>
#include <NTPClient.h>
#include <WiFiUdp.h>
#include <Wire.h>
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h>
#def... | [
"noreply@github.com"
] | Arion12112.noreply@github.com |
e5c5610babe44fe01c020471e3db3bfa1ededfe0 | e299f83b4dee33bdb986ac0de214b18380d63cf2 | /builder.cpp | 4a757aaa9a97ca1e32b8a96c00faae9ec537ad57 | [] | no_license | GabrielInTheWorld/pva-exam | 85bce2ff45866fe7afaffe8b8f957debb9205c76 | bf80210642f2bd02cb03f4c6ec234e479b4a4ab5 | refs/heads/master | 2020-11-25T10:51:45.004052 | 2020-02-12T14:48:28 | 2020-02-12T14:48:28 | 228,627,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | cpp | #include "builder.h"
// Gebaut von Michael Sieb
con_set Builder::buildPeriodicFreeUnorderedSet(concurrent_vector<string>* wordList, const int& k) {
this->k = k;
con_set result;
auto callback = [&](int index) {
string word = (*wordList)[index];
if ( !checkIfPeriod(word) ) {
resu... | [
"meyergabriel@live.de"
] | meyergabriel@live.de |
26ce4798b5ae425da2a001d2e5e11ff940735bf0 | 95d11da11488128cc5b983236c5b821a3c4fb9aa | /cocos2d-x-2.1.4/extensions/CCBReader/actCatmullRomToLoader.h | 170b543947a8c80963277f9ba042cedbe6e82c9c | [] | no_license | masteage/AceCocosBuilder | 0874fb6e85d2057847926ee11bd289d3f7e92c4b | 4a09d428f67898754b167a14584592777e8c2dfd | refs/heads/master | 2021-01-11T21:42:50.851594 | 2017-01-12T01:21:12 | 2017-01-12T01:21:12 | 78,837,294 | 0 | 0 | null | 2017-01-13T09:58:06 | 2017-01-13T09:58:06 | null | UTF-8 | C++ | false | false | 875 | h | //
// actCatmullRomToLoader.h
// ScrollViewTest
//
// Created by 허정목 on 2014. 1. 13..
//
//
#ifndef ScrollViewTest_actCatmullRomToLoader_h
#define ScrollViewTest_actCatmullRomToLoader_h
#include "actCatmullRomTo.h"
USING_NS_CC;
USING_NS_CC_EXT;
NS_CC_EXT_BEGIN
/* Forward declaration. */
class CCBReader;
cla... | [
"hsahn@aceproject.co.kr"
] | hsahn@aceproject.co.kr |
8a713dd98fe7df58c3006b8383c7430c24f0ad89 | 9185e2aefea655690f26571848cccd12a4145d2a | /analysis/calibration/Th_calibScript_Int.cpp | a04a6ee8133e5e6052bfedea7d6bb006aab95a32 | [] | no_license | yannmu/Gator_2020 | f7460509f8df984bf3b895f0adc1e1964b16351f | 8042371ec8d8ca63fe6b0fa75cf1ad6a90572ac4 | refs/heads/master | 2023-04-19T02:13:53.520283 | 2021-05-04T14:53:35 | 2021-05-04T14:53:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,016 | cpp | //========This script should be used as the first part of a wider script for each data taking========//
// For this script is required the header: header_Th_lines.h
//
// To run this script are required the functions contained in the following libraries:
// - myFuncs.cpp
// - myFitFunctions.c
{
TCanvas* c1 = new TCan... | [
"grodriguesaraujo@protonmail.com"
] | grodriguesaraujo@protonmail.com |
ce06b533c875b6b62d9c235f533ad9c498715e0a | 2fa764b33e15edd3b53175456f7df61a594f0bb5 | /appseed/image_png/axis_image_png/ca_os_ca_dll.cpp | 84dfe81c394f01da52525afb42d8f6449b426468 | [] | no_license | PeterAlfonsLoch/app | 5f6ac8f92d7f468bc99e0811537380fcbd828f65 | 268d0c7083d9be366529e4049adedc71d90e516e | refs/heads/master | 2021-01-01T17:44:15.914503 | 2017-07-23T16:58:08 | 2017-07-23T16:58:08 | 98,142,329 | 1 | 0 | null | 2017-07-24T02:44:10 | 2017-07-24T02:44:10 | null | UTF-8 | C++ | false | false | 447 | cpp | #include "StdAfx.h"
extern "C" int APIENTRY
DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
// remove this if you use lpReserved
UNREFERENCED_PARAMETER(lpReserved);
if (dwReason == DLL_PROCESS_ATTACH)
{
::OutputDebugString("::ca2:: ca.dll :: initializing!\n");
}
else if (dwR... | [
"camilo@ca2.email"
] | camilo@ca2.email |
21c676494284b1e0abb1fe9bc665570cbb16ce1e | 68c67b6e72d338e94373955e915cf9e4d74a0f8e | /ABC174/B.cpp | 7e26a3e7f2923db5b3b7c8e7fb50d9b6fc621fc4 | [] | no_license | mi-wada/AtCoder | c28a291572c99325e203e80059cc867f26681cfe | a71a59ad65429a857aad3e0885c1d35447e2eec2 | refs/heads/master | 2022-12-16T19:00:25.028634 | 2020-09-14T11:33:01 | 2020-09-14T11:33:01 | 260,203,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | #include<iostream>
#include<vector>
#include<string>
#include<algorithm>
#include<queue>
#include<deque>
#include<cmath>
#include<map>
#include<unordered_map>
#include<set>
#include<cstring>
#include<iomanip> //cout << fixed << setprecision(15) << x << endl;
using namespace std;
typedef long long ll;
const ll INF = 1e... | [
"mitsu.lol.0223@gmail.com"
] | mitsu.lol.0223@gmail.com |
011fd9b76c660019c9df6404fe3698a102b5343f | 7cce8432ca971ae442f093a7b1c72d078c5ec69d | /ex1/fcfs.cpp | 8496304e93083e61147a3f8b9c515c830c4c6698 | [] | no_license | sauravsb99/SSLAB | b1bd7929c7efd5bdd6464c5bde765d0e1e4050b0 | 24e85b53c0f7d7ea247b8daad0314d6bf125a5f0 | refs/heads/master | 2020-07-08T08:18:01.849268 | 2019-11-25T19:51:51 | 2019-11-25T19:51:51 | 203,615,291 | 0 | 1 | null | 2019-10-18T10:12:16 | 2019-08-21T15:40:54 | C++ | UTF-8 | C++ | false | false | 3,315 | cpp | #include<bits/stdc++.h>
using namespace std;
void print(int n, vector<int> v){
for(int i=0;i<n;i++){
cout << v.at(i) << "\t";
}
cout << "\n";
}
void gantt(int n, vector<int> process, vector<int> cmplt_time, vector<int> burst_time){
int count = 0;
int scale = 1;
cout << "\n|";
whi... | [
"sauravsb99@gmail.com"
] | sauravsb99@gmail.com |
8b0f3a717b1f94baf2fc7b9ead11a9c1c1c16fd3 | 65025edce8120ec0c601bd5e6485553697c5c132 | /Engine/app/terrainfeature/components/TerrainNodeTree.h | f333a0ef2690cbee6aabeb01dda2d3d4967bae0c | [
"MIT"
] | permissive | stonejiang/genesis-3d | babfc99cfc9085527dff35c7c8662d931fbb1780 | df5741e7003ba8e21d21557d42f637cfe0f6133c | refs/heads/master | 2020-12-25T18:22:32.752912 | 2013-12-13T07:45:17 | 2013-12-13T07:45:17 | 15,157,071 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,149 | h | /****************************************************************************
Copyright (c) 2011-2013,WebJet Business Division,CYOU
http://www.genesis-3d.com.cn
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in... | [
"jiangtao@tao-studio.net"
] | jiangtao@tao-studio.net |
b9fda0763151afdc938f441196f0e12fb639fdee | d928ac698895ec2a276b2549ce8c0f2cf39d4e03 | /CodeForces/CF650Div3/650Div3D.cpp | 113147712deccfc9ec5f4a8f2bdfe5f84405519e | [] | no_license | BlowHail/record-in-oj | bb066c979a804f8c957290544c74b8f3da28c2e8 | 2182145cbb03b4f8382eb927d2291b92e5c01b59 | refs/heads/master | 2023-03-18T23:44:56.351907 | 2021-03-13T06:33:50 | 2021-03-13T06:33:50 | 287,764,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,541 | cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
#include <cstring>
#include <string>
#include <stack>
#include <queue>
#include <cmath>
#define ll long long
#define pi 3.1415927
#define inf 0x3f3f3f3f
#define mod 1000000007
using namespace std;
struct node
{
int a,b;
}a[55],b[55];
string s;
int aa[55],ou... | [
"1144062115@qq.com"
] | 1144062115@qq.com |
dcd186ddfe6d860424fc18a1d4c3cd1de105af0f | 0329788a6657e212944fd1dffb818111e62ee2b0 | /docs/snippets/cpp/VS_Snippets_Winforms/DataFormats_StringFormat/CPP/dataformats_stringformat.cpp | d2f936944f9f4651cb74a304e99588fc63474495 | [
"CC-BY-4.0",
"MIT"
] | permissive | MicrosoftDocs/visualstudio-docs | 3e506da16412dfee1f83e82a600c7ce0041c0f33 | bff072c38fcfc60cd02c9d1d4a7959ae26a8e23c | refs/heads/main | 2023-09-01T16:13:32.046442 | 2023-09-01T14:26:34 | 2023-09-01T14:26:34 | 73,740,273 | 1,050 | 1,984 | CC-BY-4.0 | 2023-09-14T17:04:58 | 2016-11-14T19:36:53 | Python | UTF-8 | C++ | false | false | 1,502 | cpp | // System::Windows::Forms::DataFormats::StringFormat
/*
* The following example demonstrates the 'StringFormat' field of 'DataFormats' class.
* It stores a String Object^ in Clipboard using the Clipboard's 'SetDataObject' method.
* It retrieves the String Object^ stored in the Clipboard by using the GetDataObject ... | [
"v-zhecai@microsoft.com"
] | v-zhecai@microsoft.com |
47f9f3cb8aa74d084baa116bdf84d08579538bca | d5da09aff917eba8e85b9e4d9057ca1ace59d735 | /tr69profile/hwst_diag_tuner.cpp | 097328cda50e68106c10d09ae07ea1fccee10866 | [
"Apache-2.0"
] | permissive | rdkcmf/rdk-hwselftest | 68b8703161686f435dd18c09cee7a9d53aaf1f54 | b0f104a5f24d74ac7187f10b609adb9c3765b677 | refs/heads/master | 2023-02-05T05:53:22.968221 | 2018-10-03T17:47:56 | 2018-10-03T17:48:43 | 106,031,597 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,722 | cpp | /*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2017 RDK Management
*
* 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 ... | [
"jim.lawton@accenture.com"
] | jim.lawton@accenture.com |
b3c3027d358768cc23e59e2d09847d060d025635 | dc3b1b231ee872d5d4d2e2433ed8a2d8fb740307 | /chapter17/ex04.h | 2326d355c3b333221f7f9e11b20f02b23e58387d | [] | no_license | coder-e1adbc/CppPrimer | d2b62b49f20892c5e53a78de0c807b168373bfc6 | 33ffd4fc39f4bccf4e107aec2d8dc6ed4e9d7447 | refs/heads/master | 2021-01-17T08:54:23.438341 | 2016-08-13T03:21:08 | 2016-08-13T03:21:08 | 61,343,967 | 0 | 0 | null | 2016-06-29T14:37:16 | 2016-06-17T03:49:23 | C++ | UTF-8 | C++ | false | false | 601 | h | #include <iostream>
#include <initializer_list>
#include <string>
#include <tuple>
#include <vector>
#include "Sales_data.h"
using matches = std::tuple<std::vector<Sales_data>::size_type,
std::vector<Sales_data>::const_iterator,
std::vector<Sales_data>::const_iterator>;
std::vec... | [
"mengxianghua1995+github@gmail.com"
] | mengxianghua1995+github@gmail.com |
e0897ad871033ac3b0bcbae0e04111e78ed852b1 | 4c606ff1f36895b3ae3232a293001e988f95d954 | /JZOF/旋转数组的最小数字.cc | b9a6eb7b3cda75f0064f7aa70b3852c2c4973d0c | [] | no_license | HCMY/InteletTree | 26692dbaffe32c8fbd144dd7a1a1081f5a860716 | 8d28c9dd87986a3bfc20dc826b12af7fb904aefb | refs/heads/master | 2020-07-20T01:04:48.045059 | 2020-06-10T13:28:44 | 2020-06-10T13:28:44 | 206,544,501 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,110 | cc | /**
题目是输入一个旋转好了的数组如:{3,4,5,1,2}
要求输出最小的元素:
1. 直接排序? 显然题目的意思并不是这样, 虽然这样也能做, 但有可能会导致时间不足
2.二分法
这样的旋转数组有一个特性: 2部分都是递增的,那么我们可以确定的是:前半部分一定比后半部分要大,因为是非递减的
可以通过二分查找:
定义low, high,mid_location
- 当 mid_location>high的时候,我们要查找的范围在后面
- 当 mid_location<high的时候,我们要查找的范围在前面
终止条件:low<high
*/
class Solution {
public:
int minNumberI... | [
"noreply@github.com"
] | HCMY.noreply@github.com |
2414d781e118bed8f7d7c4a1c53a4311c7f84dd8 | 45674116e3c708effcc0274946b436fdd5d2d266 | /Pattern printing/Letter_X.cpp | bf9d433491b4fcbae95b783196a6de81e99dcbda | [
"MIT"
] | permissive | SarthakKeshari/CPP-Questions-and-Solutions | 80741c00d6a9f95553e87a6687df0fef441e337f | b3097685322caac5124ecfbfd41a221fb6bc8318 | refs/heads/main | 2023-08-30T22:26:53.918764 | 2021-10-31T09:34:39 | 2021-10-31T09:34:39 | 397,938,992 | 52 | 144 | MIT | 2021-10-31T09:34:40 | 2021-08-19T12:41:04 | C++ | UTF-8 | C++ | false | false | 1,060 | cpp | //C++ program to print the below pattern :-
/*
@@ ##
@@ ##
@@ ##
@@ ##
@@@
## @@
## @@
## @@
## @@
*/
#include <iostream>
using namespace std;
int main()
{
int row,coloumn;
for(row=0; row<9; row++) // here 9 is the total no. of rows.
{
for(coloumn=0; coloumn<9; coloumn... | [
"noreply@github.com"
] | SarthakKeshari.noreply@github.com |
d5c3fecbdfe228beb318af03e7999703be03386c | 8c0ad19e076ac6c96aadd18d1ecd748e950a3a4d | /prelude/prelude.cpp | bee47a328d17d8b4d7f5dfa3d4a8a9fa9db868b8 | [
"LicenseRef-scancode-public-domain"
] | permissive | APTX/geordi | 55be821b0387313f5ca2e59e28c93ba4f2c880a8 | fb68f233bee8d0d5f2c794f4687a37ad1cbb4b8e | refs/heads/master | 2021-01-16T22:05:59.132444 | 2015-10-18T15:14:38 | 2015-10-19T13:48:50 | 44,536,228 | 0 | 0 | null | 2015-10-19T13:21:33 | 2015-10-19T13:21:32 | null | UTF-8 | C++ | false | false | 5,901 | cpp |
#include <iostream>
#include <algorithm>
#include <iterator>
#include <string>
#include <fstream>
#include <stdexcept>
#include <vector>
#include <cerrno>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <ctime>
#include <cassert>
#include <ios>
#include <set>
#include <functional>
#include <clocale>
#... | [
"eelis@eelis.net"
] | eelis@eelis.net |
3f5472004901004b2eb8c8d004676686d777ad22 | 0d60ce9b935b4e688b83bab3b89a1ded4725174c | /examples/allegro5_example/imgui_impl_allegro5.cpp | 1c9165254183b6ca816b91b2365d8de172416dbf | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | azsry/imgui | 24f087030e576463bb83412e364c9c82bda7ff27 | 08e20ae4653a603ebc581c8900a4fe90f3101697 | refs/heads/master | 2020-03-18T20:27:45.169363 | 2018-01-05T14:33:24 | 2018-05-28T19:48:25 | 135,217,408 | 1 | 0 | MIT | 2018-05-28T23:14:18 | 2018-05-28T23:14:17 | null | UTF-8 | C++ | false | false | 12,517 | cpp | // ImGui Allegro 5 bindings
// Implemented features:
// [X] User texture binding. Use 'ALLEGRO_BITMAP*' as ImTextureID. Read the FAQ about ImTextureID in imgui.cpp.
// Missing features:
// [ ] Clipboard support via al_set_clipboard_text/al_clipboard_has_text.
// You can copy and use unmodified imgui_impl_* files in... | [
"omarcornut@gmail.com"
] | omarcornut@gmail.com |
a49bfa733aa6ac2df42f767294880fc4cbd4657b | 1300358e915ec390bfd4eef88c1ead89b8bf3ba2 | /quote_tunnels/my_tunnel_lib_sgit/src/sgit_data_formater.cpp | 7ee996a325c97798826597d76a88a1f34d438a85 | [] | no_license | 19199883/gangof4 | d04e7a5fb4b556a7ee29410e83b7761fb25fecbd | 24370d709056fae7ff7085581a4d72478ce6ad3e | refs/heads/master | 2020-05-21T19:15:21.073690 | 2019-10-30T10:26:25 | 2019-10-30T10:26:25 | 64,183,829 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 33,809 | cpp | #include "sgit_data_formater.h"
#include <iostream>
#include <sstream>
using namespace std;
static std::string indent_string = " ";
static std::string newline_string = "\n";
std::string DatatypeFormater::ToString(const CSgitFtdcReqUserLoginField *pdata)
{
stringstream ss;
ss << newline_string... | [
"17199883@qq.com"
] | 17199883@qq.com |
01fd495b91830655f7e1994b80ec1e28b4b117d5 | da6863c90ee854ceba9ae4f4d75c2c04df394dfd | /emaxx/bjp.cpp | ef2b8796c6212c2080cf6f962f495e2a0cb1d3c3 | [] | no_license | iamrakesh28/Competitve-Programming | a9db8df3d4a90ea34bad982a5c9ff90da4f9708e | c7aec676acfee8d506e5cfbbd010bdb913d880e4 | refs/heads/master | 2021-06-11T03:27:31.364670 | 2021-04-04T11:54:55 | 2021-04-04T11:54:55 | 180,629,170 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | cpp | #include <bits/stdc++.h>
using namespace std;
long int ri[1000000], ci[1000000];
int main() {
int t;
scanf("%d", &t);
while (t--) {
long long r, c, sum1 = 0, sum2 = 0, mr = -1, mc = -1, mri, mci, a, b;
cin>>r>>c;
mri = r;
mci = c;
for (int i = 0; i < r; ++i) {
cin>>a;
ri[i] = a;
sum1 += a;
m... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
e6912e45621cd20efd85312fb49b4c0e0f6b8cf0 | d4e96aa48ddff651558a3fe2212ebb3a3afe5ac3 | /Modules/Filtering/ImageGrid/include/itkBSplineControlPointImageFilter.hxx | d3324b3483437a38e92f7065653127b9654eaf10 | [
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"NTP",
"IJG",
"GPL-1.0-or-later",
"libtiff",
"BSD-4.3TAHOE",
"... | permissive | nalinimsingh/ITK_4D | 18e8929672df64df58a6446f047e6ec04d3c2616 | 95a2eacaeaffe572889832ef0894239f89e3f303 | refs/heads/master | 2020-03-17T18:58:50.953317 | 2018-10-01T20:46:43 | 2018-10-01T21:21:01 | 133,841,430 | 0 | 0 | Apache-2.0 | 2018-05-17T16:34:54 | 2018-05-17T16:34:53 | null | UTF-8 | C++ | false | false | 20,835 | hxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* ... | [
"ruizhi@csail.mit.edu"
] | ruizhi@csail.mit.edu |
3166edce661952d4cb958ad6d2193d1de186cd79 | 8776c2cd1b4d0054b8c59a0a22a1f37ae43c19ad | /ExpressCaptureServer/pmt.cpp | 1b2948c9b2bfb4a5d9f10d026a6f98a637efaea8 | [] | no_license | jocover/DatvExpressTransmitter | bef480a1c7b475954c75e17ea614998a28ae0e2a | ee4474610e5436e34c0719b337880c1457b53fe2 | refs/heads/master | 2021-01-21T21:25:46.302379 | 2017-06-16T17:39:00 | 2017-06-16T17:39:00 | 94,836,750 | 2 | 2 | null | 2017-06-20T01:33:30 | 2017-06-20T01:33:30 | null | UTF-8 | C++ | false | false | 6,144 | cpp | #include "stdafx.h"
#include <stdint.h>
#include "Dvb.h"
#include "tp.h"
//
// This module formats and sends PMT tables
//
static uint8_t m_pmt_seq;
static uint8_t pmt_pkt[188];
int add_video_info( uint8_t *b, tp_v_desc *dec){
return 0;
}
int add_audio_info( uint8_t *b, tp_a_desc *dec){
return 0;
}
i... | [
"noreply@github.com"
] | jocover.noreply@github.com |
57e2f240f2a24e3600df5d73ec45b8d24e252a75 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /chrome/browser/web_applications/test/test_system_web_app_manager.h | b007543f58773c4a4d02ef745c0df5af1821c829 | [
"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 | 1,225 | h | // Copyright 2018 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_WEB_APPLICATIONS_TEST_TEST_SYSTEM_WEB_APP_MANAGER_H_
#define CHROME_BROWSER_WEB_APPLICATIONS_TEST_TEST_SYSTEM_WEB_APP_MANAGER_H_
#... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
0f525144f5e68926e0163a89f013e59cecd21ed3 | 1ad60460a7c5b8cbf7b5a77746ac84274b0eed05 | /cast_user.cpp | 225944c6485c1474e70b745a725aa97186b70818 | [] | no_license | ting2313/BallPool | e46c5632fe5a8a546ebde79653e5cf653a3e991d | d07ff004516a4fbd63ae36c37d096226e26feb18 | refs/heads/master | 2021-04-07T12:49:49.802766 | 2020-03-20T05:42:37 | 2020-03-20T05:42:37 | 248,677,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 712 | cpp | #include"cast_user.h"
#include"ball_enemy.h"
#include"mainwindow.h"
#include<QGraphicsScene>
extern Score *score;
extern Text *text;
cast_user::cast_user()
{
hp=1;
QTimer *timer= new QTimer(this);
connect(timer, SIGNAL(timeout()),this, SLOT(hurt()));
timer->start(50);
}
void cast_user::hurt()
{
... | [
"ting2313@gmail.com"
] | ting2313@gmail.com |
dbcabe8a553c441a74c355e053b4cbaf87a10c9c | 38bec23d83a79077f8a17d1b0089c59ac651e384 | /gs-mirror-tree.cpp | bf0cad5ddafb80aa31d33c9f8ea812aedad5171b | [] | no_license | kwkwok1980/interview | bfc6c0566a96887f59e3c87f4aaf47c6ea3aa014 | c21dc29c2e9cac3b122499082cfa05817de72807 | refs/heads/master | 2023-04-08T20:10:44.509183 | 2021-04-17T06:34:45 | 2021-04-17T06:34:45 | 61,633,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,096 | cpp | //https://practice.geeksforgeeks.org/problems/mirror-tree/1
{
//Initial Template for C++
#include <bits/stdc++.h>
using namespace std;
/* A binary tree node has data, pointer to left child
and a pointer to right child */
struct Node
{
int data;
struct Node* left;
struct Node* right;
Node(int x)... | [
"noreply@github.com"
] | kwkwok1980.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.