Dataset Viewer
Auto-converted to Parquet Duplicate
blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
sequencelengths
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
sequencelengths
1
1
author_id
stringlengths
0
158
bc04402f98f0dfbab1312618df94c4703378e069
41c46297d9303f54fb390050f550379649313979
/카드놓기.cpp
aa02d0885de65c301b7c8a79689e95c3c4acf687
[]
no_license
SketchAlgorithm/17_Jo-Wonbin
f48d6c51026d08bd4eeb13448e35d8566660ad40
75231bf4a0fb62518f687c62c752f5efb7c49478
refs/heads/master
2020-04-23T00:30:30.618000
2020-02-18T09:02:46
2020-02-18T09:02:46
170,782,242
1
0
null
null
null
null
UTF-8
C++
false
false
692
cpp
#include<iostream> using namespace std; bool cache[10000000]; int arr[11]; int n, k; int travel(int depth, int num, int use) { if (depth > k) { return false; } int ret = cache[num] == false; cache[num] = true; for (int i = 0; i < n; i++) { if (!(use ^ (1 << i))) continue; if (arr[i] >= 10)...
[ "noreply@github.com" ]
SketchAlgorithm.noreply@github.com
2700f3690854eaf5a2187d2d57c0ce1df9fa0f9f
29288023bde7829066f810540963a7b35573fa31
/BstUsingSet.cpp
4f984176f775caa7499cc3e20cab43944733c536
[]
no_license
Sohail-khan786/Competitve-Programming
6e56bdd8fb7b3660edec50c72f680b6ed2c41a0f
e90dcf557778a4c0310e03539e4f3c1c939bb3a1
refs/heads/master
2022-10-08T06:55:46.637000
2020-06-07T18:39:20
2020-06-07T18:39:20
254,899,456
0
0
null
null
null
null
UTF-8
C++
false
false
718
cpp
#include<bits/stdc++.h> using namespace std; int main() { int flag=1; set<int> s; set<int>::iterator it; int x; while(flag!=3) { cout<<"1.Insert 2.Delete 3.Exit"<<endl; cin>>flag; cout<<"value\t"; cin>>x; if(flag==1) { s.insert(x); }...
[ "Khansohail0540@gmail.com" ]
Khansohail0540@gmail.com
6121382505592535a09b239e90ed50ff680fc2e6
91fcb836ee5af301a2125624ddb96cf49b19494d
/queue/restoreQueue.cpp
2e49fc23784e34f26b2deade801fe414d1b21cb1
[]
no_license
hellozxs/C
fe11911222595ffcdc425218407711bbe59a3b10
1f3815966a8d5668f149ff9957672819a2d2b57d
refs/heads/master
2020-04-06T07:03:14.596000
2016-09-18T10:25:27
2016-09-18T10:25:27
65,121,708
0
0
null
null
null
null
UTF-8
C++
false
false
1,272
cpp
//对一个队列执行以下操作后,发现输出为 1,2,3,4,……,n // 操作:(如果队列不为空) // 1:取队头元素,放入队尾,将队头pop // 2;输出队头,将队头pop // 输入n,求原始队列? // //输入:z -> 表示将要输入的数据的个数 //输入z个n的具体值 #include <iostream> #include <vector> using namespace std; typedef struct MyData { int _data; bool _flag; }MyData; int main() { i...
[ "526591420@qq.com" ]
526591420@qq.com
b8319da5f12cfbbbd8ce6c9a50bab4c69b92531e
c4a320a9519cd63bad9be9bcfc022a4fcab5267b
/TETRIS_VS/TETRIS_VS/LobbyBoard.cpp
4e7ef9e1f59c43158f02345d8f894a183007f43e
[]
no_license
shield1203/TETRIS_VS
79dc3d8db0a1107352e46e69a96482a49490a290
3f67f0436674a10f9d37a98286a1f3531e6f7730
refs/heads/master
2020-12-22T00:11:37.323000
2020-03-05T15:28:32
2020-03-05T15:28:32
236,593,352
0
0
null
null
null
null
UTF-8
C++
false
false
401
cpp
#include "stdafx.h" #include "LobbyBoard.h" #include "InputSystem.h" #include "PacketManager.h" LobbyBoard::LobbyBoard() { m_packetManager = PacketManager::getInstance(); m_inputSystem = new InputSystem(); } LobbyBoard::~LobbyBoard() { SafeDelete(m_inputSystem); } void LobbyBoard::Update() { m_inputSystem->Chec...
[ "57628185+shield1203@users.noreply.github.com" ]
57628185+shield1203@users.noreply.github.com
376f659de9de4170c19135d4e5e6f4fa7d95e938
bc33abf80f11c4df023d6b1f0882bff1e30617cf
/CPP/other/李泉彰/hhh.cpp
0e114bad33f893d5b9c3e166e74c22c9172ffe76
[]
no_license
pkuzhd/ALL
0fad250c710b4804dfd6f701d8f45381ee1a5d11
c18525decdfa70346ec32ca2f47683951f4c39e0
refs/heads/master
2022-07-11T18:20:26.435000
2019-11-20T13:25:24
2019-11-20T13:25:24
119,031,607
0
0
null
2022-06-21T21:10:42
2018-01-26T09:19:23
C++
UTF-8
C++
false
false
6,060
cpp
#include <stdio.h> #include <iostream> using namespace std; int qipan[15][15] = { 0 }; int times = 0; int print(); bool is_win(int x, int y, int flag); bool is_near(int x, int y); bool AI_set(int flag); int calc_value(int x, int y, int flag, int depth, int _max_value); int qixing(int x, int y); int main(int argc, ch...
[ "pkuzhd@pku.edu.cn" ]
pkuzhd@pku.edu.cn
b1bcf5c96e5da91d67fb19ffdce0f2269d7bd395
cbb3ef472b4f4bbf1480552160aedbd88f230ee3
/Carpeta_de_proyectos_Arduino_copia_de_seguridad/NodemCU_Firebase_central/NodemCU_Firebase_central.ino
27d5e0ce48b73f435a3d2f3cb93ee7104a25d57a
[]
no_license
agrgal/ARDUINO_CS
5a68e236ec660b7ce4e34ee1253b1c0ed27033f0
f94200dceb4a8d7d27332a3045301daecbb6c979
refs/heads/master
2022-09-13T08:06:10.458000
2022-08-29T14:30:27
2022-08-29T14:30:27
242,396,006
2
0
null
null
null
null
UTF-8
C++
false
false
2,424
ino
/* * Created by Aurelio Gallardo Rodríguez * Based on: K. Suwatchai (Mobizt) * * Email: aurelio@seritium.es * * CENTRAL. Lectura * * Julio - 2019 * */ //FirebaseESP8266.h must be included before ESP8266WiFi.h #include "FirebaseESP8266.h" #include <ESP8266WiFi.h> #define FIREBASE_HOST "botonpanicoseriti...
[ "aurelio@seritium.es" ]
aurelio@seritium.es
0293e83add680ed3f8e92ecea17c897a91d1270b
1ca3477d99bddb6611f2feb67c8ce0c4569d8a4b
/Memendo.cc
7ac722a8f7b952968a9ec15d38a1c9bbc3afc637
[]
no_license
TaoJun724/DesignPattern
0da37a3a34fba54ba21cb809875b20d9eeba3443
b0c62668cfad5b48b85b413e78ee9334812a74b2
refs/heads/master
2020-06-30T08:57:32.156000
2019-08-07T07:42:09
2019-08-07T07:42:09
200,785,533
0
0
null
null
null
null
UTF-8
C++
false
false
1,461
cc
#include <stdio.h> #include<string> class Memento { public: Memento(int n, std::string s) { _s = s; _money = n; } void setMoney(int n) { _money = n; } int getMoney() { return _money; } void setState(std::string s) { _s = s; } std::string getState() { return _s; } private: int _money; std::s...
[ "2086239852@qq.com" ]
2086239852@qq.com
bba7327fa47b292b7a2a12379dbea888640a0e70
58790459d953a3e4b6722ed3ee939f82d9de8c3e
/my/PDF插件/sdkDC_v1_win/Adobe/Acrobat DC SDK/Version 1/PluginSupport/PIBrokerSDK/simple-ipc-lib/src/pipe_win.h
4625bef0dc76752fdcc7b3a4966d087839cbd12f
[]
no_license
tisn05/VS
bb84deb993eb18d43d8edaf81afb753afa3d3188
da56d392a518ba21edcb1a367b4b4378d65506f0
refs/heads/master
2020-09-25T05:49:31.713000
2016-08-22T01:22:16
2016-08-22T01:22:16
66,229,337
0
1
null
null
null
null
UTF-8
C++
false
false
1,659
h
// Copyright (c) 2010 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
[ "tisn05@gmail.com" ]
tisn05@gmail.com
f45da0032ec95894d113360f36e2c7e74a3b4bd2
be522f6110d4ed6f330da41a653460e4fb1ed3a7
/runtime/nf/httpparser/Buffer.cc
e4717f524b583c4cfdc3f533c545bdec74c3946c
[]
no_license
yxd886/nfa
2a796b10e6e2085470e54dd4f9a4a3721c0d27a9
209fd992ab931f955afea11562673fec943dd8a6
refs/heads/master
2020-06-17T22:09:37.259000
2017-03-24T03:07:38
2017-03-24T03:07:38
74,966,034
0
0
null
null
null
null
UTF-8
C++
false
false
981
cc
#include "Buffer.h" void CBuffer_Reset(struct CBuffer& Cbuf){ if(!Cbuf.buf){ Cbuf.buf = (char*) malloc(BUFFER_SIZE); memset(Cbuf.buf,0x00,Cbuf._free); } if(Cbuf.len > BUFFER_SIZE * 2 && Cbuf.buf){ //如果目前buf的大小是默认值的2倍,则对其裁剪内存,保持buf的大小为默认值,减小内存耗费 char* newbuf = (char*) realloc(Cbuf.buf,BUFFER_SIZE); if(ne...
[ "duanjp8617@gmail.com" ]
duanjp8617@gmail.com
36ffd69f21bf2277cef7fea364841c3a12967399
d04b3793ed3611d5bdc8e3bc990bf9eb8562cece
/CheatSheet.cpp
e00970193f00ed69d57e398e36db43427aaf83b0
[]
no_license
nebulou5/CppExamples
c7198cdc24ba1d681cc20738a3b21e2b17b98498
98044227b888a7f9faa8934ab76bb3cac443b75e
refs/heads/master
2023-09-01T18:55:44.584000
2016-01-25T17:57:40
2016-01-25T17:57:40
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,222
cpp
#include <iostream> using namespace std; void printI(int &i) { cout << "Printing i: " << i << endl; } int main() { // defining a basic 10 integer array int x[10]; int xLen = sizeof(x) / sizeof(x[0]); for (int i = 0; i < xLen; i++) { cout << x[i] << endl; } // defining an array in place float v[...
[ "rwharrington87@gmail.com" ]
rwharrington87@gmail.com
6bb71dcc34b99d77ceb1ceff65cfbc759d142cb5
fb72a82827496e66e04ecb29abbca788a1ea0525
/src/wallet/wallet.h
5c79de2b263b987cf010ed0c6314bf311d8d6581
[ "MIT" ]
permissive
exiliumcore/exilium
92631c2e7abeeae6a80debbb699441d6b56e2fee
6aa88fe0c40fe72850e5bdb265741a375b2ab766
refs/heads/master
2020-03-14T05:50:41.214000
2018-05-13T01:00:24
2018-05-13T01:00:24
131,472,364
0
1
null
null
null
null
UTF-8
C++
false
false
37,762
h
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2018 The Exilium Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licens...
[ "devexilium@gmail.com" ]
devexilium@gmail.com
49d04327f2bb77b7681762dfab736d8274441b2c
d1dc3c6ec24ce3291a257b16bd1f2aa6bd791d2e
/Project1/src/Main66.cpp
e774f1c5c93157824bc10e4e8b6864ae00497def
[]
no_license
wrapdavid/Cherno_practice
8248bbcedee31a48c536dbd191eca5265178e762
e95ff1857fd72fc195a0e4c57c15a5965287ea69
refs/heads/master
2020-09-08T10:32:04.088000
2020-02-11T02:29:49
2020-02-11T02:29:49
221,109,286
0
0
null
null
null
null
UTF-8
C++
false
false
242
cpp
#include<iostream> template<typename T, char N> class Array { private: T m_Array[N]; public: char GetArray() const { return N; } }; int main() { Array<int, 61> array; std::cout << array.GetArray() << std::endl; std::cin.get(); }
[ "etdog0910@gmail.com" ]
etdog0910@gmail.com
c1be7ed8331d413fbb32c4f4da225eabb0c94905
2d4346d0da0a4145f6bcc91a8cb2c0ab4d669d7e
/chat-up-server/src/Authentication/AuthenticationService.h
b172c8a7281e736007294715851af51947b6b669
[]
no_license
xgallom/chat-up
5570d069a495acf6398bdf1f62b1fb1d91289376
7cb664ce745cf041fb508b04165d2179563aa010
refs/heads/master
2020-04-18T05:40:58.487000
2019-01-29T22:36:04
2019-01-29T22:36:04
167,287,878
0
0
null
null
null
null
UTF-8
C++
false
false
608
h
// // Created by xgallom on 1/27/19. // #ifndef CHAT_UP_AUTHENTICATIONSERVICE_H #define CHAT_UP_AUTHENTICATIONSERVICE_H #include <Messaging/Message.h> #include <Messaging/MessageSender.h> #include <Outcome.h> #include <Authentication/User.h> class AuthenticationStorage; class AuthenticationService { Authenticat...
[ "gallo.milan.jr@gmail.com" ]
gallo.milan.jr@gmail.com
40bc68efa1d237aacc7f1b2a5010046f0e4cf13c
4b1289b0eb41c045a24b4626857097571c988e9b
/Least_Loose_Number_In_The_Array.cpp
01dac7320be1eee1ec1af9b49c0962158327697f
[]
no_license
Arvy1998/Calculus-and-Play-with-New-Syntax
136d942c1be8dc59d3b6d764881d7a9aea5a68cd
b442156a850dad2ed7c53ce86d3435fb35d78fe9
refs/heads/master
2021-07-11T02:05:09.180000
2019-03-12T22:00:42
2019-03-12T22:00:42
129,288,984
1
0
null
null
null
null
UTF-8
C++
false
false
965
cpp
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { long long n, seka[101], MIN_TEIG = 0, count; vector <long long> izulus_teig_sk; cin >> n; for (auto x = 0; x < n; x++) { cin >> seka[x]; } for (auto i = 0; i < n; i++) { if (i == 0) { if (seka[i] > seka[i + 1]) {...
[ "noreply@github.com" ]
Arvy1998.noreply@github.com
1232a46da9a5b85d3695ca1a7c3b93c5b37fc11d
171b27ba265922de7836df0ac14db9ac1377153a
/test/doc/diff/stirling.cpp
875116731f3ae6bb89c2579c42e3222f850e5811
[ "MIT" ]
permissive
JPenuchot/eve
30bb84af4bfb4763910fab96f117931343beb12b
aeb09001cd6b7d288914635cb7bae66a98687972
refs/heads/main
2023-08-21T21:03:07.469000
2021-10-16T19:36:50
2021-10-16T19:36:50
null
0
0
null
null
null
null
UTF-8
C++
false
false
561
cpp
#include <eve/function/diff/stirling.hpp> #include <eve/wide.hpp> #include <iostream> using wide_ft = eve::wide <float, eve::fixed<4>>; int main() { wide_ft pf = { 0.0f, 1.0f, -1.0f, -0.5f}; std::cout << "---- simd" << '\n' << "<- pf = " << pf << '\n' << "-> diff(stirling)(pf) = " <...
[ "noreply@github.com" ]
JPenuchot.noreply@github.com
cbee84c2e52dc1341528f8254aaf41ac321f936c
2869112fdc836e565f9fe68e290affc1e223c1d8
/pythran/pythonic/include/__builtin__/set/isdisjoint.hpp
10ac38270e03ff35d15b79143e6164321a7b5afb
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
coyotte508/pythran
ab26e9ddb9a9e00e77b457df316aa33dc8435914
a5da78f2aebae712a2c6260ab691dab7d09e307c
refs/heads/master
2021-01-15T10:07:09.597000
2015-05-01T07:00:42
2015-05-01T07:00:42
35,020,532
0
0
null
2015-05-04T07:27:29
2015-05-04T07:27:29
null
UTF-8
C++
false
false
621
hpp
#ifndef PYTHONIC_INCLUDE_BUILTIN_SET_ISDISJOINT_HPP #define PYTHONIC_INCLUDE_BUILTIN_SET_ISDISJOINT_HPP #include "pythonic/utils/proxy.hpp" #include "pythonic/types/set.hpp" namespace pythonic { namespace __builtin__ { namespace set { template<class T, class U> bool ...
[ "serge.guelton@telecom-bretagne.eu" ]
serge.guelton@telecom-bretagne.eu
36a545137c7c8972f084997716e578ad86d3ac15
afcce85e08d8fc5141a840fe77bf7bf93f49df54
/tests/2015-09-10/fft_shift/main.cpp
5fd27aab9e2480a56af1d2bf0dfe2ab2e4eeaa98
[]
no_license
icopavan/Automatic-Modulation-Classification-ELEN4012
ff8f58a467129b371a9d2b042169fc99620b2959
d72e3b4d36ad88b2872a8b33606c120f18b974e6
refs/heads/master
2021-01-12T21:07:15.807000
2015-10-09T21:29:56
2015-10-09T21:29:56
44,043,227
2
1
null
2015-10-11T07:30:41
2015-10-11T07:30:40
null
UTF-8
C++
false
false
910
cpp
#include "mainwindow.h" #include <QApplication> #include <fftw3.h> #include <cmath> int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); double PI = 4 * atan(1); int N = 512; // number of samples double fs = 10e3; // sampling frequency double fc = 1000; //...
[ "anthonyjamesfarquharson@gmail.com" ]
anthonyjamesfarquharson@gmail.com
06c1ab5ff8ab138987ba9ad1ed0f423d945bafe7
6817617489ef291d4d53ac844ba7a2b14cc17ae2
/11942.cpp
dcc6c32bd3395a76801df96fb6b8693215e020ec
[]
no_license
Asad51/UVA-Problem-Solving
1932f2cd73261cd702f58d4f189a4a134dbd6286
af28ae36a2074d4e2a67670dbbbd507438c56c3e
refs/heads/master
2020-03-23T14:52:49.420000
2019-10-24T17:03:37
2019-10-24T17:03:37
120,592,261
0
0
null
null
null
null
UTF-8
C++
false
false
449
cpp
#include <bits/stdc++.h> using namespace std; int main(int argc, char const *argv[]) { int t; cin>>t; cout<<"Lumberjacks:\n"; while(t--){ bool in = true; bool dec = true; int p; for(int i=0; i<10; i++){ int n; cin>>n; if(!i){ p = n; continue; } if(n<p || !in) in = false; if(n>...
[ "asad.cse.ru.15@gmail.com" ]
asad.cse.ru.15@gmail.com
819eb928fa03acd974c3e18443532022f13c2f05
711b11d08abdb3a7df2574b0b4c86af21c5c6750
/dest.h
e06af74e0264187915ab70b86b0e67aa85d2a79f
[]
no_license
nflath/MSP430Emulator
4aee9e093113cc41d9041a1728eedd742fd786b2
a97a1b97b895b3533597bcdb69bec8b75db395df
refs/heads/master
2021-01-13T01:54:55.258000
2015-08-25T05:10:04
2015-08-25T05:10:04
41,343,926
0
0
null
null
null
null
UTF-8
C++
false
false
2,382
h
#include <assert.h> #ifndef DEST_H #define DEST_H #include "error.h" // Classes representing 'Destinations' types in MSP430 - See the section // 'MSP430 addressing modes' in https://en.wikipedia.org/wiki/TI_MSP430#MSP430_CPU class State; class Dest { // Virtual base clase. public: virtual void set(short value) ...
[ "flat0103@gmail.com" ]
flat0103@gmail.com
0e5baca75fdd2c54621542f6cf7b7bde1bdf4164
fdebe3129bb47afc1924e45e1ed3c97ee9213ac4
/GA-TSP/test.cpp
3bbfaacce92afe022185cf0c23ee0c0d44e5e17d
[]
no_license
SYSU532/artificial-intelligence
3604e07b3670555d65ac2d36dbbf458f69658a07
e0847fb1d181415137580e1c3e529e2120ed09d4
refs/heads/master
2020-04-05T20:26:14.953000
2019-01-11T12:50:27
2019-01-11T12:50:27
157,179,948
0
0
null
null
null
null
UTF-8
C++
false
false
1,044
cpp
#include <node.h> namespace demo{ using v8::FunctionCallbackInfo; using v8::Isolate; using v8::Local; using v8::Object; using v8::String; using v8::Value; using v8::Number; // Method1 实现一个 输出"hello world ONE !" 的方法 void Method1(const FunctionCallbackInfo<Value>& args){ Isol...
[ "chenmliang@mail2.sysu.edu.cn" ]
chenmliang@mail2.sysu.edu.cn
e58b6df0e5b4c66f0d095c33c45ddcbea6ffceae
9929f9f832b21f641f41fc91cbf604643f9770dd
/src/txt/mainRegressionP.cpp
16ad10a2e0e2cf8996b46a19dd9d38b275156452
[]
no_license
JeanSar/rogue
1cd4d8d18fe8ae6ba7d32f3af556259f5a65b2fc
a4c8945a8ae09984a4b417a3bac5ffd029e46fa7
refs/heads/master
2023-03-01T01:24:12.351000
2021-01-28T19:53:17
2021-01-28T19:53:17
331,929,934
2
0
null
null
null
null
UTF-8
C++
false
false
1,062
cpp
#include "Personnages.h" using namespace std; int main(){ srand(time(NULL)); int ok = 0; Hero* h = new Hero("Player"); Ennemi* e = new Ennemi(4); cout << "Hero : " << h->getName() << endl << "x : " << h->getX() << endl << "y : " << h->getY() << endl << "pv : " << h->getPv() << endl << "lv : ...
[ "=" ]
=
33fa115e3d756b655d4b8fd3fc840eb94198c8be
012784e8de35581e1929306503439bb355be4c4f
/problems/37. 解数独/3.cc
84bf778bd32645766fc6275be6ca3a9a288a96dc
[]
no_license
silenke/my-leetcode
7502057c9394e41ddeb2e7fd6c1b8261661639e0
d24ef0970785c547709b1d3c7228e7d8b98b1f06
refs/heads/master
2023-06-05T02:05:48.674000
2021-07-01T16:18:29
2021-07-01T16:18:29
331,948,127
0
0
null
null
null
null
UTF-8
C++
false
false
1,979
cc
#include "..\..\leetcode.h" class Solution { public: void solveSudoku(vector<vector<char>>& board) { row = col = box = vector<int>(9); int count = 0; for (int i = 0; i < 9; i++) { for (int j = 0; j < 9; j++) { if (board[i][j] == '.') count++; els...
[ "2595756713@qq.com" ]
2595756713@qq.com
ab5bc031413c9ef1306cacfd08a9878b7b902ed5
35e79b51f691b7737db254ba1d907b2fd2d731ef
/AtCoder/ABC/007/D.cpp
1f7d6ef9dd955d37b91e67aebfabda6b728594c7
[]
no_license
rodea0952/competitive-programming
00260062d00f56a011f146cbdb9ef8356e6b69e4
9d7089307c8f61ea1274a9f51d6ea00d67b80482
refs/heads/master
2022-07-01T02:25:46.897000
2022-06-04T08:44:42
2022-06-04T08:44:42
202,485,546
0
0
null
null
null
null
UTF-8
C++
false
false
1,189
cpp
#include <bits/stdc++.h> #define chmin(a, b) ((a)=min((a), (b))) #define chmax(a, b) ((a)=max((a), (b))) #define fs first #define sc second #define eb emplace_back using namespace std; typedef long long ll; typedef pair<int, int> P; typedef tuple<int, int, int> T; const ll MOD=1e9+7; const ll INF=1e18; int dx[]={1, ...
[ "dragondoor0912@yahoo.co.jp" ]
dragondoor0912@yahoo.co.jp
fa606684822edaeb65a3facbab4e69b8044c96ef
6aeccfb60568a360d2d143e0271f0def40747d73
/sandbox/SOC/2011/simd/boost/simd/toolbox/constant/include/constants/minexponent.hpp
0fd6c857f2cef5aa7fcc1f22aca4daf4a5f7a9c3
[]
no_license
ttyang/sandbox
1066b324a13813cb1113beca75cdaf518e952276
e1d6fde18ced644bb63e231829b2fe0664e51fac
refs/heads/trunk
2021-01-19T17:17:47.452000
2013-06-07T14:19:55
2013-06-07T14:19:55
13,488,698
1
3
null
2023-03-20T11:52:19
2013-10-11T03:08:51
C++
UTF-8
C++
false
false
232
hpp
#ifndef BOOST_SIMD_TOOLBOX_CONSTANT_INCLUDE_CONSTANTS_MINEXPONENT_HPP_INCLUDED #define BOOST_SIMD_TOOLBOX_CONSTANT_INCLUDE_CONSTANTS_MINEXPONENT_HPP_INCLUDED #include <boost/simd/toolbox/constant/constants/minexponent.hpp> #endif
[ "loufoque@gmail.com" ]
loufoque@gmail.com
b13420aa4004b14e74a53305e3368b5f4ee9dc92
72d1b579366934a24af7aff13ebf9b8cdaf58d8c
/ReadImages.cpp
a8f247f3d5b7fd89ce0c49662b42f6ef479207a1
[]
no_license
hgpvision/Keypoint-Matcher
48496a59dbaffefe6e89e8e14efabdb9883848bb
bf265aba62b325fab300aba2bad357ff7321ba4a
refs/heads/master
2021-01-15T15:05:50.913000
2017-08-08T14:45:53
2017-08-08T14:45:53
99,702,359
0
1
null
null
null
null
GB18030
C++
false
false
1,454
cpp
/* * 文件名称:ReadImages.cpp * 摘 要:读取图片类,图片序列放入到一个文件夹中,如"C:\\imgFile",按一定格式命名,比如"0001.jpg","00010.jpg","1.jpg" * 使用实例: * 包含头文件: #include "ReadImages.h" * 先声明要给读入图片类:ReadImages imageReader("C:\\imgFile", "", ".jpg"); * 读入图片: Mat prev = imageReader.loadImage(1,0); //将读入"1.jpg"图片,灰度格式 * 2016.05.23 */ #include "ReadImages...
[ "keepsmiling.hgp@outlook.com" ]
keepsmiling.hgp@outlook.com
e701e032706c6d0b6712cbf46f97a1491037c069
509ed385d3faa95ed92957f0f691fc3fe1d6816a
/src/Workers/Worker.h
db1536697c5f967497dfa8fe487e786329ac19ec
[]
no_license
xrenoder/Node-InfrastructureTorrent
d6540c725cb9239bcf421a7891e7ebbeb6505701
21c3eb739d0b41cb6858d747cd108708bbfdb73d
refs/heads/master
2023-08-29T01:02:15.760000
2021-09-20T10:03:30
2021-09-20T10:03:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
504
h
#ifndef WORKER_H_ #define WORKER_H_ #include <memory> #include <optional> #include "OopUtils.h" namespace torrent_node_lib { struct BlockInfo; class Worker: public common::no_copyable, common::no_moveable{ public: virtual void start() = 0; virtual void process(std::shared_ptr<BlockInfo> bi, s...
[ "sv_91@inbox.ru" ]
sv_91@inbox.ru
3025038669b687c8e7bd508bb41b1b5adb4ab7b2
64824c859f6af21ad97edf16fb00a32b81c8e800
/第23节.cpp
01bf003a3ed3a08ee1f72d2bdd25d275403bbf9b
[]
no_license
leigelaing/C-
7ea94df8fed45bc47eb5437eedda5b6cc98bc754
513b5ba2a8891717d4a21e5cfabd935f66071b57
refs/heads/master
2023-04-09T06:49:11.603000
2021-04-20T00:11:38
2021-04-20T00:11:38
296,510,796
0
0
null
null
null
null
GB18030
C++
false
false
1,887
cpp
#include<stdio.h> int Add(int x,int y) { int z = 0; z = x + y; return z; } int main() { int a = 10; int b = 20; int ret = 0; ret = Add(a,b); return 0; } //压栈 /* typedef struct stu { //成员变量 char name[20]; short age; char tele[12]; char sex[5]; }stu; ...
[ "noreply@github.com" ]
leigelaing.noreply@github.com
a4107844dad660b1e38707bc33b03c52f16b4cbd
61442c0297fef23453b7bc43ab5bbd6a52c95fa7
/grappletation/Source/Grappletation/Gem.cpp
44c2698bb81fe1bfc4a986a9d39c8944aae59d65
[]
no_license
AshleyThew/GameProgramming
c9cf634ef81dd7e1753b3ef45d56a6ee38b9a072
22032cf7b141222d498c083527e81a854864e694
refs/heads/main
2023-08-23T15:51:59.141000
2021-10-25T10:01:57
2021-10-25T10:01:57
420,814,528
1
0
null
null
null
null
UTF-8
C++
false
false
778
cpp
#include "Gem.h" #include "Entity.h" #include "Renderer.h" #include "Sprite.h" Gem::Gem(int x, int y) { id.x = x; id.y = y; } Gem::~Gem() { } bool Gem::Initialise(Renderer& renderer, const char* gemType, float scale) { m_pSprite = renderer.CreateSprite(gemType); m_pSprite->SetScale(scale); m_position.x = (scal...
[ "ashl.e.thew@gmail.com" ]
ashl.e.thew@gmail.com
4ff557683a174bc39aea59e06a19b563d55927d6
cde943952b79d67f4972d180d20b97fc823db548
/preprocesser/preprocesser/self2.hpp
0892b2563bae695f02d2254829e81a6cb84c630e
[]
no_license
yourgracee/preprocesser
e66a0b0c9680442717652185e9ed2dc5172f7771
349453d4092ffe7927b0c1067d3cefc8bf2bdfff
refs/heads/master
2020-04-09T10:52:16.135000
2018-12-04T02:46:03
2018-12-04T02:46:03
160,285,495
0
0
null
null
null
null
UTF-8
C++
false
false
10,701
hpp
#ifdef LIMIT_2 #include "tuple.hpp" #define START_2 TUPLE(0, LIMIT_2) #define FINISH_2 TUPLE(1, LIMIT_2) #undef DEPTH #define DEPTH 2 # if START_2 <= 0 && FINISH_2 >= 0 # define ITERATION_2 0 # include FILENAME_2 # undef ITERATION_2 # endif ...
[ "noreply@github.com" ]
yourgracee.noreply@github.com
9b6b1ec168b70a357f4e47169b73b0f2e0538b9b
6565182c28637e21087007f09d480a70b387382e
/code/901.股票价格跨度.cpp
61b63105d48efcafe008368d50a272d85d3e8c15
[]
no_license
liu-jianhao/leetcode
08c070f0f140b2dd56cffbbaf25868364addfe53
7cbbe0585778517c88aa6ac1d2f2f8478cc931e5
refs/heads/master
2021-07-17T05:54:58.228000
2020-08-17T07:03:52
2020-08-17T07:03:52
188,854,718
1
1
null
null
null
null
UTF-8
C++
false
false
792
cpp
/* * @lc app=leetcode.cn id=901 lang=cpp * * [901] 股票价格跨度 */ class StockSpanner { public: StockSpanner() { } int next(int price) { if(_i == 0 || price < _prices.back()) { _dp.push_back(1); } else { int j = _i - 1; ...
[ "jianhaoliu17@gmail.com" ]
jianhaoliu17@gmail.com
d906994d3f90133151039af0434882e3553ba719
1c02e13a776e5e8bc3e2a6182b5df4efb2c71d32
/core/unit_test/tstDeepCopy.hpp
b3fdab4da5ef0b61357d256cf996dae1b69884f0
[ "BSD-3-Clause" ]
permissive
junghans/Cabana
91b82827dd9fb8321bea9ea3750c196946a6aac0
7b9078f81bde68c949fd6ae913ce80eeaf0f8f8a
refs/heads/master
2021-06-14T09:57:01.658000
2019-01-04T22:24:45
2019-01-04T22:24:45
150,330,482
1
1
BSD-3-Clause
2019-01-07T16:24:20
2018-09-25T21:17:53
C++
UTF-8
C++
false
false
5,252
hpp
/**************************************************************************** * Copyright (c) 2018 by the Cabana authors * * All rights reserved. * * * * This ...
[ "slatterysr@ornl.gov" ]
slatterysr@ornl.gov
95534aae2f06adbc3b44e859658780f8bf0cf800
3f9081b23333e414fb82ccb970e15b8e74072c54
/bs2k/behaviors/skills/oneortwo_step_kick_bms.h
e7f968c14d8092e86a4e41ed23b6e7ac3a2558ab
[]
no_license
rc2dcc/Brainstormers05PublicRelease
5c8da63ac4dd3b84985bdf791a4e5580bbf0ba59
2141093960fad33bf2b3186d6364c08197e9fe8e
refs/heads/master
2020-03-22T07:32:36.757000
2018-07-04T18:28:32
2018-07-04T18:28:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
7,945
h
/* Brainstormers 2D (Soccer Simulation League 2D) PUBLIC SOURCE CODE RELEASE 2005 Copyright (C) 1998-2005 Neuroinformatics Group, University of Osnabrueck, Germany This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publis...
[ "cookie.yz@qq.com" ]
cookie.yz@qq.com
bcee12c3aa60f8c1d8f0802c1bfdfe7600a1e3ef
067b197860f7712e3f92564d0f8d88b0cf34f9d7
/ext/hera/wasserstein/include/dnn/parallel/tbb.h
64c59e0ee985223027151daa201d626258eb299b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
tgebhart/dionysus_tensorflow
be8757369beb4997b12246c5c7d3cbdbb2fd84bb
344769bb6d5446c8fd43462b1dfd6a08d35631a8
refs/heads/master
2021-09-28T10:03:56.406000
2018-11-16T17:15:34
2018-11-16T17:15:34
112,226,756
2
0
null
null
null
null
UTF-8
C++
false
false
7,126
h
#ifndef PARALLEL_H #define PARALLEL_H //#include <iostream> #include <vector> #include <boost/range.hpp> #include <boost/bind.hpp> #include <boost/foreach.hpp> #ifdef TBB #include <tbb/tbb.h> #include <tbb/concurrent_hash_map.h> #include <tbb/scalable_allocator.h> #include <boost/serialization/split_free.hpp> #inc...
[ "gebharttom8@gmail.com" ]
gebharttom8@gmail.com
aad85aa770183929d8ccd9df0aacf59df35f147f
465a87bdead9aee133a7b36b0c2e826ece517cbb
/ARStudy(Image processing)/ARStudy/main.cpp
5ebb0f7ee747397046be8ca1b609d9d04b460e5c
[]
no_license
kshy9598/ARStudy
a5b55f3808d1e64cc96ee3e9266e4f4c23c3d611
c55ce51cb595f677eb07549203d0032430a90aef
refs/heads/master
2020-06-29T05:20:21.879000
2016-12-08T16:22:03
2016-12-08T16:22:03
74,446,922
0
1
null
null
null
null
UHC
C++
false
false
4,927
cpp
#include <iostream> #include <fstream> #include <cmath> #include "opencv2\highgui\highgui.hpp" #include "opencv2\opencv.hpp" #pragma comment(lib, "opencv_world300d.lib") const double PI = 3.14159265; using namespace std; using namespace cv; bool bLBDown = false; // 마우스 버튼 눌렀는지 체크 bool checkDrag; // 드래그가 이루어졌는지 체크 ...
[ "kshy9598@naver.com" ]
kshy9598@naver.com
b7c78a511904d321aa74ab25ce20a44c3a3f0a0e
d51d72f1b6e834d89c8551bb07487bed84cdaa31
/src/output/osg/customCode/osg/AnimationPath_pmoc.cpp
dc66ae9496a4b899d13c9038f85bec5d8cc50019
[]
no_license
wangfeilong321/osg4noob
221204aa15efa18f1f049548ad076ef27371ecad
99a15c3fd2523c4bd537fa3afb0b47e15c8f335a
refs/heads/master
2021-01-12T20:00:43.854000
2015-11-06T15:37:01
2015-11-06T15:37:01
48,840,543
0
1
null
2015-12-31T07:56:31
2015-12-31T07:56:31
null
UTF-8
C++
false
false
1,778
cpp
#include <osg/AnimationPath> //includes #include <MetaQQuickLibraryRegistry.h> #include <customCode/osg/AnimationPath_pmoc.hpp> using namespace pmoc; osg::QMLAnimationPath::QMLAnimationPath(pmoc::Instance *i,QObject* parent):QReflect_AnimationPath(i,parent){ //custom initializations } QQuickItem* osg::QMLAnimationPath:...
[ "mp3butcher@gmail.com" ]
mp3butcher@gmail.com
0f14955c67c8ded4e0b25301b31b8648ae16b52f
4985aad8ecfceca8027709cf488bc2c601443385
/build/Android/Debug/app/src/main/include/Fuse.Resources.Resour-7da5075.h
bb740adfa48c8d9b5e34d9b3bf2a2c23882e8030
[]
no_license
pacol85/Test1
a9fd874711af67cb6b9559d9a4a0e10037944d89
c7bb59a1b961bfb40fe320ee44ca67e068f0a827
refs/heads/master
2021-01-25T11:39:32.441000
2017-06-12T21:48:37
2017-06-12T21:48:37
93,937,614
0
0
null
null
null
null
UTF-8
C++
false
false
883
h
// This file was generated based on '../../AppData/Local/Fusetools/Packages/Fuse.Nodes/1.0.2/$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.h> namespace g{namespace Fuse{namespace Resources{struct ResourceConverters;}}} namespace g{namespace Uno{namespace Collectio...
[ "newreality64@gmail.com" ]
newreality64@gmail.com
334f0712fc8566ea028524f0cd56702b83f8dbd4
9b273539e02cca8d408e8cf793007ee84e6637d5
/ext/bliss/src/iterators/edge_iterator.hpp
2217a705bef1dc4b94ba3493a6facab66fe6ad3e
[ "Apache-2.0" ]
permissive
tuan1225/parconnect_sc16
23b82c956eed4dabe5deec8bd48cc8ead91af615
bcd6f99101685d746cf30e22fa3c3f63ddd950c9
refs/heads/master
2020-12-24T12:01:13.846000
2016-11-07T16:51:29
2016-11-07T16:51:29
73,055,274
0
0
null
null
null
null
UTF-8
C++
false
false
9,760
hpp
/* * edge_iterator.hpp * * Created on: Aug 4, 2015 * Author: yongchao */ #ifndef EDGE_ITERATOR_HPP_ #define EDGE_ITERATOR_HPP_ #include <iterator> #include "common/alphabets.hpp" namespace bliss { namespace iterator { // careful with the use of enable_if. evaluation should occur at function cal...
[ "tuannguyen1225@yahoo.com" ]
tuannguyen1225@yahoo.com
efee5b91d30e90f44f56ca962bc4d6b383191c2d
e86c079391367e0e401482eb43a850685ac54056
/ex05/Human.cpp
f99f1bbfa2e2506c59f393e4c073e71ef72e65d8
[]
no_license
atronk/cpp-01
c85155abd9cf83b5de370ed1c033ba831f4207b8
533a01c039235b436d461df8169169d70c8b97b9
refs/heads/master
2023-05-25T17:51:51.451000
2021-05-22T17:14:38
2021-05-22T17:14:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
312
cpp
#include "Human.hpp" Human::Human() { std::cout << "A Human is created!" << std::endl; } Human::~Human() { std::cout << "A Human is destroyed" << std::endl; } const Brain& Human::getBrain() const { return (this->_brain); } const std::string& Human::identify() const { return(this->getBrain().identify()); }
[ "idcdtokms@gmail.com" ]
idcdtokms@gmail.com
80e9638e9a9955c45831c86dc3497224eea00c9c
4f2f4ca1cb010ab79ad3933e73dce6671f012054
/SK-Lib/test_sk_header.cpp
2491fbed63d9441372bd23eb682d72c41f371115
[]
no_license
sksavigit/CPP-Progs
f95cfbea5a3caa40baca8637d55e9c1d5a000670
178a414d3c424a18cfe8cf6f9c3df697dffe2993
refs/heads/master
2023-02-17T15:01:02.283000
2021-01-16T13:09:01
2021-01-16T13:09:01
328,104,206
1
0
null
null
null
null
UTF-8
C++
false
false
485
cpp
#include<iostream> #include "sklib_numbers.h" #include "sklib_iostream.h" using namespace std; int main(){ char n1[]="0000000000000000000000000001"; char n2[]="1111123424324243234234234324"; cout << "\n Num1:" <<n1; cout << "\n Num2:" <<n2; cout << "\n Outp:"; int n1Size=sizeof(n1)/sizeof(n1[0]...
[ "sksavi@yahoo.com" ]
sksavi@yahoo.com
8bfe178d65efb2f52470e306b87737b39f700ce6
f80d267d410b784458e61e4c4603605de368de9b
/TESTONE/exampleios/usr/local/include/fit_developer_field_description.hpp
a5af5c51d16055664f81433af69b821385dd83c5
[]
no_license
bleeckerj/Xcode-FIT-TEST
84bdb9e1969a93a6380a9c64dce0a0e715d81fe8
37490e3b1e913dc3dfabdae39b48bddea24f1023
refs/heads/master
2021-01-20T14:39:53.249000
2017-02-22T05:59:28
2017-02-22T05:59:28
82,766,547
0
0
null
null
null
null
UTF-8
C++
false
false
1,772
hpp
//////////////////////////////////////////////////////////////////////////////// // The following FIT Protocol software provided may be used with FIT protocol // devices only and remains the copyrighted property of Dynastream Innovations Inc. // The software is being provided on an "as-is" basis and as an accommodation...
[ "julian@omata.com" ]
julian@omata.com
cb50f617109e0944e114883af3fc3af8be9a6b7e
9030ce2789a58888904d0c50c21591632eddffd7
/SDK/ARKSurvivalEvolved_Buff_PreventDismount_functions.cpp
7e18c4f1010b3ae0b9f98e0ea4d779d40e1340ba
[ "MIT" ]
permissive
2bite/ARK-SDK
8ce93f504b2e3bd4f8e7ced184980b13f127b7bf
ce1f4906ccf82ed38518558c0163c4f92f5f7b14
refs/heads/master
2022-09-19T06:28:20.076000
2022-09-03T17:21:00
2022-09-03T17:21:00
232,411,353
14
5
null
null
null
null
UTF-8
C++
false
false
1,490
cpp
// ARKSurvivalEvolved (332.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Buff_PreventDismount_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------------------------...
[ "sergey.2bite@gmail.com" ]
sergey.2bite@gmail.com
e583e7116773107273d5fb8024b730ef48f23333
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/pdfium/xfa/fxfa/parser/cxfa_solid.cpp
da8de3f6aca0fae9e6ba41523e382edcb9d6be21
[ "BSD-3-Clause", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844000
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
C++
false
false
1,216
cpp
// Copyright 2017 The PDFium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "xfa/fxfa/parser/cxfa_solid.h" #include "fxjs/xfa/cjx_node.h" #include "xfa/fxfa/parse...
[ "jengelh@inai.de" ]
jengelh@inai.de
41411ede81a3f14d5f5efda3aad396093d6910f8
16337b0d88df96767281cbc0024ed4e5e0dc2309
/Tic-Tac-bigToe.cpp
ccd6f979a725f324386a94cc966771516cbbf2ac
[]
no_license
Xephoney/Tic-Tac-bigToe
8c3c5d93a5f49799d90034a428a61d509b672883
3ea53e4f72486c476eb673a8f1736b24f3f5442c
refs/heads/master
2022-12-24T15:47:03.404000
2020-09-27T19:22:51
2020-09-27T19:22:51
298,370,665
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
12,368
cpp
#include <iostream> #include <string> #include <vector> //This is included for the use of vectors #include <time.h> //This is for random number generation //Here we declare the functions that i will define further down. //these functions are tied to the gameplay loop void DisplayGrid(); void InputAndExec(); void Playe...
[ "hans_olahoftun@hotmail.com" ]
hans_olahoftun@hotmail.com
a0a7716d5870fb0a5b552fb6115b6e7b7937b018
c22dbf8b58f205c5b748eeff49dfaf04e3a40f39
/Cantera/clib/src/Storage.cpp
d5462bccbfad490f8de02daa46dd5a4a7f8d90af
[]
no_license
VishalKandala/Cantera1.8-Radcal
ee9fc49ae18ffb406be6cf6854daf2427e29c9ab
1d7c90244e80185910c88fdf247193ad3a1745f3
refs/heads/main
2023-01-20T17:07:23.385000
2020-11-29T05:50:51
2020-11-29T05:50:51
301,748,576
0
0
null
null
null
null
UTF-8
C++
false
false
3,004
cpp
/** * @file Storage.cpp */ /* * $Id: Storage.cpp,v 1.6 2009/07/11 17:16:09 hkmoffa Exp $ */ // Cantera includes #include "Kinetics.h" #include "TransportFactory.h" #include "Storage.h" using namespace std; using namespace Cantera; Storage::Storage() { addThermo(new ThermoPhase); addKinetics(new ...
[ "vishalkandala@tamu.edu" ]
vishalkandala@tamu.edu
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
19