blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
247
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
4
111
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
58
visit_date
timestamp[ns]date
2015-07-25 18:16:41
2023-09-06 10:45:08
revision_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
committer_date
timestamp[ns]date
1970-01-14 14:03:36
2023-09-06 06:22:19
github_id
int64
3.89k
689M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
25 values
gha_event_created_at
timestamp[ns]date
2012-06-07 00:51:45
2023-09-14 21:58:52
gha_created_at
timestamp[ns]date
2008-03-27 23:40:48
2023-08-24 19:49:39
gha_language
stringclasses
159 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
7
10.5M
extension
stringclasses
111 values
filename
stringlengths
1
195
text
stringlengths
7
10.5M
0dd7e53c2ec0a70138a639a69f9c94268d8069f8
ac8e9e12c592f47cfa413d81215048b3a5f62a66
/rotate array.cpp
359f03e47f7fa1eca78cd912670e377e5e937fe4
[]
no_license
ankitAMD/c-
5a0eed141b1c486d32317f520993692e2d1b13dd
099cd2c7d304940c6eadf594b9113c31436453f7
refs/heads/master
2020-05-30T16:05:14.769600
2019-08-22T15:28:25
2019-08-22T15:28:25
189,838,463
0
0
null
null
null
null
UTF-8
C++
false
false
1,195
cpp
rotate array.cpp
#Program for array rotation /*Write a function rotate(ar[], d, n) that rotates arr[] of size n by d elements. Array Rotation of the above array by 2 will make array ArrayRotation1 Input arr[] = [1, 2, 3, 4, 5, 6, 7], d = 2, n =7 1) Store d elements in a temp array temp[] = [1, 2] 2) Shift rest of the arr[] ...
54ccec3f2524cfa629ac9a39ff5c1adcf066a048
8755afdb93cfeb229d059dcd3dd52ac3ed14bfeb
/Pyramid.cpp
cc1e72ebf7d6833a339d3f4d4ad6bb2bc3a1ed90
[]
no_license
amanbkm/Basic-Cpp-Programs
6c9efa71163941a91c12907c5bf19398842d8e6e
3097d1e6e0e8303e29f42ebfc9ea1cee30eb4e5f
refs/heads/master
2022-12-24T22:18:21.812181
2020-10-01T13:15:19
2020-10-01T13:15:19
281,060,485
0
1
null
2020-10-01T13:15:21
2020-07-20T08:32:12
C++
UTF-8
C++
false
false
337
cpp
Pyramid.cpp
#include<iostream> using namespace std; #include<conio.h> int main() { int n,count=1; cout<<"Enter the number of rows\t"; cin>>n; cout<<"\n"; for(int i=1;i<n;++i) { for(int space=1;space<n-i;space++) { cout<<" "; } for(int j=1;j<=i;++j) { cout<<count<<" "; count++; } cou...
94ef9759bbc0d65386d19625b309dd35bd6bfc0e
fa13d2b871fbf78ad068bc55e1de8e2b57eee012
/src/proc/proc_functions.h
03c274648817c0b40828af566aa2843992199221
[]
no_license
DenisPlima/noctweak
b5c2fc1b6a80ba36f904ba49844c085c3e4b41e3
9b64f63ea8f857059bd167aaa37124c828b6555e
refs/heads/master
2022-03-26T00:11:36.019445
2019-10-25T01:23:48
2019-10-25T01:23:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,334
h
proc_functions.h
/* * proc_functions.h * * Created on: Aug 18, 2011 * Author: anhttran */ #ifndef PROC_FUNCTIONS_H_ #define PROC_FUNCTIONS_H_ #include "../definition.h" #include "../common_functions.h" #include "proc_parameters.h" #include "synthetic/synthetic_parameters.h" using namespace std; // random interval of pack...
950db5b212f9f27494ce36ceede953d2630b2e77
cd2d52dcd62f30f80b1bc6b0a7450dbb71b9addc
/src/sprite.cpp
8de3512330b27a5abc7faa7fc689d9deed3db1f8
[]
no_license
DCubix/Mikro
b359553fd74c16cc2887622e0d6cfacc69bb6705
aec5c86c8cb309fd8e466405ce7c8652027b834b
refs/heads/master
2020-06-13T06:19:13.576949
2019-07-17T16:41:34
2019-07-17T16:41:34
194,568,384
1
1
null
null
null
null
UTF-8
C++
false
false
3,471
cpp
sprite.cpp
#include "sprite.h" #include "png.inl" #include "log.h" #include <fstream> #include <iterator> #include <cmath> namespace mik { namespace util { u8 dither(i32 x, i32 y, u8 comp) { return u8(std::max(std::min(comp + DITHER_4x4[(x % 4) + (y % 4) * 4], 255.0), 0.0)); } u8 palette(u8 r, u8 g, u8 b) { #ifdef ...
2e7a12bcdd0fa395be7a892d088cdc1c968ceef3
3534c6fbc1264029ccd0a9f46557506c3dbfccde
/CSC340/second_semester_project/src/Target.cpp
c7cf3efeb1dcb1e0dc01c7daf75f8335ddf97216
[]
no_license
EatMoreCookies/SDSMT
354c6086c89dc7c6e72da105b65eabee39226d80
e3f95afa4dfc79485e86b600b23f2eae0af7d640
refs/heads/master
2023-06-23T07:43:09.228087
2021-05-10T14:47:17
2021-05-10T14:47:17
191,276,320
0
0
null
null
null
null
UTF-8
C++
false
false
732
cpp
Target.cpp
#include "Target.h" #include <iostream> Target::Target() {} Target::~Target() {} direction Target::move(MapData map, PositionData status) { direction ret = STAY; return ret; } direction Target::attack(MapData map, PositionData status) { direction ret = STAY; return ret; } attributes Target::setAttri...
04240db4921bf263f8d154e6fdb702868c1fe06f
bcfb9510826cb5cc8df3b44d01ed26e046f827ed
/ModbusDatabaseCreaterCode/scenemgrdialog.h
788aa73a747083ed9aa8c923d55447cfc6035a4f
[]
no_license
519984307/Modbus-monitoring-tool
041db93e08d8f418d04e7888fdbae5af67274af0
eb46ef103aacbcc37db94abcc5076c9edb7919e0
refs/heads/master
2023-03-18T14:38:52.832778
2020-12-15T06:16:26
2020-12-15T06:16:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
569
h
scenemgrdialog.h
#ifndef SCENEMGRDIALOG_H #define SCENEMGRDIALOG_H #include <QDialog> #include <QSqlDatabase> namespace Ui { class SceneMgrDialog; } class SceneMgrDialog : public QDialog { Q_OBJECT public: explicit SceneMgrDialog(QWidget *parent = nullptr); ~SceneMgrDialog(); public: void TableInit(); void Tabl...
4d4713a72c7372c878982fb14db0eb5a33403144
b718ea3950d0ff50af08708c2d67cc9aa539745e
/Dados/ui_arkanoidgame.h
c12e0447795c27faec38bb8257bf7462610b1a2e
[]
no_license
jeansantana/ArkanoidGame
792f0afe31361bd17f01a8101f53d533d631cf83
806dd400ba01cc2fbdeac4fd17a88258ec7791ee
refs/heads/master
2016-09-03T06:40:12.820709
2014-10-26T17:26:11
2014-10-26T17:26:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,784
h
ui_arkanoidgame.h
/******************************************************************************** ** Form generated from reading UI file 'arkanoidgame.ui' ** ** Created: Fri Nov 9 00:27:16 2012 ** by: Qt User Interface Compiler version 4.8.1 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! *****...
11e029e01f527c90c105bd751f85f4a0032bbaab
4cc6eb0a4e776f88d946995ff79bb3438e7d7b83
/process_exit_event.cpp
9decd26ee284044d6cc676c6f299c63e3b2787ed
[]
no_license
alejandraklachquin/bitlivery
0366fcfb08b3657a0cd769c7d9dbfc0d9392f56a
e07baa90699243ac64581e8a19527313eb8adde0
refs/heads/master
2021-01-22T07:06:34.229249
2019-01-30T20:41:05
2019-01-30T20:41:05
12,369,744
0
0
null
null
null
null
UTF-8
C++
false
false
10,576
cpp
process_exit_event.cpp
int process_exit_event(event *temp_event_exits, event *exits, event *events, client clients_vector[NUMBER_CLIENTS], int connections[][NUMBER_CLIENTS], int clients_state[NUMBER_CLIENTS], int servers_state[NUMBER_SERVERS], int *servers_up, int *number_events, int event_id, int end_host, int *clients_up ) { int i,j, c...
2afaed802251ad753060d1aa3eaaaafe343e9d92
f20e965e19b749e84281cb35baea6787f815f777
/LHCb/Det/MuonDet/src/Lib/SortPairTileInTU.h
918bee700aeadd7fbfc5e823fb47ffbd7088b7cf
[]
no_license
marromlam/lhcb-software
f677abc9c6a27aa82a9b68c062eab587e6883906
f3a80ecab090d9ec1b33e12b987d3d743884dc24
refs/heads/master
2020-12-23T15:26:01.606128
2016-04-08T15:48:59
2016-04-08T15:48:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,058
h
SortPairTileInTU.h
// $Id: SortPairTileInTU.h,v 1.1 2008-06-30 11:45:30 asatta Exp $ #ifndef LIB_SORTPAIRTILEINTU_H #define LIB_SORTPAIRTILEINTU_H 1 #include <iostream> #include <functional> #include "Kernel/MuonTileID.h" // Include files /** @class SortPairTileInTU SortPairTileInTU.h Lib/SortPairTileInTU.h * * * @author * @d...
96d9ae9732ac16f9746e08faa7b0baeb25541d51
40dd73e1392e722f0f4e2122eed65da2a5aebadd
/PointerReferenceAndArthemetic.cpp
3433a85ef4b75ff6c9da3c9f83dbeaf7d7694219
[]
no_license
manojmula/Cpp
ddf239e576747e68ba50339c8b2e27dffeae1e61
44c0c4ff1bbd300692cb9d87c8728768e205923a
refs/heads/master
2023-02-09T07:35:07.169007
2020-12-28T10:13:17
2020-12-28T10:13:17
283,914,927
0
0
null
null
null
null
UTF-8
C++
false
false
1,334
cpp
PointerReferenceAndArthemetic.cpp
/** * As discussed in chapter 3 there are sunstantial number of arthemetic that can be performed with pointer * c++ allows to perform the following arthemtic using pointer * A pointer can be incremented ++ or decremented ++ * Any integere can be added to orr subtarcted from pointer * One pointer can be sunstracte...
887e19afae81af8ed7c575d7bc8def3d8ed3b628
abc890e58719c78d41bb5661bae1fa9eedbc4124
/cdfA.cpp
c3f8c738a8e5e1e05c601ccbf8c94214c23788c6
[]
no_license
MHaq23/CC_Solutions-Codechef-Codeforces-
2d8337dbddda088a66114dd9f07271d05ee895cf
f8b5cf1310c4892d627267766478fc375582fbe4
refs/heads/master
2021-01-02T18:36:47.403032
2020-02-11T11:45:13
2020-02-11T11:45:13
239,746,342
0
0
null
null
null
null
UTF-8
C++
false
false
278
cpp
cdfA.cpp
#include<bits/stdc++.h> using namespace std ; #define int long long signed main(){ int q; cin>>q; while(q--) { int n,ans;cin>>n;double t; if(n==2) ans=2; else { ans=n%2; } cout<<ans<<endl; } return 0 ; }
5d8dabcf099789b9e321925b0d422f38067f2a9f
15ab1546d22a8ef8bb77d2be978b86e1be366db3
/yevent_cc/Thread.cc
a1fbd70ae8f9d4d118f6f8fe7df6b2637010300b
[]
no_license
olym/yevent
624406eea765afda5fd01e08f47e8823ad1c6f7e
3019eec4bef2d28d4cbec3e42b132bbf809ebd30
refs/heads/master
2021-01-22T05:16:15.003232
2012-10-08T07:40:54
2012-10-08T07:40:54
3,303,073
0
0
null
null
null
null
UTF-8
C++
false
false
1,433
cc
Thread.cc
/* * ===================================================================================== * * Filename: Thread.cc * * Description: * * Version: 1.0 * Created: 2012年05月24日 15时42分52秒 * Revision: none * Compiler: gcc * * Author: Yin Zhongxing (olym), zhongxin...
38f65ebce7bbac2597377fb19783adc1e694e808
f4bfac4a89ca71b84768254df4de5809741beee1
/13. Circuit Board Price.cpp
c10aaf161df4f2d3bed5d13c29496ab98476b7bb
[]
no_license
mikhaputri/Review-Chapter-2
0a69587d651c12cfcbd7a19fa752aa1e79d29537
19f2be713073fa8232d7725602b40a5bac10709e
refs/heads/master
2021-01-10T23:29:33.242293
2016-10-12T01:43:59
2016-10-12T01:43:59
70,602,864
0
0
null
null
null
null
UTF-8
C++
false
false
459
cpp
13. Circuit Board Price.cpp
// // 13.cpp // REVIEW BAGUS // // Created by Mikha Yupikha on 11/10/2016. // Copyright © 2016 Mikha Yupikha. All rights reserved. // #include <iostream> using namespace std; int main () { float percentProfit = 0.35; float productPrice = 14.95; float sellingPrice = productPrice + (productPrice*pe...
45d7c3493b93caa8245862c020b6ce42ab3472bb
5b94cf771f7150bf1ebac3b51b76a306622529a8
/zencrypt_aes.h
a60cde761692543f939b8ad8344fe0af4f635441
[]
no_license
erezsh/zodengine
79dc8b2825d5a751587c154ec9ca3e9ab3023b38
27d29020b9a187a090860e21bf52f8e7a91771e7
refs/heads/master
2023-09-03T09:16:49.748391
2013-04-13T11:25:02
2013-04-13T11:25:17
5,296,561
7
0
null
null
null
null
UTF-8
C++
false
false
1,307
h
zencrypt_aes.h
/* Main code taken from www.hoozi.com Main code written by Niyaz PK at niyazlife@gmail.com */ #ifndef _AES_ENCRYPT_H_ #define _AES_ENCRYPT_H_ class ZEncryptAES { private: int Nr; // The number of rounds in AES Cipher. It is simply initiated to zero. The actual value is recieved in the program. int Nk; // The number...
afba8dfd53a70d44af91c865a3067a7b5ccfd817
89f91ac3de03a78a7158bfa87b0d4d84a3c47109
/355.cpp
416f240688a28722d3aea82a99c0f55b4fb24f6b
[]
no_license
xyuanlu/Cultivation
65a8b098f407443aa35b2fe6d5d77419a1ab0e73
9a2dadc56ec17d5af1c780e9224936f1afa86786
refs/heads/master
2021-07-06T08:07:11.071012
2020-11-08T23:55:46
2020-11-08T23:55:46
201,869,574
0
0
null
null
null
null
UTF-8
C++
false
false
3,306
cpp
355.cpp
/* * 355. Design Twitter * Design a simplified version of Twitter where users can post tweets, follow/unfollow another user and is able to see the 10 most recent tweets in the user's news feed. Your design should support the following methods: * * postTweet(userId, tweetId): Compose a new tweet. * getNewsFeed(user...
045fc767281b6ce32946769033e782ad56dbd059
bc1e0e56cd6cc337d4d60a1040d87c8634e4f99e
/src/text/text-renderer.cpp
6e40cb25776c86d5a01d23ee24398d9eaa517bbb
[]
no_license
spacekitcat/isometric-sdl-demo
dfbda7e1806417fa7c85d030ca62939b9eaf4b10
a1e3aefb0f6dd145e4804319660bdef73a4bfc98
refs/heads/main
2023-08-13T22:35:41.421884
2021-10-09T16:41:16
2021-10-09T16:41:16
380,589,963
1
0
null
null
null
null
UTF-8
C++
false
false
869
cpp
text-renderer.cpp
#include "text-renderer.hpp" TextRenderer::TextRenderer(std::shared_ptr<SDLManager> sdlManager) { _sdlManager = sdlManager; assert(_sdlManager != nullptr); SDL_Color textFgColor = {255, 255, 255}; SDL_Color textBgColor = {0, 0, 0}; FC_Style style = {.fontSize = 16, .outline = 1, ...
4690109ea6c3675c62fcb536220567c1a309674c
a7a6807b822eb96ee0fef0dbe336d35b7ff291f9
/SimpleQuad/GLTex1D.cpp
20c5485d6df30ee19fa9b3693e0daa44d9650bf8
[]
no_license
jiatingxiu/LearnOpenGL
48a11c901bfdcfa3defb127b28a1ee739f8b0252
1d624c1b1520ff10e1d8a7ed48a03f6b4cc18257
refs/heads/master
2021-01-21T12:35:34.197221
2017-09-01T07:49:28
2018-05-21T03:17:29
102,088,317
0
0
null
null
null
null
UTF-8
C++
false
false
3,498
cpp
GLTex1D.cpp
#include "GLTex1D.h" #include <GL/glew.h> GLTex1D::GLTex1D(void) { m_TexID = 0; m_TextureUnit = 0; } GLTex1D::~GLTex1D(void) { Delete(); } void GLTex1D::Create(int texSize) { Create(texSize, GL_CLAMP_TO_EDGE, GL_LINEAR, GL_LINEAR, GL_RGB8, GL_RGB, GL_UNSIGNED_BYTE, 0); } void GLTex1D::Create(int texSize, void*...
cbdaae8e96ad3a5828d4f43fddf6743726025858
cc4678f1abdd833306389a9a6c72a088ab0bb55d
/bin/android/obj/include/native/display/BitmapData.h
d59a9207e98892a79fecff7f00593505790f0c6b
[]
no_license
shrekshrek/gamebox-haxe
78330b90493b0cc7a4e11a229aead7922b55f538
7c1567c66a1f9f63b95affe57bdad52dc3b70067
refs/heads/master
2020-04-02T20:42:30.421023
2016-07-10T09:11:39
2016-07-10T09:12:20
62,990,806
0
0
null
null
null
null
UTF-8
C++
false
false
12,094
h
BitmapData.h
#ifndef INCLUDED_native_display_BitmapData #define INCLUDED_native_display_BitmapData #ifndef HXCPP_H #include <hxcpp.h> #endif #include <native/display/IBitmapDrawable.h> HX_DECLARE_CLASS2(haxe,io,Bytes) HX_DECLARE_CLASS2(native,display,BitmapData) HX_DECLARE_CLASS2(native,display,BlendMode) HX_DECLARE_CLASS2(native...
75bec49e60fc9fbf65dcd042842fb087333e93ee
9264ad419b73883a69fb02688ddc3ee40c53edbd
/CF/902D.cpp
c6001138d7ea364beea214db199d54b69c1cddd1
[]
no_license
manish1997/Competitive-Programming
6d5e7fb6081d1a09f8658638bddcd1c72495c396
b7048f770f7db8ac0bc871d59f1973482f79668f
refs/heads/master
2021-01-13T04:31:13.082435
2020-03-22T20:32:04
2020-03-22T20:32:04
79,900,759
3
0
null
null
null
null
UTF-8
C++
false
false
1,675
cpp
902D.cpp
#include <bits/stdc++.h> using namespace std; #define pi 3.1415926535897 #define ll long long #define tr1(n) cout << n << endl #define tr2(n1,n2) cout << n1 << " " << n2 << endl #define mem(A,i) memset(A, i, sizeof(A)) #define rep(i, start, end) for(int i=start; i<end; i++) #define repDown(i, start, end) for(int i=star...
b0c052be3519850f0c71929b39d0b17967cae940
436cb8b9299c84c04b67ea7d5a14f90cbfce8d5f
/AnnService/inc/Core/Common/cuda/TailNeighbors.hxx
b5b14f30c4e581ed624dc862fc9f0135d5fb51ea
[ "MIT" ]
permissive
microsoft/SPTAG
43288e49b598734d4dd06f86a2edbc32bacf5806
176e7cd12597f860665d169b29e123f65d651670
refs/heads/main
2023-08-31T13:21:36.685559
2023-08-28T03:26:44
2023-08-28T03:26:44
148,464,499
4,804
611
MIT
2023-09-10T08:28:53
2018-09-12T10:42:51
C++
UTF-8
C++
false
false
55,799
hxx
TailNeighbors.hxx
#ifndef _SPTAG_COMMON_CUDA_TAILNEIGHBORS_H #define _SPTAG_COMMON_CUDA_TAILNEIGHBORS_H #include "Distance.hxx" #include "KNN.hxx" #include <cub/cub.cuh> #include <chrono> #include<thrust/execution_policy.h> #include<thrust/sort.h> //#include <parallel/algorithm> using namespace SPTAG; using namespace std; // Struct...
af8b91de418477d75de5750383094b748827d541
58b0a41ccdceb06a237f1d70976bc9a8b3b6b2ce
/main.cpp
b557edd4e9e392bb73d18cbbc3b0c42e442509f9
[ "MIT" ]
permissive
op-hunter/CLAIM
ccd78119f3476506e32828c6be5f7a02b5e874c2
6adda9c0633635351ad3835b523d158fc97a6f79
refs/heads/main
2023-06-16T23:39:49.567987
2021-07-14T09:12:08
2021-07-14T09:12:08
369,697,384
0
0
null
null
null
null
UTF-8
C++
false
false
10,085
cpp
main.cpp
#include <iostream> #include <string> #include <cluster.h> #include <chrono> #include <fstream> #include "kmeans.h" #include "distance.h" const int SZ = 0; void LoadQ(char** pquery, size_t &nq) { std::string query_file = "/home/zilliz/workspace/data/sift1m_query.bin"; std::ifstream fin(query_file.c_str(), std:...
aba09bdbb659673bcc9eacaa72d8198292f526f6
34f3488ec4f0755286fbbca18dcbf9d23d45e405
/AnimaEngine/AnimaRendererDrawableGeometry.h
1064a4bb803282bd2065acc6ec490698620446ed
[]
no_license
zillemarco/Anima_Old
3b7a558e15f5f11642c515c4b71114f42b98b6b4
910dc6c389bd8f34923d6530cd35d14bc7e8f8b1
refs/heads/master
2020-12-13T19:13:30.230363
2016-02-20T13:13:59
2016-02-20T13:13:59
25,968,811
1
0
null
null
null
null
UTF-8
C++
false
false
1,212
h
AnimaRendererDrawableGeometry.h
// // AnimaRendererDrawableGeometry.h // Anima // // Created by Marco Zille on 26/11/14. // // #ifndef __Anima__AnimaRendererDrawableGeometry__ #define __Anima__AnimaRendererDrawableGeometry__ #include "AnimaEngineCore.h" #include "AnimaTypes.h" #include "AnimaEngine.h" #include "AnimaGeometry.h" #include "AnimaRe...
da15173fbf30ef03c12be6f615bc6ecc725fba40
b05833df5cd682305be3af97a04e66e74dc58cbe
/oops5_convertToNumBasic/main.cpp
0fd6efff939eae775a8626e6e016337029fc7357
[]
no_license
mittrayash/CPP-Projects
7170ff5330b88cc71b0d19ccaee2de36e37a3de3
12179251df47231d34a291bd534bc1e4044835d8
refs/heads/master
2021-07-07T09:53:53.036769
2017-10-02T06:44:16
2017-10-02T06:44:16
105,505,232
1
0
null
null
null
null
UTF-8
C++
false
false
369
cpp
main.cpp
#include <iostream> #include <string.h> using namespace std; int main() { char val[50]; cout << "Enter amount in rupees with commas: "; cin >> (val); int len = strlen(val); int i = 0; cout << "Amount = "; while(i < len){ if(val[i] != ','){ cout << val[i]; } ...
125cc08f9fa9f3727cf1d54dbf0ef769263d6f13
a2206795a05877f83ac561e482e7b41772b22da8
/Source/PV/build/VTK/Wrapping/Python/vtkTableReaderPython.cxx
364391f5288e992776bc4caba4dce17e37960b99
[]
no_license
supreethms1809/mpas-insitu
5578d465602feb4d6b239a22912c33918c7bb1c3
701644bcdae771e6878736cb6f49ccd2eb38b36e
refs/heads/master
2020-03-25T16:47:29.316814
2018-08-08T02:00:13
2018-08-08T02:00:13
143,947,446
0
0
null
null
null
null
UTF-8
C++
false
false
7,640
cxx
vtkTableReaderPython.cxx
// python wrapper for vtkTableReader // #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include "vtkPythonArgs.h" #include "vtkPythonOverload.h" #include "vtkConfigure.h" #include <vtksys/ios/sstream> #include "vtkIndent.h" #include "vtkTableReader.h" #if defined(VTK_BUILD_SHARED_LIBS) # define VTK_PYTHON_EXPOR...
acc140920b9f5fc3eb97099e448072846b04e86e
c5af8ee216759517b981014437a944cc8678b897
/State.cpp
6fb1d1874ae615409cbbfd213b4e930943d7426b
[]
no_license
fesse/timelaps_arduino
0c12174d547a02edd87ee23d110ff77f85b24a0e
ca42d7540007fa283af13d50eb66946fe6695073
refs/heads/master
2021-01-10T11:26:40.724986
2014-09-29T19:31:58
2014-09-29T19:56:50
36,109,451
0
0
null
null
null
null
UTF-8
C++
false
false
1,079
cpp
State.cpp
/* * State.cpp * * Created on: Jul 1, 2014 * Author: mathias */ #include "State.h" State::State(){ totalNbrOfPhotos = 1000; exposureWaitTime = 1000; motorRunTime = 100; direction = LEFT; runState = STATE_IDLE; nbrOfPhotosTaken = 0; } void State::setTotalNbrOfPhotos(long nbrOfPhotos) { totalNbrOfPh...
f991387430107564c65a1f82fe21ba70cc42a515
c5fde8abf5b1b07a7b69a18f4b2e5569986d3095
/integral/integrate.hpp
7b85e6096b229a21c1664c6b70fabfd01148ab5c
[]
no_license
svdprima/MIPT_Homework
bc6e5b139a6e414a5172cf78c73df158a66c464f
3e61cb75177a478fa69af20459bc591780b1b33d
refs/heads/master
2021-01-18T09:15:28.443071
2017-05-03T21:41:52
2017-05-03T21:41:52
84,310,551
1
0
null
null
null
null
UTF-8
C++
false
false
157
hpp
integrate.hpp
#ifndef INTEGRATE #define INTEGRATE double integrate (double (*f) (double x), const double left, const double right, const unsigned int thread_nu); #endif
73604e2a2a5fd36cf74925ca19f074821fa56af6
e56dc7453b16e75510ec7da88cb6759bec7e7443
/01 C++/3 专题 通信/2 multiThread_SC/CServerSocket.h
553a4ceea00feab3120e355d2f1c1605e3ebb8ca
[]
no_license
zw398430866/study_code
dbb97257d14bf37119e573c0b806e1a6c179bb1a
372d69d974d9b530901ce1e1ac347af8cf3ce074
refs/heads/master
2020-03-28T08:18:53.518402
2018-09-10T17:38:40
2018-09-10T17:38:40
147,957,529
1
0
null
null
null
null
GB18030
C++
false
false
749
h
CServerSocket.h
#ifndef _C_SSERVER_SOCKET_ #define _C_SSERVER_SOCKET_ #include <WinSock2.h> #include <iostream> #include <stdio.h> #include <string> #pragma comment(lib, "ws2_32.lib") using namespace std; #define BUFF_SIZE 128 class CServerSocket{ public: CServerSocket(); ~CServerSocket(); CServerSocket(int port, string ...
1cf229707001fd41381b88c2d837fd2daee6a874
e5174200fe8b6497cfa2467581b3a7dc8f0a0e4b
/src/instruments/instrumentFM.cpp
972c83aa99ebe4391b68a62cc326a3767f544d79
[]
no_license
oscar-agraz/P5
bf9bcf53b8a3de24a5c5372f63667ef3e1b9322e
c479f8a0dc93c2e1f8e648c661bb024048c3ecae
refs/heads/master
2020-09-30T00:16:56.195412
2020-01-07T21:00:16
2020-01-07T21:00:16
227,155,019
0
0
null
2019-12-10T15:32:26
2019-12-10T15:32:25
null
UTF-8
C++
false
false
1,884
cpp
instrumentFM.cpp
#include <iostream> #include <math.h> #include "instrumentFM.h" #include "keyvalue.h" #include <stdlib.h> using namespace upc; using namespace std; InstrumentFM::InstrumentFM(const std::string &param) : adsr(SamplingRate, param) { bActive = false; x.resize(BSIZE); KeyValue kv(param); int N; if (!kv.to_int("N...
66465e45710313daed439504dd6d2ebe43ca440b
2bb40601196d2c46b81650e6b9d265f7f2e0bcac
/TATIANA_ENCALADA-_LCD_MSM-EMBEBIDOS/TATIANA_ENCALADA-_LCD_MSM-EMBEBIDOS.ino
c56e11126e2d798c1a6d9717e19b320db7de8e3a
[]
no_license
tatiana2004/LCD
0ea6b76d3c7e65788ee6f8d276e8f71ca442d49b
cb9af95891d54446a4b281e46611b69550710926
refs/heads/master
2020-06-10T19:37:46.078296
2016-12-08T02:29:08
2016-12-08T02:29:08
75,895,033
0
0
null
null
null
null
UTF-8
C++
false
false
1,726
ino
TATIANA_ENCALADA-_LCD_MSM-EMBEBIDOS.ino
#include <LiquidCrystal.h> // libreria para la LCD char texto; // texto para ingresar int i=0; // variable i String palabra=""; // variable palabra LiquidCrystal lcd(12, 11, 5, 4, 3, 2); //ini...
6a5f757a0046f972844bc77553afc650dc5a1e5f
1bd5111963ed4d1fab5fec0e7d1101df2b78946d
/Class_Notes/02_notes_src/default_func_parameters_variant2.cpp
dcc83d53b2fd13c735a28c0caffa9a7a83d95f5d
[]
no_license
deep-inder/C-codes
3544c748fb43d1c152277b389abeba38425883c0
4838fdcb0f43d9e24529618dad9ade5c920ae956
refs/heads/master
2022-10-29T22:36:13.522695
2018-11-19T20:35:27
2018-11-19T20:35:27
null
0
0
null
null
null
null
UTF-8
C++
false
false
155
cpp
default_func_parameters_variant2.cpp
// default_func_parameters_variant2.cpp #include <iostream> extern void showints(int,int) ; int main() { showints(1,0); showints(); return 0 ; }
9c4dd3d79d32359aabc6958a908db1d4642b433c
4d04b7b0a8e9418f729ddee54bda43484657d52f
/Мої/boal/Unit2.h
ee55cb3fbd91bb7834e0c52fed2f28daad81f3e9
[]
no_license
BREAK350/myCProgram-old
359c021d7bcfa9e44fa831498a417294703a0c1e
10bbfdd3cadd8c8d91b078591d6d646da20b48cb
refs/heads/master
2021-01-10T20:04:20.229647
2015-01-28T06:51:00
2015-01-28T06:51:00
29,954,421
0
0
null
null
null
null
UTF-8
C++
false
false
1,324
h
Unit2.h
//--------------------------------------------------------------------------- #ifndef Unit2H #define Unit2H #include "Unit1.h" #include <math.h> //--------------------------------------------------------------------------- class TDf { private: float value; public: TDf operator=(float); float operator+(flo...
b3f4a4a61f32a9efbf885acba08c38f6b0fb6fee
a348a0d054799c007b2748457ffe99714e1ec515
/Classes/base/BaseScene.cpp
c4016bfdd8def4bb8b01f5c41076bcbc8cd4a5e3
[]
no_license
ysnows/Game-cocos2dx-
7d81d6fdf6563eabc24b64785abea8ed5dd2113a
915b8a27119f95899037571904f003b580e603f5
refs/heads/master
2021-01-11T07:02:11.714227
2016-12-03T09:53:19
2016-12-03T09:53:19
71,952,631
0
0
null
null
null
null
UTF-8
C++
false
false
666
cpp
BaseScene.cpp
// // BaseScene.cpp // Game // // Created by 咸光金 on 2016/10/26. // // #include "BaseScene.h" BaseScene::BaseScene(bool bPortrait):_rootLayer(nullptr){ log("BaseScene()"); Scene::init(); director=Director::getInstance(); visibleSize=director->getVisibleSize(); visibleOrigin=director->getVisibleO...
c698d719ca76a12683066184809895ad05059a7f
5e2428bd724dafdeeb781cec54b7cc258331bd76
/C:C++/Classes/pcOrdering/Desktop.hpp
7dc7513b7c6152c95a1af008c1cb155aaf6bf561
[]
no_license
brogan-avery/MyPortfolio-AndExamples
60e898742b41f92e46147e92f67fc16357d2b894
555a69cf3495183700f463cf7808e0ba65b53a96
refs/heads/main
2023-05-03T00:31:02.949069
2021-05-26T22:09:43
2021-05-26T22:09:43
360,210,871
0
0
null
null
null
null
UTF-8
C++
false
false
2,282
hpp
Desktop.hpp
/* *************************************************************** * Class Name: Desktop * Author: Brogan Avery * Created: 2021-02-12 *************************************************************** */ #ifndef Desktop_h #define Desktop_h #include <stdio.h> #include <string> #include "PowerSupply.hpp" #include "Computer...
d4b1063229c9f6066219249193e974472a238ed6
a5c3b4d98ddc0d9f919fa5597580cceb39bd5072
/week_3/2018202118HYX/src/head.h
aba8514e46c217ce61beeb4c5ad6e15ae9cd251f
[]
no_license
WhiteCatFly/Turing_Student_Code_2019
17f4ed781327706b14b66ef90b0b90478792915b
4d744f6a3072dc9184c10c5daad60dee4a83a588
refs/heads/master
2021-06-15T02:32:07.977336
2019-07-05T07:06:32
2019-07-05T07:06:32
173,031,113
8
27
null
2020-01-09T01:44:23
2019-02-28T03:04:38
C++
UTF-8
C++
false
false
606
h
head.h
#ifndef HEAD_H #define HEAD_H #include <algorithm> #include <iostream> #include <fstream> #include <cstdlib> #include <string> #include <queue> #include <regex> #include <set> void input_first_url(std::string &url); class crawl { private: std::queue<std::string> todo; std::set<std::string> done; ...
7f2afec76e14891a1d04b94657cfc606454df9a1
157fd7fe5e541c8ef7559b212078eb7a6dbf51c6
/TRiAS/TRiAS/Extensions/Extension BaseClass (MFC)/XTENSNP.CXX
c39d501f96216f8354a07139bfc757143f27bbb8
[]
no_license
15831944/TRiAS
d2bab6fd129a86fc2f06f2103d8bcd08237c49af
840946b85dcefb34efc219446240e21f51d2c60d
refs/heads/master
2020-09-05T05:56:39.624150
2012-11-11T02:24:49
2012-11-11T02:24:49
null
0
0
null
null
null
null
ISO-8859-1
C++
false
false
132
cxx
XTENSNP.CXX
// Precompiled Header für XTENSN.LIB ------------------------------------------ // File: XTENSNP.CXX #include "xtensnp.hxx"
d19418e7e558db24a10ab9357a5c49769e645f5b
be6fc3ca8823fe24ea89a104ca625c0ef34fbe17
/include/Flashlight.hpp
22867d32142597905daca7c4e56f8e8c24ba996f
[ "BSD-2-Clause" ]
permissive
alecwalsh/glfwogltest2
09cf01cb9e47ffe892da70b6f8353448e0517947
10b9a8dc6e5bfe30973c80a628b85bfe249d420c
refs/heads/master
2023-01-10T18:27:06.616563
2022-12-27T07:57:08
2022-12-27T07:57:08
119,344,167
0
0
null
null
null
null
UTF-8
C++
false
false
402
hpp
Flashlight.hpp
#pragma once #include "SpotLight.hpp" #include "Camera.hpp" class Flashlight : public SpotLight { const GameEngine::Camera& camera; public: Flashlight(glm::vec3 direction, glm::vec3 diffuse, glm::vec3 specular, float cutoffAngleCos, const GameEngine::Camera& camera, bool active = true) noexc...
5cffef270893185866c5e2230c8944ebbaa495c5
ac0455fd429fcfa34c76fb35da481c7b219a3aba
/packet.cpp
5e3a4f5ba2d2bdc98a5d26e44c5974427705b46a
[]
no_license
jeffreyhxu/cs118-proj2
83dbe671b3d5397d7f8fd0cd3d60369fb7ba4bfc
d18c4285961d7c0947b2d54cbb67019ef4313042
refs/heads/master
2021-04-26T21:53:09.613780
2018-03-17T05:55:40
2018-03-17T05:55:40
124,171,429
0
0
null
null
null
null
UTF-8
C++
false
false
1,472
cpp
packet.cpp
#include "packet.h" #include <iostream> #include <cstring> #include <stdio.h> using namespace std; #include <stdio.h> #include <stdlib.h> #include <vector> Packet::Packet() { } Packet::Packet(int ack, int seq, int len, vector<int> flags, char* message) { m_ack = ack; m_seq = seq; m_len = len; m_flags = fl...
37960ee41bfc195efbd41e8c96d44cbabbca5dc3
d0767f67a74f55b4ecf2002ea0b5eeaadce791a5
/RooMySig.cxx
c4824c0137fa8fcbbf3f136773b0059f9dce9354
[]
no_license
longyf/fit-PHSPf-interference
eebac684f77166e20652384e3913ca629a181c41
9c843d8422bf2e65ae2e697d8f3469a91a6dfd98
refs/heads/master
2021-04-26T23:03:01.002426
2018-03-06T03:11:42
2018-03-06T03:11:42
123,922,657
0
0
null
null
null
null
UTF-8
C++
false
false
3,670
cxx
RooMySig.cxx
/***************************************************************************** * Project: RooFit * * * * This code was autogenerated by RooClassFactory * ...
9f8d3ced1fa9d4affbecaefc902a186e5bd7f807
fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd
/third_party/WebKit/Source/core/css/properties/CSSPropertyFontUtils.cpp
4cde177e5950d630a089717a78af53c9756ff2a8
[ "BSD-2-Clause", "LGPL-2.1-only", "LGPL-2.0-only", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "GPL-2.0-only", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause" ]
permissive
wzyy2/chromium-browser
2644b0daf58f8b3caee8a6c09a2b448b2dfe059c
eb905f00a0f7e141e8d6c89be8fb26192a88c4b7
refs/heads/master
2022-11-23T20:25:08.120045
2018-01-16T06:41:26
2018-01-16T06:41:26
117,618,467
3
2
BSD-3-Clause
2022-11-20T22:03:57
2018-01-16T02:09:10
null
UTF-8
C++
false
false
10,571
cpp
CSSPropertyFontUtils.cpp
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "core/css/properties/CSSPropertyFontUtils.h" #include "core/css/CSSFontFamilyValue.h" #include "core/css/CSSFontFeatureValue.h" #include "core/c...
9fbf011bd6890fd7ac458a4a12ecf7259d945fdc
52cfe058dcf70c85eb789a17b3f86e355686743b
/Source/Synth/GPNetwork.cpp
5419f01d728961226b2b2cc49d05ad91ba246cba
[]
no_license
idaohang/gpsynth
eeff8bd6322bff2ac89799b578e57d4ad55e60dc
aa15c191988bd2a0ec81bf7cea595aa689b07956
refs/heads/master
2020-12-11T07:46:13.190957
2013-10-03T05:59:30
2013-10-03T05:59:30
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,442
cpp
GPNetwork.cpp
/* ============================================================================== GPNetwork.cpp Created: 6 Feb 2013 11:05:02am Author: cdonahue ============================================================================== */ #include "GPNetwork.h" /* ============ CONSTRUCTION =========...
81af23850e02d110759e15a332b8dba331113a02
b9a6e74c99728874dc9ba7bbb705ad76d01394ea
/Castlevania/SecretBrick.h
b1b144bd923d08cbefb6ad88bf17c39c60753260
[]
no_license
tudautroccuto741/Castlevania
ce416f28d9fbf4179afbf4d71e3b473cd9de566f
28417f18151ff6cca8376d5784dcdbb968657172
refs/heads/master
2021-04-10T15:06:07.032534
2020-08-07T12:59:22
2020-08-07T12:59:22
248,913,413
0
1
null
null
null
null
UTF-8
C++
false
false
467
h
SecretBrick.h
#pragma once #include "GameObject.h" #include "Animations.h" #define SECRET_BRICK_BBOX_WIDTH 32 #define SECRET_BRICK_BBOX_HEIGHT 32 #define CANNOT_BE_HIT_TIME 200 enum class SecretBrickAniID { idle = 4011 }; class CSecretBrick : public CGameObject { static DWORD cannot_be_hit_start; public: void GetBoundingBo...
cec9f078e4a528e78f0cc6233bac59ce5eed65f3
fe2836176ca940977734312801f647c12e32a297
/LeetCode/old/PrepForGoogleInterview2018/C++/first/102.cpp
ff19703c7c44b14041c304a3ada32e17a2cb8ea0
[]
no_license
henrybear327/Sandbox
ef26d96bc5cbcdc1ce04bf507e19212ca3ceb064
d77627dd713035ab89c755a515da95ecb1b1121b
refs/heads/master
2022-12-25T16:11:03.363028
2022-12-10T21:08:41
2022-12-10T21:08:41
53,817,848
2
0
null
null
null
null
UTF-8
C++
false
false
2,918
cpp
102.cpp
// clang-format -style=LLVM -i *.cpp && astyle --style=linux *.cpp && rm *.orig // && g++ -Wall -Wextra -std=c++11 ... #include <bits/stdc++.h> using namespace std; static int initialSetup = []() { // toggle off cout & cin, instead, use printf & scanf std::ios::sync_with_stdio(false); // untie cin & cout ...
52e992e6243ba829128bd3f8b08fa32da632e07d
db3f82897530b15aa2015c527dcf40700d88be48
/Lockon/Src/WorldGeneral/wQuaternion.h
553d34d51c433b53f9874f263931e9f46393395a
[]
no_license
VahidHeidari/ReverseEngineering
2eff32d4d49b560311c29cea06352d28d32c86ca
04f915c3009bdd59eddd53793256574c1b0b4d1b
refs/heads/master
2021-01-11T08:32:53.721706
2017-07-18T04:08:10
2017-07-18T04:08:10
76,719,008
1
0
null
null
null
null
UTF-8
C++
false
false
576
h
wQuaternion.h
#ifndef WQUATERNION_H_ #define WQUATERNION_H_ class wQuaternion { public: __thiscall wQuaternion::wQuaternion(class wQuaternion const &) public: __thiscall wQuaternion::wQuaternion(void) public: virtual __thiscall wQuaternion::~wQuaternion(void) public: class wQuaternion & __thiscall wQuaternion::operator=(class wQuat...
c44298bdf0d690594e534cc7672a4db85f07b810
2efc1d8fbe93a40ee7b1fb6e37230bc5bc2340c8
/Coding Question 02 - Finding Primes/Coding Question 02 - Finding Primes/main.cpp
5170c90d414b7c9f892d664e5655af2ce6d07142
[]
no_license
jameswang27/Challenge-Questions
d6901d45fd7e4523d4f5865e0014c1c6da110bbc
7c620569826ed979b1c7904cd9b1457eb0c53144
refs/heads/master
2021-01-10T10:34:09.819645
2016-01-24T08:16:16
2016-01-24T08:16:16
50,227,599
0
0
null
null
null
null
UTF-8
C++
false
false
2,656
cpp
main.cpp
//Intuit Coding Question 02 /* Find the 3rd, 58th and 10,001th prime number. */ /* We will try to solve this problem quickly by taking advantage of some properties of prime numbers. Note that the answers that the algorithm produces should be, according to Wolfram Alpha: -3rd: 5 -58th: 271 -10,001th: 104...
4a890dc7ee1978c7910cea3ea1d51287f356a2e7
d6d6893f488941edfc5d244221583c63572d9d5f
/test/src/math/test_vecmat.cpp
c5baff4ff7b50a7ce91c48f95369239e976afc55
[ "Unlicense" ]
permissive
scp-fs2open/fs2open.github.com
4170cc58b92577b41308a9e6343dd3fc3fb7a074
865f7e725c7a4d9c0b209a49ed0cbd8dc45e8ae7
refs/heads/master
2023-08-29T11:29:27.822804
2023-08-27T20:33:28
2023-08-27T20:33:28
7,700,081
382
311
NOASSERTION
2023-09-14T15:49:22
2013-01-19T06:10:53
C++
UTF-8
C++
false
false
18,330
cpp
test_vecmat.cpp
#include <gtest/gtest.h> #include <math/vecmat.h> #include <math/staticrand.h> #include <utils/Random.h> #include "util/FSTestFixture.h" using Random = util::Random; // "Correct" answers for matrix functions provided by Wolfram Mathematica 11 // Vector function tests oringially made by The_E const matrix uninverta...
681cb8613271662b4a585349c7bab03325fe8563
e1ce5c1c8e403df3446ea6736803cec795b47ec5
/wei-noise-master/11-DiffSamp/src/code/Library/Coordinate.cpp
49f6d03fa3b8a9192e81b18c09b8d5296dae4b08
[ "MIT" ]
permissive
HannahJHan/BlueNoiseSampling
c33f240221dd91843d0033de144adc4a238f69c7
1aec7e67f3e84735054ec79c6b477950095942ca
refs/heads/master
2022-12-31T16:17:48.937577
2020-10-20T10:43:32
2020-10-20T10:43:32
305,656,275
1
0
null
null
null
null
UTF-8
C++
false
false
78
cpp
Coordinate.cpp
/* Coordinate.cpp Li-Yi Wei 07/07/2007 */ #include "Coordinate.hpp"
efea4d4302965ed52fb41d979b01fa14c1d85ac0
549a402538164fb88a2711ae1454f413127630c6
/src/OrkaImage.cpp
fced4dd1931d3dc39502b56ef152bc3b1597313a
[]
no_license
vilhelmo/orka
f06c6e9f4c49ec50af2d2c993585ba54b323e83c
6ba56cf74742b32ea0913dc1b4edc7e1452cd38a
refs/heads/master
2016-08-04T01:24:24.839916
2014-01-12T08:59:48
2014-01-12T08:59:48
10,898,266
0
1
null
null
null
null
UTF-8
C++
false
false
6,451
cpp
OrkaImage.cpp
/* * OrkaImage.cpp * * Created on: Dec 15, 2013 * Author: vilhelm */ #include "OrkaImage.h" #include <QMutexLocker> #include <string> #include <thread> #include <chrono> #include "OrkaException.h" namespace orka { OrkaImage::OrkaImage(std::string filename) : pixel_data_(NULL), filename_(filenam...
f8f1b69e5b02ae73bac734f0108f7d03b4d00cb0
bf9db376540a7e9a9180aef4cae0afc054f12bf5
/src/test_cases/c/src/loop_red.cpp
cf30d83fbc7f8f509b271903952617ee25460ac0
[ "MIT" ]
permissive
Baltoli/He-2
ae815d83a1c9b22a358e980c2e63a9aac88b7a99
c3b20da61d8e0d4878e530fe26affa2ec4a4e717
refs/heads/master
2023-01-19T08:01:27.806898
2020-11-17T19:37:34
2020-11-17T19:37:34
299,584,728
1
0
null
null
null
null
UTF-8
C++
false
false
116
cpp
loop_red.cpp
#include <stdio.h> int main(){ int limit = 32; int a = 0; for(int i=0; i<limit; i++){ a+=i; } }
e7e21bfd862ea9f3ec0b9cede77ce65210b5a9ed
f7c21624103462928c9816df4d2b0b97f28fb439
/mohe-sx-game-server/MJShanxi2/LogicServer/Desk.cpp
cfcf538ae7cc464aefe93e283cd4c6727d331042
[]
no_license
Pircs/lipengServer
17e1fc7595e8e55e5b2b7e5f582be062e7713f40
1e7c13338eee6398e5ada73d31845aecd9d920d8
refs/heads/master
2020-09-18T10:33:08.268173
2019-10-07T11:13:00
2019-10-07T11:13:00
null
0
0
null
null
null
null
GB18030
C++
false
false
79,335
cpp
Desk.cpp
#include "Desk.h" #include "Work.h" #include "LLog.h" #include "Config.h" #include "RoomVip.h" #include "UserManager.h" #include "LogicToggles.h" #include "..\mhmessage\mhmsghead.h" Desk::Desk() { _clearData(); } Desk::~Desk() { } bool Desk::initDesk(int iDeskId, GameType gameType) { _clearData(); switch (gam...
00d75327cb336e5bb4028078b389dd5e2426cb40
6d4299ea826239093a91ff56c2399f66f76cc72a
/Visual Studio 2017/Projects/baekjun/baekjun/4597.cpp
1683cd0e85c882efebf03c169e250671f988e9ed
[]
no_license
kongyi123/Algorithms
3eba88cff7dfb36fb4c7f3dc03800640b685801b
302750036b06cd6ead374d034d29a1144f190979
refs/heads/master
2022-06-18T07:23:35.652041
2022-05-29T16:07:56
2022-05-29T16:07:56
142,523,662
3
0
null
null
null
null
UTF-8
C++
false
false
650
cpp
4597.cpp
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <string.h> #include <memory.h> char str[100]; int main(void) { while (1) { fscanf(stdin, "%s", &str[1]); if (str[1] == '#') break; int len = strlen(&str[1]); int cnt = 0; for (int i = 1;i < len;i++) { if (str[i] == '1') cnt++; } char ch = ...
fd76c4dd257f7ca48f32bb9b3967fdad5e76ab71
49844c7c88e70d95d5ba498737caedd9dd869866
/src/class/include/class/ButtonLoader.hpp
20968fbb03b9caabd983d42fa26a14fc73c55bd3
[]
no_license
mmmaxou/une-piece
42f30285fc78633ae77e7a1fe639f0162e7470ca
9ebb89758fa8e98c1c5e1761b9317212066d03e5
refs/heads/master
2020-04-06T23:25:25.989124
2019-02-13T06:35:36
2019-02-13T06:35:36
157,868,387
0
1
null
null
null
null
UTF-8
C++
false
false
2,893
hpp
ButtonLoader.hpp
#ifndef BUTTON_LOADER_UP_HPP__ #define BUTTON_LOADER_UP_HPP__ #pragma once #include <class/StaticImageLoader.hpp> #include <glimac/SDLWindowManager.hpp> #include <iostream> #include <algorithm> #include <functional> using namespace glimac; namespace UP { struct Button : public StaticImage { GLuint* _texture_hove...
37d4adff8680c303959cbec2f84bfa50f82e1502
10587620d1875a32090a9145a9f4cf6ed83d54e2
/C++编程/Qt网络编程/基于QT框架,HTTP协议下的一个简单的图片阅读器/build-PhotoShow-Desktop_Qt_5_7_0_MinGW_32bit-Debug/ui_photoshow.h
46fb0fdf2710f5cc63366f2be87d66f937ce11d2
[]
no_license
zhengzebin525/LINUX-Environmental-programming
2eab34cfdcc959e92224b2eda696d20907f68fef
18952913a36e73a3352b4af3dcf8494eac83029a
refs/heads/master
2020-04-16T04:08:35.759680
2019-07-07T14:20:00
2019-07-07T14:20:00
165,257,064
4
11
null
null
null
null
UTF-8
C++
false
false
3,696
h
ui_photoshow.h
/******************************************************************************** ** Form generated from reading UI file 'photoshow.ui' ** ** Created by: Qt User Interface Compiler version 5.7.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ***********************************...
6a442b619fd0b1747683613f1f89c5766d3ff137
d7d6678b2c73f46ffe657f37169f8e17e2899984
/controllers/ros/include/services/motor_get_acceleration.h
50b0fa5a5e6c8e644078f521ba3e7e35597a3c5e
[]
no_license
rggasoto/AdvRobotNav
ad8245618e1cc65aaf9a0d659c4bb1588f035f18
d562ba4fba896dc23ea917bc2ca2d3c9e839b037
refs/heads/master
2021-05-31T12:00:12.452249
2016-04-15T14:02:05
2016-04-15T14:02:05
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,328
h
motor_get_acceleration.h
#ifndef WEBOTS_ROS_MESSAGE_MOTOR_GET_ACCELERATION_H #define WEBOTS_ROS_MESSAGE_MOTOR_GET_ACCELERATION_H #include "ros/service_traits.h" #include "motor_get_accelerationRequest.h" #include "motor_get_accelerationResponse.h" namespace webots_ros { struct motor_get_acceleration { typedef motor_get_accelerationReque...
9e558286d85712568c46cd55a38e7d4b92a95768
0eb64d1b0f893be0c715c89d995a687fb0dfb426
/Server/Multiplayer/PlayerManager.h
022d41c10ce5551d397a1c9b2064b859d2cf52f1
[]
no_license
Dekryptor/Gothic3-Online
cd8439ad9309fcf0ba5b226158ac4be00e7cdc2c
50f2cb7e083ebd59051f26b95e04f80f7c8fbe20
refs/heads/master
2021-06-21T21:57:14.093925
2017-11-27T12:46:35
2017-11-27T12:46:35
124,277,237
2
0
null
2021-01-10T19:39:10
2018-03-07T18:27:02
PHP
UTF-8
C++
false
false
917
h
PlayerManager.h
#ifndef _PLAYERMANAGER_H #define _PLAYERMANAGER_H #define pM PlayerManager::GetInstance() #define playerListIter map<SystemAddress, Player*>::iterator class PlayerManager { private: PlayerManager(); PlayerManager( const PlayerManager & ) {}; ~PlayerManager(); void DestroyPlayerForAll(Player* player); void CreatePl...
3f2a48002200cb90ef5d726ae21d46ebac3e1cee
80ce9bb29ec86854146c2a5462885c159cd59024
/include/ContourDescript.h
df28565d1cb3e680b08b14d37cc614af9b1dce8b
[]
no_license
TomasStachera/Eli
30d692b579bbd41224f4f0029e5b9f468d0bcd3b
60a51b263588a5d88f7663d900613606fee26ce3
refs/heads/master
2021-06-26T16:42:15.349758
2020-12-25T14:56:56
2020-12-25T14:56:56
168,968,684
1
0
null
null
null
null
UTF-8
C++
false
false
5,454
h
ContourDescript.h
#ifndef CONTOURDESCRIPT_H #define CONTOURDESCRIPT_H //(*Headers(ContourDescript) #include <wx/sizer.h> #include <wx/textctrl.h> #include <wx/checklst.h> #include <wx/toolbar.h> #include <wx/panel.h> #include <wx/button.h> #include <wx/frame.h> #include <wx/statusbr.h> #include <wx/choice.h> //*) #include <wx/evtloop...
6ce6bcc7678b08d74a0a995838dd84939b5be89b
9a4054fc65510acc51672c6355962b8d19503af7
/Source/Application/BinStream.hpp
1697fe184ee575a0bce6bdb03ce3b864a7f544f3
[]
no_license
fpawel/hromat900
fdeb3832a1256e07795d9b0be4bde5606a53293b
81802843340ee0f445e06f5067e6f5f69908665e
refs/heads/master
2020-03-25T23:32:14.132685
2018-10-31T13:50:25
2018-10-31T13:50:25
144,279,577
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
2,597
hpp
BinStream.hpp
#ifndef MY_BIN_STREAM_HLPR #define MY_BIN_STREAM_HLPR #define VCL_IOSTREAM #include "MyIostream.h" #include "MyExcpt.hpp" #include "crc16.h" DECLARATE_AND_DEFINE_MY_EXCEPTION_CLASS_(CantReadIStream, Exception ); DECLARATE_AND_DEFINE_MY_EXCEPTION_CLASS_(CantWriteOStream, Exception ); class MyBinaryIStreamHlpr : publi...
7886f3e963af47d9c3e76bd02bddb5cbe9e45758
a30a8b60e07ba5b3db7455c7901b3aa464db97d8
/code/Ad-Hoc/p-level-5/2330.cpp
e3d215beb5b4a7d20c3e34fd8617eb7c2f349faf
[ "Unlicense" ]
permissive
RenanTashiro/URI
a0cb7fca4eb4cca563efe41c7978514902f2b005
85c4d3079211d4b4415798649af8c6ce3be541b8
refs/heads/master
2021-01-22T19:55:02.241244
2018-05-25T19:38:46
2018-05-25T19:38:46
85,258,612
0
2
null
null
null
null
UTF-8
C++
false
false
769
cpp
2330.cpp
/* Nome: Telemarketing ID: 2330 Resposta: Accepted Linguagem: C++ (g++ 4.8.5, -std=c++11 -O2 -lm) [+0s] Tempo: 0.188s Tamanho: 581 Bytes Submissao: 07/02/18 17:11:50 */ #include <bits/stdc++.h> using namespace std; typedef pair<int,int> ii; int main() { int n, l; scanf("%d%d", &n, &l);...
95f366fca36a3e7e49d03b6d017d156e0e69738c
af8f027cac42a7e332224ca664dd8b1565f0fee9
/source/Bezier.cpp
7f4141a3b5a9d178544e4d2b7c022dcb688a21e3
[]
no_license
MasterMoritz/ComputerGraphics
1deca04226075b6300ab404c9a87899518febdc0
7f71a2f886db1ad77ba8a5c0949418d8cd33f204
refs/heads/master
2021-03-30T16:57:20.555174
2015-06-25T02:48:23
2015-06-25T02:48:23
32,816,159
0
0
null
null
null
null
UTF-8
C++
false
false
882
cpp
Bezier.cpp
/****************************************************************** * * Bezier.c * * Description: Helper routine for bezier curve computations. * * * Computer Graphics Proseminar SS 2015 * * Interactive Graphics and Simulation Group * Institute of Computer Science * University of Innsbruck * * Andreas Moritz, Philip...
d53dad857368f93eb33e61cecc753bbfdfa4dac1
b8376621d63394958a7e9535fc7741ac8b5c3bdc
/common/Server/GameServer/PokerServer/PokerServer/PB_Server/include/GBuf.h
e38c26d88d3088cd6a182124ca606f31c7b38a2d
[]
no_license
15831944/job_mobile
4f1b9dad21cb7866a35a86d2d86e79b080fb8102
ebdf33d006025a682e9f2dbb670b23d5e3acb285
refs/heads/master
2021-12-02T10:58:20.932641
2013-01-09T05:20:33
2013-01-09T05:20:33
null
0
0
null
null
null
null
UHC
C++
false
false
3,243
h
GBuf.h
// // GBuf.h // #ifndef GBUF_H #define GBUF_H #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 /////////////////////////////////////////////////////////////////////////////// // GXBuf typedef SelfPtrT<IXBuf> GXBuf; /////////////////////////////////////////////////////////////////////////////// // GBuf c...
4c8391ac53d188f13f18cb9184f050fa4f6af5d7
c350d938ce94f7526d5d243fec0b2269e63b961a
/include/GridAccel.h
3943e5b7662528dba0f95c7555fe6416a1b84c7f
[]
no_license
Vancroth/FormFactor
daa08c29c1d20929ec319a69fc84b3fdbce2d77d
6500b7b5aff7e46961919a10f51276f2c6e76cac
refs/heads/master
2023-07-14T03:29:04.650417
2010-03-11T23:50:55
2010-03-11T23:50:55
552,028
0
0
null
null
null
null
UTF-8
C++
false
false
865
h
GridAccel.h
/* * Implementation for a axis aligned grid. * * The gid is used for the acceleration of * collisions and for visibility checks, i.e. * hidden surface removal and proximity to character. */ #pragma once #include <vector> #include "Primitive.h" #include "BoundingBox.h" namespace FormFactor { /* * Used to ...
3091c3b3d4e954ca9f0bc8d454319033538aca9e
4b32612e77cfbb45d8ae26fa0b6dacb767833f22
/main.cpp
bf25a8ad02ae120292dd9f03ecc514da61113081
[]
no_license
Pvnisher/Domande
099286068664865484d9b05f256454bd4839e0c6
2ce50ad2df3aea6aa8b705af1d137c5807bde799
refs/heads/main
2023-06-06T07:03:57.822312
2021-06-26T12:01:51
2021-06-26T12:01:51
377,540,947
3
1
null
2021-06-26T12:01:51
2021-06-16T15:20:52
C++
UTF-8
C++
false
false
6,700
cpp
main.cpp
#include <iostream> #include <fstream> #include <string> using namespace std; void write_headers(const string& output_file, const string& = "headers.html"); int main(int argc, char **argv) { string file_domande; string file_output; string header = "headers.html"; string aus; bool flags[]{false, f...
0e1a6658d007e2b37ca394eebc74a1ec492eb392
49321258cb94dc4320f8487dca6c6f2ec8047e98
/SuplaWebServer.cpp
dd038c9db426dfa7bd3b45c0c31b00193c9c5c5f
[]
no_license
shimano73/Supla_waga_Generic_GUI
a70098e778714355d710581d7974df2db8d88cd6
9495d6253dd865719b7f4f5f965db1ebb8ca7512
refs/heads/main
2023-07-14T05:04:57.594553
2021-08-29T11:16:56
2021-08-29T11:16:56
401,010,199
0
0
null
null
null
null
UTF-8
C++
false
false
18,744
cpp
SuplaWebServer.cpp
/* Copyright (C) krycha88 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 Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the...
2c2da48713ad0eed76828c5e88e81574f87591be
34074c4ed049a56c4eaf2e22f46a6f5016cb6143
/Operation.cpp
d646f5075f58a2f0ea4c09bcc6ef1f57a0718b9c
[]
no_license
fivelike/ChessGame
03e4679413ab80431ec4a886a579b180fa252b74
d8560de74c0a78b64c8b34ae88f9743f3d5ebba2
refs/heads/master
2020-03-17T07:03:25.303509
2018-05-18T16:24:56
2018-05-18T16:24:56
133,381,162
0
0
null
null
null
null
GB18030
C++
false
false
492
cpp
Operation.cpp
// Operation.cpp : 实现文件 // #include "stdafx.h" #include "ChessGame.h" #include "Operation.h" #include "afxdialogex.h" // Operation 对话框 IMPLEMENT_DYNAMIC(Operation, CDialogEx) Operation::Operation(CWnd* pParent /*=NULL*/) : CDialogEx(IDD_DIALOG2, pParent) { } Operation::~Operation() { } void Operation::DoDataEx...
e586ac668c5faa583b5adfa50752f63ac20e6a39
247ac5362ee5094801a519124e6b8e61bce27ba0
/DirectXBase/DirectXBase/DescriptionSceneBG.h
a1fdf10980cb79f8e137b3272462fef52371348e
[]
no_license
SasakiMizuki/MizukiRepository
12e7fba06038200fbff42923720d2ff03f12c30e
854211a26525ef3b12ee1430ed313ccf57119f74
refs/heads/master
2020-05-29T15:14:11.031839
2017-10-24T16:19:03
2017-10-24T16:19:03
61,768,941
0
0
null
2017-07-11T05:56:28
2016-06-23T03:03:21
Logos
UTF-8
C++
false
false
365
h
DescriptionSceneBG.h
#pragma once #include "C2DObj.h" #define DESCRIPTION_BG_NAME _T("../data/image/description_bg.png") class CDescriptionSceneBG : public C2DObj { private: static bool m_bLoad; public: CDescriptionSceneBG(CSceneBase* pScene); virtual ~CDescriptionSceneBG(); virtual void Init(); virtual void Update(); virtual void F...
cc3894e1945f321705f0504af0172c7017595b16
20eb8da7098d4f15620a37893dd6153dd1f5ed6d
/SuMa_Code/test/core/lie_test.cpp
abee704af8790332cc952f99d71106e55fbe113f
[ "MIT" ]
permissive
qiaozhijian/SuMa
97cbeeed14a2dfa67607f6db575ef75f82e91670
73ca28b76513e4f83cc1a31f7160e1b7139ee53b
refs/heads/master
2020-12-03T14:59:53.902167
2020-01-02T10:53:48
2020-01-02T10:53:48
231,362,571
1
0
null
null
null
null
UTF-8
C++
false
false
386
cpp
lie_test.cpp
#include <gtest/gtest.h> #include <core/lie_algebra.h> namespace { TEST(LieTest, testLogExpSE3) { // simple sanity test, x = exp(log(x)) and x = log(exp(x)) Eigen::VectorXd x(6); x << -0.7, 0.1, 0.1, 0.1, -0.5, 0.33; Eigen::VectorXd x_logexp = SE3::log(SE3::exp(x)); for (uint32_t i = 0; i < 6;...
1aa99309eae3dfa4d765bec0c68c24d10804d6a1
12efddb38fd5bd1c2b2b3bb1b672714b694d5602
/common/minibson.h
3271148d9620dd70a0bb0042be9f645eec0f6154
[]
no_license
chenxp-github/SmallToolsV2
884d61200f556379551477030aa06c64593ce9d4
1a8aa863d0bc3744d376284ace85c7503b871f45
refs/heads/master
2022-06-01T05:19:25.417439
2022-04-30T05:31:53
2022-04-30T05:31:53
210,530,450
1
0
null
null
null
null
UTF-8
C++
false
false
5,118
h
minibson.h
#ifndef __MINIBSON_H #define __MINIBSON_H #include "mem.h" #include "closure.h" CLOSURE_COMMON_OBJECT_OPS_DEFINE_H(CMiniBson,bson) #define LOCAL_BSON(bson,size) char __##bson[size];\ CMiniBson bson;\ bson.Init();\ bson.SetRawBuf(__##bson,size);\ #define BSON_CHECK(f) do{if(!(f)){\ __LOG("check fail \...
57567236d986bac723764e12a3bda5bb642a15ca
9764c92be4c7dff3c26368506aa9f07b1f6f1220
/code/core/OS/Net/NetEventManager.cpp
b0a30af2ecc977d5c9b1256eb3c92361b5d02cfb
[]
no_license
chc/openspy-core-v2
b3f115084215f9777a1df7d51706b8359a547f69
6846cd42863ba3f4b4e2bfdccd2989d65829efcc
refs/heads/master
2023-09-04T04:34:13.320093
2023-08-30T21:58:42
2023-08-30T21:58:42
123,511,717
89
17
null
2022-12-27T02:35:52
2018-03-02T01:07:39
C++
UTF-8
C++
false
false
210
cpp
NetEventManager.cpp
#include "NetEventManager.h" INetEventManager::INetEventManager() { } INetEventManager::~INetEventManager() { } void INetEventManager::addNetworkDriver(INetDriver *driver) { m_net_drivers.push_back(driver); }
47d06b7d7d48a616b95e7a3e4472f719aee9edc0
5c87f1207a28f69237e772f1d71d591661a22d7e
/eeprom-writer.ino
aab8bb4e965d20ddd73eab0bc2ee09b2868133fc
[]
no_license
JDat/eeprom-writer
e017add9363b7b3e2154e6a56d328759cb0122cc
f1a7e72ffa6d06b025f530f98c2cbed0a340a713
refs/heads/master
2020-05-02T15:22:01.334590
2019-04-08T13:05:40
2019-04-08T13:05:40
178,038,997
0
0
null
2019-03-27T17:00:57
2019-03-27T17:00:56
null
UTF-8
C++
false
false
14,737
ino
eeprom-writer.ino
/* // EEPROM Programmer with I2C I/O expanders // // // Base and core Written by K Adcock. // http://danceswithferrets.org/geekblog/?page_id=903 // // I2C modifications by JDat // Support for 32 pin (up to 512k * 8 ) Flash // // This software presents a 115200-8N1 serial port. // // R[hex address] ...
d8c40141d3d9eb474ad6e37b5d57dc41c4089e19
e49d828d909b194aa4c625843879a6be0cc12f62
/Dimension/src/Engine/Core/Aplication.cpp
7c7447165e42d6eaf6c48331a690e672bb713353
[]
no_license
lauriscx/Dimension
2b15e5dfc07665116d57fb021e429d89e16cade3
d081ff91f1daa60d67db05230ae6777e8d8276f5
refs/heads/master
2023-02-18T21:16:49.876831
2020-11-22T17:06:41
2020-11-22T17:06:41
280,666,793
0
0
null
null
null
null
UTF-8
C++
false
false
10,662
cpp
Aplication.cpp
#include "imgui.h" #include "GUI/imgui_impl_glfw.h" #include "GUI/imgui_impl_opengl3.h" #include "GLAD/glad.h" #include "Aplication.h" #include <iostream> #include "Input/Input.h" #include "GLFW/glfw3.h" #include <functional> #include "Layers/Layer.h" #include "Temporary/Logger.h" #include "Input/Events/Error.h" #inclu...
6c7fb516eb51ac27d4d84b065bbd610e338885a0
6ff5b16946834456b8f22c2b607b577d460f8acf
/Debugger/debugger.cpp
8a4d30c9919a1a584ee7373b3e95e7077ec89299
[ "Unlicense" ]
permissive
stpr18/debugger
7da7dc741455479878ef2d743c974d696cf3a2d5
40afd258d39ec9c9387d8c6e9d272b8a0f3051d5
refs/heads/master
2021-01-09T20:23:25.440132
2016-06-24T03:54:03
2016-06-24T03:54:03
61,855,319
0
0
null
null
null
null
SHIFT_JIS
C++
false
false
2,959
cpp
debugger.cpp
#include <vector> #include <iostream> #include "debugger.h" Debugger::Debugger() { } Debugger::~Debugger() { DetachAll(); } void Debugger::RunAndAttach(const char *path) { debugger_.RunAndAttach(path); } void Debugger::RunAndAttach(const wchar_t *path) { debugger_.RunAndAttach(path); } void Debugger::Attach(nat...
b9cd06da51f18eeb1d807a5bd6deb647ec9522d6
58158c18390549157070514f34c56e85188327af
/[Luogu P1280] 尼克的任务.cpp
6f54ba1e60a5f8aca57a66c9e32fd76bd87afbd8
[]
no_license
TosakaUCW/Solution_Source_Code
8c24e3732570bb813d5d713987a99fea17618e1f
8469cc7a177ed17e013a5fb17482983d8e61911e
refs/heads/master
2021-11-26T21:23:50.423916
2021-11-19T02:34:01
2021-11-19T02:34:01
149,946,420
7
0
null
null
null
null
UTF-8
C++
false
false
649
cpp
[Luogu P1280] 尼克的任务.cpp
#include <string.h> #include <stdio.h> #include <algorithm> #include <vector> const int N = 1e4 + 5; int n, m, f[N]; std::vector<int> a[N]; int main() { memset(f, -0x3f, sizeof f); f[1] = 0; scanf("%d%d", &n, &m); for (int i = 1; i <= m; i++) { int x, y; scanf("%d%d", &x, &y); ...
caf6781caf0760971dc88f320d4f861c9641bcbe
1e17cf70e2f058afb4d80cf8f43bd288c0669cc1
/MainFrm.h
9fc9027b7f8e76f99535d847e715f5c683826244
[]
no_license
CostasAtomizer/scrsaver_win
bda1d69b1a571253e7c166a825214ae1dcc4e2ce
97a4717ac68adf50f9db5d558a271299417e5d84
refs/heads/master
2022-11-29T03:21:48.379453
2022-11-05T17:35:47
2022-11-05T17:35:47
48,375,577
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
2,734
h
MainFrm.h
// MainFrm.h : interface of the CMainFrame class // #pragma once #include "TwRand.h" #include "TypeOfTheShowDialog.h" #include <atlimage.h> #include "math.h" class CMainFrame : public CFrameWndEx { public: CMainFrame(); protected: DECLARE_DYNAMIC(CMainFrame) // Overrides public: virtual BOOL PreCreateWindo...
8474b10e58f71daf50c862c992b1e5a0531ac46e
9d6db8e0771409158e3c19a79208591041925120
/IF20.cpp
2c92d7c55fa98940461a763a046c68370965b76b
[]
no_license
SmetanaAlex/Menu
70a8f4fdb0c85aed435497daac8df10ca82fb297
eda158898e8a98a3562770f7921cc3f1d93521c2
refs/heads/master
2020-07-30T22:18:05.929501
2019-09-23T14:40:30
2019-09-23T14:40:30
210,378,933
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
1,014
cpp
IF20.cpp
#include "iostream" #include "ifr.h" using namespace std; int z20if() { setlocale(LC_ALL, "Russian"); cout << "If20. На числовой оси расположены три точки: A, B, C. Определить, какая издвух последних точек(B или C) расположена ближе к A " << endl; cout << "вывести эту точку и ее расстояние от точки A." << endl; ...
66b0a18ce8195a8da7cfacba5e04739ef4018403
400ff661684148cbb6aa99f4ebbc82bc551356d9
/c++/aria2/52634627bc/base64/Base64.h
367c926daa67b4ff5efac857a456e04d9876fed9
[]
no_license
csw201710/demo
32d71f333dc7f78fab0e2ab53f6a7e051847eea3
386a56961e8099b632115015cbeec599765ead01
refs/heads/master
2021-08-26T08:03:49.055496
2021-08-18T11:22:45
2021-08-18T11:22:45
171,476,054
7
11
null
null
null
null
UTF-8
C++
false
false
373
h
Base64.h
#ifndef _BASE64_H_ #define _BASE64_H_ #include <string> using namespace std; class Base64 { private: static string part_encode(const string& subplain); static string part_decode(const string& subCrypted); static char getValue(char ch); public: static string encode(string plain); static string ...
6776e3264354abfaef4578cfe3f5aa0f4a6c7c0b
de7c4a2b70415f0389c54440e9c6bf2cd5cd42f7
/StraightGUI/PlayerStatusView.cc
3e78f567085e1e78b4390106753fe81a60df4dfd
[]
no_license
ZiyiZhao/Straight_GUI
a075ae945537c5db12f1a0c0cf998d7cf8967b7e
1f21ea7185a930f63f7886499d56ad318bde1818
refs/heads/master
2021-01-19T05:48:31.664394
2014-07-20T16:01:32
2014-07-20T16:01:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,573
cc
PlayerStatusView.cc
// // PlayerStatusView.cc // Straights // // Created by Jack,Errin on 2014-06-14. // Copyright (c) 2014 Jack,Errin. All rights reserved. // /* * Player class - holds the information to display for the viewer class * */ #include "PlayerStatusView.h" #include <iostream> #include <gtkmm/label.h> #include <sstrea...
2709c4067ba3cff7aeb8f1890030ccc1e9850721
dbcae57ecc5f8d1f7ad2552465834da2784edd3f
/ECNU/ecnu_1878.cpp
25ef34f4d39dbcec174fbcf9260e007890a3f106
[]
no_license
AmazingCaddy/acm-codelab
13ccb2daa249f8df695fac5b7890e3f17bb40bf5
e22d732d468b748ff12885aed623ea3538058c68
refs/heads/master
2021-01-23T02:53:50.313479
2014-09-29T14:11:12
2014-09-29T14:11:12
14,780,683
1
0
null
null
null
null
UTF-8
C++
false
false
1,342
cpp
ecnu_1878.cpp
//二分搜索 #include<iostream> #include<algorithm> #define MAXN 100002 using namespace std; const int INF=~(1<<31); int a[MAXN],n; int bin_search1( int k ) { int l=0,r=n-1,mid; while( l<=r ) { mid=(l+r)>>1; if( a[mid]>=k ) r=mid-1; //尽量往前移动,取到相同数的第一个数 else l=mid+1; } return l; } int bin_sea...
9d9f7e8dbe50ad580909557109345dca98babc89
b63a6de87d4dbf3383fc2d95e2f80292321c1a0d
/Midterm/problem3.cpp
a993593a61b143bd16e284790b466c36481eec20
[]
no_license
produdez/C-Fundamental-182
bd23d628f484347d7e152ddad3694d486203a731
d06bc64f56a71d7bd4448cf9294e3ce81dd8fbce
refs/heads/master
2023-01-12T10:42:55.760652
2020-11-17T03:18:41
2020-11-17T03:18:41
313,491,316
0
0
null
null
null
null
UTF-8
C++
false
false
443
cpp
problem3.cpp
#include <iostream> #include<iomanip> #include<string> using namespace std; main() { int N; cout<<"How big?\n"; cin>>N; for (int i=0; i<N;i++) { cout<<setfill(' ')<<setw(N-i)<<'*'; if(i==0) { //DO NOTHING } else if (i==(N/2)) { cout<<setfill('*'...
6985c7ad3480e17717952d233e5f042ac82fd552
9445b5c08be0b6c5e874814d08f3d49207aca1d5
/main.cpp
b3c69b674b386ab50d517e9bb0953a79f6e221da
[]
no_license
vient/Brewery
05919441c33062f6e3a8ef25eb04ac68877cf4f9
03a71f9eca5d59d73d92e0556eafcb24899974a1
refs/heads/master
2021-01-10T02:00:35.156893
2016-04-07T14:39:33
2016-04-07T14:39:33
55,300,732
0
0
null
null
null
null
UTF-8
C++
false
false
459
cpp
main.cpp
#include <iostream> #include <sal.h> // stupid throw()... Nobody really need them #pragma warning( disable : 4290 ) #include "Brewery.h" _Success_(return == EXIT_SUCCESS) int main( _In_ int argc, _In_ char **argv, _In_ char **envp) { auto& brewery = Brewery::Brewery::Instance(); try { ...
e5fee323bb6854c348b65c00765c3fe992624291
d9ef3a8b94d2e4bc44b1412e673ef78697082e75
/OnlineJudge/CodeForces/102001/L.cpp
8c413908bbdb5fb142353e448c95c7c69073cb08
[]
no_license
tanhtm/Competitive-Programming
ee475c898d47041ea5d136227b5af37e2d61cb40
9d959be095e35c2a030b5a7196085cdeef396454
refs/heads/master
2021-06-11T02:31:10.174618
2021-03-25T15:18:58
2021-03-25T15:18:58
162,153,635
0
0
null
null
null
null
UTF-8
C++
false
false
738
cpp
L.cpp
#include <bits/stdc++.h> using namespace std; typedef long long int ll; string s,k_; string ok(long long int k) { string r = ""; while(k != 0){ r+= k%2 + '0'; k/=2; } reverse(r.begin(), r.end()); return r; } int main(){ ll k; string s,s_; cin>>k>>s; s_ = s; sort(s.begin(),s.end()); if(s[0] != '1'){ s[0...
1edd9ee469f6ddb0d1ee8c02d399a2fb09eac9b7
b91a6e4aed84ce4d5a10ee07cd2124008b9260d9
/flat/page.h
26c4c6ad2dc553f9cd00473f08420c6ec30965ea
[]
no_license
lczm/flat
e021ea035993511ce024148c8e8f125c788a79ba
0763c99f88bfa4cfc381182a71e54545a8642e05
refs/heads/master
2023-03-28T02:48:50.472931
2021-03-22T06:47:23
2021-03-22T06:47:23
350,236,737
1
0
null
null
null
null
UTF-8
C++
false
false
493
h
page.h
#pragma once #define WIN32_LEAN_AND_MEAN #include "constants.h" #include "graphics.h" #include "input.h" class Page { protected: Graphics* graphics; Input* input; public: Page(); virtual ~Page(); virtual void initialize(Graphics* graphics, Input* input); virtual void start(); virtual void releaseAll(); virtu...
7a51a254dc1f9e8af8e1bc3351e9b05836b236e9
c15d99db59d76496b58d7209cb01b8214a82532b
/operating_system/hm/hm1.cpp
cafe9f3d5ec5a9fc0bb30838c265d48d2588abeb
[]
no_license
ShiinaOrez/C-CPP_IN_CCNU_CS
7d490a61e88ccd381e55b719eb52c375b745f8df
fbfc8c0262596af917730f19bac95850088c5fc5
refs/heads/master
2020-04-12T09:54:53.590349
2019-12-01T16:10:14
2019-12-01T16:10:14
162,412,824
0
0
null
null
null
null
UTF-8
C++
false
false
11,215
cpp
hm1.cpp
// copyright: 2019-09-23 ShiinaOrez #include <cstdio> #include <iostream> #include <queue> #include <vector> #include <cstring> #include <algorithm> #define max_works 1005 using namespace std; struct MyTime { int hour; int mins; bool operator < (const MyTime &right_time) const { return hour < ri...
d410f951e3ff2b33b3cfe53e353c0582241a82d7
1bf6be8624fa8231c20b809154482647641328fe
/idbbondserver-midware/databusgateway/src/msg_bus_queue_callback.cpp
cdac91d99a7991e48a811b43bf1aab0fdbab81ff
[]
no_license
iamtcby5188/work
d2bcf4d12f3d26eb9f92859ce9e6619651320d39
445e49977cf2b2739395f857466662d843a343ef
refs/heads/master
2020-03-11T06:16:49.339312
2018-04-18T06:31:42
2018-04-18T06:31:42
129,826,310
0
0
null
null
null
null
UTF-8
C++
false
false
1,586
cpp
msg_bus_queue_callback.cpp
#include <log.h> #include <msgbus/util.hpp> #include <sdbus/util.hpp> #include "databus_gateway_helper.h" #include "msg_bus_queue_callback.h" msg_bus_queue_callback::msg_bus_queue_callback (const std::string& name) { name_ = name; type_ = msgbus::DeliverDirect; } msg_bus_queue_callback::~msg_bus_queue_callback () ...
f72bf4a448a80ca8af3cecf3c12e81ff77ce0eac
7bc185a9db78d453f4bcc637cb26465d8ad7f9e2
/src/raytracer.cpp
c43debefba3cad4f23abae044d1af34bf5b91a36
[]
no_license
zhaoyan1117/RayTracer_PhotonMapping
6353b4277e0b9e5d45b61541ea4e4db614e57124
25da221816c8da6146b1806143c40fac3e93a89a
refs/heads/master
2021-01-01T03:40:48.184860
2016-04-18T03:23:57
2016-04-18T03:23:57
56,473,857
1
0
null
null
null
null
UTF-8
C++
false
false
59,562
cpp
raytracer.cpp
#include <sstream> #include <stdio.h> #include <string> #include <omp.h> #include "RTtools.h" #include "Photon.h" #include "FreeImage.h" using namespace std; class Sampler { public: Point LU, LD, RU, RD; Sample cur; Point base; float widthP, heightP; Vector stepH, stepV; Vector microStepH, ...
842117a486a8e859dda3e8a92b885a0096680c14
9fad4848e43f4487730185e4f50e05a044f865ab
/src/chrome/browser/media/router/media_router_base.cc
cea5fcdada94f67de9be3a5480ca7828986b3ccc
[ "BSD-3-Clause" ]
permissive
dummas2008/chromium
d1b30da64f0630823cb97f58ec82825998dbb93e
82d2e84ce3ed8a00dc26c948219192c3229dfdaa
refs/heads/master
2020-12-31T07:18:45.026190
2016-04-14T03:17:45
2016-04-14T03:17:45
56,194,439
4
0
null
null
null
null
UTF-8
C++
false
false
3,611
cc
media_router_base.cc
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/media/router/media_router_base.h" #include "base/bind.h" #include "base/memory/ptr_util.h" #include "base/stl_util.h" #include "...
6571075ca02ad0b9013a05ac0efe140a03af10de
58304dc51601bcdec337120184f9806497a47e44
/chapter11/ex18.cpp
a2edf1deb4e7acf6a490cef9394dcd53aad9d052
[]
no_license
jwbecalm/thinking-in-cpp-forked-
3cc0af0c4f1d7497330873f19561604c6d97d3a4
4cf9a78692d6e687956622d32e99b0a6e27cf8ee
refs/heads/master
2020-03-30T01:51:12.826613
2013-07-21T16:57:21
2013-07-21T16:57:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
285
cpp
ex18.cpp
#include <iostream> using namespace std; class argcon { public: argcon(){}; argcon(const argcon& a, int b = 10){ cout << "default: " << b << endl; }; virtual ~argcon(){}; }; void f(argcon c){}; int main(int argc, char *argv[]) { argcon t; f(t); return 0; }
bd59bd824cd59d8f36db6d57ce5424de7222d74b
39702a12098cd2e67c6572756c43ffb6d7e8417c
/DateCell.h
f46a8686e540518f49e7366b3ee00c7f383f9270
[]
no_license
zhinian1992/Calendar
2a4f3b204993c1286b966907ca564f5012626ec1
7e9c2c588f716b8768b9bf061831ace8f1d7912d
refs/heads/master
2020-04-30T21:19:57.373016
2019-03-29T03:54:41
2019-03-29T03:54:41
177,090,710
0
0
null
null
null
null
UTF-8
C++
false
false
622
h
DateCell.h
#ifndef DATECELL_H #define DATECELL_H #include <QWidget> #include "DetailWnd.h" namespace Ui { class DateCell; } class DateCell : public QWidget { Q_OBJECT public: explicit DateCell(int iNO,QWidget *parent = 0); ~DateCell(); void setCellText(QDate qDate,QString qsTask = ""); void setCellStyle(bo...
1049cfa3fc8a7a2e8f764e1866626cb800346f9e
11a246743073e9d2cb550f9144f59b95afebf195
/codeforces/gym/101528/ichthyo.cpp
ecbb80b575423d196e265d9b4d511bfb2a9ff871
[]
no_license
ankitpriyarup/online-judge
b5b779c26439369cedc05c045af5511cbc3c980f
8a00ec141142c129bfa13a68dbf704091eae9588
refs/heads/master
2020-09-05T02:46:56.377213
2019-10-27T20:12:25
2019-10-27T20:12:25
219,959,932
0
1
null
2019-11-06T09:30:58
2019-11-06T09:30:57
null
UTF-8
C++
false
false
1,291
cpp
ichthyo.cpp
#include <iostream> #include <iomanip> #include <string> #include <sstream> #include <fstream> #include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <algorithm> #include <utility> #include <vector> #include <queue> #include <map> #include <set> #include <unordered_map> #include <unordered_se...
a0bbb2ecb18c3ea5784178a6cf4282f275e35979
46ba25e5bed4613884b7b74445d5adae6a09c096
/plugin/protocols/include/ProtocolAds.h
31d4427e3bf40a9187f70953e4a168f4372a4a5d
[ "MIT" ]
permissive
coolengineer/cocos2d-x
af7fec2833ada79e553f872f3a1a10c80ea2b653
d099698e11cab0aad2e4e13313a828b8e01758b5
refs/heads/master
2021-01-18T01:58:31.387306
2013-04-27T01:58:36
2013-04-27T01:58:36
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,626
h
ProtocolAds.h
#ifndef __CCX_PROTOCOL_ADS_H__ #define __CCX_PROTOCOL_ADS_H__ #include "PluginProtocol.h" #include <map> #include <string> namespace cocos2d { namespace plugin { typedef std::map<std::string, std::string> TAppInfo; class AdListener { public: typedef enum { eUnknownError = 0, ...
eada93cbba9c9e53f44b020bed280cf252d6c81f
8510632c7d7725a9133ec5b86172b6458d999f67
/datastruct/BinarySortTree.cpp
652c2745238c0151bbde525104ba421740669454
[]
no_license
JarvisChu/algorithm
dab33ef2c86fdd2afe00d27ff1e3e4cee6d4a4ad
edb95c68c2af5940fbb073fc973e374b6bcaf24d
refs/heads/master
2023-06-21T19:41:59.388634
2023-06-11T15:25:46
2023-06-11T15:25:46
181,333,418
0
0
null
null
null
null
UTF-8
C++
false
false
4,440
cpp
BinarySortTree.cpp
/* * 二叉排序树 Binary Sort Tree * 左子树小于根, 右子树都大于根 * 用于动态查找 * * 中序遍历就可以得到一个有序的序列 * * 插入 * 很简单,中序遍历的过程 * * 删除 * - 叶子直接删:如果被删节点是叶子节点,直接删除即可 * - 单孩直接代:如果被删节点只有一个孩子,直接使用其孩子替代其位置即可 * - 中序前驱代:指被删节点有两个孩子,此时有两种处理方式, * 假设: p 是要删除的结点,f 是p的父结点 * (1) p的左孩子作为f的左孩子, f->lchild = p->lchild; * p的右孩子作为 其中序遍历前驱的右孩子...
e68a15417e99b42baa0ebcd0ffc78aad66b22949
878ca47b232081d27390e7bd9d02826b41bc070c
/Lab_4_4/Lab/Isosceles.h
3bd8614ad2b9c34957adbe9997db468120f3475e
[]
no_license
laurashcherbak/cpp_oop
6efd8b68156a79f4e27ba1d70b51946bfec2c887
a693421f1cfb83fb2db93d4c1fb88ac38cd6f34d
refs/heads/master
2023-04-25T03:16:19.012303
2021-05-19T07:38:43
2021-05-19T07:38:43
343,200,561
0
0
null
2021-04-19T17:56:04
2021-02-28T19:54:18
C++
UTF-8
C++
false
false
364
h
Isosceles.h
// Isosceles.h #pragma once #include "Triangle.h" class Isosceles : public Triangle { public: Isosceles(void); Isosceles(int ab, int bc, int angle); ~Isosceles(void); virtual void Print(); virtual void Input(); virtual double Square(); virtual double Perimeter(); virtual ostream& Print(ostream& out) const;...
d0d1387381f07d0dae46a178845a73ad671a3bf1
4a0ea369c33e0d21f5ef671ba9d82a0e3c4ff6f8
/dhash/dhblock_keyhash.h
d380e8c77abea351d7bf6cd3ebc1c89126482880
[ "MIT" ]
permissive
weidezhang/dht
ee37de39a74bc975d37b8245469873bfc2e31c5f
2ce617cb6f02b5ebdb599487f0fef5720f688fd5
refs/heads/master
2021-01-18T07:51:50.113147
2013-06-10T09:05:31
2013-06-10T09:05:31
10,290,178
3
0
null
null
null
null
UTF-8
C++
false
false
2,092
h
dhblock_keyhash.h
#include "dhblock.h" #include "dhblock_replicated.h" class sfs_pubkey2; class sfs_sig2; class sfspriv; // The salt datatype is an arbitary sequence of sizeof(salt_t) bytes // provided by the user of dhash. Its purpose is to multiplex one public // key over any number (not any number but 2^{sizeof(salt_t)*8}) of block...
5bcf76d62bc7535f44e092fd136a9308f6d66404
9247cc17fbcf5ce96960e1b180d463339f45378d
/.SPOJ/NKSEQ/NKSEQ/NKSEQ.cpp
7ddd9376c77de535b86f9eb897f13df2e05d6186
[ "MIT" ]
permissive
sxweetlollipop2912/MaCode
dbc63da9400e729ce1fb8fdabe18508047d810ef
b8da22d6d9dc4bf82ca016896bf64497ac95febc
refs/heads/master
2022-07-28T03:42:14.703506
2021-12-16T15:44:04
2021-12-16T15:44:04
294,735,840
0
0
null
null
null
null
UTF-8
C++
false
false
841
cpp
NKSEQ.cpp
// AC SPOJ #include "pch.h" #include <iostream> #include <algorithm> #include <queue> #include <vector> #define maxN 200002 #define N (2*n) typedef long maxn, maxa; maxn n, res; maxa a[maxN], sum[maxN]; void Prepare() { std::cin >> n; for (maxn i = 1; i <= n; i++) std::cin >> a[i], a[i + n] = a[i]; for (maxn i ...
cfd06eabd0a2bb46c956a88c239ae02e764394ac
75a1ce195fa1556e79c0b12e6ec600a0942e91a7
/include/jmsg/jmsg_rcver.hpp
af9be52a9d81d1c6172b2c9c17eff35eef685d18
[ "Apache-2.0" ]
permissive
lineCode/jmsg
44ad1d3405d00a8b9f9a20c255edcb4dbc394407
d3d3462d76dfdbf8f01f64ba4354f63b56805ceb
refs/heads/master
2021-01-01T06:09:37.659428
2016-11-16T13:57:16
2016-11-16T13:57:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,894
hpp
jmsg_rcver.hpp
/** * generated based on idl, please don't modify it. */ #pragma once #include <map> #include <string> #include <functional> #include "jmsg_id.hpp" /// @class rcver : used to receive messages class rcver final { public: rcver(); ~rcver(); public: void fill_from(std::function<size_t (void *, size_t)> f); temp...
f614ee3fd72b7ec2f46b3d854f3ca809eb255df5
31fb4ae9f6f6241b580c23015b1b6b4816520edd
/磁盘调度算法.cpp
cb33a00c62879a7ba13cf43fd96d275a0815faf1
[]
no_license
spiritedboy/gzhu
048a8f7d77c3fadff409f6133c038e53186c7bab
af0409aae520ce1e31988695eb08ac8fcf786086
refs/heads/master
2022-03-28T01:53:53.028130
2020-01-28T06:17:46
2020-01-28T06:17:46
null
0
0
null
null
null
null
GB18030
C++
false
false
4,524
cpp
磁盘调度算法.cpp
#include<stdlib.h> #include<iostream> #include<time.h> #include<cmath> #include<cstring> #define max 50 using namespace std; int arr[max], copyarr[max], finished[max]; //arr数组用来存请求服务队列,copyarr为辅助数组,值和arr相同 int num; //队列元素个数 //finished数组用来存已排好序的队列(SSTF和电梯法需要用到) int n1 = 0; //递归计数 int start; /...
842857af4fc49ec0bd845088f01452d11d015f67
e8dbde825066192e6d171f98bb5d04d0991944c5
/tests/BatchEncoder.Core.UnitTests/worker/LuaOutputParserTests.cpp
9ba6ea937d46f7dac3b6589b58741b2e039f2468
[ "MIT" ]
permissive
AlbertFFC/BatchEncoder
ee896e63aa8d1ee2ead100ab1818c2fc93d5c51e
8a19bb4ebb683f99bda30c33854e46e28bac1ec9
refs/heads/master
2023-05-01T21:05:19.578801
2021-05-19T05:38:23
2021-05-19T05:38:23
null
0
0
null
null
null
null
UTF-8
C++
false
false
547
cpp
LuaOutputParserTests.cpp
#include "stdafx.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace BatchEncoderCoreUnitTests { TEST_CLASS(CLuaOutputParser_Tests) { public: TEST_METHOD(CLuaOutputParser_Constructor) { #pragma warning(push) #pragma warning(disable:4101) ...
91584c06e4135affb58f5b63c2f1e854a75cac53
051a4db48a1c18ed4ac5262a9b91cb9445e39776
/VHDL_L2_Cache/My_Cache/LAB5/Utility_Gen/mux_gen.cc
c8317ff9a0e4cde0290fc21ca223563e184ec0c7
[]
no_license
wh1pch81n/code_projects_portfolio
cd45f5bc67952f94c3bb14551cf39e9e8d0e8082
a7789b8b4931980ba3a4d27209c4d080f8868126
refs/heads/master
2021-01-15T19:28:15.150278
2013-09-14T00:37:01
2013-09-14T00:37:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,806
cc
mux_gen.cc
#include <iostream> #include <fstream> using namespace std; int bitvectorsize(int size){ int numbits(0); while(size != 1){ size /= 2; numbits++;} return numbits; } string binary( unsigned long n, int length ) { char result[ (sizeof( unsigned long ) * 8) + 1 ]; unsigned index = sizeof( unsigned long ) ...
b64fcdbb988cf6b9fea6027f4c101c30fe577b29
220c3562253663a71db0003a2dda822e39c9efae
/Fizz Buzz/Fizz Buzz.cc
d14be55bdcaa94218236ac5491da2bd6c3f80e82
[]
no_license
rishabhgupta1322/InterviewBit
f0fe8f2ffe28e708587d0413ae2ae3e8409e338b
730e1241ac8c51d6d44c36d29e41619f2e90348d
refs/heads/master
2020-03-30T06:18:40.363482
2019-04-29T10:17:54
2019-04-29T10:17:54
150,851,492
1
1
null
2019-05-04T03:00:34
2018-09-29T10:02:58
C++
UTF-8
C++
false
false
507
cc
Fizz Buzz.cc
vector<string> Solution::fizzBuzz(int A) { vector<string> res; string s; int t; char ch; for(int i=1;i<=A;i++){ if(i%15 == 0) res.push_back("FizzBuzz"); else if(i%3 == 0) res.push_back("Fizz"); else if(i%5 == 0) res.push_back("Buzz"); else{ s = ""; t =...
b18bb3763b37803b2ba0c5b25a292f0abcaba24b
d84f21fe7aeaac657f7a4f97f4cd104f24c236e5
/Subsets II .cpp
41b3dc5e66521e5db8cdf68539f962c2cc280c76
[]
no_license
brucelevis/leetcode
4b7273dcf8cfce4ac260fa3e6190659fcc396759
d300462c12a2a7a97264f405ba95a4031f7b68ba
refs/heads/master
2020-03-30T01:53:16.337811
2016-03-29T03:17:36
2016-03-29T03:17:36
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
2,045
cpp
Subsets II .cpp
/* ±àÒë»·¾³CFree 5.0 ²©¿ÍµØÖ·£ºhttp://blog.csdn.net/Snowwolf_Yang */ #include <iostream> #include <vector> using namespace std; #if 0 class Solution { public: vector<vector<int> > subsetsWithDup(vector<int> &S) { vector<vector<int> > ret; vector<int> tmp; sort(S.begin(),S.end()); s...
35a358965dd5e2382501ca8a276020b09e2461f5
c69f1e444089965449899108a927823f9182f940
/test/logic_tests/Variable_Tests.cpp
9438cbe601936adef33ca3b6a39ac67b43d5c88f
[]
no_license
MasonWilie/SAT_Solver
a78eded5ca8e1955d2381060432360210d48e6b1
4930979cdf2617fece0529eec7fda38c24a8125d
refs/heads/master
2022-04-20T16:14:57.263099
2020-04-23T04:10:00
2020-04-23T04:10:00
240,777,353
0
0
null
null
null
null
UTF-8
C++
false
false
1,003
cpp
Variable_Tests.cpp
#include "gtest/gtest.h" #include "Variable.h" TEST(Variable_tests, Constructor) { const int name_1{1}; const int name_2{2}; const int name_3{3}; const int name_4{4}; Variable a(name_1); Variable b(name_2); Variable c(name_3); Variable d(name_4); EXPECT_EQ(name_1, a.GetName()); ...
1ade4bbf27779e1e249b3abfdf5d9418029eaede
23568ef2f0a1fdbc1b64a1dfae73d53bd79dd5f0
/2/4/4.1.cpp
357541979a8c90f32824b526ce9ee9ddadd16d7a
[]
no_license
makisto/prog
b9accb2a0d3f680cac4557df276503164d78e64b
3d5b164774155cda3c59753b2b884c3cbe9fab18
refs/heads/master
2022-04-18T12:22:57.681497
2020-04-10T17:02:39
2020-04-10T17:02:39
254,687,281
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
923
cpp
4.1.cpp
#include <stdio.h> #include <stdlib.h> #include <ctime> #include <conio.h> #include <iostream> using namespace std; const int n=5; typedef int rown[n]; int main() { setlocale(LC_ALL, "Russian"); srand(time(NULL)); int i,j,m,max; rown *B,*C; cout<<"Ñòîëáöû:"; cin>>m; B=new rown[m]; C=new rown[m-1]; f...