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
3d183633a51ba2e97ff5c45f97a3c26a33e666af
f90920085074e79a37048155750b80e5e884c5d2
/mmcesrv/mmcemediamanager/src/mceaudiosdpcodec.cpp
404b9ce382baa1c0672c4b3da1a6b51ad88b0d51
[]
no_license
piashishi/mce
fec6847fc9b4e01c43defdedf62ef68f55deba8e
8c0f20e0ebd607fb35812fd02f63a83affd37d74
refs/heads/master
2021-01-25T06:06:18.042653
2016-08-13T15:38:09
2016-08-13T15:38:09
26,538,858
1
1
null
null
null
null
UTF-8
C++
false
false
19,166
cpp
mceaudiosdpcodec.cpp
/* * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" * which accompanies this distribution, and is available * at the URL "http://www.eclipse.org/legal/epl-v10.h...
db38a2663011df311a1d7ec436e8fd5c652c3ae9
549270020f6c8724e2ef1b12e38d11b025579f8d
/recipes/rttr/all/test_package/test_package.cpp
99d52f686af40e2d4244e85cc1e2d13791f7c086
[ "MIT" ]
permissive
conan-io/conan-center-index
1bcec065ccd65aa38b1fed93fbd94d9d5fe6bc43
3b17e69bb4e5601a850b6e006e44775e690bac33
refs/heads/master
2023-08-31T11:34:45.403978
2023-08-31T11:13:23
2023-08-31T11:13:23
204,671,232
844
1,820
MIT
2023-09-14T21:22:42
2019-08-27T09:43:58
Python
UTF-8
C++
false
false
265
cpp
test_package.cpp
#include <cstdlib> #include <iostream> #include <vector> #include <rttr/type> using dblvec = std::vector<double>; int main() { auto type = rttr::type::get<dblvec>(); std::cout << "type name: " << type.get_name() << std::endl;; return EXIT_SUCCESS; }
5fb2991a7aa951889372eba1cc81fef97c7971b6
3535e4405ccc5f167f823dd8655b2176a79fb259
/source/core/libraries/support/objlib.h
fa8e73ad6fa7ab0c739f9618027124feb8603f6f
[]
no_license
longhuarst/cosmos
21ce99cfc6d527fddef236a7a97926ab7280717c
3058862797d3289eb5716c389af6cd9b095aef95
refs/heads/master
2023-03-17T10:48:34.462942
2020-02-10T13:36:38
2020-02-10T13:36:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,871
h
objlib.h
#ifndef OBJLIB_H #define OBJLIB_H #include "support/configCosmos.h" #include "math/mathlib.h" #include "math/vector.h" using Cosmos::Math::Vector; namespace Cosmos { class wavefront { public: wavefront(); struct vertex { size_t v; size_t vt; si...
b2a7d494ebb83c9dbb5ef9e1ea59986b75c966f9
df956432e88cf5c106b76389df50500eefe174a8
/Server/Player.cpp
16c98ac58f4c816081b8649cc70e36709df3c5da
[]
no_license
BuzzBumble/BumbleMUD
a0ebd5a0000b29052b3fff12ea62c7636ebfde01
26d0a28e5848ffa122f706c6f39db1886cc33d58
refs/heads/master
2023-08-29T22:22:36.469672
2021-10-04T11:26:13
2021-10-04T11:26:13
375,313,670
0
0
null
null
null
null
UTF-8
C++
false
false
358
cpp
Player.cpp
#include "Player.h" Player::Player(const std::string& name, const std::string& description, const net::Address& addr, int sockfd) : Character(name, description) , addr(addr) , sockfd(sockfd) { } bool Player::init() { // Add character to the server Character::init(); // If character was not added successfully r...
9d152c14a57e09a6f169820833471e139058c759
2c1fda822d7cab2ffae1cae1d22cab3ffc8b8047
/AFC/include/AObject.h
51e2043d4fd6fdaab11ae5551aa6c25b62be678a
[ "BSD-3-Clause" ]
permissive
cnsuhao/BaijieCppUILib-2
9cd33a3f74364ccb3d1910b560748b86c55de928
7771f225d854c69bc129d983cfcb10d672e1eacd
refs/heads/master
2021-06-24T07:45:37.960105
2015-01-19T05:34:04
2015-01-19T05:34:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
732
h
AObject.h
#ifndef AOBJECT_H #define AOBJECT_H #define CLASS_INFO(TYPE,PARENT) \ public:\ AObject* ToClass(LPCTSTR pstrName)\ {\ if( pstrName != NULL && _tcscmp(pstrName,_T(#TYPE)) == 0 ) return this;\ else return A##PARENT::ToClass(pstrName);\ }\ LPCTSTR GetClass() const\ {\ return _T(#TYPE);\ }\ typedef A##TYPE s...
a6ab14cc1e75aa64d7917f1cf9b9624035b4d923
36cc691b0cc4935acd8554b30e5e162fe79b17e4
/algorithms/cscw.cpp
e99178db3d2cba925a5af89e4cc75361028ebce6
[]
no_license
tangruize/coeditor
a216c75978bab042c1244344591af97c4185c9f3
696f4ff5ba53797078fe078e99a6e867f21aec7d
refs/heads/master
2021-01-23T16:12:54.891429
2019-03-07T03:05:12
2019-03-07T03:05:12
102,731,873
8
1
null
null
null
null
UTF-8
C++
false
false
1,003
cpp
cscw.cpp
#include "data_trans.h" const char *ALGO_VER = "CSCW"; static unsigned local, global; static deque<trans_t> outgoing; static void Generate(const op_t &op) { trans_t msg; msg.op = op; msg.state = global; writeRemote(msg); msg.state = local; outgoing.push_back(msg); ++local; } static void ...
14951a9423f94fdb386493c83a3b169db3551667
6d241b3146ecb542bc0cc469777c2175e2a341e5
/224A.cpp
754b928377175745aa30173d551a540cdc449f18
[]
no_license
jagadeeshnelaturu/codeforces_solutions
d0a84f4c6e3ce94b6c8ee48b5139e4b5352eb902
9e058517d86d05b4770bfa1a4b2269edf796acac
refs/heads/master
2020-05-17T16:24:01.504974
2015-09-09T17:35:15
2015-09-09T17:35:15
42,130,641
0
0
null
null
null
null
UTF-8
C++
false
false
285
cpp
224A.cpp
#include <iostream> #include <cmath> typedef long long int ll; int main() { ll a1, a2, a3; std::cin >> a1 >> a2 >> a3; ll x, y, z, product; product = sqrt(a1 * a2 * a3); x = product / a1; y = product / a2; z = product / a3; std::cout << ((x + y + z) << 2) << '\n'; }
d7b700c6ec4e7e575a7fd856a667c143dbe571dd
4fcf2967da46f37c831b72b7b97f705d3364306d
/problems/acmicpc_13623.cpp
afd5ee86d957ba53ed0c89ae38ea4b2429aa5758
[ "MIT" ]
permissive
qawbecrdtey/BOJ-sol
e2be11e60c3c19e88439665d586cb69234f2e5db
249b988225a8b4f52d27c5f526d7c8d3f4de557c
refs/heads/master
2023-08-03T15:04:50.837332
2023-07-30T08:25:58
2023-07-30T08:25:58
205,078,469
0
0
null
null
null
null
UTF-8
C++
false
false
327
cpp
acmicpc_13623.cpp
#include <cstdio> int main() { int x = 0, y; for(int i = 0; i < 3; i++) { scanf("%d", &y); x |= (y << i); } switch(x) { case 0: case 7: printf("*"); break; case 1: case 6: printf("A"); break; case 2: case 5: printf("B"); break; case 3: case 4: printf("C"); break; default: __builtin_unreachable(...
9799e2c95f879d7f0c5a9f3219d18b46c636a477
0b9501f8fc7d6c00d54757d7258945d159ee8d64
/slsv_cnc/src/Coverage/ToggleCoverage.cpp
f15e16d903988bfeb2d318934359f6139e97f91d
[]
no_license
command-paul/slsv-master
34f92f3b202f9c0ba4f76e1f563e5a25dc2bc956
a703bfaa8031e18e3fb74d3f1f2f4544c75a73ef
refs/heads/master
2021-03-30T15:36:12.004635
2018-08-20T23:23:42
2018-08-20T23:23:42
120,571,860
0
1
null
null
null
null
UTF-8
C++
false
false
706
cpp
ToggleCoverage.cpp
#include"Coverage.hpp" #include <iostream> #include <vector> // Public Access Status Functions bool ToggleCoverage::update(){ return true; } std::pair<bool,std::vector<uint64_t>> ToggleCoverage::event(){ std::pair<bool,std::vector<uint64_t>> a; return a; } std::pair<bool,std::pair<std::string,std::vector<uint64_t>...
bddba0f01b0271e80a46cd6e36a6b68369bc4a4c
da7c499625123f5d1a28e3d75b037523df11ccb5
/devel/coda/src/evio/main/etst7.cc
0b79c0753a33dfb16949bd9e28bd447d0ded3753
[]
no_license
emuikernel/BDXDaq
84d947b0a4c0c1799a855dbe6c59e9560a8fc4e2
cf678d3b71bdfb95996e8b7e97ad3657ef98262f
refs/heads/master
2021-01-18T07:26:38.855967
2015-06-08T15:45:58
2015-06-08T15:45:58
48,211,085
3
2
null
2015-12-18T02:56:53
2015-12-18T02:56:52
null
UTF-8
C++
false
false
2,527
cc
etst7.cc
// example of evio tree and bank manipulation // ejw, 11-jan-2007 #include <vector> #include "evioUtil.hxx" #include "evioFileChannel.hxx" using namespace evio; using namespace std; uint16_t tag; uint8_t num; int len; ContainerType cType; vector<uint32_t> uVec1,uVec2; double dBuf[100]; int iBuf[100]; vector<i...
09792784deb4b73631500242a36089d9fbd11f15
10eccad146f4cfa83c2dde2c78e7859ccbf752f1
/uitbc/src/gui/uifilenamefield.cpp
da51e17f1d252bff71f38a1070e802e1e272491a
[ "BSD-3-Clause" ]
permissive
highfestiva/life
4b7098432efc46e8dae7bcede4eee39e090d2772
b05b592502d72980ab55e13e84330b74a966f377
refs/heads/master
2020-05-25T15:45:46.557932
2019-06-07T11:29:30
2019-06-07T11:29:30
58,243,887
10
0
null
null
null
null
UTF-8
C++
false
false
5,223
cpp
uifilenamefield.cpp
/* Class: FileNameField Author: Jonas Byström Copyright (c) Pixel Doctrine */ #include "pch.h" #include "../../../lepra/include/diskfile.h" #include "../../../lepra/include/path.h" #include "../../include/gui/uifilenamefield.h" #include "../../include/gui/uipopuplist.h" #include "../../include/gui/uidesktopwindow....
b81bc0e934c14cc22e083fab07082cf2c62c0857
990417fd4a1b4997141356cba848384852a981b7
/P4-2/src/BigQ.h
a0bc67941bcebfbd74619e9abbd10ea02ee3c132
[]
no_license
TonyBY/DataBase-System-Implementation
d56b857279047961776778e7d579e64ad1f9adce
1436dcfad78c3791913408a5d6c7fc9013ae718d
refs/heads/master
2022-04-25T13:55:34.374538
2020-04-28T18:50:04
2020-04-28T18:50:04
234,332,334
3
1
null
null
null
null
UTF-8
C++
false
false
4,040
h
BigQ.h
#ifndef BIGQ_H #define BIGQ_H #include <algorithm> // std::sort #include <iostream> #include <pthread.h> #include <queue> #include <stdexcept> #include <string> #include <vector> #include "Comparison.h" #include "ComparisonEngine.h" //#include "DBFile.h" #include "Defs.h" #include "Pipe.h" #include "Schema.h" #incl...
28889aced81b41cfb5af71fdff8d8003ec765d5c
749e36171eb184f5a3941b129040edca63679f6e
/src/Context.cpp
2ad4b1570e5e75725cd93db780a52615566ded8a
[ "MIT" ]
permissive
droidream/dukv8
822d9d3ea65d6cb9603cdd5c495de02ae3262bf4
2eb03526b680ad50055e5499141fe45f70a6bbfe
refs/heads/master
2021-01-10T12:19:05.401428
2015-06-03T04:56:49
2015-06-03T04:56:49
36,780,487
2
1
null
null
null
null
UTF-8
C++
false
false
3,577
cpp
Context.cpp
// // Created by Jiang Lu on 6/2/15. // #include <cassert> #include <dukv8/Context.h> #include <dukv8/Persistent.h> #include <dukv8/Isolate.h> #include <dukv8/Local.h> #include <dukv8/Object.h> namespace v8 { Context *Context::s_current_context_ = NULL; Context::Context() : previous_context_(NULL) { // p...
b69ed6ec49042cc158e91dbdc2903dcb1b1ec3b5
b6a1a60bb089d9ffc20d0e8c1f49c49b767c7df2
/CS375/Longest Common Subsequence/program1.cpp
2db5b4383e87a157daa82182f8370f0fede17047
[]
no_license
audendana/University-Work
bcb275d8e016f1b25208aec67a9e9e76658a9389
83c6a8137958c3a6fafc73479dfc67a99d076748
refs/heads/master
2020-04-29T14:05:49.724441
2019-03-28T19:53:31
2019-03-28T19:53:31
176,184,947
0
0
null
null
null
null
UTF-8
C++
false
false
2,538
cpp
program1.cpp
#include <iostream> #include <string> #include <fstream> #include "readInput.h" using namespace std; void lcs(string str1, string str2, string outputFile){ int m = str1.length(); int n = str2.length(); int LCS[m+1][n+1]; // create matrix for(int i=0;i<=m;i++){ for(int j=0;j<=n;j++){ ...
ad8d0d3791816d2e9ec257974b31aeed5c4e0984
15d0f88893f33bc0b60154b303b58ba0fdca7d53
/src/queuethread.cpp
60794d585bc63b110ed7fce4362b0d4c778e6e9e
[]
no_license
fxh707/VisionSDK
ed1ad0e7c706af0ccdd703b5fd276123b81bee74
7eac0f6720a3ce4e0ac0d8d7330963f62a852011
refs/heads/master
2020-08-10T10:34:20.473987
2019-02-28T04:47:28
2019-02-28T04:47:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,090
cpp
queuethread.cpp
#include "queuethread.h" QueueThread::QueueThread(QObject *parent) : QThread(parent) { m_stop = false; s_pause = false; b_pause = true; } QueueThread::~QueueThread() { stop(); while(isRunning()) wait(100); qDebug() << "QueueThread : Terminated" << endl; } void QueueThread::m...
996236e9664519f4606e8e6a9f00905df5b7c769
07b73cd7a7a00829a3c234d73f9e14cdd1a774d9
/lib/include/xnetwork/algorithms/centrality/tests/test_eigenvector_centrality.h
afd7e30586c53962f27577dedd8aed191a378059
[ "MIT" ]
permissive
luk036/xnetwork
b70b0a27e46f9a78c82925786b35d9122ad28180
462c25da3aead6b834e6027f4d679dc47965b134
refs/heads/master
2021-07-23T18:42:16.184275
2021-07-13T10:41:07
2021-07-13T10:41:07
136,568,996
2
1
MIT
2021-06-29T06:43:39
2018-06-08T05:07:19
C++
UTF-8
C++
false
false
5,064
h
test_eigenvector_centrality.h
// !file C++17 import math from nose import SkipTest from nose.tools import * #include <xnetwork.hpp> // as xn class TestEigenvectorCentrality: public object { numpy = 1 // nosetests attribute, use nosetests -a "not numpy" to skip test /// @classmethod auto setupClass(cls) { global np tr...
49f972a7c8d9fca3dfb486e71d42e7b6d66d757a
fa7feda744825b8bfd84a739905f00ec5efee395
/10 - May 26/I/I.cpp
e337330e8bf8ab64afeb41a2b96f86cccdedd392
[]
no_license
thomasokubo/MC521
7c8dcfa185cea96cb6bd02ffe29972aa90479e25
54e415b1a43e2b48683df0227d43dba6bcc216b1
refs/heads/master
2020-03-23T08:03:26.855365
2018-07-25T22:26:43
2018-07-25T22:26:43
141,305,758
1
0
null
2018-07-24T22:56:50
2018-07-17T15:03:06
C++
UTF-8
C++
false
false
969
cpp
I.cpp
#include<cstdio> #include<cmath> int n, l, d; inline double abs(double x) { return x > 0 ? x : -x; } inline double maxtetal(int alturas[], int n, int jard) { double x, y, teta; double maximum = 0; for(int i = jard-1; i >= 0; i--) { x = (jard-i)*d+(jard-i)*l; teta = atan(alturas[i]/x); if(teta > maximum) ma...
16a4a333485824bee189f63b7c9a389cf18e9d01
e1f47354fad7be71d783529fa3376f9b337d09ae
/src/ffmpegmediatypes.cpp
3a7d202ab169ba3802fa3ec9228c543807a6d39b
[ "BSD-2-Clause" ]
permissive
hokiedsp/matlab-ffmpeg
eb35db927eb15f05d926f945ce82df3a1a035f56
60162157ab8e6ac1c4a4e6e8894e95a6eb2099ed
refs/heads/master
2021-01-25T04:41:37.515833
2019-11-17T15:39:44
2019-11-17T15:39:44
93,463,831
5
0
null
null
null
null
UTF-8
C++
false
false
1,341
cpp
ffmpegmediatypes.cpp
#include <memory> #include <mex.h> extern "C" { #include <libavformat/avformat.h> #if CONFIG_AVDEVICE #include <libavdevice/avdevice.h> #endif } #include "utils/ffmpegMxProbe.h" #include <ffmpegException.h> #include "utils/mxutils.h" // types = ffmpegmediatypes(filename) void mexFunction(int nlhs, mxArray *plhs[], ...
2d5b96cac3385cf689179e2e969a1b2bf3850b1d
2afdff5b63f166f413a1129d98f0f12bfc83784f
/src/example_binding.cpp
61c0b0101c9ff274ba928e1aac81f73b7816cf49
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla" ]
permissive
skoch9/libigl-python-binding-experiments
5f2df60b40c384a320582eafb87a07ab9f3b85f0
eead802dbddda5b69ad36693f3da2d9bfa1fd9ab
refs/heads/master
2020-03-21T13:37:35.529542
2018-06-17T18:32:25
2018-06-17T18:32:25
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,276
cpp
example_binding.cpp
#include <pybind11/pybind11.h> #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <numpy/arrayobject.h> #include <pybind11/numpy.h> #include <igl/cotmatrix.h> #include <iostream> #include <tuple> #include "eigen_typedefs.h" namespace py = pybind11; using namespace std; #define CRAZY1 #define CRAZY2 #define...
43b7248e066cb1fa26310559acef3b458ac67413
54ec3f947ba946f649a62e59a787f2d9f7650b4e
/Spike Engine/src/UI/Widget/Widget.cpp
f6bd47299ea18723484d6193de3ea862ad159aae
[]
no_license
mandliors/SpikeEngine
144e146961f687b5b616934df01462b92c274a28
12814cf3fdebf36421904a5ba7902d5c6358c4c9
refs/heads/master
2023-08-22T03:43:29.062250
2021-10-04T18:41:08
2021-10-04T18:41:08
284,740,495
0
0
null
null
null
null
UTF-8
C++
false
false
1,544
cpp
Widget.cpp
#include "Widget.h" #include "Input/Input.h" #include "Math/Math.h" namespace Spike { Constraint* Widget::GetConstraint() { return m_Constraint; } void Widget::SetConstraint(Constraint* constraint) { if (m_Constraint != nullptr) delete m_Constraint; m_Constraint = constraint; Recalculate(); } void...
d12df6bcc33b699bfcd19833d3058b2bfa3d7e85
0254f2ee4fde7362762a32cf8e59612271c63c87
/src/plugins/schedule/dayselector.cpp
56126cafdec0cd763c548faf22780df216e99fde
[]
no_license
alexey-zayats/athletic
9a97f7f221bd3671df43ac65642df2916ba42a0b
0c65552d32a7bf581b03f0311e6764aaa60e1690
refs/heads/master
2020-05-22T01:31:14.186306
2017-07-10T12:06:58
2017-07-10T12:06:58
64,463,265
0
0
null
null
null
null
UTF-8
C++
false
false
1,051
cpp
dayselector.cpp
#include "dayselector.h" #include "monthline.h" #include "scheduleicons.h" #include <QLabel> #include <QToolButton> #include <QHBoxLayout> #include <QDate> namespace Schedule { DaySelector::DaySelector(QWidget *parent) : QWidget(parent), m_calendarButton(0), m_currentLabel(0), m_monthLine(0) {...
a0c3663b8fa65000c285d2c57deeefbd130cc7fd
bb90ad20468f9fe2039b8c16858bd8eae8bbc050
/src/http/http2_callbacks.h
45634231ca5ae67d86fae4ca06c89e6f68794273
[ "Apache-2.0" ]
permissive
microsoft/CCF
0997fd81a924d36d775b219720b26b4ff196b18a
2fbf87840b9e8334c141f4a9c9b25aae979b0540
refs/heads/main
2023-09-05T15:39:37.265089
2023-09-05T15:27:25
2023-09-05T15:27:25
180,112,558
687
229
Apache-2.0
2023-09-14T14:28:39
2019-04-08T09:13:04
C++
UTF-8
C++
false
false
8,583
h
http2_callbacks.h
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache 2.0 License. #pragma once #include "ccf/ds/logger.h" #include "ccf/http_configuration.h" #include "http/http_exceptions.h" #include "http2_types.h" #include "http2_utils.h" namespace http2 { static ssize_t read_outgoing_callba...
717d60631a6e8bfc3eb6d708e6ce3a73b4dd7540
d7784cb9ce174ec5091d327b21ebcf4c6c507388
/atcoder/abc/045/a.cpp
abc00b7f1b527a808601e837c63ad59b967f28d9
[]
no_license
mmxsrup/procon
3a349b10c852ad593ecedcdd1c9fdb93cb8d8f3b
af059cc3f6786db71f0077d1ec5d902171b9860a
refs/heads/master
2021-01-17T15:05:05.580007
2017-12-06T07:52:53
2017-12-06T07:52:53
84,103,106
0
0
null
null
null
null
UTF-8
C++
false
false
157
cpp
a.cpp
#include <iostream> #include <cstdio> using namespace std; int main(void){ int a, b, h; cin >> a >> b >> h; printf("%d\n", (a + b) * h / 2); return 0; }
9a0667cebc89de083519e31484d4ef8802de2144
826c2762805e39ac1c080091e7f4f642fb41e19a
/ouniverse_2019_UE4_source/retired code/UiDraft2(UMG)/UiBase.h
56c5af4c94bfbc7ce09707d5bcabcfa8ded6a403
[]
no_license
legendofceo/ouniverse_ue_cpp_source_deprecated_pre2022
fe625f69210c9c038202b8305495bdf373657ea8
729f12569f805ce74e602f8b13bab0ac318358a5
refs/heads/main
2023-08-12T19:14:39.216646
2021-10-17T16:19:29
2021-10-17T16:19:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,321
h
UiBase.h
//Copyright 2015-2019, All Rights Reserved. #pragma once #include "Blueprint/UserWidget.h" #include "UiBase.generated.h" UCLASS(Blueprintable) class OUNIVERSE_API UUiBase : public UUserWidget { GENERATED_BODY() public: UFUNCTION(BlueprintImplementableEvent, meta = (DisplayName = "BaseOpen")) void BaseOpen(); ...
f380582d0362fe944d8b40641a0578f2d5503749
229f25ccda6d721f31c6d4de27a7bb85dcc0f929
/solutions/uri/graph/1469 Boss/solution.cpp
c69cf63b27af444789072b50048a581d73696fd5
[]
no_license
camil0palacios/Competitive-programming
e743378a8791a66c90ffaae29b4fd4cfb58fff59
4211fa61e516cb986b3404d87409ad1a49f78132
refs/heads/master
2022-11-01T20:35:21.541132
2022-10-27T03:13:42
2022-10-27T03:13:42
155,419,333
0
0
null
null
null
null
UTF-8
C++
false
false
1,452
cpp
solution.cpp
#include <bits/stdc++.h> #define endl '\n' using namespace std; const int INF = 1e9; const int MXN = 505; int n, m, q; int ages[MXN]; int emp_node[MXN], node_emp[MXN]; bool vis[MXN]; vector<int> g[MXN]; int dfs(int u) { vis[u] = 1; int ans = ages[node_emp[u]]; for(auto & v: g[u]) { if(!vis[v]) ans...
9a5c410f3941bcccc440b1a7d93d3b441e2a5858
a94b34cd84828067d2e7aa66c298944b6e8f44b6
/tanks/tanks/movement.cpp
aa32f7bed7867bcb32c79e80c41859d68784c9cc
[]
no_license
RMan135/Tanks
8d32290fef150989a6778497f98121c73c3ffa7e
255b7b2f88072f7bf140df44474028a7e3d01eb0
refs/heads/master
2021-06-10T09:41:04.594512
2017-02-09T09:11:33
2017-02-09T09:11:33
75,870,478
0
0
null
null
null
null
UTF-8
C++
false
false
3,982
cpp
movement.cpp
#include "movement.h" #include <cmath> double distance(double x1, double y1, double x2, double y2) { return sqrt((x2-x1)*(x2-x1) + (y2-y1)*(y2-y1)); } bool canMoveStraightAtoB(double x1, double y1, double x2, double y2, double x3, double y3, short stepsSoFar, short nrSteps) { ...
ebfd5c049b7ff82098e6de7fc051ea44118ae423
9d9bf840c132949bda9b5c1402ba45509b0c82b1
/include/MarsTrickery.h
56d39af8ed537ab5972088316a0121ef76eced74
[]
no_license
oderayi/cpp
5fcbffd70ea8fde3590403065d450ea7d6021c00
57395bdf194f185eaefbcffa321facc8572cdd6d
refs/heads/master
2020-03-25T22:01:21.929938
2018-08-25T07:08:40
2018-08-25T07:08:40
144,201,512
0
0
null
null
null
null
UTF-8
C++
false
false
266
h
MarsTrickery.h
#ifndef MARSTRICKERY_H #define MARSTRICKERY_H class MarsTrickery { public: void setItems(int _items[]); void add(int left, int right, int inc); void print(); protected: private: int items[]; }; #endif // MARSTRICKERY_H
839668b0bbb01ffdd36ddb666b4076a7d890cf8c
b5f75cea3c0ce1b0016178b5e0a1408628665801
/src/graphics/Color.cpp
0ee1b75ffeada329ee6e7ddbbaf7f1ca175caaf7
[]
no_license
nonvirtualthunk/axc
9c688fc314ab0be48d4ee9ea39e2c305cb2bbe4d
99c0bb58484035e3434a8dd5e603c09b39bdec5e
refs/heads/master
2020-04-10T21:57:16.783110
2016-10-03T14:52:28
2016-10-03T14:52:42
65,208,455
0
0
null
null
null
null
UTF-8
C++
false
false
204
cpp
Color.cpp
// // Created by nvt on 8/21/16. // #include "Color.h" Color Color::operator*(const glm::vec4& v) { return Color((uint8_t) (r * v.r), (uint8_t) (g * v.g), (uint8_t) (b * v.b), (uint8_t) (a * v.a)); }
2d7e37ae7d9472c49e30b5b7fd573d35176674b8
7bf1ab093afb6c0e580383ae4733ba03a34bdb96
/Fila.h
446e0af60ec1050fe7ff224d9b9bdaf03d71d90b
[]
no_license
gabrieldep/FilaUploadAlmas
986ae3e9561830db27c518693fe20624af8df1c3
2acd36f9b6f23c2387296a49d99e82bd5b017cb6
refs/heads/main
2023-07-02T21:19:35.411192
2021-07-26T02:26:56
2021-07-26T02:26:56
382,723,765
1
0
null
null
null
null
UTF-8
C++
false
false
272
h
Fila.h
#pragma once #include "TipoCelula.h" class Fila { private: int tamanho; TipoCelula* frente; TipoCelula* tras; public: Fila(); ~Fila(); int GetTamanho(); bool Vazia(); void Enfileira(TipoCelula tipoCelula); TipoCelula Desenfilera(); void Limpa(); };
43504e4667df305cd80995f87bd82341bed9409c
13d1081bc5d46f979580438a772f47b7dc15550c
/Projects/Engine/MGEngine/Src/DEHScroll.cpp
d98e885a06232accc6fdce9d857f07ded9505229
[]
no_license
hackerlank/code-2
090035cc470d77a13a589419da7b04d0b97419e8
c8e72ad7ce7440001293a10619cd01efe5cfd22f
refs/heads/master
2021-01-13T15:50:39.784391
2014-06-16T14:00:06
2014-06-16T14:00:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,869
cpp
DEHScroll.cpp
//************************************************************************************************************* #include "stdafx.h" #include "DEHScroll.h" //************************************************************************************************************* namespace MG { std::map<MyGUI::HScroll*, PVOIDINT_CA...
136095e9f74817b9946143e9ef8d6c6e39603b60
7b797061b0caa328b416fae14805d1296300b9d5
/Source/Autotest/matrixtestsuite.h
cf8730e6602fedd5be817b77b1d724fc0e074cfb
[]
no_license
kevinchannon/gslpp
038087253bb39cef5cdccea8072393420a30e80b
5fdc3513a44dbcdf1a24f14685578693cb5f5f11
refs/heads/master
2020-12-24T13:17:22.854378
2012-03-04T10:39:51
2012-03-04T10:39:51
2,242,915
1
0
null
null
null
null
UTF-8
C++
false
false
1,131
h
matrixtestsuite.h
#pragma once #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> #include "globals.h" class MatrixTestSuite : public CPPUNIT_NS::TestFixture { CPPUNIT_TEST_SUITE ( MatrixTestSuite ); CPPUNIT_TEST ( Construction ); CPPUNIT_TEST ( MatricesAreEqual ); CPPUNIT_TEST ( ElementAccess ); C...
8e160cfd3dadbdd567fa79503e9a12425f1a2746
2153a7ecfa69772797e379ff5642d52072a69b7c
/ext/Objects/setobject-test.cpp
3bddbfcb9da0e2c89967ce75aba7b6d036148e6e
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "Python-2.0" ]
permissive
KCreate/skybison
a3789c84541f39dc6f72d4d3eb9783b9ed362934
d1740e08d8de85a0a56b650675717da67de171a0
refs/heads/trunk
2023-07-26T04:50:55.898224
2021-08-31T08:20:46
2021-09-02T19:25:08
402,908,053
1
0
NOASSERTION
2021-09-03T22:05:57
2021-09-03T22:05:57
null
UTF-8
C++
false
false
12,737
cpp
setobject-test.cpp
// Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) #include "Python.h" #include "gtest/gtest.h" #include "capi-fixture.h" #include "capi-testing.h" namespace py { namespace testing { using SetExtensionApiTest = ExtensionApi; TEST_F(SetExtensionApiTest, AddWithNonSetReturnsNegative) { Py...
251ddc55767d2b07142a4e54d780a91876960e41
293c8b540a413496b04a9e8391d1444bde4a7051
/estruturas.h
6c589d570e6d24b7a4d4a8c76959f5277dd3edd8
[]
no_license
wpramio/cpd-trabalho_final
b1214ae39987fefb0c50437e55fe8184ea01ab6c
a0728196921270309d9bd7595761065429ae6d8f
refs/heads/master
2020-09-16T14:48:58.940037
2019-11-28T20:02:22
2019-11-28T20:02:22
223,804,804
2
0
null
null
null
null
UTF-8
C++
false
false
2,961
h
estruturas.h
#ifndef _ESTRUTURAS_H #define _ESTRUTURAS_H #include <string> #include <list> #include "trietree.h" #include "hashtable.h" #include "Timer.h" using namespace std; #define KILO 1000 #define MEGA 1000000 class date { public: int year; int month; int day; int hour; int minutes; int seconds; ...
2e8b1a2109ab4390873554f45863c81a3114648e
419a522a345fe17fcc8d8feac6c2a2268fa62461
/GfxPrimitives/Line.cpp
5cf6ba5dc299aa0d9b30b1603139f87074c72f45
[]
no_license
nehlsen/Mates-for-LEDs
0621010833c8afd99212ed7a3403dafec7fc07a8
61da9f69fe91dacb2f68a9d9b8974a986ac35a9b
refs/heads/master
2023-02-27T06:35:26.477555
2020-11-02T18:48:44
2021-02-01T20:35:02
263,846,675
0
0
null
null
null
null
UTF-8
C++
false
false
2,445
cpp
Line.cpp
#include "Line.h" #include "../LedMatrix/color_utils.h" // line calc code adapted from AdafruitGfxLib // TODO add proper attribution Line::Line(): Line(0, 0, 0, 0, CRGB(0, 0, 0)) {} Line::Line(int16_t x0, int16_t y0, int16_t x1, int16_t y1): Line(x0, y0, x1, y1, CRGB(0, 0, 0)) {} Line::Line(int16_t x0, int1...
65413314cb5e4343f8d5737c66a037ead7fc4657
95ce9468473a899ad81d9e07c91a637b4af01659
/Cardlib/deck.h
97d433bc29a0911850faf6c109d4933c3071a329
[]
no_license
daxingyou/pdk_jb
b9322b836eaee24c1efcbfeb8cfb0eb3221b6c35
2837210ddc3f94c8f6798f12247dc805aa448cbe
refs/heads/master
2021-09-18T09:07:18.132693
2018-07-12T09:49:34
2018-07-12T09:49:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,809
h
deck.h
#ifndef _DECK_H_ #define _DECK_H_ #include <vector> #include "card.h" #include "hole_cards.h" //#include "community_cards.h" using namespace std; class Deck { public: static void initcards(std::vector<Card>& v); void fill(int type = 0); void empty(); int count() const; int type; bool push(Card card); bool...
25d950670821e13f93606eb36f195f520d5d29ed
f75023d84d96482b5b3214128bea6da51f23c7fb
/cpp/data/grid.cpp
48b3c3342be5cf04491a497b758c5cf5fdc943ec
[ "Apache-2.0" ]
permissive
Noxoomo/ml_lib
2c5b57c7b319fd7255b5c5879894243111c7baf7
69c6b9ea67540b014524b41ebf4da3431ead1954
refs/heads/master
2021-07-15T15:31:47.313523
2020-05-21T21:18:31
2020-05-21T21:18:31
150,850,473
1
1
Apache-2.0
2019-05-03T11:05:52
2018-09-29T09:50:48
C++
UTF-8
C++
false
false
1,223
cpp
grid.cpp
#include "grid.h" #include <util/io.h> void Grid::binarize(ConstVecRef<float> row, VecRef<uint8_t> dst) const { for (uint64_t f = 0; f < features_.size(); ++f) { dst[f] = computeBin(row[origFeatureIndex(f)], borders_[f]); } } void Grid::binarize(const Vec& x, Buffer<uint8_t>& to) const { assert(...
6f7c7094bd566566e628c4fe787699d84531757e
a3bc904f9d730daf899400b9d9ed591bce351d5c
/include/Game/StateMachine/StateEnemyAttack.h
bfa7b8e2be39e32cca18eb82acd6ff5f615c921d
[]
no_license
Kipetrovitchy/DabuitOverflow
068a1b7294d450a4235a69e22ce51c1b2c47afbc
aaf7f5aa5bfc36ac37d8840ed7bd8279e9b7c70e
refs/heads/master
2020-06-14T19:06:54.467954
2019-07-03T17:17:35
2019-07-03T17:17:35
195,097,401
1
0
null
null
null
null
UTF-8
C++
false
false
1,168
h
StateEnemyAttack.h
#ifndef __STATE_ENEMY_ATTACK_H__ #define __STATE_ENEMY_ATTACK_H__ #include <vector> #include "IController.h" #include "GameObject.h" #include "StateEnemy.h" namespace Game::StateMachines { #pragma region Typedefs typedef LowRenderer::GameObject GameObject; typedef Resources::Scene Scene; ...
c7538c889610f8a7a7d505c7e7850b86180a5bc2
eaf6fe7d073112da33afe81ebbb6f68ed61aa977
/修饰者模式/Beverage_Eg/Beverage/Soy.h
3785f55c9b0dd78813c3113bae02f132161e8a09
[]
no_license
DoWeb0504/DesignPatterns
3762c9dde9bac952eeaa9a91944227de4c0cd9c6
e345f94713d00bf345dd6173fb8195700a182222
refs/heads/master
2020-05-15T22:21:27.703885
2019-04-26T13:12:45
2019-04-26T13:12:45
182,523,982
1
0
null
null
null
null
UTF-8
C++
false
false
287
h
Soy.h
#pragma once #include "CondimentDecoration.h" class Soy : public CondimentDecoration { public: Soy(Beverage* beverage); ~Soy(); Beverage* beverage; string getDescription() { return beverage->getDescription() + ", Soy"; } double cost() { return beverage->cost() + 0.15; } };
7679f9a7b45aaaa212536c6bee315568d143c328
9fe626e7f45240360ecef4efe4116be5a599e530
/src/miner/blockbuilder.h
b225fecba787b150ad1eb5827762f0f98d0923aa
[ "MIT" ]
permissive
chain2/chain2
263d87ac6beb9b501a6a9428289068a8431ef537
62a44f5f56a4c2033e3b5b5e12b8bcdd684fa8ef
refs/heads/master
2023-08-07T13:52:56.225424
2023-07-28T02:36:39
2023-07-28T02:36:39
166,445,629
4
4
MIT
2019-12-17T18:20:08
2019-01-18T17:14:15
C++
UTF-8
C++
false
false
2,928
h
blockbuilder.h
#ifndef BITCOIN_MINER_BLOCKBUILDER #define BITCOIN_MINER_BLOCKBUILDER #include "consensus/tx_verify.h" #include "versionbits.h" // ThresholdState #include "miner.h" // UpdateTime namespace miner { class BuilderEntry { public: BuilderEntry(const CTransaction* t, uint32_t sigopcount, const CAmount& fee) :...
cd2d314617e2929a4a334cdf7db22e0ed182745a
a5a71616f19712ef856fdce7d8cb518aeedb0e30
/main_oud.cpp
e97d2226cfd8a17d4b694ffd7204cb80e4ec3228
[]
no_license
pjvksoft/opengl5
11d7b26544f6ca46a91ad49bf20c0ec6b8cdbad2
6d692ff4246d24627c05669a1f13efed1acefdec
refs/heads/master
2020-05-30T00:20:56.509168
2015-01-02T01:49:23
2015-01-02T01:49:23
28,700,162
0
0
null
null
null
null
UTF-8
C++
false
false
6,366
cpp
main_oud.cpp
#include <iostream> #include <cstdlib> //#include <cstdlib> #include <cmath> #include <vector> #include <GL/glut.h> #include "RgbImage.h" #define PI 3.141592653 //..... //map float map[100][100]; float x,y,z; float rx,ry,rz; float spinx=0.0; float spinz=0.0; float hoekbeen=0.0; float hoekarm1=0.0; f...
02bfa228ef26a5162926cf2d753e52b28d53606a
819d76719682d05726f9dbde730889e40c8b8f6b
/MFCWindowsProgramming/WindMill.cpp
829d2e2c193d72bbd03386937c673a4848217dd9
[]
no_license
kolibreath/HomeWorks
8df16374572efee13b82094cf2f6666bfae87d27
db051161b4ddb9ce0d7cb9a88afb0b7345c196e5
refs/heads/master
2021-06-20T17:45:28.152383
2019-09-26T02:12:54
2019-09-26T02:12:54
134,393,265
1
2
null
2018-12-02T13:04:19
2018-05-22T09:38:07
C++
UTF-8
C++
false
false
4,016
cpp
WindMill.cpp
/*----------------------------------------------------- SCRNSIZE.C -- Displays screen size in a message box (c) Charles Petzold, 1998 -----------------------------------------------------*/ #include <windows.h> #include <tchar.h> #include <stdio.h> #include <math.h> #define PI 3.1415926 double alpha = ...
e8c461f81b1e6b13b0292a13e323eea551d4b3b2
0577a46d8d28e1fd8636893bbdd2b18270bb8eb8
/ui/views/vivaldi_bookmark_menu_views.h
cd25141edb5e1f0578d75164b88eea0bac48b6b6
[ "BSD-3-Clause" ]
permissive
ric2b/Vivaldi-browser
388a328b4cb838a4c3822357a5529642f86316a5
87244f4ee50062e59667bf8b9ca4d5291b6818d7
refs/heads/master
2022-12-21T04:44:13.804535
2022-12-17T16:30:35
2022-12-17T16:30:35
86,637,416
166
41
BSD-3-Clause
2021-03-31T18:49:30
2017-03-29T23:09:05
null
UTF-8
C++
false
false
1,974
h
vivaldi_bookmark_menu_views.h
// // Copyright (c) 2019 Vivaldi Technologies AS. All rights reserved. // #ifndef UI_VIEWS_VIVALDI_BOOKMARK_MENU_VIEWS_H_ #define UI_VIEWS_VIVALDI_BOOKMARK_MENU_VIEWS_H_ // Used by all desktop platforms #include "chrome/browser/ui/views/bookmarks/bookmark_menu_controller_observer.h" #include "ui/vivaldi_context_menu....
914c59f7bed32722d6241cfac01e98a7c6a8c887
76dbbc75c67d0f620dea9ff81473102dca0e05c8
/03-group-assignments/01-assignment/PriorityString.hpp
2610a9834de373d6948427072110f76e16615a58
[]
no_license
darthHunterous/mac0219
7821f57d3ecb8b43b25335f25e2a3cfbd8f8449e
bcb2fe0c8cd563b11942ce0b78ee939aa035a801
refs/heads/master
2020-05-04T16:43:28.547842
2019-09-24T12:08:49
2019-09-24T12:08:49
179,286,073
0
0
null
null
null
null
UTF-8
C++
false
false
351
hpp
PriorityString.hpp
#include <stdio.h> #include <stdlib.h> #include <string> using namespace std; class PriorityString { public: long long priority; string value; PriorityString(long long _priority, string const stringvalue); bool operator< (PriorityString const& other) const; bool operator> (PriorityS...
196238b8657b8f48ded35d4229ce664034118d67
14140c915a0b30c455ab11edb3f2ab31b682d8dc
/game.hpp
a46fcb633186e3647a576295b3f4fbeabd1ca5ea
[]
no_license
shanirub/cpp-project
297dcd60cc62b7f673087855eb7262b9ad2f10ed
867f304dff85cc92a098fe8205b8bc8401086c03
refs/heads/master
2020-12-09T22:40:49.975394
2020-02-27T20:05:53
2020-02-27T20:05:53
233,437,393
1
0
null
2020-09-04T16:27:24
2020-01-12T18:18:12
C++
UTF-8
C++
false
false
1,672
hpp
game.hpp
#include<string> using namespace std; class game { private: int MAX_NMISS = 10; // max. number of misses allowed string VALID_GUESS = "abcdefghijklmnopqrstuvwxyz"; // a string containing the allowed guesses (all the letter) int nguess; // number of guesses made so far int nmiss; //...
693b94e3b4b46249b5068d27b65171293ccafa1e
f60e3fec8cc4ad4ee27b3fd600d98f832aa5e610
/include/latbuilder/Task/Eval.h
964cd2589b9f6c9eac54defb52f298eac548647d
[ "Apache-2.0" ]
permissive
umontreal-simul/latnetbuilder
9ccb4dddd0e9f56b7c231fbf6761425e70776ccc
369fbeffcc70fc8706f237089d32f9d7473dce61
refs/heads/master
2022-11-05T19:56:26.541869
2022-10-27T13:18:13
2022-10-27T13:18:13
54,502,469
13
3
NOASSERTION
2022-10-22T01:43:22
2016-03-22T19:19:51
C++
UTF-8
C++
false
false
3,546
h
Eval.h
// This file is part of LatNet Builder. // // Copyright (C) 2012-2021 The LatNet Builder author's, supervised by Pierre L'Ecuyer, Universite de Montreal. // // 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...
8e4e8e81d97fa258ab0deaacfa407b78f6b05e89
edbecc215abe91f188e9f979dd8857051efe88c3
/CoinMaster.cpp/Product.h
0db4457327dbccce90d6828b7b72fd428ee3a5f2
[]
no_license
Allie251B/Object-Oriented-Programming_practicum_2021
8ce36d290129b217278bde434038e41d0678e844
a2a137aac2a73c93f027a03bb220235bde776673
refs/heads/main
2023-04-20T14:25:07.443182
2021-05-16T14:10:21
2021-05-16T14:10:21
null
0
0
null
null
null
null
UTF-8
C++
false
false
631
h
Product.h
#pragma once #include "Coin.h" class Product { private: char* product_name; double product_price; // cenata e v lev. double product_discount; coinSide discount_chance; public: Product(); Product(Product& other); Product(const char* name, double _price, double _discount); ~Product(); void setN...
0bb5e9304018c6921f2a34ee13d60d7333daa3f3
5e2961e1aa978c822a626c8e31a2eef0a3998546
/temperature.ino
129ba6b6470c7a9e8d0386e50dfc335183037df2
[ "Unlicense" ]
permissive
Greyroot328/Arduino-with-LM35-TemperatureSensor
e0083e85c179a6ee3b9732f505900b6c7982dc91
da15d019b1e4cba70c2b210c3363abc790cf4c54
refs/heads/master
2021-07-04T23:11:08.807183
2020-10-04T17:02:36
2020-10-04T17:02:36
183,558,972
2
0
null
null
null
null
UTF-8
C++
false
false
660
ino
temperature.ino
// Copyright to Naman Sinha // https://namansinha.in int Relay1=8; int Relay3=10; float temp; void setup() { Serial.begin(9600); pinMode(Relay1,OUTPUT); pinMode(Relay3,OUTPUT); digitalWrite(Relay1,LOW); digitalWrite(Relay3,LOW); } void loop() { temp = analogRead(A0); temp = temp * ...
f0440d56021fb3cf834483b6fef8c41f465f1fd8
11433a3d403e232913aefdff439d6a59fbbda4c5
/src/binutils_macros.h
cf7740b8d672de97c17f76ce60000ac480d3f142
[]
no_license
google-code/binutils
4e63d44a98854018dd8559b333042cca852967f3
a9c55ac88fc53fb5b9684007391ad424d45c36d7
refs/heads/master
2016-09-06T23:06:33.602768
2015-03-15T22:28:31
2015-03-15T22:28:31
32,287,392
0
0
null
null
null
null
UTF-8
C++
false
false
4,896
h
binutils_macros.h
/** * ============================================================================= * binutils * Copyright(C) 2013 Ayuto. All rights reserved. * ============================================================================= * * This program is free software; you can redistribute it and/or modify it under * the te...
52833678bf9b70183aa879d9c2550aa3b8b4d939
8f50c262f89d3dc4f15f2f67eb76e686b8f808f5
/TileCalorimeter/TileEvent/src/TileRawChannel.cxx
cc44d76b1100b2ad60ff7c6e0930688e439d5711
[ "Apache-2.0" ]
permissive
strigazi/athena
2d099e6aab4a94ab8b636ae681736da4e13ac5c9
354f92551294f7be678aebcd7b9d67d2c4448176
refs/heads/master
2022-12-09T02:05:30.632208
2020-09-03T14:03:18
2020-09-03T14:03:18
292,587,480
0
1
null
null
null
null
UTF-8
C++
false
false
2,761
cxx
TileRawChannel.cxx
/* Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ //***************************************************************************** // Filename : TileRawChannel.cxx // Author : Ed Frank, Ambreesh Gupta, Frank Merritt // Created : Jan, 2001 // // DESCRIPTION: // Implementation com...
5e024a40087a3b65a773bd15a7af0025aed8d0b8
47fe86a1380157209586eeaf3fe98bd7add472e1
/block.h
56b2a5dd63e5fa4888483fdffb4cbd08436959a7
[]
no_license
SeventhHelix/Quadris
cbf927bc14db1119cf55aaa75a8587338cdc1a8d
b8deb9ed51b67fac8c691ec236d9c4973cbea87c
refs/heads/master
2021-01-23T22:15:49.897290
2012-01-16T21:53:25
2012-01-16T21:53:25
3,175,188
0
0
null
null
null
null
UTF-8
C++
false
false
782
h
block.h
#ifndef __BLOCK_H__ #define __BLOCK_H__ struct Coord { int x, y; void setCoord(int x, int y); void setCoord(Coord c); }; class Block { char level, type; int peerPosn, width, height; int *peerCount; Block **peers; Coord coord; public: Block(Block** &peers, int *numPeers, char ...
d3363ad4d6256be9bba587b71d2be3dc402a6291
d161e85db8956d5b1b684dcc3e73ce02f4cf7e4a
/Leetcode/119. Pascal's Triangle II.cpp
c3f374a34d9e43f0088bb0d67518e7249dad57e9
[]
no_license
Yuuoniy/Leetcode
c084fb9a659cf1d68411946328ac17909a44a2b2
bbc6edaa859dc322e55a741d5924d7b2490cb889
refs/heads/master
2022-02-20T18:27:59.438573
2019-09-17T12:48:33
2019-09-17T12:48:33
162,166,989
0
0
null
null
null
null
UTF-8
C++
false
false
773
cpp
119. Pascal's Triangle II.cpp
/* * @Author: Yuuoniy * @Date: 2017-11-05 10:48:51 * @Last Modified by: Yuuoniy * @Last Modified time: 2017-11-05 11:12:14 */ class Solution { public: vector<int> getRow(int rowIndex) { vector<int> res, temp(1, 1); for (int i = 0; i <= rowIndex; ++i) { res.resize(i + 1); res[0] = res[i] = 1;...
12734f9451e536c1214146a8d4fcb6d49a9c9d1e
038df27dfb74a68f7b2fef2f63e5cc6bfe720962
/include/fast_io_core_impl/transmit_once.h
88fbec8f973ecf96887110ed2bf974f2356370ec
[ "MIT" ]
permissive
klmr/fast_io
6226db934bbda0b78ae1fac80d20c635106db2c1
1393ef01b82dffa87f3008ec0898431865870a1f
refs/heads/master
2022-07-28T12:34:10.173427
2020-05-25T11:25:38
2020-05-25T11:25:38
266,780,867
2
0
NOASSERTION
2020-05-25T13:03:19
2020-05-25T13:03:19
null
UTF-8
C++
false
false
995
h
transmit_once.h
#pragma once namespace fast_io { template<output_stream output,input_stream input> inline constexpr std::size_t transmit_once(output& outp,input& inp) { if constexpr(mutex_input_stream<input>) { typename input::lock_guard_type lg{mutex(inp)}; decltype(auto) uh{unlocked_handle(inp)}; return transmit_once(outp,...
afea67a9a6f73ae22f76b5e60120290a51ecc6bd
2446fa8f7dacb45b6df43c5d4e4109caa4468f1b
/Sprite.h
169f8dd872d12c34c2cf757eea92c0174b2368fe
[]
no_license
giloppo/MeteorDefense
5ff1f9542639391086cb280a0c6e08a014ef28e4
0acd6f5df94f6ee3cba7871b9651eaad3e1abc6c
refs/heads/master
2020-04-04T03:10:41.988761
2014-02-20T07:54:38
2014-02-20T07:54:38
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,943
h
Sprite.h
#pragma once #include "Bitmap.h" #include <stdlib.h> #include <windows.h> //------ //定義邊界行為 //------ typedef WORD BOUNDSACTION; const BOUNDSACTION BA_STOP = 0, BA_WRAP = 1, BA_BOUNCE = 2, BA_DIE = 3; typedef WORD SPRITEACTION; const SPRITEACTION SA_NONE = 0x0000L, SA_KILL = 0x0001L; //------ //子畫面類 //------ class...
5a895973843a8c17d7db968834fc568fed45cd98
a2fc06cf458f896d2217592ac92098863e755a9c
/src/program/ladybug_calibrator/cropped_video_writer.cpp
65ae1368ea982a3ec81b0b481f22fd0960d205fa
[]
no_license
MrBrood/Stanford-Junior-self-driving-car
ba3f2a07a9366d3566def59fd25f90bad55748d2
d999e94bb287933666dac82129cad6702923a8e1
refs/heads/master
2023-07-18T04:56:02.055754
2020-08-21T01:31:46
2020-08-21T01:31:46
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,657
cpp
cropped_video_writer.cpp
#include "cropped_video_writer.h" using namespace std; CroppedVideoWriter::CroppedVideoWriter(const string& filename, IplImage* test_img, int fourcc, int fps, double scaling, double pct_crop_top, double pct_crop_bot) : resized_(NULL), cropped_(NULL), filename_(filenam...
a87f0c380b6dc33e1e25fe520322ee1e1dcf5425
84897b6a25f876b21246c2c7e1404c9c411be987
/src/include/format/7z/RC7zDecoder.h
0b4efb247dee1f784da9cf5c8c6b9ffb21d3c2bd
[]
no_license
drivestudy/HaoZip
07718a53e38bc5893477575ddf3fccfb3b18c5fd
9e0564b4a11870224543357004653b798fd625e0
refs/heads/master
2021-07-24T06:33:24.651453
2017-11-05T01:19:18
2017-11-05T01:19:18
null
0
0
null
null
null
null
GB18030
C++
false
false
4,131
h
RC7zDecoder.h
/******************************************************************************** * 版权所有(C)2008,2009,2010,好压软件工作室,保留所有权利。 * ******************************************************************************** * 作者 : HaoZip * * 版本 : 1....
b41c5a6cfa9e54ea4aa5abee660fc6d13d624fe8
9aec001b4c8b01310df4c0cd6d380b6d3f930cb6
/Question02/Function.cpp
abe30f3239b08ade3f8436e18203265d2fe7dd86
[]
no_license
tanmay02711/LAB01
7f14702db7e9c42649cb5e45f8d22b0804f3d966
642f3d54838b5d78bfbefea17ecda7492dc847f2
refs/heads/master
2021-05-23T09:01:04.147731
2020-04-05T12:24:09
2020-04-05T12:24:09
253,211,433
0
0
null
null
null
null
UTF-8
C++
false
false
325
cpp
Function.cpp
#include<iostream> #include<cmath> //Display in the terminal the following function :f(x) = sin(x) + ln(x) // void func() { double func; for(int i=1 ;i <=10;i++) { func=sin(i)+log(i); std::cout<<"x range from[1 10] :"<< func<<std::endl; } } int main() { std::cout<<"f(x)= sin(x)+ln(x)"<<std::endl; func...
dbbd5a8b3b8b6d06c6462ea09c9c7a078a7b603b
c237c1e42a306927d0225d04cdba6f02c74c7b15
/Various arduino/wyjscie_pwm2.ino
eebb3fa678a75dc1740e6643b81e8679c925ef81
[]
no_license
Uadi/Code-examples
5381d9a21fbfd7369fb61831c428e0ecbeb26b8f
31bc2336b5e647bf8fe5c2057c2d98d149cabbd2
refs/heads/master
2021-04-15T18:45:00.534063
2018-03-25T17:16:30
2018-03-25T17:16:30
126,689,097
0
0
null
null
null
null
UTF-8
C++
false
false
660
ino
wyjscie_pwm2.ino
int wypelnienie = 0; int zmiana = 5; int i = 0; boolean rosnie = true; void setup() { pinMode(3, OUTPUT); // konfiguracja pinu jako wyjscie } void loop() { while (rosnie == true) { analogWrite(3, wypelnienie); //generowanie sygnalu o danym wypelnieniu wypelnienie += zmiana; delay(10); if (wypelnienie =...
5fa4f4664173b7c43eb9d4e4a7d916276b41da5a
57943207d080f5136c61d2d4727e45c760c7e973
/Include/latest/um/abi/windows.phone.restricted.cellular.videotelephony.h
ec804d357afedab770f8e22969f3af01e4867f67
[ "MIT" ]
permissive
Watch-Later/windows-sdk-headers
e43a22d0e323455c78789c3d8ab9af48aa122601
e83bf2af3df09ec5420725bd79ccfe1bb534722c
refs/heads/master
2022-11-12T09:39:11.748130
2020-07-04T22:16:07
2020-07-04T22:16:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
197,815
h
windows.phone.restricted.cellular.videotelephony.h
/* Header file automatically generated from windows.phone.restricted.cellular.videotelephony.idl */ /* * File built with Microsoft(R) MIDLRT Compiler Engine Version 10.00.0229 */ #pragma warning( disable: 4049 ) /* more than 64k source lines */ /* verify that the <rpcndr.h> version is high enough to compile this ...
6cefa019890ba08866bf11c908810b0c0938d3ea
cd99ca9461435d1417cb146d966e54272fbcc7ad
/3rd party/maxsdk/samples/render/RapidRTRenderer/Translators/Translator_RTIRenderAttributes.h
16bf3d894629cf811d6bbcfd71d2f880245e3d23
[]
no_license
mortany/xray15
eacce7965e785dd71d1877eae25c1f9eff680eec
72a13fb24e9b388850bc769427c231da8f599228
refs/heads/master
2020-08-02T20:45:23.493981
2019-10-14T18:48:48
2019-10-14T18:48:48
211,499,718
0
0
null
2019-09-28T12:50:47
2019-09-28T12:50:46
null
UTF-8
C++
false
false
2,500
h
Translator_RTIRenderAttributes.h
////////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies...
33373314a44abbd10d6ce8c9ac0422986f77cbe7
c49f7cb6035e44cbafb434469f11b8483c040f67
/State.h
c1ccb57266605a23f075596f7f272dba8405daa1
[]
no_license
pentaxoptio/Projet_ISN
324968faf18c99fc850acb7fd300c6aacfa74336
bdd0d6b5cd99a1801c72785ecc4e1674bfaec96c
refs/heads/master
2020-12-30T10:36:43.498505
2015-05-20T12:31:25
2015-05-20T12:31:25
32,672,264
0
0
null
null
null
null
UTF-8
C++
false
false
1,755
h
State.h
#ifndef STATE_H #define STATE_H #include <SFML/Graphics.hpp> #include "Utils.h" class StateStack; //Cet enum permet de caractériser chaque State et sont nécessaires pour le StateStack (cf. StateStack.h) enum StateId { Opening, MainMenu, PlayMenu, Game, Win, NoState }; //Classe State //* Cette classe représe...
d74713d4c907ce9be2a89c6178cb9afb335e8d1e
1f304d3fc227606b07638b2b25a65bc8ba8576d4
/CS 11 Assignment 6 - MyString Class/mystring.h
cb134abd7d210a2194a45f0d929aad5673e3a89d
[]
no_license
Fidget-Cube/Old-C--Assignments
e1590310078ddf54102aaaeb32f125893adb1737
a25e658faf9d89932d1ed41e168e14dea7644b4e
refs/heads/master
2022-04-09T14:03:26.214246
2020-02-27T23:37:57
2020-02-27T23:37:57
188,118,968
1
0
null
null
null
null
UTF-8
C++
false
false
6,671
h
mystring.h
//=======================================================================// // Max vonBlankenburg, CS 11, Harden, 2/22/18, mystring.h & mystring.cpp // // This "MyString" class includes one data member, a character string, // // and several member and friend functions to work with this character // // string. These...
4fa6b0dc54f64f82b9ba91420693aa878890d45d
09b62b21d4450cf737a62da16d2d6006dbcba86a
/yl_32/sourcecode/include/onlinegamemodule/kmoduledef.h
b78a7cfbebd2b6dcab320bec31038001e26c993f
[]
no_license
hw233/clua_yol
fa16cf913092286f9ea3d11db1e911568f569363
bbc2e55290c185f6cfff72af9e1b9a96f9e6f074
refs/heads/master
2020-03-19T06:24:23.486101
2016-02-23T10:04:58
2016-02-23T10:04:58
null
0
0
null
null
null
null
GB18030
C++
false
false
2,189
h
kmoduledef.h
#pragma once // 修改此枚举需要更新协议版本号kprotocol.h // 各模块实现IKModuleInterface* GetModuleInterFace<>()接口,并在kmodulelist.cpp中加入模块列表 // ------------------------------------------------------------------------- enum KE_MODULE_ID { emKMODULE_NONE = 0, emKMODULE_RPG = 1, // 基础服务模块,包括Timer等基础功能 emMODULE_TEAM = 3, ...
742d9f645813c41273a28f302ece581ca4baf5ab
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5652388522229760_1/C++/fastblood/a.cpp
c0a3f70ce7ba7deb5f449a10542227660d197984
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
C++
false
false
945
cpp
a.cpp
#include <stdio.h> #include <math.h> #include <vector> #include <string> #include <map> #include <set> #include <algorithm> #include <memory.h> using namespace std; typedef long long lint; typedef unsigned long long ull; #define pb push_back #define mp make_pair void solve(int testNumber) { lint...
1a1872e19af170a955a80e02cd1cdbc4c1ab06c3
3630d8224ce44b66323cebbb28381e2a05b7bf2b
/rosbag2_snapshot/include/rosbag2_snapshot/snapshotter.hpp
1a587beae3a205124c10ea801cd8cba128f0cb0c
[]
no_license
CourchesneA/rosbag2_snapshot
81a8bc15330edd98eb0caf8a4020f0d046934d73
0adc67f656b9ae5582ee10299fe173da44e70418
refs/heads/main
2023-08-31T19:09:28.987122
2021-10-24T14:34:37
2021-10-24T14:34:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
12,489
hpp
snapshotter.hpp
// Copyright (c) 2018-2021, Open Source Robotics Foundation, Inc., GAIA Platform, Inc., All rights reserved. // NOLINT // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must r...
417fab67b1c1c1d6205ce26744057eb0ea5884b4
a207b5ed342fda579baa0e8be80b7c0ea6731ab4
/pms.hpp
4d320767b29ef128b19f6b97e38cc7f1887e0bae
[]
no_license
SmokWroclawski/SmokWroclawskiHW
78c074565624939371706dc3b083f8a6d4d6b53e
946dc500ab479cf461798fb62c05bfec94426324
refs/heads/master
2020-05-21T17:24:15.844980
2017-05-28T20:21:19
2017-05-28T20:21:19
84,639,374
0
0
null
null
null
null
UTF-8
C++
false
false
332
hpp
pms.hpp
#ifndef pms_header #define pms_header #include <Arduino.h> #include <stdint.h> struct pms_state { uint8_t buffer[100]; uint8_t buffer_position; double pm25; double pm10; }; struct pms_state pms_init(); void pms_recv_byte(struct pms_state * state, uint8_t recv_byte); void pms_process_frame(struct pms_state * stat...
2c639dc275de79d81f1495e2af09f3c99ecc85de
9f9660f318732124b8a5154e6670e1cfc372acc4
/Case_save/Case0/case4/100/nut
9e67b59e9d04db00b7a798b446c91b263391ff01
[]
no_license
mamitsu2/aircond5
9a6857f4190caec15823cb3f975cdddb7cfec80b
20a6408fb10c3ba7081923b61e44454a8f09e2be
refs/heads/master
2020-04-10T22:41:47.782141
2019-09-02T03:42:37
2019-09-02T03:42:37
161,329,638
0
0
null
null
null
null
UTF-8
C++
false
false
9,913
nut
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*-------...
f97af70d30151c415db84ebac6e349e4ce8aa39f
3da6a519098b122a0acf37fea3d2ed7d4d007af0
/ListLinked.cpp
f96904d631c98bb556c20a5ab4ef014a3314ce71
[]
no_license
JerryDGroom/Lab5
cec899d73e1f4c3a8eee2469b890948e76adf783
9fc8921bc05a6980e39eebc40cafd499259080a4
refs/heads/master
2020-05-18T19:43:41.529558
2015-03-26T11:40:21
2015-03-26T11:40:21
32,924,112
0
0
null
null
null
null
UTF-8
C++
false
false
6,127
cpp
ListLinked.cpp
/* ******************************************************************* LAB 5 Group Linked List's Jerry Groom & Christian Uwimana 3/1/15 ******************************************************************* */ #include "ListLinked.h" #include <iostream> template <typename DataType> List<DataType>::ListNode::ListNode(...
24a8ae3a821e4e96abf970683f12e220dc2bb691
131f20cb6925057479d072ed392940e9514b61de
/Data Structure/Assignment 6/uva732.cpp
ae48fe6778029750cff2745b03984c29b5b27be7
[]
no_license
Derekwan1081546/1091
77d1c7a7e07c6a0d43c772006f52d37b58d0011a
caca66a980ddf376be6807037a74b0c995041f67
refs/heads/main
2023-08-24T06:48:25.326704
2021-10-17T17:30:39
2021-10-17T17:30:39
418,197,767
0
0
null
null
null
null
UTF-8
C++
false
false
836
cpp
uva732.cpp
#include<iostream> #include<stack> #include<string> using namespace std; string str, target; stack<char> s; void dfs(int i1, int i2, string ret) { if (i2 == target.length()) { cout << ret << '\n'; return; } if (i1 < str.length()) { s.push(str[i1]); ...
d359a56e13379975e7048a1a2061d0243320cc99
01fb222322f3f37b4fff999c53182162a24ce337
/libs/network/src/p2pservice/identity_cache.cpp
2a75e231946d7a74b1042b360ca225d49d2626ea
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LicenseRef-scancode-unknown" ]
permissive
MissingNO57/ledger
51cc4b932909d9d25145ac9649b0caa193c5fb0e
0afeb1582da6ddae07155878b6a0c109c7ab2680
refs/heads/master
2020-05-29T17:19:02.935379
2019-05-29T13:59:39
2019-05-29T13:59:39
189,269,908
1
0
Apache-2.0
2020-02-24T11:02:56
2019-05-29T17:28:42
C++
UTF-8
C++
false
false
2,778
cpp
identity_cache.cpp
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI 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 // // ...
9944907095eb15208abb84b62f44876566fffd48
d932716790743d0e2ae7db7218fa6d24f9bc85dc
/gpu/command_buffer/service/command_executor.h
99d304830c9cd759772dfec049a07ee124ab111c
[ "BSD-3-Clause" ]
permissive
vade/chromium
c43f0c92fdede38e8a9b858abd4fd7c2bb679d9c
35c8a0b1c1a76210ae000a946a17d8979b7d81eb
refs/heads/Syphon
2023-02-28T00:10:11.977720
2017-05-24T16:38:21
2017-05-24T16:38:21
80,049,719
19
3
null
2017-05-24T19:05:34
2017-01-25T19:31:53
null
UTF-8
C++
false
false
3,862
h
command_executor.h
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef GPU_COMMAND_BUFFER_SERVICE_COMMAND_EXECUTOR_H_ #define GPU_COMMAND_BUFFER_SERVICE_COMMAND_EXECUTOR_H_ #include <stdint.h> #include <memory> ...
ee2f54381eaea2f033b30c2719434bfbf938971f
ef9f45769704fced7beefb0f20afc1f25f1024d4
/minimumDistances.cpp
305f007b157cee457be1675ffb60df0236722430
[]
no_license
YogaVicky/Hackerrank-solutions
4a517b0272d994807895123e1a5c3a95bd86d7ac
f5d8a3b5cb4ab3bbf7116391aa4c3de17d366bf8
refs/heads/master
2020-05-30T08:57:29.006496
2019-12-17T19:11:19
2019-12-17T19:11:19
189,629,279
1
0
null
null
null
null
UTF-8
C++
false
false
423
cpp
minimumDistances.cpp
#include <iostream> #include<string> using namespace std; int main(){ int n , a[1000] , i , min , j , check = 0; cin>>n; for(i = 0;i < n;i++ ){ cin>>a[i]; } min = n; for(i = 0;i < n;i++ ){ for(j = i+1;j < n;j++ ){ if(a[i] == a[j]){ if(min > j-i){ min = j-i; check...
b700a157d561010fa3d1a685f433c105095d1b0a
e28590d47cad17ab89f2d6b0ec9c728a213eaafa
/Design Patterns/Design Patterns/Hatchery.hpp
bf00636c544e2115d5a61bbedd4c767e386ff6d2
[]
no_license
HuyTranQ/GangOfFour-DesignPatterns
ff999f67a78316b5ade4a7b4a99a1b39b8910522
bd206612d15690e5d02179fb60bef6208de62f5d
refs/heads/master
2016-08-12T21:19:54.560489
2015-11-05T03:49:08
2015-11-05T03:49:08
45,428,249
0
1
null
null
null
null
UTF-8
C++
false
false
401
hpp
Hatchery.hpp
#pragma once #include "Unit.hpp" #include <iostream> #include <string> #include <vector> using std::cout; using std::string; using std::vector; class Hatchery { public: enum ZergUnit { ZERGLING , HYDRALISK , MUTALISK , VIPER , Size }; ~Hatchery(); void hatch(ZergUnit ZergUnitType); void notifyAttack(); v...
e31825017af928e22636453fcf8d7634a826ef0c
71e8c69757b25c3496e54d6683d09c9af7a0184f
/source/platform/min/settings.h
e3e3a8ae22e3785b91758f66c9fb8c85f631859f
[ "Apache-2.0" ]
permissive
Aaron-SP/mgl
2f8979f16c139deb7139c2a0e23223cc7221c393
3032f77d3cef30d363434ebde2e69abc0e612857
refs/heads/master
2022-09-15T08:28:58.647258
2022-08-15T22:44:48
2022-08-15T22:44:48
90,213,966
36
2
Apache-2.0
2018-07-10T16:14:28
2017-05-04T02:40:50
C++
UTF-8
C++
false
false
1,640
h
settings.h
/* Copyright [2013-2018] [Aaron Springstroh, Minimal Graphics Library] 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 ...
1c4b936b5fe03d9953310ca5831f4394dfc24b5a
34c2b4bdf676d4dba6ae81e2a547592b9f94b076
/math/7/7.cpp
7f3086a5ad78e800d3a6546131bfd9a64231b562
[]
no_license
caonimadexinsang/Leetcode
80fd9e0c5ecac6c5edc17edd060c14755314e3f3
31cc2694e735335ae3a26788c169961d8dc0fa75
refs/heads/master
2021-01-02T22:54:04.499172
2018-01-10T10:16:02
2018-01-10T10:16:02
99,416,463
0
0
null
null
null
null
UTF-8
C++
false
false
348
cpp
7.cpp
#include <stdio.h> #include <iostream> using namespace std; void main() { int x; cin >> x; int result = 0; bool tt; while (x != 0) { if (result > INT_MAX / 10 || result < INT_MIN / 10) // return 0; result = result * 10 + x % 10; x = x / 10; } //if (tt == true) // result = result; // else // result = 0 ...
4c4a8f66b16f7653642c34c28870d6bb649b35bd
25e950502aa744d34906eb3e669a127345dd3695
/Installer project example/Game/Source/Scene.h
7276f26f151ec3342031eb73431da822f36bb8c5
[ "LicenseRef-scancode-ian-piumarta", "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
FeroXx07/Game-Installer-Creation
fa1ef8859949e3100bcbb7bf019ec803e85010e5
9c8d1525742619ec5fbd659fd413ebacbccc1140
refs/heads/main
2023-04-29T23:11:30.470374
2021-05-12T21:30:09
2021-05-12T21:30:09
363,747,901
1
0
null
null
null
null
UTF-8
C++
false
false
5,286
h
Scene.h
#ifndef __SCENE_H__ #define __SCENE_H__ #include "Module.h" #include "Physics.h" #include "List.h" #include "Animation.h" struct SDL_Texture; enum SceneType { MAIN_MENU = -1, LEVEL_SELECTOR, LEVEL_1, LEVEL_2, LEVEL_3, PAUSE_MENU }; enum PlanetType { ROCK, WATER }; struct Planet { public: Planet(CircleColli...
d5c3879d333f1865a319692f5414b95214195880
4c378a1be91f9574cffb428ea1a493dbe7306773
/BST/Preorder Traversal and BST.cpp
e968ebef39c8be722a1382c5cb4d54ff23b95c12
[]
no_license
nishantprajapati123/competitive-coding
81c09976833ff49d079e4edd0c5254203d0552d7
8cbac4be5cd36c3626af4676a8385a638f98654e
refs/heads/master
2021-07-07T14:02:21.646254
2020-08-26T07:36:28
2020-08-26T07:36:28
160,255,056
1
1
null
null
null
null
UTF-8
C++
false
false
721
cpp
Preorder Traversal and BST.cpp
#include<bits/stdc++.h> using namespace std; bool ispreorder(vector<int>arr, int n, int &i, int min_, int max_) { if(i==n) return true; if(arr[i]>min_ && arr[i]<max_) { i++; return ispreorder(arr,n,i,min_,arr[i-1]) || ispreorder(arr,n,i,arr[i-1],max_); } else ...
50e471da61f91640ec305a8dfffcfdcb2db349a4
68cda4a9a53b61d865c42600c23aae613e44f426
/.vscode/cquery_cached_index/c@@users@jeste@vex@towertakeover_wcd/include@librobot@auto.hpp
295e756dc241ee7da3eb6e1ea84b84b9602b0859
[ "MIT" ]
permissive
kettering-vex-u/TowerTakeover_WCD
1acf8b5dd300e96b4ffbafc514c95386f075acad
c74485d71d77f43f83c7715f5034032d17f44519
refs/heads/master
2021-07-12T06:32:19.537576
2021-02-27T19:32:16
2021-02-27T19:32:16
235,164,110
0
0
null
null
null
null
UTF-8
C++
false
false
107
hpp
include@librobot@auto.hpp
#ifndef _AUTO_HPP_ #define _AUTO_HPP_ #include "main.h" namespace auton { void autoLeft(); } #endif
9ac04e48f54a8ad63d6d24a71a72a0561204b872
37f5529f9d06940c6193ef9e4b9a03efe5c1a393
/ModuleManager.h
55a119b54dc31fbe737189d68d6bafe0b1a6f9df
[]
no_license
dkodnik/o2c-lev0
f10acbcc8a072cacdde3a3039aa30e10fe9db74f
55a9bd7124ebca0166f00131bd68e740e2b8d441
refs/heads/master
2021-01-09T05:54:28.827201
2010-11-03T21:57:59
2010-11-03T21:57:59
80,862,237
1
0
null
null
null
null
WINDOWS-1251
C++
false
false
4,597
h
ModuleManager.h
// Авторские права - VTOOLS.RU (info@vtools.ru) // ModuleManager.h: interface for the CModuleManager class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_ModuleManager_H__14109D1F_1492_4BF0_A344_0B8ED648F256__INCLUDED_) #define AFX_ModuleManager_H__14109D1F_1492_4BF0_A344_0...
6aa956dcec7d9f2808e87a14de53a201bea580d0
2d37d9cd986919e974d5ba787ed02991e5d2bcb9
/6.phone.cpp
60d3220cbd202f54fb3a1636e760e2f4801442ce
[]
no_license
alyona-/home_shag
86729cf8cd405654f8cb3ad8fa927fa299d7632c
066ac11f237cf488b4d5e11bfc3338822f9088a7
refs/heads/master
2021-01-19T10:42:22.103308
2014-09-23T05:36:08
2014-09-23T05:36:08
24,330,786
0
0
null
null
null
null
UTF-8
C++
false
false
821
cpp
6.phone.cpp
#include <iostream> using namespace std; /* 6. Пользователь указывает цену одой минуты исходящего звонка с одного мобильного оператора другому, а также продолжительность разговора в минутах и секундах. Необходимо вычислить денежную сумму на которую был произведен звонок. */ void main(){ double mtc,kievstar,life,...
3e21f3e56ca00fe1831cd2e54bf4bd488e990f96
17b22f7e6b831cfc2e27b37181ed4d8aae693a61
/Frameworks/XEScene.framework/Headers/XScopedBufferPtr.h
0688b0aac39980593cfef05c64ecb678944b4fac
[]
no_license
cosmos33/MMXEScene
af3409c0d21bd2d56b5845b705564151d612d436
067373218035cead3b761831189c97ca2a024447
refs/heads/master
2020-05-07T13:00:45.392787
2019-06-16T13:41:32
2019-06-16T13:41:32
180,528,299
0
0
null
null
null
null
UTF-8
C++
false
false
738
h
XScopedBufferPtr.h
/****************************************************************************** @File XTempMemBuffer.h @Version 1.0 @Created 2017, 3, 6 @Description Temporary memory buffer wrapper. @HISTORY: ******************************************************************************/ #ifndef _XTEMPM...
3d12d998236378717f74fe7cc46cbe998eb36e08
4a66ebaccadb4cc8127e6a44569f7385d116f440
/Runtime/cpu.cpp
ee980b7bfa440f999c901f996e294eac68ef3c11
[ "Apache-2.0" ]
permissive
d34d633f/GrinningSoul
b84b39b21bb7f49fc1763bee2bca8d978d135077
d35ac197dade35d8a831ffb10fffd2ec93a791ea
refs/heads/master
2023-01-12T15:11:25.872013
2020-11-22T00:09:48
2020-11-22T00:09:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
24,539
cpp
cpu.cpp
#include "gs.h" #include <mach/mach.h> #define _XOPEN_SOURCE #include <ucontext.h> #include <sys/_types/_ucontext64.h> #include <signal.h> #include <setjmp.h> #include <sys/mman.h> #include <iostream> #include <ios> #include <thread> #ifdef USE_UNICORN #include <unicorn/unicorn.h> #include <state.h> #define UCHECKED(e...
a6114b6cad51a24c620177dec1cf446f65bdedd9
817cc371e2eb56f37c400b7f96d658d0683476b1
/201907_practice/hdu04/1003.cpp
dc53ce8d85f966ee326b9e49d970055b59fb1a11
[]
no_license
KanadeSiina/PracticeCode
c696495bd71395648ac62a41d0a41869f50c5eb4
146c8d5889eee7917a355feb8b03d1415a29ae9d
refs/heads/master
2020-09-05T00:49:29.165600
2020-06-30T12:48:15
2020-06-30T12:48:15
219,937,221
2
0
null
null
null
null
UTF-8
C++
false
false
1,596
cpp
1003.cpp
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int,int> PII; #ifndef ONLINE_JUDGE #define dbg(x...) do{cout << "\033[32;1m" << #x << "->" ; err(x);} while(0) void err(){cout << "\033[39;0m" << endl;} template<template<typename...> class T,typename t,typename... A> void err(T<t> a,A... ...
0f75f95922fdb39a34e7d682e20631bcd4729aac
cf9ea43cd8dee7ed1f56098f8b5cea59ed9e2f56
/LogicBase/QTalkSecurity.h
889c5dbebc43608be1799202b4533bd11c61bd6c
[ "MIT" ]
permissive
yueyz818/startalk_pc
1a9cc0e7a51628b104d866cd2923d5eab7a0934e
91916499af2ceea1c4a6000520f83f702ebc872d
refs/heads/master
2023-04-29T00:20:49.668802
2021-05-12T16:17:49
2021-05-12T16:17:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
456
h
QTalkSecurity.h
// // Created by may on 2018/8/17. // #ifndef QTALKSECURITY_H #define QTALKSECURITY_H #include <string> #include "../QtUtil/Entity/JID.h" namespace QTalk { namespace Security { std::string pwd_key_plain(const std::string &user, const std::string &password, int loginType); std::string chatRsaE...
ce893595bdc36b0a7e8e7f5e56c73e466f9eb39d
8820071bb44ee9547cc33453d5400064c1b21f3f
/LunarEngine/source/LunarRenderer/LunarPrimitives/LunarTexture.cpp
8b3b6a0879d093e28d2c56be1c1a5e3e946c7e43
[]
no_license
Leptron/LunarEngine
2f477138cdf2f4917c8ad7f260fd38954ae3a462
782968fedf0d8e82cf05c3f5ba05e865663f4017
refs/heads/master
2022-11-14T11:57:50.790480
2020-06-23T20:43:58
2020-06-23T20:43:58
266,502,607
1
0
null
2020-06-24T03:05:03
2020-05-24T08:46:34
C
UTF-8
C++
false
false
994
cpp
LunarTexture.cpp
#include "../../../public/LunarPrimitives/LunarTexture.h" namespace Lunar2D { LunarTexture::LunarTexture() { } LunarTexture::~LunarTexture() { } void LunarTexture::LoadTexture(std::string textureLoc) { glGenTextures(1, &texture); glBindTexture(GL_TEXTURE_2D, texture); //wrapping / filtering options gl...
34dbf274617987b48522aa8951c006774375e4d4
568fa24f8de432ed5b6c9f1d6ad0a9e32c5274b7
/source/app/collector/cc/obj.h
8bf6d3d4e5019c6acf8cfd20d5b0d8f83e024fa3
[]
no_license
ankeesler/btool
2cb450041e589c78bf93e5a5d9eb238b3e494224
9f4a4c919cb4d40d6d91fa8aafd814d74edf7d09
refs/heads/main
2022-07-21T18:51:42.962440
2022-06-01T21:54:58
2022-06-01T21:54:58
188,036,175
2
0
null
null
null
null
UTF-8
C++
false
false
596
h
obj.h
#ifndef BTOOL_APP_COLLECTOR_CC_OBJ_H_ #define BTOOL_APP_COLLECTOR_CC_OBJ_H_ #include <string> #include "app/collector/base_collectini.h" #include "app/collector/cc/resolver_factory.h" #include "app/collector/store.h" namespace btool::app::collector::cc { class Obj : public ::btool::app::collector::BaseCollectini { ...
381a07d61858d1aae110e50eac425f62d510d69e
875532ce6eba934bcc28e384f843f7debd60dfda
/base/Bond.hpp
7c73e5083eb77ce28c3424eb25634113f0f0d7d7
[]
no_license
portegys/Replicator
e59dc0034e2b3ab78763a95af8e5be02485e2ffd
6137741b3043028677d724d0f5e4aa303ffb7ba3
refs/heads/master
2020-07-15T15:21:01.870281
2019-08-31T21:03:39
2019-08-31T21:03:39
205,593,241
0
0
null
null
null
null
UTF-8
C++
false
false
950
hpp
Bond.hpp
/* * This software is provided under the terms of the GNU General * Public License as published by the Free Software Foundation. * * Copyright (c) 2004 Tom Portegys, All Rights Reserved. * Permission to use, copy, modify, and distribute this software * and its documentation for NON-COMMERCIAL purposes and without...
44dbeb18f1c2fd881074ec45335251cff44b1bfb
240fa079de0405fa04dc9bab053af6602be1ba60
/pemrograman-kompetitif-dasar/11-algoritma-graf/a-les-piano.cpp
51928527cfaf31c9598a82a9e4a18eeae2a0796f
[]
no_license
hyperforest/course-tlx
ab6d9009f56098f53ee22acad94dd7a77cdd6855
8d18adfa5b2750b13f24d339a5a2b1b301ae7f08
refs/heads/master
2021-04-01T21:40:21.276047
2020-03-18T12:01:00
2020-03-18T12:01:00
248,216,174
0
0
null
null
null
null
UTF-8
C++
false
false
2,325
cpp
a-les-piano.cpp
/** "Indeed, with every hardship comes ease" (Qur'an 94:6) * Template * Author : Rimba Erlangga **/ #include <bits/stdc++.h> using namespace std; #define ll long long #define ld long double #define REP(i, a, b) for(int i = (a); i <= (b); i++) #define REPP(i, a, b) for(int i = (a); i < (b); i++) #define P...
36bff8c6e8841dd0116938a8c4f1e424ef09f5e9
e40bd82b5a9dc7ad2589d3a943dca204d61ab636
/TerminalExtraction/Sources/Engine/COntent/ContentProvider/DescriptionProvider/BehaviourModelDescription.h
7b41693d932675a4857cd2d92b5f7ae66ab2ac64
[]
no_license
yariksmirnov/TerminalExtraction
1a813b1a0f3deb25a44b8911303b24650aee5eae
2e6cd035006d643b0d34726bfa4e4b7c664a2b31
refs/heads/master
2020-05-15T22:32:28.154159
2012-12-07T12:38:06
2012-12-07T12:38:06
6,244,956
1
1
null
null
null
null
UTF-8
C++
false
false
1,617
h
BehaviourModelDescription.h
// // BehaviourModelDescription.h // TerminalExtraction // // Created by Anton Katekov on 27.11.12. // // #ifndef __TerminalExtraction__BehaviourModelDescription__ #define __TerminalExtraction__BehaviourModelDescription__ #include <iostream> #include <string> #include "BaseDescription.h" #include "Geometry.h" usi...
fdab5665ee642d24c1997627672ad89ebe9b97ca
78d31f7946dac510ef230316d1a174275b06b4c6
/Lobelia/Graphics/Environment/Environment.hpp
35560af57db357f530c2dcae9e8ca1569d09349b
[]
no_license
LobeliaSnow/LobeliaEngine
10b25746b3d02fdb9c26286e15124f7fd7b764ba
8121e83998da656a047cc14eb6bd029ae8c2d63d
refs/heads/master
2021-05-02T17:27:55.403882
2018-07-29T17:40:53
2018-07-29T17:40:53
120,646,038
1
0
null
null
null
null
UTF-8
C++
false
false
711
hpp
Environment.hpp
#pragma once namespace Lobelia::Graphics { class Environment :public Utility::Singleton<Environment> { friend class Utility::Singleton<Environment>; private: struct Constant { Math::Vector4 dir; Math::Vector4 color; Math::Vector4 fogInfo; }; std::unique_ptr<ConstantBuffer<Constant>> constantBuffer; ...
cf7e8ffc0cc7860cbc6c2b483723f2f478863ebb
654a5013e146c3db9741a553208f90ea1ab15b91
/dnssec-tools/validator/apps/dnssec-nodes/LogFilePicker.h
c5fc4d8fca000f6ccc1377a7df2acdb82dbf9ebb
[ "BSD-3-Clause" ]
permissive
DNSSEC-Tools/DNSSEC-Tools
01de5540f079f20f864f62b82bf579151a74a24a
2f762779e4f072facfc0704cfd806ed5a2fa1e55
refs/heads/master
2022-07-07T10:12:08.562422
2022-06-23T17:04:29
2022-06-23T17:04:29
65,027,086
42
15
null
2022-06-23T17:04:30
2016-08-05T14:57:51
Perl
UTF-8
C++
false
false
537
h
LogFilePicker.h
#ifndef LOGFILEPICKER_H #define LOGFILEPICKER_H #include <QDialog> #include <QtGui/QHBoxLayout> #include <QtGui/QVBoxLayout> #include <QtGui/QLineEdit> #include <QtCore/QString> #include <QtGui/QCheckBox> class LogFilePicker : public QDialog { Q_OBJECT public: explicit LogFilePicker(QString defaultFile = "", ...
6882d54d5ca76d69086c0ee8cc82e86c43b45a04
52afc107da56d0486ba5fc743c597895c91882d8
/AggCow.cpp
d0ebbc9c505d25b847c22d1599926ad774206bd4
[]
no_license
pranavr93/All-codes
b45360826855acdc7518dd6cb48063ea456384b2
d61565350ba2bdbafc46089ee2f98ff62480a017
refs/heads/master
2021-01-10T19:44:58.825602
2014-10-29T20:31:32
2014-10-29T20:31:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,644
cpp
AggCow.cpp
/* Author : Pranav BITS PILANI Hyderabad Campus */ #include <vector> #include <list> #include <map> #include <set> #include <queue> #include <stack> #include <algorithm> #include <iostream> #include <cstdio> #include <cmath> #include <cstdlib> #include <cctype> #include <cstring> //#include <sstream> using namespace st...
b7c08b7aad2588750d296f41d3b03fba73c0b8ad
6a32899c339841376ac1a9df49e13e84c9be435c
/src/GameMaster.cpp
0c2f8921e33d8aa65c732bccb809cda5bf1c96e3
[ "MIT" ]
permissive
tanacchi/othello_game
8435527934ca1208fe4d8d3252ef242d5c9c2968
45a0b7aafdd70ebac809b0116bb508724a016423
refs/heads/master
2021-01-23T05:30:12.422324
2019-04-24T16:18:17
2019-04-24T16:18:17
86,313,588
3
1
MIT
2018-09-08T05:49:34
2017-03-27T09:00:23
C++
UTF-8
C++
false
false
4,628
cpp
GameMaster.cpp
#include "../include/GameMaster.hpp" HandList::HandList(short turn, BoardSeries::Stone stone, BoardSeries::Position position) : turn_{turn}, stone_{stone}, position_{position} { } void HandList::rewrite(BoardSeries::GameBoard& game_board) const { game_board.insert(position_, stone_); game_board.reverse(...
4ec6c4e3ccfa70b5b5d8d134e86236d047fc53b9
495117139c32075cfed8784140bcf94db5d516bc
/chapter4.cpp
29da96e1bb64ad117b8a94ac184c2ac00211897a
[]
no_license
victorybringer/Data-Structure
ed53630babed578aa2cd14fadaaccac61cf145d6
ba3ae3ca042e37064ea448d2e79cdb00d5abbd68
refs/heads/master
2020-09-22T18:16:34.838422
2019-12-09T12:17:19
2019-12-09T12:17:19
225,297,795
1
0
null
null
null
null
UTF-8
C++
false
false
17,000
cpp
chapter4.cpp
#define maxsize 50 using namespace std; #include "iostream" #include "string" typedef struct BiTNode{ BiTNode *lchild= nullptr; BiTNode *rchild= nullptr; int data; BiTNode(int data){ this->data=data; } }* BiTree; typedef struct ThreadNode{ int data; int ltag; int rta...
19d081556f43825dafd8449e6c6df6a4d67d160e
d6dcb28b864b22a047c0d316ed67f8baa68cb113
/femriCommon/vtkfemriImageToKSpaceFFTw.cxx
40befc0518cab74549a7a7de5976e8073b8c7903
[ "BSD-3-Clause", "Apache-2.0", "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
alexandermm/FEMRI
03ea2ae7ca5bedc0e32a34812b9bf6d63446215f
727f3ee6acd45754ab20ebb5ceb90ddf05792b2e
refs/heads/master
2020-12-24T19:18:23.659687
2017-05-11T14:42:04
2017-05-11T14:42:04
1,404,687
0
0
null
null
null
null
UTF-8
C++
false
false
4,057
cxx
vtkfemriImageToKSpaceFFTw.cxx
/*========================================================================= Program: FEMRI Module: $RCSfile: vtkfemriImageToKSpaceFFTw.cxx,v $ Language: C++ Date: $Date: 2007/03/19 13:31:25 $ Version: $Revision: 1.1.1.1 $ Copyright (c) Luca Antiga, David Steinman. All rights reserved. See L...
83826b02afe483fa8da5a905d261bac47e705885
615142138564ecf3c3eed6c798e707abc27be00e
/BWCell.cpp
28b86215286d71f6b80ab1369d9f5c5514acdf0c
[]
no_license
StasDeep/NonogramSolver
ddb63328beb7af2cb0ba97931821f7f9e0c61d2e
845ded68db470b4aa91e5cf90e303d9a5818cd0b
refs/heads/master
2021-01-18T21:29:45.567934
2016-05-27T21:36:54
2016-05-27T21:36:54
52,895,147
2
3
null
null
null
null
UTF-8
C++
false
false
1,254
cpp
BWCell.cpp
#include "stdafx.h" #include "BWCell.h" int BWCell::ChangeStateClick(int butt) { changed = true; switch (butt) { case 0: { if (state == 0 || state == 2) { cellsprite.setTextureRect(IntRect(128, 0, 128, 128)); state = DBLACK; return 1; } else { cellsprite.setTextureRect(IntR...
dc50ddc496c6565995b765c51d0f92c34ef410de
d1b103ef570d1f2b3b23a4c0deecc85adb3bd0fe
/leetcode_day1/Q27_remove_element.h
e4caa0a514ac4e41a7a7032ebe5939b4a54e88c9
[]
no_license
maverick-zhang/Algorithms-Leetcode
da77e73bf949731a8528da39445ca50761c56513
dd4197305e9dcdb9efe6779ed69b9dbe3dbd28d9
refs/heads/master
2020-10-01T10:47:35.499791
2020-02-26T11:13:11
2020-02-26T11:13:11
227,519,712
0
0
null
null
null
null
UTF-8
C++
false
false
1,272
h
Q27_remove_element.h
// // Created by maverick on 2019/12/23. // #ifndef ALGORITHMS_Q27_REMOVE_ELEMENT_H #define ALGORITHMS_Q27_REMOVE_ELEMENT_H #include <vector> using namespace std; //给定一个数组 nums 和一个值 val,你需要原地移除所有数值等于 val 的元素,返回移除后数组的新长度。 // //不要使用额外的数组空间,你必须在原地修改输入数组并在使用 O(1) 额外空间的条件下完成。 // //元素的顺序可以改变。你不需要考虑数组中超出新长度后面的元素。 // //示例 1...
3de9927d44eaa5046c50749998dfce4c8412ee38
f0f30927f6e38e1431a7911726e7871dcc29a3d3
/ProgrammingProject2/BattlePets/BattlePets/PetTree.h
00a53d2f1fd2fcba0b6abe7875712edf00e4fe6e
[]
no_license
KhingKY/BattlePets
4f45cf395ddef80b749c08e447c1e877dc9c244a
8625860be8d27f7a52309694d3e1f8587416feb8
refs/heads/master
2023-02-01T06:50:46.400127
2020-12-15T05:30:23
2020-12-15T05:30:23
275,523,795
0
0
null
null
null
null
UTF-8
C++
false
false
2,081
h
PetTree.h
#pragma once #include <stdexcept> #include "PetVisitor.h" using namespace std; template<class T> class PetTree { private: const T* fKey; PetTree <T>* fLeft; PetTree <T>* fRight; PetTree() :fKey((T*)0) { fLeft = &NIL; fRight = &NIL; } public: static PetTree<T> NIL; //sentinel PetTree(const T& aKey) : fK...
1875ac39e9c1e022b4dcfaf6f8cba1cd48909756
e6e5dff698f6f05f6ce021a424322fd3d3a7ec05
/array_and_sorting/monk_and_sorting.cc
4cc0fb13bf51e6972326ba99df498cbc0bc4a6d5
[]
no_license
pareshchouhan/codemonk
4fe4ce9c9f82c9a77a7262fd785d074c4bb8a846
f5d2b6609a8db7a6b35e1ca1c232fd7a26f5b74d
refs/heads/master
2023-01-16T07:30:05.324759
2020-11-25T06:14:00
2020-11-25T06:14:00
312,019,665
0
0
null
null
null
null
UTF-8
C++
false
false
2,463
cc
monk_and_sorting.cc
// Sample code to perform I/O: #include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { // ios_base::sync_with_stdio(false); cin.tie(NULL); ll N; cin >> N; vector<string> A; for (ll i = 0; i < N; i++) { string temp; cin >> temp; int len = temp.size(); in...
8a76b47d90ff587cc41c3b50058e5baa82a0a430
a3d3c947ff3a360f1bb1e2854d10b26efe772e32
/src/ccrt/model/ExprIn.h
7e76b51f0f064f2f5b21dc8595a2cfcc3b0f43f0
[ "Apache-2.0" ]
permissive
fvutils/ccrt
aba5e7a7f3a80ec46a41488e2a24470f2d1e00ed
88d4daa8224bf59333f4dd49a0d740a28f995eb5
refs/heads/master
2020-04-28T02:14:29.715082
2019-04-28T01:07:17
2019-04-28T01:07:17
174,891,311
1
0
null
null
null
null
UTF-8
C++
false
false
507
h
ExprIn.h
/* * ExprIn.h * * Created on: Apr 12, 2019 * Author: ballance */ #pragma once #include <vector> #include "ccrt/model/ExprBase.h" #include "ccrt/model/IExpr.h" #include "Range.h" namespace ccrt { class ExprIn : public ExprBase { public: ExprIn( IExpr *lhs, const std::vector<Range> &rhs ); ...
81c63b8f0ac810c57c982c13c0390bdf0039800f
8f54f3ae7c617fc73c0397cfe7c02684a5355dce
/UVA 579 _Clock Hands.cpp
8cbb90060dd9307f9280a819d7e107a43d434670
[]
no_license
egoisticfool/Uva-Problems-Solution
1c49477f0ba0687c2df46a75a5619046e45538c1
255df811f50d3aa821904ff5c46fe1773701f7a7
refs/heads/master
2020-05-19T23:27:09.409806
2019-08-04T10:15:01
2019-08-04T10:15:01
185,267,251
0
0
null
null
null
null
UTF-8
C++
false
false
459
cpp
UVA 579 _Clock Hands.cpp
#include<iostream> #include<cstdio> #include<cstdlib> #include<cmath> using namespace std; int main() { //freopen("input.txt", "r", stdin); int h, m; double hA, mA; while(scanf("%d:%d", &h, &m)!=EOF) { if(h==0 && m==0) break; hA = (h*30.0)+(m/2.0); mA = m*6....