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
b66b034804270e83e873a5a17af1cb33ebc2040c
1c76fa5068c3afa9a8a68567fba06bbf3f482faf
/grid-admin/Plugin.h
56572693f425c376cc6b9cdd37efb628d6d5b7fc
[ "MIT" ]
permissive
fmidev/smartmet-plugin-grid-admin
e27f6c3de932007d818e21aa973666ee4001e886
f759ccbeff01e5957f4c96d5eba58060fa23f3c6
refs/heads/master
2023-08-04T11:00:23.636697
2023-07-28T06:54:41
2023-07-28T06:54:41
91,444,851
0
0
null
null
null
null
UTF-8
C++
false
false
2,551
h
Plugin.h
// ====================================================================== /*! * \brief SmartMet Admin plugin interface */ // ====================================================================== #pragma once #include <spine/SmartMetPlugin.h> #include <spine/Reactor.h> #include <spine/HTTP.h> #include <grid-files/co...
854e03dd2ffb1519ed572c3f42e553c4a8656f09
8724cb5aeafd0cb1874435394ecdb6360efa1f17
/LCH15JAB.cpp
b60f655b61745bd566fe351d823e66d1c2518cb3
[]
no_license
haarsh101/codechef-solutions
167e55b36efd8bee695e3579d09b0d1379b80bd2
e26270fe9b54c4e54acf99f58048559afd891117
refs/heads/master
2023-07-23T15:55:19.431085
2021-09-01T13:10:10
2021-09-01T13:10:10
402,056,126
0
0
null
null
null
null
UTF-8
C++
false
false
540
cpp
LCH15JAB.cpp
#include <bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; string str; for(int p=1;p<=t;p++){ cin>>str; int arr[26]={0}; for(int i=0;i<str.length();i++){ arr[str[i]-'a']++; } int max=0,c=0; for(int j=0;j<26;j++){ c+=a...
7ec848fc74b09c4263b0d1a993edda654b4a475d
59eafae3bc4d13b9844c47d2e12aaa2b04fb6da0
/AtCoder/AGC030/B.cpp
f7261c22e513489a2c87c3ffe4024fa3982a763e
[]
no_license
pes-magic/procon
004d7cd877e1cb56fea8d4b8b6cc8ba564a93a29
7afd1564b9228144d53920cc8e6a91012144b530
refs/heads/master
2023-08-31T17:29:06.829263
2023-08-25T12:32:27
2023-08-25T12:32:27
228,394,327
3
0
null
2023-08-24T11:48:04
2019-12-16T13:33:20
Jupyter Notebook
UTF-8
C++
false
false
1,177
cpp
B.cpp
#include <iostream> #include <vector> using namespace std; long long solve(const vector<long long>& X, int L){ const int N = X.size(); if(N == 1) return X[0]; int addIdx = 0; int addMul = N; int subIdx = N-1; int subMul = N-1; long long cur = 0; while(addMul > 0){ cur += min(2,...
d56900d3910f038d2b5d231ec7a12dc73761153e
5550c615001141642baefdde5940e948bb040046
/several.scores.with.validation.cpp
6a18e47579ff918d2ed77ab0cb781e501b335a68
[]
no_license
danielfs/maratona.de.programacao
33a7b31ea0f1eb4fc35eba6a8a77a89bbbd30283
7c0e0f3ca65d6f14ca7b66732b812b7fa7fd2ed4
refs/heads/master
2021-01-16T02:42:58.151537
2014-04-12T14:24:11
2014-04-12T14:24:11
null
0
0
null
null
null
null
UTF-8
C++
false
false
807
cpp
several.scores.with.validation.cpp
// http://www.urionlinejudge.com.br/judge/en/problems/view/1118 #include <stdio.h> int main() { int i, escolha; float numero, notas[ 2 ], media; do { i = 0; while( i < 2 && scanf( "%f", &numero ) == 1 ) { if( numero >= 0.0 && numero <= 10.0 ) { ...
7dc9ad46def991d25ab63a43e479592bf29b61e4
9e92eca8b1a4994e654d180c964f0ebe98e30077
/MutiThreadScreenShotDlg.h
46b0817fe29ea2e394d9ac8f231b6649050bee51
[]
no_license
AnnXQ/Screen
96c5a016579838c8cdb5d6263a82ee2aea0f0098
0f1a23a71dbea3498903c2cd562e2d5dd051ac2e
refs/heads/master
2020-03-24T00:35:44.660040
2018-08-17T10:17:45
2018-08-17T10:17:45
null
0
0
null
null
null
null
GB18030
C++
false
false
818
h
MutiThreadScreenShotDlg.h
// MutiThreadScreenShotDlg.h : 头文件 // #pragma once // CMutiThreadScreenShotDlg 对话框 class CMutiThreadScreenShotDlg : public CDialogEx { // 构造 public: CMutiThreadScreenShotDlg(CWnd* pParent = NULL); // 标准构造函数 // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_MUTITHREADSCREENSHOT_DIALOG }; #endif protected: virtua...
a9f655c05e47fdb686eb607241033f1cbdce3aa9
ff19c707e5cc1e3afe3f172aa83e6b62e0a0efc9
/src/action.h
381c7536d77ebe486269c4cc9c5b2370ad5f4f1c
[]
no_license
BookOfRevelation/GodotMapper
a99afc4781297615d98f818648cca5f35acfb8d1
cebd9c80f3799da3cf37c50fd383394454066e3c
refs/heads/master
2020-12-02T06:17:55.068453
2017-07-10T19:17:12
2017-07-10T19:17:12
96,812,383
1
1
null
null
null
null
UTF-8
C++
false
false
283
h
action.h
#ifndef ACTION_H #define ACTION_H #include <QGraphicsPixmapItem> #include <QPointF> class Action { public: Action(QGraphicsPixmapItem* _pitem, const QPointF& _position, int _zvalue); QGraphicsPixmapItem* pitem; QPointF position; int zvalue; }; #endif // ACTION_H
49a07e3292a4adc249b365406187d1c0a9c3a8a7
09c1b5b70ffd5b06cc58c42340848ae912c49abe
/efls-train/cc/efl/communicator/any.h
04117e79cdcdfa0ee7c51da18dc5dce87b9c06f7
[ "Apache-2.0" ]
permissive
zonghua94/Elastic-Federated-Learning-Solution
7ad656daba825dbb28fb260d0a9b45deb2be9e70
62d398e8673f8d3734697b8ea2759e32de3cfa3b
refs/heads/master
2023-09-05T08:38:10.491294
2021-10-18T11:46:18
2021-10-18T11:46:18
418,481,128
0
1
null
null
null
null
UTF-8
C++
false
false
3,155
h
any.h
/* Copyright (C) 2016-2021 Alibaba Group Holding Limited 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 ...
00d6e0c4498f21a3eebf9c9fbd3f0d3c049d2c76
9c0a4056cf7954cec2de4f0ad8189068aa7c3b0e
/TMuffin/Physics/CPhysicsReactor.cpp
509516544c29f82b1826e47eb787d2992a1814cf
[]
no_license
thirty30/UDPBattle
a4b395bf9b1d6b62656d94031fdeb0ff4213b710
7c5dee89d48ee2085ce07551585d0322455aa531
refs/heads/master
2020-09-22T07:24:41.835845
2019-12-10T20:28:23
2019-12-10T20:28:23
225,103,787
3
0
null
null
null
null
UTF-8
C++
false
false
5,799
cpp
CPhysicsReactor.cpp
#include "pch.h" CPhysicsReactor::CPhysicsReactor() { this->m_mapID2PhysicsObj.clear(); this->m_vecCallBackArray.clear(); } CPhysicsReactor::~CPhysicsReactor() { this->m_mapID2PhysicsObj.clear(); this->m_vecCallBackArray.clear(); } void CPhysicsReactor::AddObject(CPhysicsObject* a_pObject) { this->m_mapID2Physi...
476710aa18a5db45df97ff817e5167500231d37c
03781c98597e3cc175a4c0ae25951167f7c41e6a
/codeforces/300/380/C.cpp
1a15bfe4d975f29d0c2aae0a7f63dd678d180967
[]
no_license
Liuchenlong/acm
e4ea0d59739d05ae808a45c4164decf91f2087ff
d52dc289d836874dd30f4d8a5a2002398a0639e8
refs/heads/master
2020-04-03T22:06:28.611879
2019-09-28T14:08:27
2019-09-28T14:08:27
59,131,382
1
0
null
null
null
null
UTF-8
C++
false
false
1,300
cpp
C.cpp
#include<cstdio> #include<cmath> #include<stdlib.h> #include<map> #include<set> #include<time.h> #include<vector> #include<stack> #include<queue> #include<string> #include<string.h> #include<iostream> #include<algorithm> using namespace std; #define eps 1e-8 const long long inf=(1LL<<60); int n,k; long long s,t; long l...
d63d8da8fd4f331f7a0494d453a5c0880cdbdec5
f6eb8f55a4226a73f87c0acf6cdef347ad02f03d
/abc.cpp
d7183f0051d7f62ecb2952cce980c8eb0855da63
[ "MIT" ]
permissive
chm15/kattis
92da70368405054e8c8ddcf07c349ab5f10e32dd
0f8a04d6ed4b4b18ecbe970f229f9f6e854a5946
refs/heads/master
2023-02-24T15:14:08.566973
2021-01-30T03:00:59
2021-01-30T03:00:59
300,067,967
1
0
null
null
null
null
UTF-8
C++
false
false
402
cpp
abc.cpp
#include <iostream> #include <map> #include <algorithm> int main() { int num[3]; std::cin >> num[0] >> num[1] >> num[2]; std::sort(num, num+3); std::map<char,int> vals; vals['A'] = num[0]; vals['B'] = num[1]; vals['C'] = num[2]; for (int i=0;i<3;i++) { char letter; std...
c7dfe62e215c8aaeb852519ec9324e2160dc6d82
eb24f7cb18dab52010710bd53719ab05ccddca3d
/KinectCommonBridge/DataStream.cpp
fca9b3aec88e88525fa0e5cd7716aed94fac8f62
[ "Apache-2.0" ]
permissive
chrisporter/KinectCommonBridge
d6e101bc77d38a13b8bab7bcbe6a89757802c146
594590cf0ef26224048c9e25dc1852b76cc3329e
refs/heads/master
2021-01-21T23:58:09.445273
2014-01-30T22:33:56
2014-01-30T22:33:56
null
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
5,358
cpp
DataStream.cpp
/*********************************************************************************************************** Copyright © Microsoft Open Technologies, Inc. All Rights Reserved Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may...
f51301d3029bf5350af4a5be8e72b24a49afa662
4f4ddc396fa1dfc874780895ca9b8ee4f7714222
/src/xtp/Samples/SkinFramework/SkinMDISample/DialogsView.h
725e384a6e1816f3c075b81e7d969f8784306dbd
[]
no_license
UtsavChokshiCNU/GenSym-Test2
3214145186d032a6b5a7486003cef40787786ba0
a48c806df56297019cfcb22862dd64609fdd8711
refs/heads/master
2021-01-23T23:14:03.559378
2017-09-09T14:20:09
2017-09-09T14:20:09
102,960,203
3
5
null
null
null
null
UTF-8
C++
false
false
1,770
h
DialogsView.h
#if !defined(AFX_DIALOGSVIEW_H__9C7CF842_B011_410C_9A05_B05B8CFEE01A__INCLUDED_) #define AFX_DIALOGSVIEW_H__9C7CF842_B011_410C_9A05_B05B8CFEE01A__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // DialogsView.h : header file // ////////////////////////////////////////////////////////////...
500617a9d01c492cd400c0e23da73e6dea2ef22f
1fe2d21b56b90ea6f409f1e0556a52c83cf1ed7a
/Solved/UVA/@UVA 10176 - Ocean Deep/10176 - Ocean Deep.cpp
a6c4d046737eaec098711e42a24c7f9b30374885
[]
no_license
gilbertoalexsantos/judgesolutions
447456736cef55d3c376a552a3341362f5739cef
e99fad49098eeb0ae0ae649068ddea8162705802
refs/heads/master
2021-01-17T02:01:21.702416
2018-04-19T02:19:34
2018-04-19T02:19:34
28,620,429
0
0
null
null
null
null
UTF-8
C++
false
false
484
cpp
10176 - Ocean Deep.cpp
//Author: Gilberto A. dos Santos //Website: http://uva.onlinejudge.org/index.php?option=onlinejudge&page=show_problem&problem=1117 #include <cstdio> int decimal(char ch) { return ch == '1'; } int main() { char ch; int segredo=131071,mod=0; while(1){ if(scanf("%c",&ch) == EOF) return 0; if (ch=='#')...
775ee01f3959139741ec8946a00a5d48a06cf85f
045d54421743bc260df89b21bdddcb6e1c5fcc29
/Source/NMF.cpp
22a0081d470df2b23053df95414a48349583fc07
[]
no_license
laixinyuan/PianoTranscriptionGUI
ad2f0a03ececd444d780e8e613026571769512ce
ac244d5657b080d9a84992ffaa91fcd55785a4bd
refs/heads/master
2021-01-25T03:49:03.524538
2014-02-20T01:00:07
2014-02-20T01:00:07
16,464,180
0
0
null
null
null
null
UTF-8
C++
false
false
7,304
cpp
NMF.cpp
// // NMF.cpp // PianoTranscriptionGUI // // Created by Xinyuan Lai on 2/3/14. // // #include "NMF.h" #include "NMF.h" #include <iostream> #include <fstream> #include <cmath> using std::cout; using std::endl; NMF::NMF(): SAMPLE_RATE(44100), DOWNSAMPLE_RATE(5), FFT_ORDER(9), FFT_SIZE(512), N_NOTES(88), BETA(0.5),...
b17f868b9b1ce58ad3c3eb1b078a00770b688274
b984239b0e0baa41457b0d8447a2f3c9f92026e4
/deadline 2:5/bài 2-3.cpp
f97556cfb81991cb05c497986d938fc3dc4a49b9
[]
no_license
LucasTran-tq/IT003-data-structure-and-algorithms-
f8d854223ed29999a1ff6b78d661db3cdac80816
d1354008a498b1dbb6e0c5c7831def7954b8b7b6
refs/heads/master
2022-08-22T14:03:22.804427
2020-05-21T14:38:57
2020-05-21T14:38:57
260,814,315
0
0
null
null
null
null
UTF-8
C++
false
false
2,247
cpp
bài 2-3.cpp
#include <iostream> using namespace std; struct NODE { int Data; NODE* Next; }; struct LIST { NODE* Top; NODE* Bottom; }; NODE* CreateNode(int x) { NODE* p = new NODE; p->Data = x; p->Next = NULL; return p; } void CreateEmptyList(LIST& S) { S.Top = S.Bottom = NULL; } int isEmpty(LI...
a7f3baa19d70231bd1b57843bcf845107e5a11fe
36ae375e3664bcaa26d9d4b32cba0cac5d636901
/src/UqPlotfile.cpp
ca1636257c2a407bd5602774045c217422bd809f
[]
no_license
NingDaoguan/UQ
e12b09dea9a325659c26c0f8880ac0222d27fb29
92622bce19dfd53e87a17e376a0e00c8f2f8f8cb
refs/heads/master
2020-04-09T02:53:14.699161
2016-06-30T22:06:07
2016-06-30T22:06:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,031
cpp
UqPlotfile.cpp
#include <UqPlotfile.H> #include <FArrayBox.H> #include <Utility.H> #include <ParallelDescriptor.H> #include <iostream> #include <fstream> static const std::string PlotfileVersion = "UQ_Plotfile_V0"; static bool ioproc; static void SetIOProc() { ioproc = ParallelDescriptor::IOProcessor() || ParallelDescriptor::My...
775b8f15eb84717790abc5ed5e4658ca2cc0cfa4
d89607de072d93c25a679121aaa9eb5c2cdb03f1
/filetransferthread.cpp
c4864416bb975d678636f06e2d22e1f3b6e3c02b
[]
no_license
fadingaway/QQ
ca976bbbcbc98c788d7045b12f08fd9f921350c4
43cb82ec4bee4ca887564ff8056886f9b59a56b9
refs/heads/master
2020-04-14T20:11:52.888653
2019-01-17T01:42:10
2019-01-17T01:42:10
164,085,147
0
0
null
2019-01-07T02:00:16
2019-01-04T09:12:55
C++
UTF-8
C++
false
false
2,412
cpp
filetransferthread.cpp
#include "filetransferthread.h" #include "QTcpSocket" #include "QFile" #include "QTextStream" #include "QByteArray" #include "QDataStream" #include "QFileDialog" fileTransferThread::fileTransferThread(QObject *parent, QString filePath):QThread(parent) { this->filePath = filePath; loadSize = 4*1024; totalBy...
dd9def35d31d89f2476b2104d0b04d3e9911d2c3
6ac8deaacb1fc3b9a759c59fb1a71b53f6fb6d40
/libs/nes/emulator/cnesrommapper018.cpp
d11701792882b5a9a1312094e2bf2a643c3bae75
[]
no_license
LatorreDev/nesicide
ef3dd34f578ece24d6e158e353c53820b32c83f7
8e4d1b6ed91e23cff21f47071450da6eb66e1176
refs/heads/master
2022-10-08T12:29:00.790887
2022-05-01T20:33:23
2022-05-01T20:33:23
216,246,454
1
0
null
2019-10-19T17:41:55
2019-10-19T17:41:54
null
UTF-8
C++
false
false
14,454
cpp
cnesrommapper018.cpp
// NESICIDE - an IDE for the 8-bit NES. // Copyright (C) 2009 Christopher S. Pow // 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 3 of the License, or // (at...
b62ae26a5a63cd01e3243ae5abe97fd1a652f9a2
024ee58c73b92fb0414d14cc385cfc983fc6ba96
/src/SMonitorClient/CSoftInstallMessage.cpp
593166a88226ad65933ffb20dab621e7fbdec53b
[]
no_license
ray-x/SMonitor
b462e79d64d2719ba61eaed55010a8b9837dff45
b494e7435ffaa65f21e9795f75ca071b5392396c
refs/heads/master
2021-01-10T05:04:00.348286
2016-01-25T00:52:39
2016-01-25T00:52:39
50,289,423
0
0
null
null
null
null
GB18030
C++
false
false
2,563
cpp
CSoftInstallMessage.cpp
#include "CSoftInstallMessage.h" #include "Markup.h" #include "CMessageEventMediator.h" #include "NetClass.h" CSoftInstallMessage::CSoftInstallMessage(CMessageEventMediator* pMessageEventMediator, QObject *parent) : CMessage(pMessageEventMediator, parent) { } CSoftInstallMessage::~CSoftInstallMessage() { } bool CSo...
ba9bef25c7feeeb332a04a8044e4263847055f4f
e408f1a66d9f6173b0614ef9acf3eb50bb9a448d
/asm/opcode.h
11c267e5a88688d5ff246c9a511049a89e538459
[]
no_license
bmelikant/6502-assembler
936d08488fa08d0911363aefff25f7b83f460253
b21f8a9a0ec31d159d3ce352e2d2011188af13f9
refs/heads/master
2023-03-21T05:22:09.581666
2021-03-14T19:21:13
2021-03-14T19:21:13
345,516,101
0
0
null
null
null
null
UTF-8
C++
false
false
623
h
opcode.h
#ifndef _6502_OPCODE_H #define _6502_OPCODE_H #include <string> #include <cstdint> struct Mnemonic { std::string mnemonic; std::string addrmode; bool operator==(const Mnemonic& op); }; struct InstructionPacket { uint8_t opcode; uint16_t argument; int size; std::string label; bool isL...
e8308e478e7bdc9fec0c7259bc64d17687e90a3b
31652e474917d7a93e576a3e243fac264e1822b9
/Bc/3.semester/inf3/cvika/8.cvicenie/Menu_ut_01/Menu_ut_01/Vstup.h
b8856268abe16d8224fe4ee6231a704ae5f99dc6
[]
no_license
leskovsky1/FRI
4e99e15856f3aa88a6439b8420e6fb078921f005
cb220a69717ccc819d9e5dc4c2da217314170f19
refs/heads/master
2022-05-08T17:29:04.345607
2019-10-08T19:08:45
2019-10-08T19:08:45
null
0
0
null
null
null
null
UTF-8
C++
false
false
159
h
Vstup.h
#pragma once #include <conio.h> #include "IVstup.h" class Vstup : public IVstup { public: virtual char dajVstup() { return getch(); } };
02a20f04d58118db2a6f4ad60aab4fa1f6da5f8d
6c40203055fe652f238fb5f3befaa0d04a788d65
/tests/MobileNetDatabase.cpp
66f297c502b00dc6faacbfe094c9821721caf43f
[ "MIT" ]
permissive
Air000/armnn_s32v
9243f2e8d63b9691b9c7873a54b29ac5a79d2b14
ec3ee60825d6b7642a70987c4911944cef7a3ee6
refs/heads/master
2020-03-27T15:32:37.975405
2018-09-01T14:11:34
2018-09-01T14:11:34
146,724,624
1
1
null
null
null
null
UTF-8
C++
false
false
4,993
cpp
MobileNetDatabase.cpp
// // Copyright © 2017 Arm Ltd. All rights reserved. // See LICENSE file in the project root for full license information. // #include "InferenceTestImage.hpp" #include "MobileNetDatabase.hpp" #include <boost/numeric/conversion/cast.hpp> #include <boost/assert.hpp> #include <boost/format.hpp> #include <iostream> #inc...
1149b4c3714a078950d48cd687328d0f79333823
ba8053107d3e9fefe079a21a48c2358e859d4ee3
/src/libraries/TRD/DGEMStripCluster_factory.cc
051323247334842f571138d67226cb26023901a5
[]
no_license
JeffersonLab/halld_recon
c0230145d26ec3dfa05eafe3c9add33735ad6fef
5ef1c0e0b5547e877ff8aa1bbe65c5056fb73434
refs/heads/master
2023-08-03T14:57:31.258980
2023-07-18T19:14:41
2023-07-18T19:14:41
142,928,270
4
10
null
2023-09-14T20:39:03
2018-07-30T21:06:59
C++
UTF-8
C++
false
false
4,789
cc
DGEMStripCluster_factory.cc
#include "DGEMStripCluster_factory.h" bool DGEMHit_cmp(const DGEMHit* a, const DGEMHit* b) { if (a->plane==b->plane){ return a->t < b->t; } return a->plane < b->plane; } /// /// DGEMHit_strip_cmp(): /// a non-member function passed to std::sort() for sorting DGEMHit pointers by /// their strip (wire or st...
7abd54f1605dfe72eb4297f0ca51040355111d1a
aaba6d264025d7ff1a7874b3e329c61ecec01bd6
/Z-training/Z-koren.cpp
b110d2e6507269ec263c847ce4d1b7ce07c9c0b8
[]
no_license
liuzixing/scut
b8118c3f0fea497a6babbe1ccbed94f2997b07d3
930c90abbabc98ac0bff4cb4fcde2c46f92a2937
refs/heads/master
2020-06-09T06:59:29.230684
2014-03-19T11:29:52
2014-03-19T11:29:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
689
cpp
Z-koren.cpp
#include <iostream> #include <stdio.h> #include <cmath> using namespace std; void gjc() int main() { int a,b,n,i,j,rest = 0,ans[1001],tem,last[520]; cin >> n; ans[0] = 0; if (n % 2) { scanf("%d",&b); ans[0]++; ans[1] = int (sqrt(double (b))); rest = b - ans[1] * ans[1]; } for (i = 0;i < ...
8e5cf25bdcb056fa3084f78fcc42899dfbcfee65
51dd7b9db1f9839471c8930b9c554a2a651abd69
/Vectors/UserInterface.h
6c060c4257fcf723eb41aaf60464638350b65e1f
[]
no_license
sasho184/Vectors
db15451f3c280e393fe341491a756faa04fc5fe7
3ac2b27f60004929ce27a897aa04dcffd3ff491e
refs/heads/master
2023-06-27T18:35:23.849768
2021-07-26T12:52:02
2021-07-26T12:52:02
362,114,047
0
0
null
null
null
null
UTF-8
C++
false
false
381
h
UserInterface.h
#pragma once #include <iostream> #include <exception> #include "Element.h" #include "Point.h" #include "Vector.h" #include "Line.h" #include "UserInterface.h" int inputDataInt(int x, int y); char inputDataYN(); int inputSecVect(double&, double&, double&); int pointOperation(Element*); int vectorOperation(Element*); ...
65076e7eb0c8e6ffee1d37521bb854a6f05c9175
2c78de0b151238b1c0c26e6a4d1a36c7fa09268c
/MDProcess/MDAModel/RoseInternal/RoseObject.cpp
b7491a430dd6bcfac6f75acf7bc9347db64fea64
[]
no_license
bravesoftdz/realwork
05a3b308cef59bed8a9efda4212849c391b4b267
19b446ce8ad2adf82ab8ce7988bc003221accad2
refs/heads/master
2021-06-07T23:57:22.429896
2016-11-01T18:30:21
2016-11-01T18:30:21
null
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
3,699
cpp
RoseObject.cpp
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Модуль: "w:/MDProcess/MDAModel/RoseInternal/RoseObject.cpp" // генератор файлов реализации C++ (.cpp) // Generated from UML model, root element: <<SimpleClass::Class>> MDProcess::MDAModel::Rose...
b7ccb50705609a3ffc053fbc5820c39729302739
7d258494ac0747b64f8dd120c5eaf4034256d69a
/acmicpc code/11098.cpp
838c5daf85eee327168819630637ffd6d1698a73
[]
no_license
JeongJinLee/algorithm
1eadff53d01b4254740e73e6d0534ddf3781959e
a5b2e377687745d6325a78f1474dda694f4bffb6
refs/heads/master
2020-01-23T21:43:30.213920
2017-05-16T10:52:00
2017-05-16T10:52:00
74,685,216
0
0
null
null
null
null
UTF-8
C++
false
false
363
cpp
11098.cpp
#include <stdio.h> int main(void) { int t; scanf("%d", &t); while (t--) { int n,m,max=0; char name[21], ans[21]; scanf("%d", &m); for (int j = 0; j < m; j++) { scanf("%d %s", &n, &name); if (n > max) { for (int i = 0; i < 21; i++) ans[i] = name[i]; max = n; } } p...
421de1e2921345aaa1dc3ef2c6b08dc2668eff62
58958463ae51c6af762ade55e53154cdd57e9b71
/OpenSauce/shared/Include/blamlib/Halo2/memory/memory_pool.hpp
faa84ca058bd131320bd89ce5e321fb8bc49fbc7
[]
no_license
yumiris/OpenSauce
af270d723d15bffdfb38f44dbebd90969c432c2b
d200c970c918921d40e9fb376ec685c77797c8b7
refs/heads/master
2022-10-10T17:18:20.363252
2022-08-11T20:31:30
2022-08-11T20:31:30
188,238,131
14
3
null
2020-07-14T08:48:26
2019-05-23T13:19:31
C++
UTF-8
C++
false
false
1,243
hpp
memory_pool.hpp
/* Yelo: Open Sauce SDK See license\OpenSauce\OpenSauce for specific license information */ #pragma once namespace Yelo { namespace Memory { struct s_memory_pool_block_header { tag signature; cstring file; uint32 line; uint32 time_code; }; BOOST_STATIC_ASSERT( sizeof(s_memory_pool_...
4c1e27fd546afeaf0bd3934248942687f8966e53
427007bd2c8ee0e3871ad1904925b6030b36ad5b
/AlgorithmSytudy/AlgorithmSytudy/Baekjoon/chain.cpp
c92e2efbefa3b0c1080706ed00f4e556ec0da401
[]
no_license
JmKanmo/ProblemSolving
5b8d71f8b0042c397ee2916acbb3e518d057081e
cc883cfdb5a898c230c6fcde978e244c3cbb2327
refs/heads/master
2021-08-22T19:11:43.234572
2020-06-23T10:30:51
2020-06-23T10:30:51
198,542,181
0
0
null
null
null
null
UTF-8
C++
false
false
2,207
cpp
chain.cpp
#include <iostream> #include <vector> #include <string> using namespace std; typedef pair<int, int> Pair; int chains[5][10]; Pair left_right[5]; int state[5]; int k; int score; void setLeftRight() { for (int i = 1; i <= 4; i++) { left_right[i].first = chains[i][7]; left_right[i].second = chains[i][3]; } }...
b61276ba8601d68a00243e3a0b87b869d4f14fd6
e850cadc48588bd1c7cf561876329c097c0d344b
/Frame/ThingDlg/qflowblock.cpp
9e3a2e05a8b9c9a46c73429269ff74f264bf2078
[]
no_license
maqiangddb/pc_code
1ec9778ee9c14c225a6301541ddfa7044360fbb9
f2044d19912203f6fd4fe732471563e44faa690a
refs/heads/master
2021-01-19T21:28:50.700633
2014-06-06T09:05:52
2014-06-06T09:05:52
20,556,974
1
3
null
null
null
null
GB18030
C++
false
false
7,424
cpp
qflowblock.cpp
#include "Frame/ThingDlg/qflowblock.h" #include "ui_qflowblock.h" #include "Frame/mainwindow.h" #include "view/flowblockitem.h" extern MainWindow *pwnd; qFlowBlock::qFlowBlock(QGraphicsItem *pItem,QWidget *parent) : QDialog(parent), ui(new Ui::qFlowBlock) { ui->setupUi(this); oId = -1; setFixedSize...
78e285fddea914ca8ebf7ec9a1e168b618dc1be3
56ed0ad43b01875486a32dc8113a2f606690f4b0
/src/PlayerStrategies.cpp
9f9629cc20fb60e2ab975f306dcdb8e859d1303c
[]
no_license
RuslanDallin/comp345-risk
3a60669ac98cbd2f10f46d16c38caef091073f94
6aecd09b59858c11a74cbeb801ccb4053b512fab
refs/heads/master
2023-03-15T13:30:34.711967
2020-12-02T19:55:14
2020-12-02T19:55:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
26,039
cpp
PlayerStrategies.cpp
#include "PlayerStrategies.h" #include "Player.h" #include "GameEngine.h" #include <unordered_set> #include <algorithm> #include <cmath> PlayerStrategy::~PlayerStrategy() { } std::ostream &operator<<(std::ostream &output, const PlayerStrategy &playerStrategy) { return playerStrategy.print(output); } //========...
42457153a197fba6ca511bae22e8341b800143cc
ba46bf8d8c7170a8b943d9bea12bc7378caf69a5
/test/set_library_name/library.cpp
2ef5dd22ddc5d735cf797538fe7042aa9a1ad3fb
[]
no_license
spb/bs
1952d83f9894431bae7bbbf1e26317c4b72871d3
199bb313c11808be0b0fff98c688abb9922553b6
refs/heads/master
2021-09-18T12:51:48.931804
2021-08-03T11:40:28
2021-08-03T11:40:28
1,304,626
6
0
null
null
null
null
UTF-8
C++
false
false
117
cpp
library.cpp
#include <iostream> void set_library_name_function() { std::cout << "This is not a hello world" << std::endl; }
fb5c4efde23d57175ff8db138bf0b530f299f31d
7343f47d355bea917b60e118154b38af2be142eb
/testes/characters.h
3271a305c26ad05c319696fe98f60c5570c55e0d
[]
no_license
PatrykGrzegorek/CMD_Game
e7df64a4fa717861edb73750c576d4d9cda53418
1640c9a4db7bdd3e73c629268897692d9a2e7b30
refs/heads/main
2023-04-20T11:01:30.950455
2021-05-28T08:47:50
2021-05-28T08:47:50
371,234,388
1
0
null
null
null
null
UTF-8
C++
false
false
1,347
h
characters.h
#pragma once class Character { int level; int hp, hpMax; int dmg; int as; int def; int dodge; std::string name; public: Character(int, int, int, int, int, int, std::string); int getLevel(); int getHpMax(); int getHp(); int getDmg(); int getAs(); int getDef(); int getDodge(); std::string getName(); v...
0ed6c6d114b6d1c6daf4fc7d2f6a27e5e4e80ab8
b64a0a24aabca36f01308aa41d6fea71c49ae458
/16/sol2.cc
e043de1d1731bb12596307050ec3ef6059a46f4f
[]
no_license
oskmeister/aoc18
860375e7bf6d1327bdb5cc199bb19d49720dd148
0b6f3fa758e826bed2b93430afdbcc17576c3165
refs/heads/master
2020-04-10T09:08:01.302794
2018-12-22T20:35:22
2018-12-22T20:35:46
160,927,425
0
0
null
null
null
null
UTF-8
C++
false
false
5,932
cc
sol2.cc
#include <cstdio> #include <iostream> #include <map> #include <set> #include <vector> using namespace std; enum class Instruction { ADDR, ADDI, MULR, MULI, BANR, BANI, BORR, BORI, SETR, SETI, GTIR, GTRI, GTRR, EQIR, EQRI, EQRR }; vector<Instruction> count(const vector<int> &before, const vector<int> &after, int ...
9523c89063ecaef4f6b49f8e0368c6ec7f44c576
2874c3b11f9c4286ca256762a7801bf430cba8cf
/DirectX_Game/targetRespawnPosition.h
0755fd7ff18be58abd24ef109d2999659998fe6a
[]
no_license
KengoSakai/directx-3D-Game
28a31b788f39e0aa9f2e23a156854f399d823d6a
ee98235dd3b190f5923e2010d84b6d2765d571ac
refs/heads/master
2021-05-05T02:34:13.401164
2020-04-25T15:54:51
2020-04-25T15:54:51
119,779,583
0
1
null
null
null
null
UTF-8
C++
false
false
245
h
targetRespawnPosition.h
#ifndef _TARGETRESPAWNPOSITION_H_ #define _TARGETRESPAWNPOSITION_H_ #include "main.h" class CTargetRespawnPosition { public: ~CTargetRespawnPosition() {} static D3DXVECTOR3 RespawnPosition(void); private: CTargetRespawnPosition(); }; #endif
c4308a546d35045e4814679b418e443644bf0f7a
ea25f05b5d80f60874d9043d7e88975d296e1f1d
/inc/bullet/rphysicsitem.h
93ea249c8ad35c83571597e728e745c4bd98cd53
[]
no_license
trsquarelab/csscene
be420f4af32235dea805183a2ccfe55d1090e063
6cc9acecc79bb35a12b0be897076c2789d68d878
refs/heads/master
2021-01-15T09:52:25.036532
2016-02-27T09:02:21
2016-02-27T09:02:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,385
h
rphysicsitem.h
#ifndef RPHYSICSITEM_H #define RPHYSICSITEM_H #include "ritem.h" #include "rphysicsobject.h" namespace chikkooos { class RPhysicsItem: public RItem { public: enum Type { Static, Dynamic }; public: RPhysicsItem(Type t); virtual ~RPhysicsItem(); virtual bool create(); vir...
6e7967e58c3be29579df4d29d5daf93f73f6e070
354651dac2b2a4a6efbfb7fe6897522b37810ccd
/src/graphics/Chip8Renderer.cpp
2eb43b3db8c550e49e874e66f6edd4910f6141ae
[]
no_license
Rydgel/chip8
1c0e89d7c2197f6d7c0dc7065c93ae4f21fc237f
8d2aaecd90ec8a64d6d08e8fe3c33643b4d1977d
refs/heads/master
2021-01-24T18:47:00.026554
2017-04-30T17:50:21
2017-04-30T17:50:21
84,474,276
8
0
null
null
null
null
UTF-8
C++
false
false
1,770
cpp
Chip8Renderer.cpp
#include <chip8/Constants.hpp> #include "Chip8Renderer.hpp" Chip8Renderer::Chip8Renderer() : shader_("shaders/cube.vert", "shaders/cube.frag") { } Chip8Renderer::~Chip8Renderer() { unbind(); } void Chip8Renderer::clear() { glClearColor(52.0f / 255.0f, 73.0f / 255.0f, 94.0f / 255.0f, 1.0f); glClear(GL_CO...
7e888644121ffa2a4e03e78673482ec334bfc057
e966d5df4db23e394a5e24cfd387a912e9004be9
/Competitive_Programming/Codeforces/482(Div2)/Pizza, Pizza, Pizza!!!.cpp
436f2336a4541be0c458438f3e0bf6b4e6c19f77
[]
no_license
Tatvam/Data-Structure-And-Algorithms
f90f6a436841620e1209d8b89bd618eec97caede
abe1e2b6ca2a6796bfb25c9af19a13850351c6ff
refs/heads/master
2020-03-12T17:40:29.702916
2018-11-06T06:37:37
2018-11-06T06:37:37
130,742,021
0
0
null
null
null
null
UTF-8
C++
false
false
1,367
cpp
Pizza, Pizza, Pizza!!!.cpp
/************************************************** * NAME: TATVAM DADHEECH(td_1417) * * INSTITUITION: IIT BHUBANESWAR * **************************************************/ #include <bits/stdc++.h> using namespace std; typedef vector<long long> vl; typedef vector<string> vs; typedef l...
cfcb29d5bfaaf2e96fa1d97f16d4e5c766aa7d09
6fa7c44eefa97557cde6c6daefa91959f9ff2264
/jasper/src/DlgProgress.cpp
0f583db5e60b5ff5dc26d3be171453f62945bd28
[]
no_license
DavidQuigley/QuantitativeGenetics
a8b24019f0233f70be468c17175c7fe3b3ae9139
31c19fef62901f823b1d329298f72428d190abd0
refs/heads/master
2020-12-22T08:59:28.749267
2017-12-01T16:37:41
2017-12-01T16:37:41
3,517,532
2
0
null
null
null
null
UTF-8
C++
false
false
10,215
cpp
DlgProgress.cpp
#define _CRT_SECURE_NO_DEPRECATE 1 #include <signal.h> #include <string> #include <vector> #include <sstream> #include <wx/wx.h> #include <wx/timer.h> #include <wx/dialog.h> #include <wx/txtstrm.h> #include <wx/wfstream.h> #include <wx/sizer.h> #include <wx/filename.h> #include <wx/stattext.h> #include <wx...
d9aca415f78b5bffda703ff8bfd9d1f3d68eddda
49d40cf9498ce02c614604a41f6b5bc0b5f77bc8
/test/udp_exam3/game.cpp
94018f84bc886b1d100b7891018762a0c3834640
[]
no_license
gbox3d/c_study2017
a2a1237a61d841f187497dd66a88f7ac137a26af
9ee8f8df10cb03dcf0b65eb3bd85710a7af99fec
refs/heads/master
2020-04-05T13:04:36.179679
2018-07-13T01:45:11
2018-07-13T01:45:11
95,062,916
0
5
null
null
null
null
UHC
C++
false
false
3,531
cpp
game.cpp
#include "stdafx.h" Pen *g_pBlackPen; struct S_Player { irr::core::vector2df m_vPos; }; S_Player g_RemotePlayer; void OnUpdate(double fDelta) { } void OnRender(double fDelta,Graphics *grp) { grp->Clear(Color(200, 191, 231)); //화면 눈금표시 grp->DrawLine(g_pBlackPen, 0, 120, 320, 120); grp->DrawLine(g_pBlackPe...
2d266c86949c81b3eb2e04c7de6ac33a7471e3fa
4010bc072ec3c69b58ff231d8ee03be34948e346
/boj/dp/10942_팰린드롬.cpp
061ecb03332ff8c80bcbd810037afbf37b23209d
[]
no_license
Castlebinia/ALGORITHM
8af9e3d237c0ced8d187b981fed362d9b5445e8c
3d01db29c9e46a90cd3f5b9380da7a16d35aeee4
refs/heads/master
2020-03-10T08:31:08.361763
2018-11-02T03:44:46
2018-11-02T03:44:46
129,286,870
1
1
null
null
null
null
UTF-8
C++
false
false
614
cpp
10942_팰린드롬.cpp
#include <iostream> #include <cstring> using namespace std; int d[2001][2001]; int a[2001]; int solve(int i,int j) { int &ret = d[i][j]; if (i == j)return 1; if (i-j==1) { if (a[i] == a[j])return ret=1; else return ret=0; } if (ret != -1)return ret; if (a[i] != a[j])return ret = 0; else r...
823f01333248f2c9eca1c11bc1b1cf913426ea09
80cab475c925bb1d268996f65c4fa9bd5d817a30
/src/storage/buffer_manager.h
64a174a710e466a1485c4e50933cef43246cc43e
[]
no_license
evd995/IIC3413-DB
aeace58ffdeca57599fa380006281368961e1524
f352bfb7b8b6f18191126066a7a2bb17ab51fa69
refs/heads/master
2021-05-17T02:01:34.673610
2020-03-22T18:48:53
2020-03-22T18:48:53
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,306
h
buffer_manager.h
/* !!!! IMPORTANT !!!! DON'T include this file in a header file * * BufferManager contains all pages in memory and is used to get a page, making transparent if the page is * already in memory or needs to be readed from disk. * * `buffer_manager` is a global object and is available when this file is included. `buff...
046f408b59245ad6818a48044b99d890a04fd760
f8190ca7ea9bfa4f6fc6f32ba60e619db2c42431
/TX/TX/Storage.h
0b1fc33b3b20ed1ddc0681dd1a95d587dbe6439a
[]
no_license
drordahary/FEC
82ee3fc0024ab2bfbf0c3c33650a55a5995b09a4
0e80cce9f5d04c2e7560d8d111ba8fcb99929b74
refs/heads/master
2023-04-23T01:24:12.504562
2020-09-25T11:19:52
2020-09-25T11:19:52
298,540,536
0
0
null
null
null
null
UTF-8
C++
false
false
284
h
Storage.h
#pragma once #include <iostream> #include <string> #define BURST 4 #define BUFFER_SIZE 512 class Storage { private: std::string* packets; int currentAdded; public: Storage(); ~Storage(); void addToStorage(char buffer[]); void clearStorage(); std::string* getStorage(); };
4c25409fb4ae735cd0ca5408e53067578eda2699
fd6f11eeba5e7191a115b2f39c930145d7ab83d8
/Freeze/TimeState.h
13ee3efd7f15f8a756eecaa85ad6c06c46760808
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
reaper-oss/sws
30792fd38d7e969b0e4fe20ca9b256989452a959
a3693ad52ed16fe95ac0a570971656b6c9337f26
refs/heads/master
2023-09-02T01:43:13.746682
2022-10-11T22:21:17
2023-01-16T13:30:10
21,614,326
360
86
MIT
2023-08-23T11:43:23
2014-07-08T13:48:01
C++
UTF-8
C++
false
false
1,822
h
TimeState.h
/****************************************************************************** / TimeState.h / / Copyright (c) 2009 Tim Payne (SWS) / / / Permission is hereby granted, free of charge, to any person obtaining a copy / of this software and associated documentation files (the "Software"), to deal / in the Software withou...
c06dc42ec45684b79733e3c7b859ce301a507f2f
6788337a8e6d217bea6b95ef7f99838d05aa1889
/Robot/bhs_GlobalData.cpp
bcd34370b94a3ca463df4a392956eaec39c19935
[]
no_license
iliterobotics/frc1885-2014
fed7a6c705d495d7a05cd6a84dba3e94456e9cb5
dfc96a40c6fd604f0e8c8b5ce80edc25815b95fb
refs/heads/master
2021-01-09T06:52:15.023988
2014-04-12T14:28:20
2014-04-12T14:28:20
15,502,161
1
0
null
2014-05-06T14:49:09
2013-12-29T02:13:46
D
UTF-8
C++
false
false
156
cpp
bhs_GlobalData.cpp
#include "bhs_Globaldata.h" bhs_GlobalData::bhs_GlobalData() { mda_goalHot = true; mda_goalStatus = 0; md_pressureLevel = 0; md_arduinoDistance = 0; }
eb05af7c80613b302346f9c430bee033452ec346
c1466e0815558818829d51326d445df6ffad9c17
/structure/massive20.cpp
f54163cb2bf8297d02b9d88fe6a14d0ba4d4b54f
[]
no_license
ojaster/first_project
2177bc78d6a6000862a306ebce71d2cdeee8d475
0a09308acd6270085959251ca8892dc22d272cfb
refs/heads/master
2021-07-07T13:04:51.200496
2020-06-25T10:52:08
2020-06-25T10:52:08
129,524,939
0
0
null
null
null
null
UTF-8
C++
false
false
370
cpp
massive20.cpp
#include <iostream> using namespace std; int main(){ int a[3]; int min; for(int i=0; i<3; i++){ cin>>a[i]; } cout<<"-------"<<endl; min = a[0]; for(int i=0; i<3; i++){ if(a[i]<min && a[i]%2==0){ min=a[i]; } } if(min%2!=0){ cout<<a...
e2833bfd0d25832dfd4a7a34146aa9cdfdb3d5fb
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/CondTools/SiPixel/plugins/SiPixelBadFEDChannelSimulationSanityChecker.cc
6aeffaf59df7c53278a7361a40d4517b1418ce46
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
C++
false
false
7,838
cc
SiPixelBadFEDChannelSimulationSanityChecker.cc
#include <string> #include <iostream> #include <map> #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCo...
4552e5c58307f1993f98873026aea6b51052b3f2
d0889089b86bc407b154879cb294e703f9303989
/Lumos/Source/Lumos/Maths/Maths.h
fd3cfbf30cd6fc3c8ab8d230fe10113a158cd1eb
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
jmorton06/Lumos
9ab96420c619d9baac07e4561d0a7e83645d54c8
e5f0ebfa9049d3515caaad056fda082a1e9d74ae
refs/heads/main
2023-09-01T02:48:00.496623
2023-07-06T07:31:44
2023-07-06T07:31:44
164,933,352
1,052
126
MIT
2023-09-06T08:08:18
2019-01-09T20:32:10
C++
UTF-8
C++
false
false
5,094
h
Maths.h
#pragma once #include <glm/vec2.hpp> #include <glm/vec3.hpp> #include <glm/vec4.hpp> #include <glm/mat3x3.hpp> #include <glm/mat4x4.hpp> #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/quaternion.hpp> #include <glm/gtc/type_ptr.hpp> #include "Maths/BoundingBox.h" #include "Maths/BoundingSphere.h" #include "Maths/Fru...
eb86e2447a76fc5fbbc6f19b6c5413b49eb8ac43
efc059c9e347a1d93df4c7996f40cc82fa1a7e6f
/payload_new.h
6ff5f8c074afe5a4c537112d2e29eb1badd29352
[ "MIT" ]
permissive
Saahitya/pipeline_design_pattern
a0e1bfbe98e297cee9af3332c9de1f7a3529c314
afe027f1674ce5d17c7c1e2f8f45c883aee643f4
refs/heads/master
2020-09-22T03:24:01.226262
2019-12-16T04:57:26
2019-12-16T04:57:26
225,031,327
0
1
null
null
null
null
UTF-8
C++
false
false
212
h
payload_new.h
#ifndef __PAYLOAD__H__ #define __PAYLOAD__H__ #include <opencv2/core/core.hpp> #include <string> using namespace std; using namespace cv; class PayloadNew { public: string file_path; fstream }; #endif
89074dbcec084297c88332285e5e11ce3d662650
934532f5ac7cf59a0aeb319f540ae84760000f01
/lab-3/l3.5.cpp
7a49dfbe4873963503a6c7b453614cc7c6b4fc6d
[]
no_license
jarp0l/OOP-lab
718cdc1b238a944c947ac0214cd99d41c9974b0e
720ff599a950f322411b40581e663feb7cff7300
refs/heads/master
2023-02-07T10:35:49.356454
2020-12-26T06:42:33
2020-12-26T06:42:33
303,156,253
0
0
null
null
null
null
UTF-8
C++
false
false
1,358
cpp
l3.5.cpp
/* * Task #5: * Write a program in CPP to find the product of two 3 by 3 matrices entered by the user by overloading * binary * operator. */ #include <iostream> using namespace std; const int N = 3; class Matrix{ int a[N][N]; public: void getMatrix(); void printProduct(); Matrix...
7a169ad7227cb817a32e08b556da03e6b8227586
067da28279c40f4a0a9cc5749b7826bda044a772
/cpp/files/delegates/delegates_.cpp
d0db58f6b28c75d6da41936848ff39ea616cb89d
[]
no_license
gzuliani/gzuliani.github.io
0fcaf30034530a5e73ccd47c2b4970a061d9bb8a
f6a0b9f333298f539a436a7bf3cdb198bcc34e23
refs/heads/master
2023-04-17T00:14:57.503185
2023-04-05T18:49:47
2023-04-05T18:49:47
203,596,069
0
0
null
null
null
null
ISO-8859-1
C++
false
false
13,642
cpp
delegates_.cpp
/* 1. free functions & static member functions 2. member functions 3. function objects 4. lambdas Sergey Ryazanov The Impossibly Fast C++ Delegates http://www.codeproject.com/Articles/11015/The-Impossibly-Fast-C-Delegates Oliver Mueller C++ Delegates On Steroids http://blog.coldflake.com/posts/2...
78ce6d6038925e38093b5e228503a92129e2cd3d
54722a7620bf17b78a9e41210c3085e3b4ba5e2c
/Coord/ServerObject.h
64837eeb4e2ce402e5c9ef91a83467feb3b66bc2
[]
no_license
xandr84/RPC
36cc938ba79ff630a327b2b2f18d35c0354f5b82
46ff77867dfcdb3503738eeb64ecf50b0829f0f0
refs/heads/master
2016-09-05T13:35:10.237713
2013-03-30T15:30:02
2013-03-30T15:30:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,932
h
ServerObject.h
#pragma once #include "objects.h" #include <boost/enable_shared_from_this.hpp> class GlobalServerObject : public DualRPC::LocalObject, public boost::enable_shared_from_this<GlobalServerObject> { public: GlobalServerObject(); DualRPC::Variant login(const DualRPC::Variant &args); /* Первый мет...
0b036a6873bf5d312928d1ec8392457e3d28dd2a
9370ff53202afdebb540a919aaa119c1cfe9ac73
/cfgArsenal.hpp
31b65e4bdeb306b419e6a8af7174b4e898f229ec
[]
no_license
37rms/MeleeArena
80e461e4330f0e80392a7cec0717a14445db6586
d19a147ed9f6e384d6807a1ff59fb946f3f80029
refs/heads/master
2023-03-14T13:13:43.277299
2021-03-01T22:54:38
2021-03-01T22:54:38
340,198,645
0
0
null
null
null
null
UTF-8
C++
false
false
89
hpp
cfgArsenal.hpp
class Arsenal{ #include "arsenalItems\weapons.hpp" #include "arsenalItems\items.hpp" };
9802f9484a299dbafe7e3c2a0204d3b73c980651
df4c1c0511cf7c05c687f4b1f94bbeaee75065f3
/main.cpp
278fbe99e43d052caccaf020a6d3998f1f996004
[]
no_license
Treefold/CYK
42ed1c212d344f07cd102d8a71a3f3b4455cf392
bcb055250b8cd01d7a9bafdf7096c6ffe848539b
refs/heads/master
2020-05-30T09:46:00.601872
2019-05-31T20:36:58
2019-05-31T20:36:58
189,654,211
0
0
null
null
null
null
UTF-8
C++
false
false
2,267
cpp
main.cpp
#include <iostream> #include <fstream> #include <set> #include <map> #include <string> using namespace std; int nrNT, _s; map <string, int> T; /// Terminals' new names map <string, int> NT; /// NonTerminals's new names set <pair <int, int> > TR; /// Relation A -> a set <pair <int, pair <int, int> > > NTR;...
371fd47ad532fff7ccc21685e62bf29deaf7eaa9
6d3b38f38b7db05b42aba48ea0fb26639d9a3907
/src/ui/uiMesh.hpp
2ad092eee80ec37bd955832af47720b79f1cd185
[]
no_license
ballisticengine/ballistic_engine
dc7a27a0bf5e1c288cc93af015cc2d1549f4c7fe
f754afe75b5760624afbb0857362d46f400d93f1
refs/heads/master
2020-04-14T05:56:03.446038
2016-03-27T14:57:42
2016-03-27T14:57:42
20,853,296
0
0
null
null
null
null
UTF-8
C++
false
false
391
hpp
uiMesh.hpp
#ifndef UIMESH_HPP #define UIMESH_HPP #include <string> #include "types/types.hpp" #include "types/shape.hpp" #include "types/texture.hpp" #include "entities/texturable.hpp" #include "resources/ResourceManager.hpp" using namespace std; class UiMesh { public: Shape *model; Coords c; scalar_t scale; ...
686657cf9af8fd68d9cb1686a985c1430a22b6f9
263a50fb4ca9be07a5b229ac80047f068721f459
/clank/native/framework/chrome/chrome_native_preferences.cc
5c6fbf6b2e123b160fc5a58002ff4170be74396a
[ "BSD-3-Clause" ]
permissive
talalbutt/clank
8150b328294d0ac7406fa86e2d7f0b960098dc91
d060a5fcce180009d2eb9257a809cfcb3515f997
refs/heads/master
2021-01-18T01:54:24.585184
2012-10-17T15:00:42
2012-10-17T15:00:42
null
0
0
null
null
null
null
UTF-8
C++
false
false
54,053
cc
chrome_native_preferences.cc
// Copyright (c) 2011 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 "clank/native/framework/chrome/chrome_native_preferences.h" #include "base/android/jni_android.h" #include "base/android/jni_array.h" #inclu...
d4f4a555ea662c5e893f44bcd3b75eef0ff3b1bb
701596f35eac6e38a96d3952b23e5810bfcdd6d3
/boj_10166.cpp
b2d11bb98f7c4578528c3372d889a040e3eef8c6
[]
no_license
heeseokjung/boj
06b4c4972df8f6e9f714d6ab2c8f14caea686163
a44069991f9712eeb992a7c5452974cfa1e5ae7b
refs/heads/master
2021-12-25T09:01:36.229021
2021-09-28T19:25:25
2021-09-28T19:25:25
177,191,695
0
0
null
null
null
null
UTF-8
C++
false
false
686
cpp
boj_10166.cpp
#include <stdio.h> int r1, r2; int seat_used = 0; bool degree[2001][2001] = {false, }; void input() { scanf("%d %d", &r1, &r2); } inline int gcd(int x, int y) { if(x < y) { int tmp = x; x = y; y = tmp; } int r; while(y != 0) { r = x % y; x = y; y = ...
7be893c414692a2cbad8b3c3af7cce9a04212fa1
20c4e7d2306e8c8f4f74a7af5cc06a61959f69bd
/globals.cpp
6b217a23c2d7b17f26e93920cc94acbb28ec3ed8
[ "MIT" ]
permissive
bobismijnnaam/fuzzy-path
c11430906c4d15923c76a7d9e16fd8b990875876
2bdc2b4a78406ea95aaace6007e1f58065dfd524
refs/heads/master
2021-01-20T21:52:14.970281
2013-12-27T00:06:55
2013-12-27T00:06:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
328
cpp
globals.cpp
// Author: Bob Rubbens - Knights of the Compiler // Creation date: 7-12-2013 // Contact: http://knightsofthecompiler.worpress.com - @broervanlisa - gmail (bobrubbens) // Includes I didn't make myself // Includes I did make myself #include "globals.hpp" GameMan* gm = NULL; int previousGameScore = -1; bool firstTime...
c426531b6864e096c84bea719a32dc1655e9901f
ccb6d2726b7522af43004875e2e233bc1088774a
/carma/services/Temperature.cc
b4e3c2d75bdd59923a89ff1e8119f323b59175ba
[ "FSFUL" ]
permissive
mpound/carma
a9ab28ed45b3114972d3f72bcc522c0010e80b42
9e317271eec071c1a53dca8b11af31320f69417b
refs/heads/master
2020-06-01T11:43:47.397953
2019-06-07T15:05:57
2019-06-07T15:05:57
190,763,870
2
0
null
null
null
null
UTF-8
C++
false
false
5,780
cc
Temperature.cc
// $Id: Temperature.cc,v 1.6 2014/04/02 23:11:12 iws Exp $ /** * @file carma/services/Temperature.cc * Representation of Temperature * * @author Peter Teuben * @version $Revision: 1.6 $ */ #include "carma/services/Temperature.h" #include "carma/services/Physical.h" #include "carma/services/Units.h" #include "ca...
82fa068f0d1bf1116211de5a4c3d077414c6a465
899e293884d1ed1896414d46e3b46a1a9bfdc490
/ACM/2016tour/2016Multitrain/contest10/1004.cpp
29e463e1cae0136c4f883b194217ac107d54b8d9
[]
no_license
py100/University
d936dd071cca6c7db83551f15a952ffce2f4764c
45906ae95c22597b834aaf153730196541b45e06
refs/heads/master
2021-06-09T05:49:23.656824
2016-10-27T08:22:52
2016-10-27T08:22:52
53,556,979
1
1
null
null
null
null
UTF-8
C++
false
false
1,432
cpp
1004.cpp
#include <bits/stdc++.h> #define X first #define Y second using namespace std; typedef long long ll; typedef ll LL; const int maxn = 3000200; int n, k, m; set<int> st; int ans[maxn]; vector<int> del; struct bit { int b[maxn]; int num; void add(int x,int z) { for (int i=x;i<=num;i+=(i&-i)) b[i]+=z; } ...
f3dc4c4fccf86e37dedee3803f9937111ae75504
20bc5ce188d83114952a736ba8c46c9a94efdc70
/src/ra_types/direction1d.h
c2daebdb36225de3c7e3b5feb84e616a8eee9b2d
[ "MIT" ]
permissive
vitoOmbero/rendering-algorithms
b070784b593fa026a527d909203d1f71022eea26
1b33c3f5b658bc12d2fdfad018b3c9393f64892f
refs/heads/master
2023-01-24T06:10:01.141344
2020-11-29T08:29:11
2020-11-29T08:29:11
288,728,340
0
0
null
null
null
null
UTF-8
C++
false
false
200
h
direction1d.h
#ifndef DIRECTION1D_H #define DIRECTION1D_H namespace ra_types { enum class Direction1d { kPosInf, ///< to positive infinity kNegInf ///< to negative infinity }; } #endif // DIRECTION1D_H
8773794cd4ba3199e0dbd1d8ec834063f00c6efa
49004fd72ade8e34343f28e930eb3e8c3d29a725
/d01/ex02/ZombieEvent.hpp
64a2b6c010f0443f0ee008d4cd843d943a8bc111
[]
no_license
mmatiush/CPP-Piscine_42
09a7b69efddfbf770d7c74647417068b2cb33263
c177df18f331f9a3332be3a151f589a78bb6937e
refs/heads/master
2020-03-20T20:07:39.064204
2018-06-22T20:43:18
2018-06-22T20:43:18
137,671,339
0
0
null
null
null
null
UTF-8
C++
false
false
1,155
hpp
ZombieEvent.hpp
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ZombieEvent.hpp :+: :+: :+: ...
6635eaed2b15688ea360c4279b5eacf26e1b53fb
318e853de6a882493bee3555d84411a07225bf95
/juego.cpp
78139cf9026f93319e60a1a813a55692bfe06479
[]
no_license
julianocampov/Juego
2ae3f820057285950db5ca3d4b75d1385eae018c
21e65107eb828ec4551033f09797f6454d5d2f68
refs/heads/master
2020-03-18T22:59:43.823883
2018-06-12T04:56:08
2018-06-12T04:56:08
135,376,973
0
0
null
null
null
null
UTF-8
C++
false
false
17,862
cpp
juego.cpp
#include "juego.h" #include "ui_juego.h" #define RUTA_ARCHIVO "info.txt" juego::juego(QWidget *parent) : QWidget(parent), ui(new Ui::juego) { X=0, Y=0, W=1000, H=500; ui->setupUi(this); scene = new QGraphicsScene(X, Y, W, H); ui->intrucciones->setVisible(false); ui->close->setVisible(fal...
7a192be3540c1c7e16f51b136712536122c2e956
dc46fd870e50f827199033debc8ecd30eeafcd95
/JCore/TerrainComponent.h
0262c74608c475ef9e4c7ac8f52333f76374e618
[]
no_license
JiaoJianing/JCore
249623ae5f1b77f3efd63c097783b359032be907
5feef9594a9fc5d941fd96b0582956cc838c95c4
refs/heads/master
2021-06-04T05:03:10.547501
2019-12-30T06:27:01
2019-12-30T06:27:01
128,857,619
10
1
null
null
null
null
UTF-8
C++
false
false
532
h
TerrainComponent.h
#pragma once #include "BaseComponent.h" #include "Terrain.h" class TerrainComponent : public BaseComponent { public: TerrainComponent(const std::string& heightFile, unsigned char bitsPerPixel, unsigned int width, unsigned int height, float heightScale = 30.0f, float blockScale = 2.0f); ~TerrainComponent(); virtu...
40acd928cf1d91df5f0f4f9399d1153bb5ca1546
c0d3f12092fec7f7f61729664e3ceb911c9faf9c
/Ultralight/platform/GPUDriver.h
7af1c9e1bcac9c3a4ab61707dad98780682b0001
[]
no_license
ultralight-ux/Ultralight-API
cd380b6710c97a7621afa419663500752f757784
c78adf6b63935d744bdad8b112cb02b29047aae7
refs/heads/master
2023-03-31T13:48:41.311809
2023-03-25T00:44:13
2023-03-25T00:44:13
227,214,478
60
12
null
2021-01-04T19:59:06
2019-12-10T20:58:48
C++
UTF-8
C++
false
false
7,360
h
GPUDriver.h
/// /// @file GPUDriver.h /// /// @brief The header for the GPUDriver interface. /// /// @author /// /// This file is a part of Ultralight, a next-generation HTML renderer. /// /// Website: <http://ultralig.ht> /// /// Copyright (C) 2022 Ultralight, Inc. All rights reserved. /// #pragma once #pragma warning(disable : 4...
2b5b5c683dd10de0102dfc0a92da1ac9d6394263
cf111b440f33ba9741ff45c60ac33dfade24e2ac
/Others/Lowfat/src/lowfat.cpp
6477f91108dc38fde569838396f134726bb62c0a
[ "Unlicense" ]
permissive
fredmorcos/attic
cd08e951f56c3b256899ef5ca4ccd030d3185bc1
36d5891a959cfc83f9eeef003b4e0b574dd7d7e1
refs/heads/master
2023-07-05T10:03:58.115062
2023-06-21T22:55:38
2023-06-22T07:07:58
154,962,425
4
1
Unlicense
2023-06-22T07:08:00
2018-10-27T12:30:38
JavaScript
UTF-8
C++
false
false
11,402
cpp
lowfat.cpp
//////////////////////////////////////////////////////////////////////////////// //3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 // // lowfat - an "engine" for natural document viewing for free desktop-systems // // copyright (c) 2007 Mirco Müller // // lowfat is free software; you c...
09ddaa047f9e30c41871b0adb69e19ca91b80d67
b2cad4f3d8212569c9ba73a011fe8c3ec8b628a7
/src/design_pattern/iterator/pattern.cpp
3956e547ee4ec695ddf054fbe82e94c699cdd268
[]
no_license
pramodaug17/cpp
69f23f43690cb265ec8e7390cc6f6cf77da39083
d706887894e81b8c593f1a135b98476ffb163108
refs/heads/main
2023-07-30T04:04:46.751924
2021-09-25T19:15:45
2021-09-25T19:15:45
404,816,345
0
0
null
null
null
null
UTF-8
C++
false
false
1,551
cpp
pattern.cpp
/* * Iteraotr Pattern * * Iterator provides a way to access the element of aggragated objects * sequentially without exposing its underlying representation. */ #include <iostream> typedef unsigned char boolean; using namespace std; class Iterator { public: virtual void begin() = 0; virtual string next()...
959393fa576c9b7c3faefa07d1bd67555d151c9c
b4b9e649ea29c787174778aa9bacba6d862ce2a1
/src/check_border.cpp
f0182283b4c11d4a018a7caeb8d58d93db32f848
[]
no_license
kovtunsergey/mainrepo
dfca9496fadca6eab46c8644a302fdf3d5d20405
965cd36214d9d96bd24f09f67229dd5f5bbbe285
refs/heads/master
2020-03-19T16:40:42.747187
2018-06-16T03:51:14
2018-06-16T03:51:14
136,724,796
0
0
null
2018-06-14T18:54:04
2018-06-09T13:18:37
C++
UTF-8
C++
false
false
117
cpp
check_border.cpp
bool check_border(int x, int y) { if((x < 0) || (x > 3) || (y < 0) || (y > 3)) { return 0; } else return 1; }
a0b7b9f7918af91feaa1f4378e27d204f83262bf
c5a324b2b1c3cc34f1c3218e7cccf76965db886e
/Graph/Graph.hpp
c795ae688acb1dee44d3400d7adedda9e44a0769
[]
no_license
aFleetingTime/Algorithms
d2b0bdbbd4264320db30cb5efc53ee282ffdb1ec
968eabe62cb098780c64472b4e1da7a248e37d01
refs/heads/master
2020-03-07T13:25:38.406343
2018-11-04T17:14:24
2018-11-04T17:14:24
127,500,224
0
0
null
null
null
null
UTF-8
C++
false
false
2,615
hpp
Graph.hpp
#include <list> #include <unordered_map> struct VertexDoesNotExist; template<typename VertexDataT, typename EdgeDataT, typename VertexDataAlloc = std::allocator<VertexDataT>> class Graph { public: using VertexData = VertexDataT; using VertexList = std::list<VertexData, VertexDataAlloc>; class Vertex; using EdgeD...
6c20da16be4b507ee5f2fb2c313fd8d026659d22
f6bdae3a55fc18829e719421b5419324f6fb493d
/Samples/TestCpp/TestCpp.h
589e6f28221c460a38a364a3199232c6e0fd4e32
[]
no_license
spech66/marvinsarena
6d1f55053155e70d6e8e3e1ae6774cacaea22cd7
0e529e32f51da8c2ca7b80a8dddf2ff240ccaf0a
refs/heads/master
2021-01-12T13:38:10.553527
2018-10-27T13:26:51
2018-10-27T13:26:51
69,965,969
0
0
null
null
null
null
UTF-8
C++
false
false
391
h
TestCpp.h
#pragma once using namespace System; using namespace MarvinsArena::Robot; namespace TestCpp { public ref class TestCpp : BaseRobot, IRobot { private: void WalkWalls(); public: virtual void Initialize(); virtual void Run(); void OnScannedRobot(Object^ o, ScannedRobotEventArgs^ e); void OnHitWall(Objec...
0c66004e2396d861d1b82fd2dceaefa7c42a2912
8aca5d7315a8ff0215dba9f1ad9b10d7d253b3ca
/src/data_chunk_t.cpp
0ce617d1b5d3ff4fabfeef124d97ce8372f4c047
[]
no_license
joel0/CS327-Spring2016-Proj2
e0682ef25a5a961713bc5b0e4d4222e856258b34
366a42de6d3766993fe314e6a865ad62dd6e118b
refs/heads/master
2020-12-24T07:13:23.828015
2016-08-21T13:29:06
2016-08-21T13:29:06
59,449,550
0
0
null
null
null
null
UTF-8
C++
false
false
1,542
cpp
data_chunk_t.cpp
// // Created by joelm on 2016-04-19. // #include <cstring> #include <endian.h> #include <malloc.h> #include "data_chunk_t.h" unsigned int data_chunk_t::read_chunk_size(char *data) { unsigned int size; memcpy(&size, data + 4, 4); size = le32toh(size); // Add the data chunk header size += 8; re...
c443fec54bf95ae0ecfec405b7ac1ec608ef881a
f371369abfb934ee681eed062eea739881fd3080
/week-04/day-4/Sum/Apples_lib/Apple.h
5218d391cbe5763fbe700354a12fd9d566bb54b0
[]
no_license
green-fox-academy/julcsi2121
b04026ab5dbdee96b9c1347c20e33c8e1f702261
ed110e0e82e07bea4690233ad7b4598a505f4ff2
refs/heads/master
2020-05-04T10:45:20.448030
2019-06-04T15:07:58
2019-06-04T15:07:58
179,094,506
0
0
null
null
null
null
UTF-8
C++
false
false
239
h
Apple.h
// // Created by Varga Júlia on 2019-04-25. // #ifndef APPLES_APPLE_H #define APPLES_APPLE_H #include <string> #include <vector> #include <iostream> std::string getApple(); int sum(std::vector<int> numbers); #endif //APPLES_APPLE_H
df0d07c828cdf3d1aa8ba97a7a39c64f5928dad7
6146e33102797407ede06ce2daa56c28fdfa2812
/src/GafferImage/DeepMerge.cpp
8ff72a99b564f725ab3bb245f24d8a272cb3bc32
[ "BSD-3-Clause" ]
permissive
GafferHQ/gaffer
e1eb78ba8682bfbb7b17586d6e7b47988c3b7d64
59cab96598c59b90bee6d3fc1806492a5c03b4f1
refs/heads/main
2023-09-01T17:36:45.227956
2023-08-30T09:10:56
2023-08-30T09:10:56
9,043,124
707
144
BSD-3-Clause
2023-09-14T09:05:37
2013-03-27T00:04:53
Python
UTF-8
C++
false
false
16,665
cpp
DeepMerge.cpp
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2019, Image Engine Design Inc. All rights reserved. // Copyright (c) 2015, Nvizible Ltd. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provide...
f288ac16aa171deca52048c98309b7e61e60aa9e
f4c575b30ef850e41ae6824105d4d22c12b43bef
/codeforces/circleLine.cc
133d2890ec163354e67a4ad36d6784447e8f93a0
[]
no_license
irtefa/algo
4cce1928eeaad5d4da2850c3739132ca282e095f
d8941cc7a0a016b3d80c659ed0b86730b82f15c7
refs/heads/master
2021-01-23T11:49:53.037712
2014-03-03T23:37:21
2014-03-03T23:37:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
593
cc
circleLine.cc
#include <iostream> #include <vector> using namespace std; int main() { int n, c, x, y, i = 0, f = 0, b = 0; vector<int> v; cin >> n; for (; i < n; i++) { cin >> c; v.push_back(c); } cin >> x >> y; if (x == y) { cout << 0; return 0; } i = x - 1; while (true) { f += v[i]; ...
c6f71c7a34d0e34a0ee7cc4f6b056579e47de696
e5ac2baffc5135a4e680ddd2a558dffa03f0e77d
/10.cpp
ad7d7651732302721d64dbe77a41d01168772269
[]
no_license
Esiuede/C----Codes
46e57bf0391ce0efd73315d27faab68610492f97
dfc7ec58197559262f4d0697cce907e90818ca82
refs/heads/main
2023-08-30T21:34:22.933988
2021-09-15T13:35:02
2021-09-15T13:35:02
406,775,775
0
0
null
null
null
null
UTF-8
C++
false
false
393
cpp
10.cpp
#include<stdio.h> #include<stdlib.h> int main() { int i,soma=0,n1,n2; printf("informe um numero"); scanf("%d",&n1); printf("informe um segundo numero"); scanf("%d",&n2); printf("o intervalo de numeros entre \"%d\"e\"%d\"sao:",n1,n2); for(n1+=1;n1<n2;n1++) { printf("%d",n1); soma+=n1; } printf("a soma dos...
adb76c8fdbff94ed5226d15bee2c9ba676a4ae22
366b754ca6d2ccb76fad4736c750ff15eb92fa15
/Nero_Frogger/Source/Entity.cpp
662d4b4702fd0032b4a9729b26742a1b03ef56a6
[]
no_license
ellePAZ/Frogger-clone
19d40a32ce121d0e11e84a7ebd9402770f21b722
b2b20e42ed9f84633ea3c60ed7a95818d089ac68
refs/heads/main
2023-07-05T03:48:17.886237
2021-08-11T09:01:02
2021-08-11T09:01:02
394,924,833
0
0
null
null
null
null
UTF-8
C++
false
false
565
cpp
Entity.cpp
#include "Entity.h" Entity::Entity() { } Entity::Entity(int p_size) : m_size(p_size) { } Entity::~Entity() { } void Entity::draw(sf::RenderTarget& target, sf::RenderStates states) const { for (int i = 0; i < sizeof(m_rectangles) / sizeof(m_rectangles[0]); i++) { if(&m_rectangles[i] != nullptr) target.dr...
b0ef3465caa48925db104b30a64dbfd1946c06e7
b69a21b62bcdab75ab24264b3354a1947acf5e6f
/client/soundsframe.cpp
4d8dd7c767322b9371eb5fe9475a03b7e6bfd794
[ "CC-BY-4.0", "MIT" ]
permissive
aernesto/moodbox_aka_risovaska
97ee1127e1ed7a2ddcc85079cab15c70b575d05f
5943452e4c7fc9e3c828f62f565cd2da9a040e92
refs/heads/master
2021-01-01T17:17:39.638815
2012-02-28T15:31:55
2012-02-28T15:31:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
239
cpp
soundsframe.cpp
#include "soundsframe.h" #include "testtools.h" namespace MoodBox { SoundsFrame::SoundsFrame(QWidget *parent) : QFrame(parent) { TimeMeasure t("SoundsFrame"); setupUi(this); } SoundsFrame::~SoundsFrame() { } }
045243fe17b438df242193eaec8a220f082d0a4b
584be69961817a009746f4726f0c08a4cd77e00c
/Corba/OBLearn/5.ntserver/hello_skel.h
71d611a8b2a30b3bf1918c4e0faffc53a2b8edb9
[ "Apache-2.0" ]
permissive
codeworkscn/learn-cpp
cf6cdd5903bf3bffae5d9b55e28718cb837c1d2c
c72b2330934bdead2489509cd89343e666e631b4
refs/heads/master
2021-01-10T13:04:40.062946
2015-11-08T12:19:16
2015-11-08T12:19:16
45,778,283
0
0
null
null
null
null
UTF-8
C++
false
false
2,383
h
hello_skel.h
// ********************************************************************** // // Generated by the ORBacus IDL-to-C++ Translator // // Copyright (c) 2005 // IONA Technologies, Inc. // Waltham, MA, USA // // All Rights Reserved // // ********************************************************************** // Version: 4.3.2...
7d8b9f11106fa8da699cb3db2a3c72500cf0ada0
03de70a8daa7538bb86f7e36be639de809a8638c
/c:c++/1120_2.cpp
3e3487578fb2646ade648170fdd729e014bf1a81
[]
no_license
jungahshin/algorithm
a5d0a632b00cb980b467ee4f7a48fc5ac4d4bd78
cce89fc206cbd35106779968586f08616d218319
refs/heads/master
2021-11-27T13:32:27.622414
2021-09-21T05:26:35
2021-09-21T05:26:35
198,997,501
2
0
null
null
null
null
UTF-8
C++
false
false
489
cpp
1120_2.cpp
//문자열 #include <iostream> #include <climits> using namespace std; string a, b; int final = INT_MAX; int main(){ cin>>a>>b; for(int i=0; i<b.size(); i++){ if(i+a.size()-1<b.size()){ int num = 0; int idx = 0; for(int j=i; j<i+a.size(); j++){ if(a[idx++...
808cf5e11effafd9c49aa1480f12b26917bdd05d
f4e4e5fac54453a4875fce2d91e389706e46b4c2
/hedgemesh.cpp
7cb6c6246a85b1e9beb5687f257f368f3fa11ec8
[]
no_license
apir8181/obj_viewer
6b5c8ea09373b189b7dc64a406e256c5d0e54407
043c58c7837e6f2ee832767a73c17864a8194460
refs/heads/master
2021-01-19T08:20:11.153876
2014-02-24T06:15:48
2014-02-24T06:15:48
9,810,645
2
0
null
null
null
null
UTF-8
C++
false
false
23,759
cpp
hedgemesh.cpp
#include "hedgemesh.h" #include "parserstruct.h" #include <assert.h> #include <utility> #include <map> #include <set> #include <math.h> #include <vector> #include <queue> #include <stdio.h> #include <GL/glut.h> #define MP(a,b) (make_pair(a,b)) #define NOTEXIST -1 using namespace std; HEdgeMesh::HEdgeMesh(objInfo& inf...
b7ba2cb8af57d61f3d70420b305c9f5b228570d6
46a270c50ca6d41d92c085aad2d8f8dfa3dc55df
/tafjce/Common/Template/hash_map_fixed.h
f70ec24cc5ee01bd6b08bfd92700f0361c2c7d1e
[]
no_license
PenpenLi/YXLDGameServer
74e4eb05215373121029beefb9712f94b0488aea
6f6e709271a0f47aa8d55226fed436308aae2365
refs/heads/master
2022-10-20T15:49:13.793932
2020-07-15T07:50:00
2020-07-15T07:50:00
279,802,517
0
0
null
2020-07-15T07:49:15
2020-07-15T07:49:14
null
GB18030
C++
false
false
14,128
h
hash_map_fixed.h
#ifndef _HASH_MAP_FIXED_20100919_H_ #define _HASH_MAP_FIXED_20100919_H_ #include <stdlib.h> #include "objectpool.h" #include "hash_dft_func.h" /* :使用堆进行限量分配的hashmap,init后无动态内存的再分配 使用说明: 1.以int,short,char,long (singed or unsigned)作为Key,可自动使用默认的hash计算函数 2.对自定义struct作为Key,必须提供hash计算函数,方法与std::h...
62bda2435544d0e7708bbcc16dcdebb2cdf1c401
198806ccd0b5a7d476c701be5943e9a7afacb7d0
/xdaq/include/ttc/ltc/LTCConfiguration.hh
aa15ebe7bb031e55292d8fff20edd6a13025af4c
[]
no_license
marcomuzio/EMULib_CLCT_Timing
df5999b5f1187725d7f5b6196ba566045ba60f55
04e930d46cadaa0c73b94a0c22e4478f55fac844
refs/heads/master
2021-01-16T13:47:26.141865
2014-08-14T12:04:33
2014-08-14T12:04:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,549
hh
LTCConfiguration.hh
#ifndef _ttc_ltc_LTCConfiguration_hh_ #define _ttc_ltc_LTCConfiguration_hh_ #include "ttc/utils/GenericTTCModuleConfiguration.hh" namespace ttc { // forward declarations class LTC; // configuration keywords const std::string WORD_QPLL = "QPLL"; const std::string WORD_QPLLEXTERNAL = "EXTERN"; const std::string W...
383848c65d56df32855902bfedc38d91e541294d
d18c0e0b35e03bdc5f5259b88c4226efa5c669ea
/include/utils/RNNHelper.h
90afd5190374302e43d2149672be025362ae4c6e
[]
no_license
zhangkai26/ccma
871698682584cfc9a16bf8dbed8add24a12e12b5
557a14502c83d1ae73c3defcafe21624ca958d84
refs/heads/master
2020-04-27T04:34:57.725614
2017-07-20T09:53:34
2017-07-20T09:53:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,190
h
RNNHelper.h
/*********************************************** * Author: Jun Jiang - jiangjun4@sina.com * Create: 2017-06-23 15:40 * Last modified : 2017-06-23 15:40 * Filename : RNNHelper.h * Description : Read & generate one-hot word vector **********************************************/ #ifndef...
7174ad719d4896ed418fc7c9e7d1b419db391f04
9d62bcbd0e6f4ce943d19e6ae13b4c2e70fed55d
/home_3D/molecules/roof.cpp
69f82a3c237b7c46c45956211c7a47230440fbf2
[]
no_license
stenniswood/bk_code
87ce26e032c1f1895c1c557c4e2ba4465a61b438
13535863decc23414854c08ebf8fc90c06a92fbd
refs/heads/master
2021-07-05T21:25:37.512024
2021-06-02T08:01:40
2021-06-02T08:01:40
25,167,429
0
0
null
null
null
null
UTF-8
C++
false
false
2,743
cpp
roof.cpp
// // roof.cpp // home3D // // Created by Stephen Tenniswood on 8/19/15. // Copyright (c) 2015 Stephen Tenniswood. All rights reserved. // #include "roof.h" #include "face_box.h" glRoof::glRoof() { m_rafter_spacing = 8*12; } glRoof::glRoof(MathVector start, MathVector end) // close and far corner (square...
b41b7b38a837c41ad7859d2dfb7d38157c99c9ab
1969dd9d08d09c65ff5e397fce18c6c47dbaea06
/functional-programming-exercises/exercise2.cpp
e97788b3d58cddc8c3e2d22894e243dca9799bf4
[ "MIT" ]
permissive
deepcloudlabs/dcl113-2021-sep-16
4348336da9fd253f9c2f9027cfb75cb65eea136e
9cbf63a5557e91327c2bc5ef57aa3d83fd48f896
refs/heads/main
2023-08-15T02:56:52.584182
2021-09-17T16:03:30
2021-09-17T16:03:30
407,208,269
1
0
null
null
null
null
UTF-8
C++
false
false
1,260
cpp
exercise2.cpp
#include "city.h" #include "country.h" #include "world-util.h" #include <set> #include <map> #include <iostream> #include <string> #include <memory> #include <parallel/algorithm> #include <numeric> using namespace std; using namespace world; map<int, shared_ptr<world::city>> cities; map<std::string, shared_ptr<world...
269971165688a8bbe53c1f46db669bb05f3b1f67
283e05cd8ba6aafa963d26334e332f2803cbea7d
/Feb_15.cpp
bb0b2b986bcbcf582659ef6967bbf77a9eb1fba8
[]
no_license
ashutosh6500/February-LeetCoding-Challenge-2021
2bc4d96681f9dd4f306b66609130c4a120a2650a
7104038e7eeac638549e69d119e6b0a422e4bc1f
refs/heads/main
2023-03-13T05:08:08.773759
2021-02-28T14:19:20
2021-02-28T14:19:20
336,492,265
0
0
null
null
null
null
UTF-8
C++
false
false
1,410
cpp
Feb_15.cpp
/* Question: Given a m * n matrix mat of ones (representing soldiers) and zeros (representing civilians), return the indexes of the k weakest rows in the matrix ordered from the weakest to the strongest. A row i is weaker than row j, if the number of soldiers in row i is less than the number of soldiers in row j...
5900da6af5ee40b27c3b914522762dd7f53d326c
65a003b040520730f0db71d0df1d0d52a30c2c50
/control/ice/client/guide/generalcmd.cpp
1b0b7921e43ef0979283db38f576875f1bb9b695
[]
no_license
AndreasFMueller/AstroPhotography
dd4db3b90bd14eaf0f8cc225d19da1477a21418d
23174595f1d0cb64bfcba46db75ade9925d245a4
refs/heads/master
2023-01-12T12:53:51.582049
2023-01-02T20:43:42
2023-01-02T20:43:42
7,716,135
8
5
null
null
null
null
UTF-8
C++
false
false
12,473
cpp
generalcmd.cpp
/* * generalcmd.cpp -- general commands * * (c) 2016 Prof Dr Andreas Mueller, Hochschule Rapperswil */ #include "guide.h" #include <cstdlib> #include <iostream> #include <signal.h> #include <IceConversions.h> #include <CommunicatorSingleton.h> #include <CommonClientTasks.h> #include <ImageCallbackI.h> namespace sn...
10ad73ed761f3295db56ed276d488dc2b6a40a0d
f650794168909338d2c779cd03f43efc998cc63b
/inc/wing/Util.h
91c877c14ff47c083532f8048109bd1eda8415cd
[ "Apache-2.0" ]
permissive
PrestonFrom/libwingmysql
833ebacc786780e7afbea91fcf2f8386ec88da11
c3b1c94e86757ac5e633671a39ea19c3b44cafb2
refs/heads/master
2021-01-25T12:29:59.421714
2018-10-15T17:34:35
2018-10-16T00:16:37
123,472,088
0
0
Apache-2.0
2018-03-01T17:54:48
2018-03-01T17:54:48
null
UTF-8
C++
false
false
1,057
h
Util.h
#pragma once #include <vector> #include <sstream> #include <string_view> namespace wing { /** * gets a thread local stream * * NOTE: palces that use this must never call each other * If this stream is ever used in another method it must not be able to recursively * call itself or another method that uses this s...
617882c809f7b6c4a545ae74bae57aad2b655f67
56f431ac8061ddb4c45b32457b0f948d1029d98f
/MonoNative/mscorlib/System/mscorlib_System_Guid.h
c727d3250c4f51d3f11a04dfaa1fde5bac79fb32
[ "BSD-2-Clause" ]
permissive
brunolauze/MonoNative
886d2a346a959d86e7e0ff68661be1b6767c5ce6
959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66
refs/heads/master
2016-09-15T17:32:26.626998
2016-03-01T17:55:27
2016-03-01T17:55:27
22,582,991
12
1
null
null
null
null
UTF-8
C++
false
false
10,877
h
mscorlib_System_Guid.h
#ifndef __MONO_NATIVE_MSCORLIB_SYSTEM_GUID_H #define __MONO_NATIVE_MSCORLIB_SYSTEM_GUID_H #include <mscorlib/System/mscorlib_System_ValueType.h> #include <mscorlib/System/mscorlib_System_Byte.h> #include <mscorlib/System/mscorlib_System_String.h> #include <mscorlib/System/mscorlib_System_IComparable.h> #include <mscor...
bc50142d900d3efff2b8491ab947c8776672bc9b
89accf560e5ee174fab84dcc81407051055313d4
/include/mgl/metafile.h
c5e7f93feeb3c25eb6ff6625a595edd2ada2c34d
[]
no_license
1tgr/mobius
49e507eb0fd7587a78e4d57c3a1fafd2179e1ab2
afc847f8589aedb47fb6764ed2f0ff4934e8d82b
refs/heads/master
2020-04-10T03:28:29.705646
2004-03-14T15:50:00
2012-01-01T12:53:39
3,082,575
1
0
null
null
null
null
UTF-8
C++
false
false
2,824
h
metafile.h
/* $Id: metafile.h,v 1.1.1.1 2002/12/31 01:26:22 pavlovskii Exp $ */ #ifndef __MGL_METAFILE_H #define __MGL_METAFILE_H #include "types.h" namespace mgl { /* Brush Styles */ #define BS_SOLID 0 #define BS_NULL 1 #define BS_HOLLOW BS_NULL #define BS_HATCHED 2 #d...
0335055e765d8f1e29e841865f244f0f205073ca
c693d24da109c95f26ecfe0402fdc9c1669dbb9e
/Game.cpp
9dc604a32c6faeef84c6dc1b3d1c55f6c0e2c779
[]
no_license
georgbuechner/Textadventure
9d3d170d97efed2f1124be7628b6ddccacf97797
3e73986e309f2820936ed21a89fbf2a157b7ce6a
refs/heads/master
2021-04-26T12:03:55.998123
2018-08-20T20:23:36
2018-08-20T20:23:36
121,298,111
0
0
null
null
null
null
UTF-8
C++
false
false
4,054
cpp
Game.cpp
//Game.cpp // @Author = Jan van Dick #include "CGame.h" using namespace std; //play //Play game void CGame::play() { //Variables bool gameEnd = false; char chPlayerCommand[128]; m_EM = new CEventManager; CFunctions F; CDialog dialogTest; dialogTest.parseDialog(); return; worldFa...
561fa13e6052258cd408b2d35284024c600e6b78
eca41bf727dea6f978b5b3e8b66da6d22b09d8d1
/OpenGL World/OpenGL World/Terrain.h
75d0046800e7aa42c3097e8e7539eef8d87e1bbd
[]
no_license
Darkgrouptw/OpenGL-Blending-Map
af954c1dc80e5e48606b16d0dcc9766761e6189c
f67ff6085589f009b9fa2089dbd7e0025721cfd4
refs/heads/master
2020-09-28T16:44:47.524504
2019-12-09T08:30:06
2019-12-09T08:30:06
226,817,742
0
0
null
null
null
null
BIG5
C++
false
false
1,709
h
Terrain.h
#pragma once #include "ModelOBJ.h" #include "TerrainTexturePack.h" #include <QtMath> #include <QColor> #include <QTime> //For random seed #include <QMatrix4x4> #include <QOpenGLTexture> #include <QOpenGLShader> #include <QOpenGLShaderProgram> #include <QOpenGLFunctions_4_3_Core> class Terrain : protected QOpenGLFu...
290afc10112f427da76ec733e42337e0af7a275d
8fdeea8ddf1ad394ae39b34dbd33759c321ae7ba
/栈和队列/实验3.1.cpp
105db63c7eaf34991893467fa51ea5a719ed5773
[]
no_license
Mandarava/Data-Structure
749bd813c7efada47dc04e0730103e300f2eacb0
c68e63178772edb77684875eaff01fafff3d78fa
refs/heads/master
2020-05-31T05:14:04.382250
2014-07-26T08:32:33
2014-07-26T08:32:33
null
0
0
null
null
null
null
GB18030
C++
false
false
1,625
cpp
实验3.1.cpp
#include<stdio.h> #include<malloc.h> #define MaxSize 100 typedef char ElemType; typedef struct { ElemType data[MaxSize]; int top; }SqStack; void InitStack(SqStack *&s) //初始化栈 { s=(SqStack *)malloc(sizeof(SqStack)); s->top=-1; } void DestroyStack(SqStack *&s) //销毁栈 { free(s); } bool StackEmpty(SqStack ...
dfef53f36b36e2a38fbebe85e0670becc8381dab
f0574f26faa80b41be72cd555a34a80d33992ee2
/libraries/controllers/src/controllers/impl/endpoints/CompositeEndpoint.h
004df362737458b886c1dd167fecf6f2e1791079
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
humbletim/megaverse
53943f2f19b51ae222a6743408a93750a39e3885
42d5a4983cf732411f262b98032baf72a93669ac
refs/heads/master
2022-11-12T10:07:53.619639
2019-10-17T19:02:16
2019-10-17T19:02:16
261,794,028
2
0
NOASSERTION
2020-07-07T10:51:27
2020-05-06T15:02:52
C++
UTF-8
C++
false
false
819
h
CompositeEndpoint.h
// // Created by Bradley Austin Davis 2015/10/23 // Copyright 2015 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #pragma once #ifndef hifi_Controllers_CompositeEndpoint_h #define hifi_Controlle...
fa75334233ac782d17171dd6ad6130833816d0ef
81d92eb17bf73a8627f91b7d670fd0de327aeb1c
/cpp-tutorial/stage3/main/String.cc
c976a8d21c3a47df4694997effccb5d1ba4f7da2
[]
no_license
buaa-wuhao/Wu-Hao-Repo
6d18326210c61ab64f57c6f46e3b398d454a703a
0b1185242a31f30c65ccd6552e9bc04035e4316a
refs/heads/master
2022-05-12T06:26:49.079467
2022-04-27T03:57:54
2022-04-27T03:57:54
130,005,132
0
0
null
null
null
null
UTF-8
C++
false
false
2,031
cc
String.cc
#include "String.h" #include <string.h> using namespace std; allocator<char> String::alloc_; pair<char*,char*> String::allocate_n_copy(const char* b, const char* e){ auto data = alloc_.allocate(e-b); return {data,uninitialized_copy(b,e,data)}; } String::String(const String& other) { auto data = allocate_n_copy(oth...
75999c0a468b386fefa7b0f0bfaad983b486a9ff
f4abf0838cd0a087d3b9bc4398232d57c879f4f4
/src/Boss.cpp
99e8d4b14cfb5fea1fb441cd8bd94dc661775a1f
[]
no_license
ekunuke/TheHallowedOrb
8e15b0b6d464d0daa70f557fd18a3a78a7355605
8bdd500f0415cc5e4b6fd1a5bebc63381bf1e8f7
refs/heads/master
2020-12-13T23:30:46.179663
2014-03-26T16:37:54
2014-03-26T16:37:54
15,214,807
4
0
null
null
null
null
UTF-8
C++
false
false
9,537
cpp
Boss.cpp
#include "Boss.h" #include "Player.h" #include "Particle.h" #include "Suicider.h" const int Boss::ANGRY_HEALTH_THRESHOLD = 3; const int Boss::HEALTH = 8; const int Boss::SUMMON_TIME = 60; // 1 second channel const int Boss::SPAWN_TIME = 90; const int Boss::INVUL_TIME = 40; const float Boss::WIDTH = 20; const float Bos...
a1b004a2d1af85cdfd35d8a2c4b9e6895e3c8d16
9fd98eaa9d4fb85b18f2f1a4389a5ebe30604bb9
/STL初识/函数对象-01基本使用.cpp
2c72de7abc473910b6a948b3cace5bbf6e1daebb
[]
no_license
wakeofgod/C-practise
0f832ef89c2577aeb58fa043446cbcbeb44a941d
290f71254aa9dfcc26a1d2c50740dd5ac80c22f5
refs/heads/master
2022-12-19T04:59:58.403258
2020-09-06T10:19:37
2020-09-06T10:19:37
274,301,363
0
0
null
null
null
null
GB18030
C++
false
false
974
cpp
函数对象-01基本使用.cpp
#include <iostream> #include <string> using namespace std; class MyAdd { public: int operator ()(int a, int b) { return a + b; } }; //1.函数对象在使用时,可以像普通函数那样调用,可以有参数,可以有返回值 void test01() { MyAdd myAdd; cout << myAdd(10, 10) << endl; } //2.函数对象超出普通函数的概念,可以有自己的状态 class MyPrint { public: MyPrint() { this->count ...
bcdc337edd65007271c9650ab44dc0cc1000ef38
e62e9de0df6f0e2d950ef1baae5c5e7dedf3e5aa
/inc/15.hpp
a56c74dce703bf96b2958276f5009a8d76da9686
[]
no_license
LevonMuradyan/Algorithmic-exercises
d7542ff07a59fcf87bd102bb2734e08fc8c47b3f
72c1af49f8b4bf58ba26229c957d5b5a5c5b7079
refs/heads/master
2020-12-11T11:21:32.823585
2020-01-20T11:51:46
2020-01-20T11:51:46
233,834,192
0
0
null
null
null
null
UTF-8
C++
false
false
91
hpp
15.hpp
#ifndef _15_HPP__ #define _15_HPP__ std::pair<int, int> minAndMax(); #endif // _15_HPP__
1a02dd337c0120aedbd51607a39fd3a5667d85ac
050afef05e38abc2f2d70265f42559442e325452
/搜索/Soj 1014 Specialized Four-Dig.cpp
8fdbb957dd7d3c4900f5b3d4b4e5ba8b99abf04b
[]
no_license
zzm99/Algorithm-Training
3332685a14a02597524f51b6bf0ff7876d8cc5b3
b1e8df1116dfca9694a06c8b5efafb78ac42724c
refs/heads/master
2023-02-17T01:28:46.792766
2021-01-03T08:14:59
2021-01-03T08:14:59
271,560,570
1
0
null
null
null
null
UTF-8
C++
false
false
574
cpp
Soj 1014 Specialized Four-Dig.cpp
#include <cstdio> using namespace std; int main() { for(int i = 2992; i <= 9999; i++) { int temp = i, sum = 0, sum_16 = 0, sum_12 = 0; while(temp > 0) { sum += temp % 10; temp /= 10; } temp = i; while(temp > 0) { sum...
89f05aea2f12189ae506bb282900c29f1fd48ee3
24dec428c42a4835208950cef330016419ce06fc
/src/compressor_fixed.hpp
34b49e98c4a792f8f589820fc56252bcab0f50a3
[]
no_license
tmager/COMP150-lzw
7c134ccbdf168e8d9193855463eb0342d24eaec0
f76c4efb2ad2a63f3bbe24ece08da5c11afe1f53
refs/heads/master
2021-01-20T09:55:13.872474
2017-05-13T20:22:58
2017-05-13T20:22:58
90,301,684
0
0
null
null
null
null
UTF-8
C++
false
false
768
hpp
compressor_fixed.hpp
#include "compressor.hpp" #include <stdint.h> #include "dictionary.hpp" #ifndef __COMPRESSOR_FIXED_HPP__ #define __COMPRESSOR_FIXED_HPP__ class Compressor_Fixed : public Compressor { public: Compressor_Fixed(std::string infname, std::string outfname, std::string statsfn...