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
005ad03c7d687e460a994a95dd50f39a47110e52
71889f36c4da58ab07e822728f1c22413403fd2a
/LUOGU/P1093.cpp
830e2309ac567c68402c3e1900ef0d0e17389ea3
[]
no_license
tangsongxiaoba/codebase
b8789aab6f7fa14737064f2a12fac7c541e34a6f
45db93958ed0e3b175de9da8e245e2d216a64a4b
refs/heads/master
2023-07-12T16:42:16.550306
2021-08-18T13:20:35
2021-08-18T13:20:35
336,157,040
1
0
null
null
null
null
UTF-8
C++
false
false
735
cpp
P1093.cpp
//Luogu P1093 奖学金 #include<iostream> #include<algorithm> #include<cstdio> using namespace std; const int MAXN=100000; struct node{ int ch,ma,en,sc,xh; node(int ch = 0, int ma = 0, int en = 0, int sc = 0, int xh = 0):ch(ch), ma(ma), en(en), sc(sc), xh(xh) {}; }stu[MAXN]; inline bool cmp(node x, node y) { if(x.sc =...
296ae19dc97f3ff932c0ee503f6059f93ef39dc6
88b130d5ff52d96248d8b946cfb0faaadb731769
/searchlib/src/vespa/searchlib/tensor/hamming_distance.h
47b022afc131ccb8a1a62a711c25f4bccb6d4acb
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
vespa-engine/vespa
b8cfe266de7f9a9be6f2557c55bef52c3a9d7cdb
1f8213997718c25942c38402202ae9e51572d89f
refs/heads/master
2023-08-16T21:01:12.296208
2023-08-16T17:03:08
2023-08-16T17:03:08
60,377,070
4,889
619
Apache-2.0
2023-09-14T21:02:11
2016-06-03T20:54:20
Java
UTF-8
C++
false
false
867
h
hamming_distance.h
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "distance_function.h" #include "distance_function_factory.h" #include <vespa/eval/eval/typed_cells.h> #include <vespa/vespalib/util/typify.h> #include <cmath> namespace search::tensor { /**...
d40ce53b8a083be66da57dd3af9a65b69f8fa1d2
1b5832d547ec7356d868683f6c4337206d2f4541
/ground_plane_removal/include/ground_plane_removal/Parameters.hpp
00ee949e60ee3a53f10bc28efa9973e1c31c1b12
[ "BSD-3-Clause" ]
permissive
Tarmy3124/tree_detection
17d23b77f7e2f1c1fdf15be0be6744f30a6fb5c3
8d550f7edb5e1b7770fcde2d51c6b08f1ec7a4cd
refs/heads/main
2023-07-13T06:31:59.789720
2021-08-22T14:35:39
2021-08-22T14:35:39
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,000
hpp
Parameters.hpp
/* * Parameters.hpp * * Created on: Aug 19, 2021 * Author: jelavice */ #pragma once #include <string> #include <yaml-cpp/yaml.h> #include "grid_map_pcl/PclLoaderParameters.hpp" namespace ground_removal { struct GroundPlaneCropBoxParameters { double minX_ = -50.0; double maxX_= 50.0; double minY_= -...
4c2adc0671dcc8a8d651762fd03a71e9af1118e4
c9cf0586ace11aa32fa67606d237a130a06364ee
/circular-cylinder-10-1/3.25/U
bfc7ae766f26f615871626877613f98e1d1aa335
[]
no_license
jezvonek/CFD-Final-Project
c74cfa21f22545c27d97d85cf30eb6dc8c824dc1
7c9a7fb032d74f20888effa0a0b75b212bf899f4
refs/heads/master
2022-07-05T14:43:52.967657
2020-05-14T03:40:56
2020-05-14T03:40:56
262,370,756
1
1
null
null
null
null
UTF-8
C++
false
false
74,722
U
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v1912 | ...
d74f90b0ca5e695550cedaf734d83fb9beeea135
28dba754ddf8211d754dd4a6b0704bbedb2bd373
/Sgu/P146.cpp
538020fc680c30af0217220e7ae6923cc69990a5
[]
no_license
zjsxzy/algo
599354679bd72ef20c724bb50b42fce65ceab76f
a84494969952f981bfdc38003f7269e5c80a142e
refs/heads/master
2023-08-31T17:00:53.393421
2023-08-19T14:20:31
2023-08-19T14:20:31
10,140,040
0
1
null
null
null
null
UTF-8
C++
false
false
385
cpp
P146.cpp
#include <cstdio> #include <iostream> using namespace std; int N; long long L, T, V; int main() { double l; scanf("%lf%d", &l, &N); L = (long long)(l * 10000 + 0.5); long long S = 0; for (int i = 0; i < N; i++) { cin >> T >> V; S = (S + V * T * 10000 % L) % L; } double ret = (double)min(S...
c43dd9606760009d7b4dc55b26fc8395419b74c8
253d3874706a20e95e92aaf7111ce5e7d23157c2
/lab3/p1.cpp
3b879f77fa253f30ae93d4626bfd70a9dd502b06
[]
no_license
Khem112/CN_codes
57061a091c2772dc47fa099198e98b9f559a1ed1
c1b95e150a0a7ef30842f60dd4d0f0ec4632369f
refs/heads/main
2023-04-21T16:23:10.647014
2021-03-03T17:18:25
2021-03-03T17:18:25
335,300,444
0
0
null
null
null
null
UTF-8
C++
false
false
3,548
cpp
p1.cpp
#include <stdio.h> #include <errno.h> #include <time.h> #include <string.h> #include <pthread.h> #include <signal.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <netinet/ip.h> #include <arpa/inet.h> #include <errno.h> #include <netinet/in.h> #include <netinet/if_ether.h> #include <net/ethernet.h...
8f59fd3d67337e185fef558e29a214b61b0c27cb
5002bbe557c13d0bbf52057ef938e538f112cd7c
/src/tmxlite_test_sdl2/src/level.cpp
c8f9ce78f4f175d19d72f0983025aa26dbc54973
[]
no_license
inniyah/TiledCythonTest
532614ca0ff5ec8a6b279d93c093b33211898ddc
80e8cbfd2814797d25b3f798b090e1a6ecef057e
refs/heads/master
2023-06-23T05:41:53.616133
2021-07-18T17:02:29
2021-07-18T17:02:29
343,677,603
0
0
null
null
null
null
UTF-8
C++
false
false
5,467
cpp
level.cpp
#include "level.hpp" #include "assets.hpp" #include "tmxlite/Map.hpp" #include "tmxlite/Layer.hpp" #include "tmxlite/TileLayer.hpp" #include <iostream> #include <algorithm> tile::tile(SDL_Texture* tset, int x, int y, int tx, int ty, int w, int h) : sheet(tset), x(x), y(y), tx(tx), ty(ty), width(w), height(h) { } vo...
dbb3a861ed629b64215cc2b2042d3626b059e0fc
5042603e9ced3a23a6058f5e77ba4c1e7fe27ef2
/src/hpnmg/datastructures/transitions/DeterministicTransition.cpp
9a0095653e485c9e4a33fee5764070661af3181c
[]
no_license
jannikhuels/hpnmg
378647f17c52113e01cf61dd4f1bae30b738cca9
eb366c6043dbb3ac59a6f9fb2c157b1ec66a1b9c
refs/heads/master
2021-06-06T02:54:59.894465
2020-03-25T11:43:47
2020-03-25T11:43:47
114,992,963
1
0
null
2019-11-11T12:21:13
2017-12-21T10:21:20
C++
UTF-8
C++
false
false
610
cpp
DeterministicTransition.cpp
#include "DeterministicTransition.h" using namespace std; namespace hpnmg { DeterministicTransition::DeterministicTransition(std::string id, unsigned long priority, double weight, double discTime) : Transition(id), priority(priority), weight(weight), discTime(discTime) {} double DeterministicTrans...
d7a645ec09d2f5379733164607340918cecf7eb7
6e665dcd74541d40647ebb64e30aa60bc71e610c
/600/VoipLib/include/sipstack/TransferMsg.hxx
594e9850299b14df7483c793d0249b273f7dfe31
[]
no_license
jacklee032016/pbx
b27871251a6d49285eaade2d0a9ec02032c3ec62
554149c134e50db8ea27de6a092934a51e156eb6
refs/heads/master
2020-03-24T21:52:18.653518
2018-08-04T20:01:15
2018-08-04T20:01:15
143,054,776
0
0
null
null
null
null
UTF-8
C++
false
false
1,089
hxx
TransferMsg.hxx
#ifndef TRANSFERMSG_H #define TRANSFERMSG_H /* * $Id: TransferMsg.hxx,v 1.2 2007/03/01 20:04:28 lizhijie Exp $ */ #include "SipCommand.hxx" #include "StatusMsg.hxx" namespace Vocal { class BaseUrl; /// class TransferMsg : public SipCommand { public: enum TransferMsgForward { transferMsgForwar...
f0b82c95d2b6d4af2889f406732eac273825b839
1934b86552e987f8c3b37123afcc7941596cf213
/src/scats/scats.cpp
e04a14b170951f5dd537d57936e5248bcc0a6a39
[ "Unlicense" ]
permissive
paveloom-c/C3.1
86d2607bcb6a735c68cded777a83b3f78e347615
6a8bc96e5fbc32b494bddde561cfe3c5707f6b20
refs/heads/master
2022-09-03T13:55:46.195531
2020-04-29T14:23:07
2020-04-29T14:23:07
258,973,950
0
0
null
null
null
null
UTF-8
C++
false
false
3,928
cpp
scats.cpp
#include <pybind11/pybind11.h> // Функции связывания #include <pybind11/stl.h> // STL контейнеры #include "prec.h" // Точность вещественных чисел #include "scats.h" // API модуля #include <string> // Строки namespace py = pybind11; // Пространство имен pybind11 // Модуль SCATS PYBIND11_MODULE(scats, m) { #if...
f0e863576e6c701ab51c314d0a4a51f8caf77dea
b9691aa01979b857344252db973757470d94dce4
/assignment_package/src/scene/inventory.h
47d42c7d6576d4a7ef893d3e843f18b216f850b7
[]
no_license
NY-Kim/mini-minecraft
fceb78ee783aad2942a38466b647b0cad7676ae3
215ce1e545e90a8e0b51934df7cf6614e53c7309
refs/heads/master
2022-07-05T02:18:33.511782
2020-05-17T13:35:44
2020-05-17T13:35:44
264,672,776
0
0
null
null
null
null
UTF-8
C++
false
false
518
h
inventory.h
#ifndef INVENTORY_H #define INVENTORY_H #include <drawable.h> #include <la.h> #include <scene/terrain.h> #include <QOpenGLContext> #include <QOpenGLBuffer> #include <QOpenGLShaderProgram> class Inventory : public Drawable { public: Inventory(OpenGLContext* context); virtual void create(); virtual GLenum ...
3ef0411c6ef6a872bb0ee67b6ab7b2eeaa626d36
81aaf01c7123da72fc19c17d24baa72ce325847b
/Homework/5/phone_book.cpp
de3323087a2e68fec8e3923a34d5884560a21fc3
[]
no_license
ruslan-shupanov/algorithms_techno_mail
b58788a753197322481578887040f6b61acacd62
f7cb126817f8e745a0ff491f864ba9cea3110a77
refs/heads/main
2023-01-31T15:40:59.005008
2020-12-14T00:25:34
2020-12-14T00:25:34
308,096,718
0
0
null
null
null
null
UTF-8
C++
false
false
2,109
cpp
phone_book.cpp
#include <iostream> #include <algorithm> #include <string> #include <set> #include <vector> using namespace std; struct Card { string name; string value; Card(string s1, string s2) : name(s1), value(s2) {} bool operator == (Card const & b) { return name == b.name; } }; struct Phone...
569ecd16614512b3ecbe5f163558848bfc0ac8b8
4a23908779804445aa382d89df582593945cdd3c
/src/sas/models/include/flexible_cylinder.h
ef378ee5bc79d4813cffb3a98563b12dcd976992
[]
no_license
diffpy/srfit-sasview
97930afca42b13774461d4993a80575f3e98c721
792e6be8e13f67657de88e5fb9a9afb91a750c30
refs/heads/master
2021-01-18T05:00:15.447038
2015-12-08T16:19:34
2015-12-08T16:19:34
44,706,210
0
1
null
null
null
null
UTF-8
C++
false
false
1,618
h
flexible_cylinder.h
/* TODO: Add 2D model */ #if !defined(flexible_cylinder_h) #define flexible_cylinder_h #include "parameters.hh" /** Structure definition for Flexible cylinder parameters * [PYTHONCLASS] = FlexibleCylinderModel * [DISP_PARAMS] = length, kuhn_length, radius [DESCRIPTION] = <text> Note : scale and contra...
c3d935bcb3fde4aedd3173a025e38218ee175f72
fa7ba9dc69c3d1c47f2caab8b6012c4003eff852
/source/ReadAnnotations.h
b161ae7bf8d87685e282f54c29e59c7ea3bd776c
[ "MIT" ]
permissive
alexdobin/STAR
22d6c771b6346b8ec19f89751f21a56fd42549df
79affaae7d5e70221287762eab4e40679fad87f7
refs/heads/master
2023-08-23T07:32:52.945974
2023-08-15T19:21:58
2023-08-15T19:21:58
17,778,869
1,686
594
MIT
2023-08-16T15:49:57
2014-03-15T15:47:05
C
UTF-8
C++
false
false
1,655
h
ReadAnnotations.h
#ifndef H_ReadAnnotations #define H_ReadAnnotations #include "IncludeDefine.h" #include "SoloCommon.h" #include "SoloFeatureTypes.h" class ReadAnnotFeature {//annotations for one feature public: set<uint32> fSet; //set of genes for this read vector<set<uint32>> fAlign; //gene for each alignment of this read ...
46151ae5f21c88205712bdb87f43bb10b061e12e
eb5f30e2c16e90a4c93326f85134027fc390d5a8
/include/chapter7/Exercise7_1_2.h
ba9ebeab1df83c5ef147661416a886631ac1205f
[]
no_license
windmissing/exerciseForAlgorithmSecond
72fb890235286b164fbf33b1652e36349424a089
c6ade0da2d7ca6be3415dece65e4f73ade5b4444
refs/heads/master
2021-01-10T02:18:35.617566
2016-12-21T09:43:16
2016-12-21T09:43:16
48,029,328
16
0
null
null
null
null
UTF-8
C++
false
false
395
h
Exercise7_1_2.h
/************************************************************************* > File Name: ../../include/chapter7/Exercise7_1_2.h > Author: yinahe > Mail: yina.he@nokia.com > Created Time: Sun 29 Nov 2015 11:26:27 AM CST ************************************************************************/ #include<...
4d720fb57ebbe77096740089a65a25e24ba4b4ab
99ed70e680a4ea821946b5056dd88c46c96e8945
/tests/query.cpp
6ce08c131a3d13608dbd565d2a8d7eb91f1cc6ae
[]
no_license
LiamMartens/sanity-cpp
22ed8e5390f84539e27c20a8a1e60a8e553cf428
d30e8c95a58478b828446926bfbdad599ab6c67d
refs/heads/master
2020-04-15T08:02:30.221032
2019-04-01T22:08:16
2019-04-01T22:08:16
164,513,589
0
0
null
null
null
null
UTF-8
C++
false
false
2,867
cpp
query.cpp
#include "sanity_query.h" #include "sanity_filter.h" #include "sanity_equality_filter.h" #include "sanity_defined_filter.h" #include "sanity_defined_filter.h" #include "sanity_string.h" #include "sanity_modifiers.h" #include "sanity_order.h" #include "Catch2/single_include/catch2/catch.hpp" TEST_CASE("Test query") { ...
c6e659cfa4bcb880c4173fcbe07754ce384214d9
ca5378cfca62c8364ea850e15bedd04610829ebc
/cpp-homeworks/homework_5/include/sifts.hpp
f11551e491fdc382e72e78e108c225fefebee19a
[]
no_license
HaoWangSir/Modern-cpp-Projects
7ac9efdb1f33f0acaa3e4ccfad446c0a9eaba400
949dc7d207b3ea9ac7137a336b3d485ca54c8cdd
refs/heads/master
2022-12-02T08:51:50.150933
2020-08-12T20:54:52
2020-08-12T20:54:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
448
hpp
sifts.hpp
#ifndef SIFTS_ #define SIFTS_ #include <iostream> #include <opencv2/opencv.hpp> #include <string> #include <tuple> #include <vector> #include <opencv2/core.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/xfeatures2d.hpp> using std::string; using std::vector; using cv::xfeatures2d::SiftDescriptorExtractor; u...
adb67150453270deb4ab218da713a05723f3d487
569fdf5acfa7096d4bbdcfc912fc6f3b9b2d7571
/SFML_start/gamestateModel.cpp
1806f845f8ecef89ce417a62ab502d2e16e077ef
[]
no_license
xrabohrok/RingsOfMadness
f7c9d2f65e0a252f8bbb01a46bd37304969165b4
d095a8a85c9c6f9ba55f9cf6238aeccb87390a1a
refs/heads/master
2020-04-13T23:27:46.046117
2013-10-23T20:20:08
2013-10-23T20:20:08
null
0
0
null
null
null
null
UTF-8
C++
false
false
126
cpp
gamestateModel.cpp
#include "gamestateModel.h" gamestateModel::gamestateModel(void) { } gamestateModel::~gamestateModel(void) { }
c7867a4d18283bb12c4b1acaca661ef619d946eb
e4e2397cbd4434873d5aeff49232147348a479b1
/ehunter/sample/HtsStreamingSampleAnalysis.cpp
2e5824ff27c9511e18e143e6bc622a0d73ae22e8
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause", "GPL-3.0-or-later", "Zlib", "MIT", "BSL-1.0", "BSD-2-Clause", "LicenseRef-scancode-polyform-strict-1.0.0" ]
permissive
Illumina/ExpansionHunter
c68b46356aadaea38b4649eb948f631a090146f6
b22e63024b9fb6d481fc02f6a301dbbad74d503f
refs/heads/master
2022-12-12T19:04:37.020106
2022-12-08T18:32:31
2022-12-08T18:32:31
73,416,041
154
48
Apache-2.0
2022-10-20T07:18:35
2016-11-10T19:53:15
C++
UTF-8
C++
false
false
13,235
cpp
HtsStreamingSampleAnalysis.cpp
// // Expansion Hunter // Copyright 2016-2019 Illumina, Inc. // All rights reserved. // // Author: Egor Dolzhenko <edolzhenko@illumina.com>, // Chris Saunders <csaunders@illumina.com> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
34208e8162ee5bca70c26f5c9c0b2b51e068341f
099a7f4b42a6f14c7f11ce29afbd982ffda34980
/BJDP/KataATM/ATM/account.h
f2ce9e6d25ddf8d6639d4ecc7267e5ad925d6ef2
[]
no_license
e5MaxSpace/BJDP
a8c3a30c43cc96adc0afe864523042748b62d4d9
31ce3fea0d1ff5452de07fcfffaf385651d94019
refs/heads/master
2021-01-01T06:26:12.963024
2013-09-15T07:35:07
2013-09-15T07:35:07
null
0
0
null
null
null
null
UTF-8
C++
false
false
252
h
account.h
#ifndef ACCOUNT_H #define ACCOUNT_H class Account { public: explicit Account(double balance); double balance() const; void deposite(double amount); bool withdraw(double amount); private: double m_balance; }; #endif // ACCOUNT_H
7efb7bca8c5bcf38195effd8bab76cd9e14e1ce1
4110496fb8b6cf7fbdabf9682f07255b6dab53f3
/Dp/2008. [Like] Maximum Earnings From Taxi.cpp
14dced126750f0f9dcdc7c91829dc24986d3829f
[]
no_license
louisfghbvc/Leetcode
4cbfd0c8ad5513f60242759d04a067f198351805
1772036510638ae85b2d5a1a9e0a8c25725f03bd
refs/heads/master
2023-08-22T19:20:30.466651
2023-08-13T14:34:58
2023-08-13T14:34:58
227,853,839
4
0
null
2020-11-20T14:02:18
2019-12-13T14:09:25
C++
UTF-8
C++
false
false
1,361
cpp
2008. [Like] Maximum Earnings From Taxi.cpp
// Sort by end position. O(NlogN). // and we just use binary search, try to extand, since end is increasing. class Solution { public: long long maxTaxiEarnings(int n, vector<vector<int>>& rides) { long res = 0; sort(rides.begin(), rides.end(), [&](auto &a, auto &b){ return a[1]...
97ce111d5f48155c3e71b8ad4cd277d90249f88f
35dd668ff26a3dd7cd6b33643e7cb30f984c848a
/pe5constexpr.cc
a9e7ab02166b5e6c16bcdcb273bef1b46912cb6d
[]
no_license
akihiro4chawon/pe-meta
61b7223d750aed69b4e062abd76d76c57ac2ed77
be7b567659cd36a3ecfd862f466986b05a6b5b09
refs/heads/master
2016-09-11T01:55:24.427381
2011-07-08T12:35:30
2011-07-08T12:35:30
1,959,934
0
0
null
null
null
null
UTF-8
C++
false
false
430
cc
pe5constexpr.cc
constexpr int gcd(int a, int b) { return a % b == 0 ? b : gcd(b, a % b); } constexpr int lcm(int a, int b) { return a / gcd(a, b) * b; } constexpr int fold_range_by(int beg, int end, int seed, int reducer(int, int)) { return beg < end ? fold_range_by(beg + 1, end, reducer(seed, beg), reducer) ...
14c7bc2213911a7c74d44c16be076c84458ec327
85c3776d1da1917703bc366d467e920c2c9bb714
/PSP Class Assingment/2nd/Class Problem 2 Assingment II.cpp
cf399c819f5a8d5adedc7799be7df8dfd3cac401
[]
no_license
divyshri/MCA-1st-Sem
7ebf2612d6a72625dbc9a1ca2447b4f91f35bd29
469574b484499e503c8aff65d02cc3777a04c7c7
refs/heads/master
2022-06-13T09:20:39.111801
2020-05-03T19:50:32
2020-05-03T19:50:32
261,007,026
0
0
null
null
null
null
UTF-8
C++
false
false
854
cpp
Class Problem 2 Assingment II.cpp
/* In a town, percentage of men is 52. the percentage of total literacy is 48. If total percentage of literate males is 35 of toal percentage of literate men is 35 of total population, write a program to find the total no. of illetrate men and womens in the town if the total population is 80000 */ #include<iostream> u...
fb82285b5b99428ae66f172608269b02972d40eb
86bfaa0a4fb197b34410f9bd7066cd9d3ce14205
/Test1/Node.h
39513ec17ebfc572af80bf51d93865b2a6e90067
[]
no_license
proflyy/-
b7522ba8fa4f6dc5f6c356310739be5b038f15a7
45ff92207ba35a108fa8d200dd583ec74d2319b3
refs/heads/master
2021-01-10T04:40:51.067511
2015-12-20T13:27:42
2015-12-20T13:27:42
47,620,397
1
0
null
null
null
null
GB18030
C++
false
false
699
h
Node.h
#pragma once class Node { public: CString time; //游览时间 CString longitude; //经度 CString latitude; //纬度 CString Location; //地点 Node *next; CString filePF; //文件地址 CString fileName; Node(){} Node(CString fileName, CString filePF, double lng, double lat, CString time, CString Location) : fileName(fileName), f...
ee76aa949ea997fea27c8983e8ceb901ffbd8ed5
eab52ab8828d73e4337ba911629d10f3f5497130
/Source/SpaceInvaders/DefenderProjectile.cpp
37f76063f35f18690fa95c11b58d0f72b353fb87
[]
no_license
Micadurp/SpaceInvaders2
f5150c4177414c85eec88f66e8f583834ec78ec6
1112c7cf5600305a004105b6752b5d1f379bbde0
refs/heads/master
2020-06-15T12:48:08.316799
2019-07-14T16:17:25
2019-07-14T16:30:33
195,303,411
0
0
null
null
null
null
UTF-8
C++
false
false
700
cpp
DefenderProjectile.cpp
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserve #include "DefenderProjectile.h" #include "GameFramework/ProjectileMovementComponent.h" #include "UObject/ConstructorHelpers.h" #include "Components/StaticMeshComponent.h" #include "GameFramework/ProjectileMovementComponent.h" #include "Engine/StaticMesh.h" #in...
a4cd1d3b08ed4d1bb098ab370bb137c9888de43d
ad7491c035d7c5b46e6d358b9010c406a773a158
/lib/lab03/src/lifo.cpp
6d44eb9e5b37dc43046efdc3c34f6cdd69396dfa
[]
no_license
dahmedk1999/cmpe126s20_labs
6ef7d9bffed87153709317e370816546473160b6
60b0ecb476a08e40565d6a5457af010ed9ebd666
refs/heads/master
2023-01-24T09:55:10.998611
2020-12-07T20:01:58
2020-12-07T20:01:58
319,430,399
0
0
null
null
null
null
UTF-8
C++
false
false
3,708
cpp
lifo.cpp
#include "lifo.h" namespace lab3 { lifo::lifo() { index = 0; lifo_storage.reserve(100); } lifo::lifo(std::string input_string) { index=0; lifo_storage.reserve(100); lifo_storage[0] = input_string; index++; } lifo::lifo(const lifo &original) ...
6bd8149c7f020d274e88948b12aa0ae2ac56ec06
541bb0bfba9dc8839cfdc56d4a8ccb26fccfc17c
/Prova Final/Questão 1/FuncaoSegundoGrau.cpp
c787e9bcbc878d3f679483e403db0e9ad092db8c
[]
no_license
GeovaniSantosHub/Learning_C-
3182e8afb093fb7562e72acc0b28e5aa43482f03
ffbec50136398591874b66f09394ed2a5f46a7a9
refs/heads/main
2023-08-26T03:21:28.712328
2021-10-29T14:54:19
2021-10-29T14:54:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,242
cpp
FuncaoSegundoGrau.cpp
#include "FuncaoSegundoGrau.hpp" FuncaoSegundoGrau::FuncaoSegundoGrau() //contrutor sem parâmetros { } FuncaoSegundoGrau::FuncaoSegundoGrau(double a, double b, double c) //contrutor com parâmetros para os coefiecente a,b e c { this->a = a; this->b = b; this->c = c; } //método que atribui valores aos c...
329848efe6f0409b6701421553019518451414cc
71cc506fa01205134abe03ca6efd62e4ca5299e9
/baseline/Slab_solps/Main.cpp
251e838cab22f68d379877463148054a66f03bc3
[]
no_license
ZRZ2233/SOLPS-algorithm
b7bc9b8f137cfea37f9d50eb48d8b70a0dc6b1a2
df2bbae6d2729b6e012cf65d0f4bd8eb22d3c519
refs/heads/master
2023-08-23T00:08:01.490598
2021-09-18T05:22:44
2021-09-18T05:22:44
407,758,583
0
0
null
null
null
null
GB18030
C++
false
false
7,293
cpp
Main.cpp
#include<iostream> #include<fstream> #include"Variable.h" #include"EquationSolve.h" #include"SolvingMatrixSet.h" #include"BoundarySet.h" #include"ohters.h" #include<string> #include"eigen3/Eigen/Eigen" using namespace Eigen; using namespace std; //变量存储矩阵初始值设置 void initialValueSet() { for (int i = 0; i < nx; i++) { ...
4ff6b7196a3baede7a697541c9e769b72250e133
51abcb483d5ec37e9ec6583fdc4ab4fcc37c755b
/iterator/test_iterator.cc
595ed19389a8df378134c64370a41c11ec796639
[]
no_license
treasureb/STL-algorithm
d3673862148f482aada7e0aa1da7d90839d1bc43
9955b8918a023dfa04534e0badce116e1282f4ba
refs/heads/master
2020-03-21T04:46:02.412271
2018-08-18T16:06:04
2018-08-18T16:06:04
138,126,093
0
0
null
null
null
null
UTF-8
C++
false
false
1,402
cc
test_iterator.cc
#include<iostream> #include<vector> #include<list> using namespace std; /* * 迭代器失效的几种情况 * 1.关联式容器(vector) * a)当进行扩容操作时,所有迭代器都会失效 * b)当进行erase(iterator)时,会时当前节点的迭代器失效 * 采用it=erase(it)的操作,保存返回的迭代器 * * 2.链表 * a)因为erase会返回待删除节点的迭代器,所以可以采用保存 * b)由于每个节点间互不影响,所以可以采用erase(it++),在删除之前进行++ * ...
1c0894802bf2c19bcfd07566ad4f67a2cd267e06
eeddc37897a43a749f1895654fb2fcff4a6c5fa1
/game/windows_manager.hpp
d5b5161e9b4232e21454569fa065e4d469c2e469
[]
no_license
shubarinv/dnCourseWork
ace6fc7603f1fa50ce5cae5e12efb899e9290d95
b1398bb927807d6861ae98c2d66db0d503be3be3
refs/heads/master
2022-05-18T06:02:11.801617
2020-01-25T06:47:16
2020-01-25T06:47:16
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,092
hpp
windows_manager.hpp
#ifndef DNCOURSEWORK_WINDOWS_MANAGER_HPP #define DNCOURSEWORK_WINDOWS_MANAGER_HPP #include <SDL_video.h> #include <SDL_render.h> #include <string> #include <SDL_log.h> #include <stdexcept> class WindowsManager { struct twoInt { int x, y; }; public: WindowsManager() { functionsWindow = SD...
e45aee6162e0279f6f500ab03d1c01e09f173f1b
544a6eb07d5a5ffd6c0f5d99ede6d05a4795781b
/Lab2/2_simple_calculator/Calc/CalcLexer.h
4e1bc6512725a64f023ff4b5062ddf80c083a479
[]
no_license
QuimMarset/CL
055e36eff47d192e1774ac7b75460398f657d2a5
4b6d7234201e2b0331170a369665531faf501427
refs/heads/master
2023-05-27T04:52:48.639815
2018-08-02T14:36:37
2018-08-02T14:36:37
124,888,373
0
0
null
null
null
null
UTF-8
C++
false
false
1,912
h
CalcLexer.h
// Generated from Calc.g4 by ANTLR 4.7.1 #pragma once #include "antlr4-runtime.h" class CalcLexer : public antlr4::Lexer { public: enum { T__0 = 1, MUL = 2, ADD = 3, SUB = 4, DIV = 5, LPAR = 6, RPAR = 7, QMARK = 8, DOUBLE = 9, IF = 10, ENDIF = 11, THEN = 12, ELSE = 13, WHILE = 14, LKEY = 15, RK...
dbfea03e616c5e8e7c069cc113047fa8477b30ab
3e9b78ece7653e78e5144e779cae3817d3daa152
/3fd/isam/isam_impl_session.cpp
8fae20087a1966efe59fd198423bd6712475db46
[ "MS-PL" ]
permissive
faburaya/3fd
887ba5e3086711c5bed0c36dfe0830d6ea01ff06
cde5d33a2e22dc6a02423334b0a8b766348cb296
refs/heads/master
2022-07-22T00:30:39.812229
2021-05-13T14:29:48
2022-07-08T23:49:48
36,586,691
35
5
null
2015-09-11T20:23:21
2015-05-31T03:45:51
C
UTF-8
C++
false
false
6,896
cpp
isam_impl_session.cpp
#include "pch.h" #include "isam_impl.h" #include <codecvt> namespace _3fd { namespace isam { /////////////////////////// // Session Class /////////////////////////// /// <summary> /// Finalizes an instance of the <see cref="SessionImpl"/> class. /// </summary> SessionImpl::~SessionImpl() ...
caf61d26b179a24608029f7b21121970cc509d8b
e71cf8bc0077df065f7778d19a3be85e4a894776
/coderushdiv2_4.cpp
0b6268d04a1f1814568613b66d7afdca0fa583e8
[]
no_license
NishantRaj/program_files
c33ac91523a65dc6a1af7cdc35e6c18e969b10f3
934a9f1dcdbc2851c50f36e0f33c4e08d214e2e7
refs/heads/master
2021-01-21T04:54:46.691639
2019-05-11T09:22:25
2019-05-11T09:22:25
39,347,684
0
0
null
null
null
null
UTF-8
C++
false
false
1,126
cpp
coderushdiv2_4.cpp
#include <bits/stdc++.h> using namespace std; #define LL long long #define ULL unsigned long long ULL solve(int a,ULL sum) { ULL d = (ULL)sqrt(a*a + 8*a*sum); d-=a; return d / (2*a); } ULL calculate(ULL a[], ULL t , int sz) { ULL total = 0; for(int i = 0 ; i < sz ; i++) total += solve(a[i],...
0e5a98719a87e475e5ba8911b642598e8050bdf0
5831128a4b8a0debfdc00a365f79d25c2866d6cc
/Kattis/8queens.cpp
52ee1d14d81a3eab546ce95d2ca97b019be18284
[]
no_license
yameenjavaid/Online-Judge-Solutions
b577717d777075f618f84676f20f08c184248ac8
7d8ecc4ffb9a7bfddc0cd7d64646ef92ac8c0322
refs/heads/master
2022-12-24T12:00:20.187337
2020-10-13T19:56:17
2020-10-13T19:56:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
858
cpp
8queens.cpp
#include <bits/stdc++.h> using namespace std; // Eight Queens char g[11][11]; vector<pair<int, int>> queens; int main(){ for(int i = 0; i < 8; i++) for(int j = 0; j < 8; j++){ cin >> g[i][j]; if(g[i][j] == '*') queens.push_back({i, j}); } if(queens.size() ...
6355fe9a2608fc4c28642b37a3a2e4a4bd6090ae
2c78de0b151238b1c0c26e6a4d1a36c7fa09268c
/shared/GCI/impl/MMapWin32/FileForMemImpl.cpp
f574a742fb63c4e84534277a901815cc6298a80e
[]
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
12,295
cpp
FileForMemImpl.cpp
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Модуль: "w:/shared/GCI/impl/MMapWin32/FileForMemImpl.cpp" // генератор файлов реализации C++ (.cpp) // Generated from UML model, root element: <<Servant::Class>> shared::GCI::MMapWin32::FileFor...
3e1e64827cf8cacd38aea81a33137c67cb82676b
502e207c832ef269a011e65f564925efa78ffa4f
/MicroSTL/MicroSTL/micro_uninitialized.h
ca501bdb2f13a8cc2d4b106f5f643563a224a66c
[]
no_license
Maxmengt/MicroSTL
57b8254d79706183d4a495048e602c66a67ad730
23b9124d27f35b0ede07171facfdbe7cfe65d0c4
refs/heads/master
2021-01-11T19:51:46.397010
2017-03-03T13:07:22
2017-03-03T13:07:22
79,409,450
0
1
null
null
null
null
UTF-8
C++
false
false
3,074
h
micro_uninitialized.h
#ifndef _MICRO_UNINITIALIZED_H_ #define _MICRO_UNINITIALIZED_H_ #include "micro_construct.h" #include "micro_iterator.h" #include "micro_type_traits.h" namespace MicroSTL { template<class InputIterator, class ForwardIterator> inline ForwardIterator uninitialized_copy(InputIterator first, InputIterator last, Forward...
b0f26a66baec767965c234e2735925a1d334b601
73a6c73fa08a4fc7aabcc6bb705d2e71132685b3
/src/libs/transaction_common/SignedChangeSetBuilder.cpp
aaa8906e48d6daf9b31c25d6e250c41be2ae1aea
[ "MIT" ]
permissive
blockspacer/keto
2f6ff979a9dc9513943bf9cedb4a302a70a2b66a
dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8
refs/heads/master
2021-02-15T06:48:08.661393
2018-05-22T14:01:34
2018-05-22T14:01:34
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,300
cpp
SignedChangeSetBuilder.cpp
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: SignedChangeSetBuilder.cpp * Author: ubuntu * * Created on March 17, 2018, 5:30 AM */ #include "keto/transaction_...
4e6ad17bce355d0890f1db2cd56650ad47bae088
843136d9f46b9e3bab2eb58bf17e8d4b6c35ef26
/2ref.cpp
c85d4c4089b018a0dd8fd0e304d3605dfcc9ce4f
[]
no_license
corvede/OS
b082eab8ec6d9f9862e61ab8023c0f706a622cae
5cdbfebb5c673ed449303776699e6644d3edf98e
refs/heads/master
2021-07-24T07:04:20.309152
2017-11-04T13:36:40
2017-11-04T13:36:40
108,743,673
0
2
null
2017-11-03T17:22:39
2017-10-29T14:56:25
C++
UTF-8
C++
false
false
13,364
cpp
2ref.cpp
#include<iostream> #include<queue> #include<iterator> #include<fstream> #include<vector> using namespace std; //Declaring class to maintain process data class Process { public: Process() { pid = 0; arrival = 0; burst1 = 0; waiting_time = 0; turnaround_time = 0;...
b877b24948aaf1a73bb5547c93e4e8b46a6eca3b
5bd2afeded6a39311403641533f9a8798582b5c6
/codeforces/1174/E.cpp
ebd800685cd30170f53eb251ee3ead50efdd5218
[]
no_license
ShahjalalShohag/ProblemSolving
19109c35fc1a38b7a895dbc4d95cbb89385b895b
3df122f13808681506839f81b06d507ae7fc17e0
refs/heads/master
2023-02-06T09:28:43.118420
2019-01-06T11:09:00
2020-12-27T14:35:25
323,168,270
31
16
null
null
null
null
UTF-8
C++
false
false
6,720
cpp
E.cpp
#pragma comment(linker, "/stack:200000000") #pragma GCC optimize("Ofast") #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native") #pragma GCC optimize("unroll-loops") #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; usi...
3d51db5f856c986980237a29c0b93a03c0feea4d
73b75f172d8aab076af80213706a7a92bf6af5d6
/src/vr/restapi.hpp
4a56aaa00ab0fcce61fbb9554f6dcce49f2a0e1d
[]
no_license
boolpae/VR_RT_DNN_ITF_DP
eb7506b03b974c47c12925ce1e8f94838be16010
22f7803146fc161301610d5778094358b95852ff
refs/heads/master
2020-04-15T16:46:43.077899
2019-01-09T11:29:14
2019-01-09T11:29:14
164,850,281
0
0
null
null
null
null
UHC
C++
false
false
3,561
hpp
restapi.hpp
/** * @headerfile restapi.hpp "restapi.hpp" * @file restapi.hpp * @brief RESP API * @author Kijeong Khil (kjkhil@itfact.co.kr) * @date 2016. 07. 08. 17:23:23 * @see */ #include <string> #include <map> #include <memory> #include <microhttpd.h> #include <log4cpp/Category.hh> #include <boost/noncopyable.hpp> ...
91a3158c01343d5de829125df29b412240aa8c42
c43bd54274413eccff05ce1f8d785d3015c98dc3
/resources/templates/devkit_iothub/device.ino
480046ed56f80ac355db8a364944620d3ae623e1
[ "MIT" ]
permissive
dilin-MS/vscode-iot-workbench
314e743aac8e6c0f86c39828a297eab57b58ec61
839a9e91b9cba6bc1b38c08ae7fb44aac17cde72
refs/heads/master
2020-11-26T20:38:57.913511
2020-01-06T00:57:31
2020-01-06T00:57:31
199,791,057
0
0
MIT
2019-07-31T09:26:49
2019-07-31T06:11:55
TypeScript
UTF-8
C++
false
false
865
ino
device.ino
#include "AZ3166WiFi.h" #include "DevKitMQTTClient.h" static bool hasWifi = false; static bool hasIoTHub = false; void setup() { // put your setup code here, to run once: if (WiFi.begin() == WL_CONNECTED) { hasWifi = true; Screen.print(1, "Running..."); if (!DevKitMQTTClient_Init()) { has...
793e31112d5bacc41d5428f5983a6af48652d576
a129ec4664bc4c33a681154437734fb1ea526810
/LTAnalysis/src/Tree.cxx
cfb5ae3458170a9c30824f2bb7ab20b37259ec3c
[]
no_license
kskovpen/bTag
cea14982b3f51f07aa0a0149deaa0884fa14bda2
fcea471f812a7782e6ed2fc0e155a04391b0bbbb
refs/heads/master
2020-04-12T03:15:50.699567
2019-01-30T19:03:01
2019-01-30T19:03:01
26,447,732
0
2
null
null
null
null
UTF-8
C++
false
false
22,325
cxx
Tree.cxx
#include "../include/Tree.h" LTANA::Tree::Tree(TChain *ch,char *fname,std::string treename) { ch = new TChain(treename.c_str()); std::ifstream infile; infile.open(fname); std::string ifile = ""; while( getline(infile, ifile) ) { std::string fnameStr = std::string(ifile); ch->Add(fnameStr.c_...
a49dff52908de40a481d4e2752a5deb3f93be0ff
391b46772c6a7d0779d85fcbe3f15b76f5201619
/CppExamples/CppExamples/10_24_25/Example40_10_24_25.cpp
dd7b96791704ea884ea54ca69133c04352ba8487
[]
no_license
cicekozkan/CppExamples
b750775cccb73b6880152ef4f04b659389e7d910
05a8adf902a7e5b02d5f75aab56e7cf33e4601ae
refs/heads/master
2021-01-20T10:30:37.773845
2016-02-10T15:52:50
2016-02-10T15:52:50
37,305,590
0
0
null
null
null
null
UTF-8
C++
false
false
510
cpp
Example40_10_24_25.cpp
// read a file content with istream itearators from end to beginning #include <iterator> #include <iostream> #include <list> #include <fstream> using namespace std; int main() { ifstream ifs("orhan.txt"); if (!ifs) { cout << "acilamadi" << endl; return 1; } istream_iterator<int> iter1(ifs); istream_iterator...
c197110615cb1a19b86532fa796545096f9ba136
2835a5f331900d237e8b2ff3c8a623876ffdadd0
/UVa 10222 - Decode the Mad man.cpp
b52185a1b4ae8b4cd280e6f6a4b95d64b4ddc1a8
[]
no_license
naimhasan2711/UVa
0dd4de942ad285c498a16f14e42399b53746aea0
c72c67453ab509c83bc176c047d70375c73a653c
refs/heads/master
2020-03-19T03:33:38.044474
2018-06-01T16:13:24
2018-06-01T16:13:24
135,738,881
0
0
null
null
null
null
UTF-8
C++
false
false
4,016
cpp
UVa 10222 - Decode the Mad man.cpp
#include<bits/stdc++.h> using namespace std; #define pf printf #define sf scanf #define ei else if int main() { string s; int l; while(getline(cin,s)) { l=s.length(); for(int i=0; i<l; i++) { switch(s[i]) { case ']': pf("p"); ...
a3073bc0ebd4cf8e7f3fed5558a3981b2ecad1c5
3d4f601fee634723f25f739f755bd0aca2b3a489
/cf3/solver/actions/Proto/NodeData.hpp
82e09f9d07afe7c789d6045aecabf0a7bf8aaa8a
[]
no_license
barche/coolfluid3
69d8701a840377e83bb46b158300da6d4d8f3bc5
688173daa1a7cf32929b43fc1a0d9c0655e20660
refs/heads/master
2021-07-16T18:09:42.818240
2020-08-06T11:55:11
2020-08-06T11:55:11
2,173,454
2
7
null
2020-09-20T20:57:29
2011-08-08T13:37:11
C++
UTF-8
C++
false
false
12,678
hpp
NodeData.hpp
// Copyright (C) 2010-2011 von Karman Institute for Fluid Dynamics, Belgium // // This software is distributed under the terms of the // GNU Lesser General Public License version 3 (LGPLv3). // See doc/lgpl.txt and doc/gpl.txt for the license text. #ifndef cf3_solver_actions_Proto_NodeData_hpp #define cf3_solver_actio...
576a4dcd57f3887606ee17d4c026583508888363
068fb424b9878c9e18542e46dd5925a4cf22ad6b
/src/main.cpp
a2716436ee03c44b43ce1e28bb9896be6d480726
[]
no_license
EirikVea/mp-tfmx
69664d2b0cb762f3fd9e34c03819735945d268d4
98700c8f5d88560633f70190ffa2b9b2fdc502a4
refs/heads/master
2016-09-10T09:48:40.082737
2013-04-24T20:12:06
2013-04-24T20:12:06
9,656,504
1
0
null
null
null
null
UTF-8
C++
false
false
4,317
cpp
main.cpp
#include "main.h" struct MyTFMXConfig plugin_cfg; DWORD g_remaining = 0; char *g_rembuf; void DLL_EXPORT mp_PluginInfo(struct mp_plugin_info *info) { strcpy(info->name,"TFMX plugin"); info->version = 0x00000101; } bool DLL_EXPORT mp_Detect(char *filename, struct mp_song_info *songinfo) { if(!IsTFMXFilename...
e0cd336890ca5ab620e3cd7c8c1d06cce10e2bd7
d4fe2e8eda0d782946cccfd10433370e5692b564
/include/barcodescanner/aw_camerafactory.h
3583f81418aa5afbb7f93f9bfb99d4ab9f71f3a3
[ "MIT" ]
permissive
angelsware/aw-plugin-barcode-scanner
8e151fcaa4beaee7cc4d541f1dc5fa2e8d3940c0
75567fa3b7415595ebfa5cf043e1e6cf4bc802e2
refs/heads/master
2021-07-20T14:10:57.065843
2020-10-07T14:23:59
2020-10-07T14:23:59
218,608,543
0
0
null
null
null
null
UTF-8
C++
false
false
257
h
aw_camerafactory.h
#ifndef __AW_BARCODE_SCANNER_CAMERA_FACTORY_H__ #define __AW_BARCODE_SCANNER_CAMERA_FACTORY_H__ namespace BarcodeScanner { class ICamera; class CCameraFactory { public: static ICamera* create(); static void destroy(ICamera* camera); }; } #endif
42ca3b93aec12b7235abe1646f22952b2657f787
3c8c8143524a5c559eccd2555c1b31ac2f5fb315
/include/IBlock.hpp
245dd31baa34017c0be72c1ae664c2483d4f905e
[]
no_license
KoopOngle/indie_studio
06a8215ce631257e5f2cb0b28ee12115aa0b4c7e
00f99e1f942ba7775014bd4a8c22ef054aa64ac9
refs/heads/master
2020-04-22T23:22:50.742434
2018-06-10T18:24:29
2018-06-10T18:24:29
170,739,745
0
0
null
null
null
null
UTF-8
C++
false
false
367
hpp
IBlock.hpp
// // EPITECH PROJECT, 2018 // IBlock.hpp // File description: // IBlock interface // #pragma once #include "IEntity.hpp" namespace bbm { class IBlock : public IEntity { public: IBlock(Match &match, float z, float x, bool isTraversable); virtual ~IBlock(); virtual void spawn() = 0; virtual void die() = 0; ...
7a7e961f5f1b25dbd068b08960c05326505428dc
e8d5015d7586a0eb5ff2bb4b74c9202ce1e2d342
/Problem Sets/ps1b.cpp
9391f60c72d8ce4eac0df6e2a0dddf7ce4ca4242
[]
no_license
exetr/CS2040C
963c51e117731776e9768941684424dafe0bde21
41930e55169134f6feecf795586b6b4073f5f009
refs/heads/master
2020-03-28T12:36:47.256730
2018-11-17T11:53:58
2018-11-17T11:53:58
148,315,529
1
0
null
null
null
null
UTF-8
C++
false
false
2,620
cpp
ps1b.cpp
#include <bits/stdc++.h> using namespace std; void median(double arr[], int n) { //queue to store smaller half elements priority_queue<double> s; //queue to store greater half elements priority_queue<double, vector<double>, greater<double> > g; //declare first element as current median doub...
d0eacdb2e1b4ed8ec108cc64cfdcc98e5636e00b
3613a2fd1cb1989ce3a7f959153d5a1be48d38bc
/Cercetare/SequentialImplementation.h
e592e6f4e684fb56e27744ea5a049975a3210a64
[ "MIT" ]
permissive
Eteru/Master-s-project
380ba488039a208e9e99a686513f7bad078cb05f
3374d430392d41e4a4f16f9324e4029e59aaf381
refs/heads/master
2021-07-14T20:04:33.310698
2018-09-07T09:12:53
2018-09-07T09:12:53
110,660,655
0
0
null
null
null
null
UTF-8
C++
false
false
812
h
SequentialImplementation.h
#pragma once #include "Implementation.h" class SequentialImplementation : public Implementation { public: SequentialImplementation(); virtual ~SequentialImplementation(); // filters virtual void CustomFilter(QImage & img, const std::vector<float> & kernel_values); virtual float Grayscale(QImage & img); virtual ...
02a104cc864f798d88d16caccb9f30618c21f76c
188fb8ded33ad7a2f52f69975006bb38917437ef
/Fluid/processor2/0.01/U
afa4fb1253705ca7ba63af972a57dac22cb59d42
[]
no_license
abarcaortega/Tuto_2
34a4721f14725c20471ff2dc8d22b52638b8a2b3
4a84c22efbb9cd2eaeda92883343b6910e0941e2
refs/heads/master
2020-08-05T16:11:57.674940
2019-10-04T09:56:09
2019-10-04T09:56:09
212,573,883
0
0
null
null
null
null
UTF-8
C++
false
false
13,218
U
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: dev | ...
80a758f9eadc2c46c1b2a376a6e2bafcb5aebdcd
09e5cfe06e437989a2ccf2aeecb9c73eb998a36c
/modules/cctbx_project/mmtbx/masks/atom_mask.cpp
21acb72bee0f87fd820dbc5289a18aac1a9d4261
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license", "BSD-3-Clause-LBNL" ]
permissive
jorgediazjr/dials-dev20191018
b81b19653624cee39207b7cefb8dfcb2e99b79eb
77d66c719b5746f37af51ad593e2941ed6fbba17
refs/heads/master
2020-08-21T02:48:54.719532
2020-01-25T01:41:37
2020-01-25T01:41:37
216,089,955
0
1
BSD-3-Clause
2020-01-25T01:41:39
2019-10-18T19:03:17
Python
UTF-8
C++
false
false
39,147
cpp
atom_mask.cpp
#include <mmtbx/masks/atom_mask.h> #include <mmtbx/masks/util.h> #include <mmtbx/masks/grid_symop.h> #include <cctbx/maptbx/structure_factors.h> #include <cctbx/maptbx/gridding.h> #include <cctbx/sgtbx/direct_space_asu/proto/small_vec_math.h> #include <cctbx/sgtbx/direct_space_asu/proto/asymmetric_unit.h> #include <sci...
018dd8035e3d4073439e1ea187aaffc74a6f7427
0549dff066db857ffe7e480b37d86430219c9b05
/field-force-cpp/field-force-cpp/game/gameconstants.cpp
0e44c476fb9d76ace65fef49c5fa0404f7eeeab7
[]
no_license
ksburhan/field-force-ais
3e97e8bf9247700bf239eab836f013aa836ca199
721c7f32d16a0b2edfe9d7c84e0e1d43aaee85e5
refs/heads/main
2023-08-24T18:32:27.002054
2021-09-29T15:47:30
2021-09-29T15:47:30
378,616,790
0
0
null
null
null
null
UTF-8
C++
false
false
26
cpp
gameconstants.cpp
#include "gameconstants.h"
d08e354e92e4bc9fc9fe8c520d32bee8b9a2e731
821e687d7ed2544c44f61cc210e8b65d5245f0cf
/Source/JRPG_Learn/UI/PlayerUnitsListUI.h
9663ea93c6457099eb76b32baf58f3b77b33510c
[]
no_license
Demonmal/JRPG_Learn
3b902778f2ad8022ad504c572984b52884619986
ad4a2f944b23cb0905c62cca1358a4e6c31ef317
refs/heads/main
2023-03-27T16:22:17.258745
2021-03-25T15:26:33
2021-03-25T15:26:33
348,419,416
0
0
null
null
null
null
UTF-8
C++
false
false
791
h
PlayerUnitsListUI.h
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Blueprint/UserWidget.h" #include "PlayerUnitsListUI.generated.h" class APlayerUnitBase; class ABattleController; UCLASS() class JRPG_LEARN_API UPlayerUnitsListUI : public UUserWidget { GEN...
c7646ce1c8125ed125987949df236d6c1fd2c88a
59255ea212337bb849e640e3108f43764c23f87a
/xrtl/ui/window_demo.cc
0d01d16a961f3be5bfcf445070b69751d6e7764d
[ "Apache-2.0" ]
permissive
NeoTim/xrtl
2aea04e0768590cc68c75c57273c9c221bcc621e
8cf0e7cd67371297149bda8e62d03b8c1e2e2dfe
refs/heads/master
2021-09-18T19:37:25.148899
2018-07-18T17:48:33
2018-07-18T17:48:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
4,425
cc
window_demo.cc
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
8126299cbce092bb20292a651c686d7bd4fe1827
9e4ba85e274c767b04a3be759e546a09d3a58d81
/cool-tree.handcode.h
0c5332a0b18591574c989dc70aa9b34dcd8f5cb4
[]
no_license
kzjeef/coolang
84652d17734effceb555b09a0ee26da23b834ac4
028999d4bfa221920d0b11287109b0c822b89afc
refs/heads/master
2021-01-23T03:27:41.886096
2013-03-29T09:54:55
2013-03-29T09:54:55
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,996
h
cool-tree.handcode.h
// // The following include files must come first. #ifndef COOL_TREE_HANDCODE_H #define COOL_TREE_HANDCODE_H #include <iostream> #include "tree.h" #include "cool.h" #include "stringtab.h" #define yylineno curr_lineno; extern int yylineno; inline Boolean copy_Boolean(Boolean b) {return b; } inline void assert_Boolean...
ad67e04ddef75964087174899cc0a8042a8f1bce
5885fd1418db54cc4b699c809cd44e625f7e23fc
/fb-hackercup/2019/round3/c.cpp
4a13d389ac040939882a354114bcbddea7e8162e
[]
no_license
ehnryx/acm
c5f294a2e287a6d7003c61ee134696b2a11e9f3b
c706120236a3e55ba2aea10fb5c3daa5c1055118
refs/heads/master
2023-08-31T13:19:49.707328
2023-08-29T01:49:32
2023-08-29T01:49:32
131,941,068
2
0
null
null
null
null
UTF-8
C++
false
false
4,265
cpp
c.cpp
#include <bits/stdc++.h> using namespace std; #define _USE_MATH_DEFINES #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace __gnu_pbds; template <typename T> using ordered_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>; // DON'T USE THESE MA...
870c293e007ada5d5959020d2bca3fb5b90f51a7
05e27725e35622404dac5234868f6cb7c5ee8eac
/checkers/checker.cpp
a2747d63408e217a2a13afbf5ac8e8aad7d1d25c
[]
no_license
anahitH/controlflow-integrity
1a5376baa0922d2c2fc1cda3482cf8f35dffa1cc
11bfccd59f638233f5d8756adb6cb32dcf970193
refs/heads/master
2021-01-22T03:31:23.010469
2017-07-24T16:44:52
2017-07-24T16:44:52
92,387,025
3
2
null
null
null
null
UTF-8
C++
false
false
3,357
cpp
checker.cpp
#include <iostream> #include <cstdarg> #include <unordered_set> #include <execinfo.h> #include <unistd.h> #define UNW_LOCAL_ONLY #include <libunwind.h> #include <boost/functional/hash.hpp> #include <unordered_set> #include <unordered_map> #include <chrono> size_t get_hash_of_string(const std::string& str) { boo...
522a0c4cedad7b194cb1e478aa17db1a76a0142e
528c811306faa4a34bf51fca7955b7a24ac2e30c
/C++/Plus One.h
891c6e5b321378417dd9f1721f47aed508b2620a
[]
no_license
ganjingcatherine/LeetCode-1
1addbd7e4d9254a146601f9d5e28b8becb8235a6
488782d3f1e759da2d32b4e82dbf55b96c431244
refs/heads/master
2021-05-11T03:15:16.810035
2016-02-06T06:19:18
2016-02-06T06:19:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
991
h
Plus One.h
/* Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is at the head of the list. */ class Solution { public: vector<int> plusOne(vector<int>& digits) { int length = digits.size(); if (length == 0) { ...
f05de905706d73ff5ed8846912ed02cc0a4c6adc
e5c0b38c9cc0c0e6155c9d626e299c7b03affd1e
/trunk/Code/Engine/Input/ActionToInput.h
c1b57b13c8905848546b04da4de759492ec05ee6
[]
no_license
BGCX261/zombigame-svn-to-git
4e5ec3ade52da3937e2b7d395424c40939657743
aa9fb16789f1721557085deae123771f5aefc4dd
refs/heads/master
2020-05-26T21:56:40.088036
2015-08-25T15:33:27
2015-08-25T15:33:27
41,597,035
0
0
null
null
null
null
ISO-8859-2
C++
false
false
2,741
h
ActionToInput.h
//---------------------------------------------------------------------------------- // ActionToInput Class // Author: Miquel Rojas // // Description: // Lectura y tratamiento de acciones realizadas por dispositivos de entrada. //---------------------------------------------------------------------------------- ...
ed1aac2ea1948f7b8c4653b337318a8219804b33
b6f107b68654a84b96d5a84af12c7238749a6141
/Solar_System.cpp
1cf540ba5a1c6b217b06a25182ce7382204291de
[]
no_license
moundoye/Solar_System_Simulation_M2
091900bf607aae1f63276e77ac8d44380249e75e
13dc2bc2bd5e03dd708c6b08d5f8db8d4ef303a4
refs/heads/master
2022-09-16T11:25:45.060890
2020-06-02T10:56:06
2020-06-02T10:56:06
222,020,145
0
0
null
null
null
null
ISO-8859-1
C++
false
false
23,897
cpp
Solar_System.cpp
/************************************************************************ * Projet : Simulation du système solaire en c++ avec vtk * * Auteur : Mouhamadou Ndoye * * UE : Développement librairie image * * Université : Clermont Auvergne * * Année Universitaire : 2019 - 2020...
2acb57b11a9de05430bf50ec436d1f92f95a606e
6409650a23f65136afd961206c2a8870e1f78c7e
/ConceptEngine/ConceptEngine/ConceptEngineRenderer/Physics/PhysX/CEPhysXDebugger.cpp
2e5c25c3f6ca16597fe93dbec15d4f7379a957e7
[ "MIT" ]
permissive
Ludaxord/ConceptEngine
830486b52a72e1fe7a4b821b4f725443ff180afe
16775bc9b518d4fd4c8bd32bb5f297223dfacbae
refs/heads/master
2023-08-16T11:33:00.694333
2021-10-07T21:11:00
2021-10-07T21:11:00
293,779,912
6
0
MIT
2021-08-16T20:33:47
2020-09-08T10:42:33
C++
UTF-8
C++
false
false
1,390
cpp
CEPhysXDebugger.cpp
#include "CEPhysXDebugger.h" #include <pvd/PxPvdTransport.h> #include "CEPhysX.h" struct CEPhysXData { physx::PxPvd* Debugger; physx::PxPvdTransport* Transport; }; static CEPhysXData* PhysXData = nullptr; bool CEPhysXDebugger::Create() { PhysXData = DBG_NEW CEPhysXData(); PhysXData->Debugger = physx::PxCreate...
47ec03c1b77b824914b1a7f5a383b6ac0221c6d5
0012959be29434d6aa356f6a6a9cffc3d8fc1e0e
/H3API/lib/h3api/H3Exception/H3Exception.hpp
1a71eeedd99dbb39cdc928eb36a669a6e62f4e03
[ "MIT" ]
permissive
RoseKavalier/H3Plugins
27c6acb0d64d8a6124898f6ea427cf6d2e70722d
749e16310cc940598f3e3769ddc96c63cca19e5b
refs/heads/master
2023-08-18T13:59:02.335987
2023-04-05T00:59:17
2023-04-05T00:59:17
190,291,736
68
11
MIT
2022-10-16T20:30:35
2019-06-04T23:08:54
C++
UTF-8
C++
false
false
2,683
hpp
H3Exception.hpp
////////////////////////////////////////////////////////////////////// // // // Created by RoseKavalier: // // rosekavalierhc@gmail.com // // Created: 20...
4286e4b90a6d85fca1041de443f96eb782f2eee5
fc3aa9ea0af827ceb1ae33af7edffeaa90750f45
/src/ScriptManager.cpp
e38295459a0a29b374b0bf8ba1b835943adfd5fe
[]
no_license
nutti/GameEngine
6ef06624970e4889220ad1dfa4c8105119bdd465
2b4f09465ecfcf0ed778ada7dbfe96aaa840d479
refs/heads/master
2016-09-05T09:06:20.595686
2014-03-09T11:30:55
2014-03-09T11:30:55
5,918,684
1
0
null
null
null
null
SHIFT_JIS
C++
false
false
6,572
cpp
ScriptManager.cpp
#include "ScriptManager.h" #include <MAPIL/MAPIL.h> #include <vector> #include <fstream> #include "ScriptCompiler.h" #include "ScriptLoader.h" #include "Util.h" namespace GameEngine { // スクリプトファイル構成図 // // Stage構成情報ファイル ------> Stage1構成ファイル --------> リソーススクリプトファイル // | | // | ---> 敵スクリプト...
13cb983efd2c743280185f7128cf97ac4a017a08
7913f96eb8f7510b879f4383b4bf9b0dc4dac8cf
/Include/Shader/DefaultShader_Specular.h
dec98871462061b2e775beb16a8b566eaced9375
[]
no_license
zncnf/DirectX11-PF-FrameWork
2cf2ce38e23896a1742670a85fbc36833775c41c
9e9455b661e82dc7931085010c5850ab457f8141
refs/heads/master
2022-12-16T00:18:59.193583
2020-08-18T10:27:59
2020-08-18T10:27:59
null
0
0
null
null
null
null
UTF-8
C++
false
false
844
h
DefaultShader_Specular.h
#pragma once #include "Shader.h" class DefaultShader_Specular : public Shader { public: DefaultShader_Specular() = default; virtual ~DefaultShader_Specular(); public: virtual void Init() override; virtual void Update(D3DXMATRIX world, D3DXMATRIX view, D3DXMATRIX projection, D3DXVECTOR4 diffuseColor, D3DX...
4c0a5f1faa36c515b9820469a4414c554655e8d2
7dcc021a54186053194fa12fb10f7266dcc6d511
/src/nnet_cpu/nnet-rnnlmaux.h
72794a3d23f159c23f6c69ca17646c08f5da86e6
[ "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
troylee/kaldi
fcdb3cda8a95f0aae71b05242f5a777a02131351
33b9f3bcebca5f2e280c6416f95962d664a1d26d
refs/heads/master
2020-05-25T10:07:08.210149
2014-07-18T08:32:35
2014-07-18T08:32:35
21,224,820
2
4
null
null
null
null
UTF-8
C++
false
false
2,008
h
nnet-rnnlmaux.h
// nnet/nnet-rnnlmaux.h // Copyright 2011 Karel Vesely // 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 // // THIS CODE IS PROVIDED *AS IS...
c20bcfee7542be270d95842c0464b14be997bcfd
725b9aa5a2a67fd0ba5ebdf590714bc09991c1ac
/public/win32/win32_dxut_misc.cpp
00415e72a4a1789413d24d39b2b4b38c7407a695
[]
no_license
johnoponno/nornware_public
a63bb7abca015e58374b146681bd29f175e68fdd
3c8dbec17dcb34bb18d6877cb7ce44d07a13a813
refs/heads/master
2023-05-02T05:12:26.725866
2023-04-20T15:54:34
2023-04-20T15:54:34
216,572,079
1
0
null
null
null
null
UTF-8
C++
false
false
6,553
cpp
win32_dxut_misc.cpp
#include "stdafx.h" #include "win32_d3d9_state.h" //-------------------------------------------------------------------------------------- // MsgProc for DXUTDisplaySwitchingToREFWarning() dialog box //-------------------------------------------------------------------------------------- static INT_PTR CALLBACK __disp...
5c98a342226403b0fe331d27e7ea3fdf51da7298
993aa856da05f9e6d0dc75167962c64777f69031
/hw3d/WaterPlane.h
b54f33fea9428b3b78a22520c6be6b4b1779efb2
[]
no_license
dreamer1995/Chili-s-Engine
c78757fa4ab31ab7dbcd59dbf090db1ecdcc4a3f
a172ded8d09b54fffbc27c34e9141fb63fbe5d4d
refs/heads/master
2020-07-10T03:48:22.422998
2019-12-16T07:54:51
2019-12-16T07:54:51
204,159,802
0
0
null
null
null
null
UTF-8
C++
false
false
1,903
h
WaterPlane.h
#pragma once #include "Drawable.h" class WaterPlane : public Drawable { public: WaterPlane(Graphics& gfx, float size); void SetPos(DirectX::XMFLOAT3 pos) noexcept; void SetRotation(float roll, float pitch, float yaw) noexcept; DirectX::XMMATRIX GetTransformXM() const noexcept override; void SpawnControlWindow(Gra...
ecf27450132f5ab5b66d81306d5a13296f1bcbfb
d03c789b56d33e4d218719ea498ee09b3290c7cb
/client/dayz_code/configs/CfgMagazines/bullets/b_762x51.hpp
985b59b3d514d895adde4b34d9d1ae55cd111857
[]
no_license
thyjukki/End-of-DayZ
cbaed9bf547f668a28f93cb98a718582931da281
2f42f178a6f46c469e4ee1fec2c4658688d4d6ce
refs/heads/master
2021-01-19T02:56:21.226440
2016-08-09T08:36:01
2016-08-09T08:36:01
36,795,551
2
0
null
null
null
null
UTF-8
C++
false
false
42,964
hpp
b_762x51.hpp
class 762x51_x1 : baseBullet { scope = public; displayName = "7.62x51mm (x1)"; ammo = "B_762x51_Ball"; bulletCount = 1; baseName = "762x51_x"; initSpeed=780; baseDesc = "7.62x51mm"; picture = "\dayz_equip\textures\equip_ball.paa"; model = "\dayz_equip\models\ammo_acp45.p3d"; descriptionShort = "Caliber: 7.62x...
c5466d65a9f141b3e3fc210c5ccb090aeaaec1dc
1b4c547ab90aa5157b04d16abfda75b5b5e52259
/2 семестр/Лабораторная работа 14/node.hpp
0d0de4c9a2807c55b6d830653d5b91b4eb5c695f
[]
no_license
akimich11/Cpp-Labs
73c75bf0043cf3c81590e78434569bef6b355f7d
61e58a0678d370c5c72553052042c744286ed6bd
refs/heads/master
2023-02-22T16:39:41.351805
2021-01-25T12:00:43
2021-01-25T12:00:43
332,727,528
1
1
null
null
null
null
UTF-8
C++
false
false
418
hpp
node.hpp
#pragma once class Node { private: int Info; Node* Left; Node* Right; Node* Father; friend class Tree; public: Node(): Left(NULL), Right(NULL), Father(NULL){}; Node(const int& c): Info(c), Left(NULL), Right(NULL), Father(NULL){}; int GetInfo() { return Info; }; Node* GetRight() { re...
1f233c478be423ca911332bff4bad678daf04099
d17a8870ff8ac77b82d0d37e20c85b23aa29ca74
/lite/backends/x86/math/concat_and_split.cc
df75654aebaba26b9889d97445bd889cdf2f4eb0
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle-Lite
4ab49144073451d38da6f085a8c56822caecd5b2
e241420f813bd91f5164f0d9ee0bc44166c0a172
refs/heads/develop
2023-09-02T05:28:14.017104
2023-09-01T10:32:39
2023-09-01T10:32:39
104,208,128
2,545
1,041
Apache-2.0
2023-09-12T06:46:10
2017-09-20T11:41:42
C++
UTF-8
C++
false
false
4,204
cc
concat_and_split.cc
/* Copyright (c) 2018 paddlepaddle Authors. 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 obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
505945645b7c7189f5279be69084eb5421207437
3ea06db0a30bc609ed2411209111f6d163edebd4
/eloncplusplus/src/util/memory.cpp
729144d93ea08217d01a3c1d5ff6a3fdfa41a4d4
[ "Apache-2.0" ]
permissive
ylforever/elon-cplusplus
872785bd83c8af75eb5f0b613366c71862bba0c9
7ed4e33b2567d741fc31c480b593399ea4561872
refs/heads/master
2022-10-22T01:44:02.059282
2022-10-14T06:25:05
2022-10-14T06:25:05
121,075,697
1
0
null
null
null
null
UTF-8
C++
false
false
44
cpp
memory.cpp
#pragma once #include "src/util_h/memory.h"
4c1a7e5c8bcc3f0eb69bd5170b6e1814115080e3
2dfb188267cb75688ffdc3575b54cc89d0247feb
/MultiWii.ino
746013adce7e023024430da810acad409c308c18
[]
no_license
Ziege-One/MultiHoTT-Module
0140fa947ee406ca5c5a1234e915820b8c360f7e
1d699f531e2abc3798378698c6ad40b3dbbc5375
refs/heads/master
2021-01-21T03:33:58.562462
2012-10-26T09:48:32
2012-10-26T09:48:32
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,154
ino
MultiWii.ino
#include "MultiHoTTModule.h" /** * Requests via serial interface data from MultWii (>= 2.1) and stores requested * data in MultiHoTTModule struct. Requests at least REQUEST_DATA_DELAY milliseconds * a new data frame. Frames are requested in Round Robin. */ #define REQUEST_DATA_DELAY 250 #define INPUT_BUFFER_SIZ...
4889fb5f81a7c9d1a43d4dc1f31706a09f014335
74870e1d278f20027ea0213d9d87ee6128a01f65
/Q16236_3.cpp
9833a4b7a727005471ea0c0bb5ec8e57a8b004d1
[]
no_license
jleun1403/BOJ_CPP
795816db9e8a2828ec48aaf9f8da9276d4b0abef
415502a8fd7093f469a3b7bf1c5e756505ae0e76
refs/heads/master
2020-07-10T01:28:42.157301
2019-08-24T11:41:03
2019-08-24T11:41:03
204,131,610
0
0
null
null
null
null
UTF-8
C++
false
false
2,157
cpp
Q16236_3.cpp
#include <bits/stdc++.h> using namespace std; int n; int a[21][21]; int dx[4] = {-1, 1, 0, 0}; int dy[4] = {0, 0, -1, 1}; int dist[21][21]; int startx, starty; int sharksize; int eat_num; int ans; void bfs(int xx, int yy){ queue <pair<int,int>> q; q.push(make_pair(xx,yy)); dist[xx][yy] = 1; while(!q.emp...
0c62bf0c289fe94c9ad0b1d29048de0f633cefef
3d1d2e69d80810b297b5fe70eb841c3fe5d9306d
/src/stormcast/Fulminators.cpp
da8234a251ea0937775fc5a936e3078e3f2d06cd
[ "MIT" ]
permissive
indeterminateoutcomesstudios/AoSSimulator
dce3da661f16e9db794cb619685ed4701cd334ef
d125464e516b461205aaf23a8cc206ca797e83de
refs/heads/master
2020-04-26T10:41:22.143680
2019-02-24T06:23:52
2019-02-24T06:23:52
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,195
cpp
Fulminators.cpp
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #include <stormcast/Fulminators.h> #include <UnitFactory.h> namespace StormcastEternals { static FactoryMeth...
c6d7b72fa7c45a7c948dcbe955c2f503f7977eea
b5e4cdae017a4d71867a4bb4be4cebcd70ef8850
/Vendig_machine_TM4C/SchedulerClass.cpp
e5018b8b90ed578832b5b0845b421af465de3578
[]
no_license
frick01/project_cpp_vending_machine
47174c1ae14fed4986ec1a9b00352214a85dc4e1
06dc7c1c8f2a73963e13e95318448382f62564f5
refs/heads/master
2022-12-03T05:28:40.216535
2020-08-25T18:33:41
2020-08-25T18:33:41
290,292,304
0
0
null
null
null
null
UTF-8
C++
false
false
3,032
cpp
SchedulerClass.cpp
#include "SchedulerClass.h" void int_Handler(void); uint32_t ticks; unsigned int Tick; unsigned long milis(void); const unsigned long m_last_ = 0; #define M_LAST (m_last_ - 1) static inline unsigned long timing() { return milis(); } //static inline unsigned long timing() { return micros(); } // C...
1f0fbcfb0a64cc2f1839fab215e035319499361c
378c9e0017eb8dd7aaace096e2726baa9308fbc9
/Lab1/problem2.cpp
2e101e8674722e178b678646048c229576a6edeb
[]
no_license
reynld/c-labs-hw
31d5545b40f06c7deb639675fed6cdacec2c1501
521a70e9889644aee86bdec7e957ca882967a7f2
refs/heads/master
2021-09-14T16:02:02.472524
2018-05-15T21:07:37
2018-05-15T21:07:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,042
cpp
problem2.cpp
/* Christopher Cedeno Problem 2 The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 1008514753 ? */ #include <iostream> using namespace std; int num = 1008514753, largest, cnt; int main() { for (int i = 1; i <= num; i++) //loops from 1 to value of num { if ...
6f7503d8998705b15bca50d2792cdb97325c307f
0b1a87e3aac9d80f719a34e5522796cdb061d64d
/encoderbase.h
a89ae9a84bd11dfa67ea6bb29379f676c7be15d4
[]
no_license
xiangruipuzhao/qaac
6769239471d920d42095a916c94ab0e706a76619
ed2a1392a3c6c9df2046bd559b6486965928af53
refs/heads/master
2021-01-21T01:39:23.237184
2011-02-05T14:01:10
2011-02-05T14:01:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,247
h
encoderbase.h
#ifndef _ENCODERBASE_H #define _ENCODERBASE_H #include "stdaudio.h" #include "iointer.h" class EncoderBase : public StdAudioComponentX { protected: ISource *m_src; ISink *m_sink; std::vector<AudioStreamPacketDescription> m_packet_desc; std::vector<char> m_input_buffer, m_output_buffer; ...
1b08dcae5f910ac2db2e3c276f211544f6e5500b
dca5d83f240690b327e9fb1450a335d5f3875b00
/day3/main.cpp
ab4be9917457ccc67cddcadc572cc757285f1ce1
[]
no_license
aherdzik/adventofcode2019
b6e701ca9ac1ca31243c000bf430aec7813597e3
94e1f7315610d76f8b31e9e0e5370e260e2f3e12
refs/heads/master
2020-11-27T14:06:02.878113
2019-12-30T01:55:14
2019-12-30T01:55:14
229,476,834
0
0
null
null
null
null
UTF-8
C++
false
false
3,228
cpp
main.cpp
#include <iostream> #include <fstream> #include <set> #include <sstream> #include <vector> #include <string> #include <tuple> using namespace std; std::set<std::tuple<int, int>> firstSet; std::set<std::tuple<int, int>> secondSet; std::vector<std::tuple<int, int>> firstVector; std::vector<std::tuple<int, int>> secondVe...
0dd0319c0d3c85a36305bfe2122f341e82e17eea
dc25b23f8132469fd95cee14189672cebc06aa56
/vendor/mediatek/proprietary/hardware/mtkcam/feature/common/mfnr/core/MfllCore.cpp
f426f1aa12026591b49c12a031047b0aba77f5b8
[]
no_license
nofearnohappy/alps_mm
b407d3ab2ea9fa0a36d09333a2af480b42cfe65c
9907611f8c2298fe4a45767df91276ec3118dd27
refs/heads/master
2020-04-23T08:46:58.421689
2019-03-28T21:19:33
2019-03-28T21:19:33
171,048,255
1
5
null
2020-03-08T03:49:37
2019-02-16T20:25:00
Java
UTF-8
C++
false
false
49,734
cpp
MfllCore.cpp
#include "MfllCore.h" #include "MfllLog.h" #include "MfllFeatureMrp.h" #include <utils/threads.h> // ANDROID_PRIORITY_FOREGROUND #include <cutils/xlog.h> // XLOG #include <sys/time.h> #include <vector> // std::vector #include <map> using namespace mfll; using android::sp; using std::vector; using std::map; static m...
c00a4768a0517c12b6c7c26a4ee9d557f42ef598
3efc50ba20499cc9948473ee9ed2ccfce257d79a
/data/code-jam/files/6254486_carriez_5636311922769920_0_extracted_Source.cpp
314df8faeb4909a5e9b9d0fdfd6866172bc671fe
[]
no_license
arthurherbout/crypto_code_detection
7e10ed03238278690d2d9acaa90fab73e52bab86
3c9ff8a4b2e4d341a069956a6259bf9f731adfc0
refs/heads/master
2020-07-29T15:34:31.380731
2019-12-20T13:52:39
2019-12-20T13:52:39
209,857,592
9
4
null
2019-12-20T13:52:42
2019-09-20T18:35:35
C
UTF-8
C++
false
false
927
cpp
6254486_carriez_5636311922769920_0_extracted_Source.cpp
#define _CRT_SECURE_NO_WARNINGS #include<vector> #include<unordered_map> #include<unordered_set> #include<set> #include<iostream> #include<math.h> #include<algorithm> #include<string> #include<queue> #include<stdint.h> #include<bitset> using namespace std; typedef long long ll; //#define TEST #define...
1361070196f842969e239f35f0867fcd9ef5e83e
88e343e03dc6027b706a08c60fea35e90952fd40
/Part02_Football/Football/Football/Person.h
4747d2c95362733bd6a3223d3ac79e8dfc8f0bef
[]
no_license
ariel-levin/10216-CPP
932e0fe3b05d7c6ca4fa4e8977b5d82b6ab20c3f
2279e8f974f831233878557db582a1257f33094f
refs/heads/master
2021-01-10T13:56:40.834877
2015-10-11T20:43:33
2015-10-11T20:43:33
44,026,350
0
0
null
null
null
null
UTF-8
C++
false
false
609
h
Person.h
#ifndef _PERSON_H #define _PERSON_H #include <iostream> using namespace std; class Person { public: Person(const char* name, int age); Person(const Person& other); virtual ~Person(); virtual Person& operator=(const Person& other); bool operator==(const Person& other) const; const char* getName() const; void ...
3ad56c50725c8e67d96c25a93b6577e923bbc742
2f3b0c92643818d30a31b704b5c8c857be500d9f
/yaml/qyamlproject.h
d43d79d16414be3c5ae9536cf3db7a132390f74d
[ "MIT" ]
permissive
Manfredo-Ma/yaml-qt5
6801a7bc97c4ff92765c2eae017b26b7c8b3a07d
232ccf3cda49222d1a93c94b7a2335c318a3e9de
refs/heads/master
2020-05-14T23:22:43.712175
2019-04-18T02:02:32
2019-04-18T02:02:45
181,996,098
7
1
null
null
null
null
UTF-8
C++
false
false
247
h
qyamlproject.h
#ifndef QYAMLPROJECT_H #define QYAMLPROJECT_H #include "yaml_global.h" namespace YAML { class Node; } class YAMLSHARED_EXPORT QYamlProject { public: QYamlProject(); QYamlProject(const YAML::Node &node); }; #endif // QYAMLPROJECT_H
09381f57e96b405230ff24fbaff4ba88d1fd9ac5
4fd2c7f78072ad2e9f4a71b7470e5b0379cd224f
/models/bricks/bricksLeftEdge.cpp
2896d56a6dad48a5909161e2f1b5dc7c4c1d37cc
[]
no_license
marcclintdion/_MATHMATICAL_MARIO_6
d0e57773b969c2ae05389520b0b4c306c991fab9
f863f92b4b7378dde9a4cbc6e1059d6f2eaef3b1
refs/heads/master
2020-04-28T23:37:06.821972
2015-09-17T09:53:52
2015-09-17T09:53:52
42,648,498
0
0
null
null
null
null
UTF-8
C++
false
false
1,111
cpp
bricksLeftEdge.cpp
Vertex bricksLeftEdge[] = { //number of vertices = 18 {0.802227, 0.160994, -1, 0, 0, -0.512, 0.2514, 0.51005}, {0.00293226, 0.482312, -1, 0, 0, -0.512, -0.2514, -0.51005}, {0.802227, 0.482312, -1, 0, 0, -0.512, -0.2514, 0.51005}, {0.802227, 0.160994, -1, 0, 0, -0.512, 0.2514, 0.51005}, {0.00293226, 0.160994, -1...
1df16969e45eb18bd69b3bf283cc8e8abb271628
15a105b54659046f227b97540e9f4b13c1822e97
/benchmarks/time/lexm/lexm_bn.cpp
7ca3c2c2e909d160a8f66b6f1d9da9fedb004ef3
[]
no_license
francescocastelli/aa-project
6a575f59edddab7305e52a2b49eee41572a1c2f7
ae7ac25ec3f65d8d327734ecd73bdc5ef03a1669
refs/heads/master
2023-06-26T18:32:35.983506
2021-07-29T09:22:20
2021-07-29T09:22:20
381,402,654
0
0
null
null
null
null
UTF-8
C++
false
false
970
cpp
lexm_bn.cpp
#include <iostream> #include <numeric> #include <bits/stdc++.h> #include <benchmark/benchmark.h> #include "../../../include/graph.h" #include "../../../include/lexm.h" static void BM_lexm(benchmark::State& state) { Graph g(state.range(0)); g.randomPopulate(state.range(0), (float) (state.range(1)) / 10.0f); // n...
0172750b100473ed84a04056fd52f87736fcab65
a3634de7800ae5fe8e68532d7c3a7570b9c61c5b
/codechef/GRAYSC.cpp
3d0608d84738bfaf2f545c65d04b11e16ee60838
[]
no_license
MayankChaturvedi/competitive-coding
a737a2a36b8aa7aea1193f2db4b32b081f78e2ba
9e9bd21de669c7b7bd29a262b29965ecc80ad621
refs/heads/master
2020-03-18T01:39:29.447631
2018-02-19T15:04:32
2018-02-19T15:04:32
134,152,930
0
1
null
2018-05-20T13:27:35
2018-05-20T13:27:34
null
UTF-8
C++
false
false
848
cpp
GRAYSC.cpp
#include <iostream> #include <vector> #include <utility> #include <map> using ull = unsigned long long; using namespace std; int log2(ull x) { int a=0; while(x>0) { a++; x>>=1; } return a; } int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); int n; cin>>n; ull arr[n]; vector<int> diff_by(6...
8d72f0fe321e8e4abe7511a020db8ac380758889
abbbe9c9ee41ce234d1d1cc4f22345e0905ea2c0
/String_window.cpp
66fb64ef558de8a6905adadb9685d2fd92a9f5bb
[]
no_license
2505shivang/Competitive-Programing-codingblocks-solution
7869cd2405887cdbe5e0f88b4f1b31422b559b62
73056ae42853d79df0020fe272522daa42dafa4c
refs/heads/main
2023-04-22T15:58:56.344012
2021-05-03T21:33:02
2021-05-03T21:33:02
356,541,741
0
0
null
null
null
null
UTF-8
C++
false
false
1,233
cpp
String_window.cpp
#include<bits/stdc++.h> #define ll long long int using namespace std; string common_substr(string str1, string str2) { unordered_map<char, int> mymap_str1; unordered_map<char, int> mymap_str2; for (ll i = 0; i < str2.size(); ++i) { mymap_str2[str2[i]]++; } ll cnt = 0; ll idx = -1; ll minlen = INT_MAX; ll i =...
9b70a1c682ebfc678f225b3ea6bdda3b8b31aa8f
0121780612b3d92bcc32f8ea1bea8091012fa6c4
/LBEP/session9_2.cpp
c0c8dfd433af013f4d1226e4e69af952974462cb
[]
no_license
billytrinh/T1907M
0753fc1729aa980950eee99882edfc9f332e318f
28a3e7423891eaaeb58d5f01a9825ffb161c95c6
refs/heads/master
2020-06-23T05:57:27.725996
2019-08-16T03:53:54
2019-08-16T03:53:54
198,536,546
3
0
null
null
null
null
UTF-8
C++
false
false
505
cpp
session9_2.cpp
#include <stdio.h> #include <string.h> void in_chuoi_dai_nhat(char s[][20],int n){ int vi_tri = 0; long int max = strlen(s[0]); for (int i = 0; i < n; ++i) { if(max < strlen(s[i])){ max = strlen(s[i]); vi_tri=i; } } printf("chuoi dai nhat: %s\n",s[vi_tri]); } int main(){ char s[4][20]; for (int i = ...
adf73212877d4aa106bcc67a70b20a9042a28b9a
3ac0923505e1e03a07742355edec43f23ead82b7
/Daily/CPP/Leetcode1002-查找常用字符.h
8e31d3d0e5c50789ae9f6282822aeac34aac3cb2
[]
no_license
lock19960613/SCL
5055c940d2529eef981a29698c7ea04212a8b9de
3ea28fd8f5d5233411341283c85667e4b9fc64d5
refs/heads/main
2023-08-03T04:36:33.555296
2021-09-11T06:48:49
2021-09-11T06:48:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
770
h
Leetcode1002-查找常用字符.h
#include <string> #include <vector> #include <climits> using namespace std; class Solution { public: vector<string> commonChars(vector<string>& A) { vector<string> res; vector<int> minfreq(26,INT_MAX); vector<int> freq(26); int n = A.size(); for(const string& str:A){ ...
caf15f4ed1c6ed15432c74a54df5a03803516f9a
62ec6bae293411cbde16162caf18d7b9ac22a5c2
/MRS/ServiceBase.h
c052d77554b1259e104ce52f1662b46102f5b1c8
[]
no_license
overlord7a/MRS
eca8501d2518c3ca8c5df6324a547e6e62fe554e
16b7844a3208566573e9555b8b509a3b67f54059
refs/heads/master
2022-11-22T02:43:13.365363
2020-07-23T07:23:19
2020-07-23T07:23:19
null
0
0
null
null
null
null
UTF-8
C++
false
false
389
h
ServiceBase.h
#pragma once #include <string> using namespace std; class ServiceBase { protected: static bool open_file(std::fstream& my_file); static bool open_file(std::ostream& my_file); static bool open_file(std::istream& my_file); static int find_last_line(string _Filename); static string ToString(int input); static int ...
48cdf615b68c55a832d20069c0573e2a91cb90f3
0a7419a39794bebc9313e2f7f055bb36b543425a
/pgms/graph.cpp
1daa4eff77c992168a7099cf9be726273c4e5aae
[]
no_license
veenanitk/Digital-Image-Processing
6c9b537ba652b9746f935940b29c490497c37da6
f956118c8550d2732361ecb7c65b425c7a055408
refs/heads/master
2022-12-24T21:18:12.326783
2020-09-30T21:06:39
2020-09-30T21:06:39
300,062,471
0
2
null
2020-10-01T10:24:24
2020-09-30T21:04:50
C++
UTF-8
C++
false
false
1,325
cpp
graph.cpp
#include<bits/stdc++.h> using namespace std; class Graph { int V; list<int> *adj; public: Graph(int V); void addEdge(int v, int w); void BFS(int s); }; Graph::Graph(int V) { this->V = V; adj = new list<int>[V]; } void Graph::addEdge(int v, int w) { adj[v].push_back...
88c2f08a24f00135f11458eb60525fe562f272f4
4097012d9daa16ee613523f499d4c0016167be83
/Homework_4/WordFont.h
6d2e64897f9752b5b03113e8a6facb0a2975faa6
[]
no_license
pcgallant/CIS544_Assignments
f30b16e2ec243b31cae0d018d3feefb4a5178fc4
485b13f74db5e33df3d1f7405abbfcb31f2349f8
refs/heads/master
2021-04-28T16:13:33.673721
2018-03-30T22:29:37
2018-03-30T22:29:37
122,009,683
0
0
null
null
null
null
UTF-8
C++
false
false
2,321
h
WordFont.h
#include <string> #include <vector> #include <stdexcept> using namespace std; class WordFont { public: WordFont(); //default constructor void setFontSize(int fSize); //set the fontSize for the word int getFontSize(); void setFontWeight(char weight); char getFontWeight(); void setPixelChar(char inputC); char g...
ddf3b0cfe09afae81cf7115f4ba30d4f3eca0d27
030fb85d954e9b0de470bbf76d11e801048e8cba
/OOP/Homeworks/03_Homework/2/TeamLead.cpp
7304185850a2f4879fe98e97aa49123dc6cc1193
[ "MIT" ]
permissive
didov02/FMI
09a44da55f62d53f4eed075bbe23bcc36b325d08
a4ce6e745a684a4ab60a07c8574c94b4db82eadd
refs/heads/main
2023-06-05T09:13:51.943491
2021-06-15T06:15:37
2021-06-15T06:15:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,757
cpp
TeamLead.cpp
#include "TeamLead.hpp" const int NOT_FOUND_INDEX = -1; TeamLead::TeamLead(const string &name, double salary) : Developer(name) { this->salary = salary; this->teamLead = this; } vector<Developer *> TeamLead::getTeam() const { return team; } void TeamLead::addDeveloperToTeam(Developer *developer, double...
5c042592e51868cb879f3da42f017552e9f2fdda
5fd89fb912f8ed055b5c8ab90b59ac2636d7fa8e
/samples/EarthTrackball/src/Earth.cpp
826059dcb16626d61132d1d3b96b05510af7fc7a
[ "BSD-2-Clause" ]
permissive
matchingponies/Cinder-Pivot
a2b8f1418664ad826303c3380ae166a808a167e2
ca2c2dae43e8fb49f04833ab8be2a92d1d24781f
refs/heads/master
2021-03-19T18:40:39.755399
2018-03-27T18:20:53
2018-03-27T18:20:53
4,790,608
0
0
null
null
null
null
UTF-8
C++
false
false
8,170
cpp
Earth.cpp
/* * Earth.cpp * * Created by Robert Hodgin on 6/30/09. * Copyright 2009 The Barbarian Group. All rights reserved. * */ #include "Earth.h" #include "cinder/gl/gl.h" #include "cinder/Rand.h" using namespace ci; using std::list; Earth::Earth() { } Earth::Earth( ci::gl::Texture aTexDiffuse, ci::gl::Texture aT...
f0185295eb39e731208990ecee379337d247164c
4970f62a81a089bd11470a592b6994232f7da8f0
/android/app/src/main/jni/lsd-jni.cpp
76e7477506694b558da013ad4a87a86fb70494db
[]
no_license
joshuarrrrr/dont-slam-your-head
b4bb3f9da56c2257f4ecd41afb48614366d218c9
2bdf2702e0f0a7851be5244ca4c96f03ed66ade8
refs/heads/master
2021-06-09T13:03:51.375069
2016-10-27T11:14:18
2016-10-27T11:14:18
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,798
cpp
lsd-jni.cpp
#include <android/log.h> #include <jni.h> #include <sstream> #include <ctime> #include <queue> #include <vector> #include <functional> #include <Eigen/Core> #include <Eigen/Geometry> #include <sophus/sim3.hpp> #include <lsd_slam/LiveSLAMWrapper.h> #include <lsd_slam/IOWrapper/Timestamp.h> #include <lsd_slam/util/Und...
ccf28400b30c83a1964c78b35481916ac832fab0
d5d67dd5000a4c03c164cf27a68dc5d6ea47500e
/lab08/state/MultiGumballMachineTest/CoutRedirect.h
35895a281a424bdbedae439a1a0ef7c01f4eb095
[]
no_license
ImbaCow/OOD
db127161159eab83f440b1e9de41a0e7ff373f57
725a37b383265b14fe349da2efdfd1e71f2675af
refs/heads/master
2020-07-16T14:30:34.544134
2019-12-30T15:59:21
2019-12-30T15:59:21
205,805,646
0
0
null
null
null
null
UTF-8
C++
false
false
220
h
CoutRedirect.h
#pragma once #include "pch.h" struct CoutRedirect { CoutRedirect(std::streambuf* new_buffer) : old(std::cout.rdbuf(new_buffer)) { } ~CoutRedirect() { std::cout.rdbuf(old); } private: std::streambuf* old; };
56b72abac8f1f3b6cbd4800530e14684f0ae1e38
ec5fe32e920f04b41ca0e228b970f068de98d86e
/FantasyEmblem/headers/Creditos.h
944a8981665301aa79ecf72daf0070c9ed16563d
[]
no_license
asalieto/FantasyEmblem
93e801ad91697ea69a5a9622c8fab596fb2af9f1
f044748798494323f4f6ff05240dc374cdb5a88b
refs/heads/master
2021-05-30T00:11:20.758788
2015-05-20T20:31:09
2015-05-20T20:31:09
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,318
h
Creditos.h
/* * File: Creditos.h * Author: Oliver Rull * * Created on 19 de mayo de 2015, 19:21 */ #ifndef CREDITOS_H #define CREDITOS_H #include "../headers/Juego.h" #include "../headers/Escenario.h" #include "../headers/Estado.h" #include <iostream> #include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include <std...
737305794ea581f8199c4f1b82c34abd9a042e97
d57a588f74673811151e71e9457c5a56fac85ddd
/c++/1390fourDivisors.cc
3837d17180bc864614a9d495a51c7e5f3b358aa0
[]
no_license
Acytoo/leetcode
933c5a79140798d8c0ee6d39022561dadd1ce7f7
3a8bfc07465f1bc349b8e5a9f570fd458075de72
refs/heads/master
2022-10-14T20:01:15.131676
2022-09-29T20:17:04
2022-09-29T20:17:04
155,707,667
0
0
null
null
null
null
UTF-8
C++
false
false
1,079
cc
1390fourDivisors.cc
#include <iostream> #include <sstream> #include <vector> #include <string> #include <queue> #include <climits> #include <stack> #include <algorithm> #include <cmath> #include <set> #include <unordered_map> #include <list> #include <unordered_set> #include <map> #include <functional> #include <bitset> #include <numeric>...
0dcbb8e9b38369faae1f9e7b46363feaffab3f4f
3e7f7de4c0f9a5dd47443a25cd6f049ae26a2c04
/30-day/anagrams.cpp
b0be2afac8aafc9f8c719892aa705373a22895ee
[]
no_license
ankitsridhar16/Leetcode-problems
2ec092f8faab8b9f67652414354c5d480901e167
932db6a2b67b1726e24ac1b4a457d3b3d31efd89
refs/heads/master
2023-04-22T10:30:36.796114
2021-05-13T21:26:59
2021-05-13T21:26:59
260,401,394
0
0
null
null
null
null
UTF-8
C++
false
false
542
cpp
anagrams.cpp
//Given an array of strings, group anagrams together. class Solution { public: vector<vector<string>> groupAnagrams(vector<string>& strs) { unordered_map<string, vector<string>>res; for (int i = 0; i < strs.size(); i++) { string str = strs[i]; sort(str.begin(), str.end());...
974336ae9269c86c12919d4350eafd4b221c04a5
059a126febb9554536e7edfdb75f32ea0a327a6d
/1794 - Lavanderia/1794.cpp
40c198fc415d079bcf14a0ea67a10c72864af3f9
[]
no_license
derrix060/URI
6c642bf590dd94d41507b17bd6f1e7cc0653d7e9
b3615fb7f50480fd1e534403c473a30fd29f82e1
refs/heads/master
2021-01-19T14:09:55.359320
2016-12-07T19:14:44
2016-12-07T19:14:44
75,674,567
0
0
null
null
null
null
UTF-8
C++
false
false
322
cpp
1794.cpp
#include <iostream> using namespace std; int main() { int n, la, lb, sa, sb; int resto; cin >> n >> la >> lb >> sa >> sb; if ((n >= la && n <=lb) && (n >= sa && n <= sb )) //menor que o mínimo cout << "possivel"<<endl; else cout << "impossivel"<<endl; return 0; }...