blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0c5d6b45c2530fa80f2c1883d157ecb67937f87a | e34b28b281a189888f1481c58b37c8faf2757988 | /LeetCode/LeetCode_079.cpp | c02f489e6ea4436d0471c19b24fc9ce0db96dc9f | [] | no_license | reversed/C | aebafda0615c594a844dee1bb12fc683b9cd0c65 | f6edb643723457276d8542eb7b583addfb6f1a7f | refs/heads/master | 2020-04-10T22:05:26.689390 | 2019-06-22T02:56:26 | 2019-06-22T02:57:23 | 68,095,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,365 | cpp | class Solution {
public:
bool dfs(vector<vector<char>>& board, vector<vector<bool>>& map, int x, int y, string& word)
{
if (word.empty()) return true;
if (x >= board.size() || x < 0) return false;
if (y >= board[0].size() || y < 0) return false;
if (map[x][y] == true) return fal... | [
"leichen.usst@gmail.com"
] | leichen.usst@gmail.com |
6e2e578b567ffb054e6353663991f748dfefa7e5 | b978831035e277137e807c522e9d300d802ca2df | /MARIO/Camera.cpp | 71aa011b2b5195f08d60b5a69aa55ae2383926e2 | [] | no_license | CathanBertram/SDLProject | fbb73857a4e4895b5e32fce3fa400e715829c5b4 | 688f36c6b357e02ce98bd42b5ea12a6b56f8331a | refs/heads/master | 2021-01-30T12:18:53.350154 | 2020-04-28T17:17:27 | 2020-04-28T17:17:27 | 243,498,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | #include "Camera.h"
Camera::Camera(Rect2D startRect)
{
mRect = startRect;
}
Camera::~Camera()
{
}
void Camera::SetPosition(Rect2D rect)
{
mRect.x = (rect.x + rect.w / 2) - SCREEN_WIDTH / 2;
mRect.y = (rect.y + rect.h / 2) - SCREEN_WIDTH / 2;
}
void Camera::SetLevelDimensions(int w, int h)
{
levelWidth = w;
lev... | [
"55544660+CathanBertram@users.noreply.github.com"
] | 55544660+CathanBertram@users.noreply.github.com |
47415f8da5c54b2ce37b4ba79be2e2db7b8487ac | 77444adf8e53fd71923f946864307664e61d8066 | /src_/SphMutexLock.cc | f3fe4ffc30b0088d5549dc635eff042ef633764b | [] | no_license | zhanMingming/MiniCacheServer | 17f1918fba8ec84649e3307ea1496516413d16e0 | 5b3a3480706760f27e11380d12a0e8f625d63323 | refs/heads/master | 2021-06-18T03:23:49.652665 | 2017-06-13T13:38:01 | 2017-06-13T13:38:01 | 94,216,047 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cc | #include"SphMutexLock.h"
#include"common.h"
namespace zhanmm {
SphMutexLock::SphMutexLock()
{
int ret = pthread_mutex_init(&m_mutex, NULL);
CHECK((ret == -1),"pthread_mutex_init");
}
void SphMutexLock::lock()
{
int ret = pthread_mutex_lock(&m_mutex);
CHECK((ret == -1),"pthread_mutex_lock");
}
void Sp... | [
"1358732502@qq.com"
] | 1358732502@qq.com |
3c543e257bd4ba8741f8f7fe4dabcfe2f68056fc | 03b5b626962b6c62fc3215154b44bbc663a44cf6 | /src/instruction/KXORW.cpp | 5a834ac449502fc204d5c2c6d801b2220b8dcc43 | [] | no_license | haochenprophet/iwant | 8b1f9df8ee428148549253ce1c5d821ece0a4b4c | 1c9bd95280216ee8cd7892a10a7355f03d77d340 | refs/heads/master | 2023-06-09T11:10:27.232304 | 2023-05-31T02:41:18 | 2023-05-31T02:41:18 | 67,756,957 | 17 | 5 | null | 2018-08-11T16:37:37 | 2016-09-09T02:08:46 | C++ | UTF-8 | C++ | false | false | 175 | cpp | #include "KXORW.h"
int CKXORW::my_init(void *p)
{
this->name = "CKXORW";
this->alias = "KXORW";
return 0;
}
CKXORW::CKXORW()
{
this->my_init();
}
CKXORW::~CKXORW()
{
}
| [
"hao__chen@sina.com"
] | hao__chen@sina.com |
aa279ae62b91140b13d05d86a2341a63a4dfc139 | ea4396937e4786340cf1ba67dfadd89599b09a3b | /EVENTS/GeoClawOpenFOAM/floatingbds.h | 82e01b8678accb01180ca78e3f5056f6e5e3825e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | NHERI-SimCenter/HydroUQ | aca37869aba6d37b79b533bab36066a4ff8be163 | d4cbaed1a6f76057cb851a09e0e8996caa02e806 | refs/heads/master | 2023-08-30T08:21:21.471683 | 2023-08-23T06:58:32 | 2023-08-23T06:58:32 | 264,027,881 | 4 | 15 | NOASSERTION | 2023-08-22T21:50:41 | 2020-05-14T21:21:22 | C++ | UTF-8 | C++ | false | false | 403 | h | #ifndef FLOATINGBDS_H
#define FLOATINGBDS_H
#include <QFrame>
namespace Ui {
class floatingbds;
}
class floatingbds : public QFrame
{
Q_OBJECT
public:
explicit floatingbds(int, QWidget *parent = nullptr);
~floatingbds();
bool getData(QMap<QString, QString>&,int);
void refreshData(int);
private:... | [
"fmckenna@berkeley.edu"
] | fmckenna@berkeley.edu |
a8fa877067e044a21f25010e9bfa9c3187623b45 | 8cc95381e7c810f0ee4921fb2e6140748dd3ea57 | /100_199/100_is_same_tree.h | 335e67776f67288732c9e4a6093fc7edff5c1f8e | [] | no_license | wangchenwc/leetcode_cpp | 5691fd6091050cd09ececfa94c02497f78b88293 | 6c0c847f25710781f40a2817cb0e0152002f1755 | refs/heads/master | 2020-04-22T02:36:02.836904 | 2018-11-08T06:13:00 | 2018-11-08T06:13:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | h | //
// 100_is_same_tree.h
// cpp_code
//
// Created by zhongyingli on 2018/7/11.
// Copyright © 2018 zhongyingli. All rights reserved.
//
#ifndef _00_is_same_tree_h
#define _00_is_same_tree_h
//Definition for a binary tree node.
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(... | [
"lizhongying@ofo.com"
] | lizhongying@ofo.com |
5ba95213d2bf67114ed9ba9e9d6c0c5030692243 | ef187d259d33e97c7b9ed07dfbf065cec3e41f59 | /work/atcoder/arc/arc063/D/answers/70562_amekin.cpp | e5030c1e4d972a33893292b681b042b3af5e6b75 | [] | no_license | kjnh10/pcw | 847f7295ea3174490485ffe14ce4cdea0931c032 | 8f677701bce15517fb9362cc5b596644da62dca8 | refs/heads/master | 2020-03-18T09:54:23.442772 | 2018-07-19T00:26:09 | 2018-07-19T00:26:09 | 134,586,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 948 | cpp | #define _USE_MATH_DEFINES
#include <cstdio>
#include <iostream>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <algorithm>
#include <cmath>
#include <complex>
#include <string>
#include <vector>
#include <list>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <bitset>
#include... | [
"kojinho10@gmail.com"
] | kojinho10@gmail.com |
d722a4d7f890f2ae38bf79dde5ac0c3209af1306 | 274855d775a0a6ed8227ce0dfb36f84bb9acfa83 | /h5pp/include/h5pp/details/h5ppHdf5.h | 273640b8466ac3351a01e72e1ac3720b6916960f | [
"MIT"
] | permissive | sbreuils/h5pp | a8632278e0bbff498642e98c345a5ee3c959f6f1 | 33eede09f9b76e0163b38f0976747e74e3207260 | refs/heads/master | 2023-03-12T03:04:31.990324 | 2021-02-24T09:29:26 | 2021-02-24T09:44:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179,176 | h | #pragma once
#include "h5ppEigen.h"
#include "h5ppEnums.h"
#include "h5ppFilesystem.h"
#include "h5ppHyperslab.h"
#include "h5ppInfo.h"
#include "h5ppLogger.h"
#include "h5ppPropertyLists.h"
#include "h5ppTypeSfinae.h"
#include "h5ppUtils.h"
#include <hdf5.h>
#include <map>
#include <typeindex>
#include <utility>
/*!
... | [
"aceituno@kth.se"
] | aceituno@kth.se |
4255b2c9baa386543a7999f37be09b3fa9328a8f | 27f523d6a32be8ad2f1a60bb1d7c48c96ef66627 | /sudoku.cpp | bcb587d7cc3be71053f51a2a4da3aed9fb2db606 | [] | no_license | thariqabdul018/Undo-Sudoku | 6a75f731ded359f41c3a2e5434eeaa739ae9a004 | bfd1967cc5d60bc860af46d38013bfaeee6bc29c | refs/heads/master | 2020-03-11T23:07:54.989110 | 2018-04-20T05:27:05 | 2018-04-20T05:27:05 | 130,313,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | cpp | #include<iostream>
#include"sudoku.h"
using namespace std;
int main(int argc, char* argv[]){
int row, column, number;
string filename;
vector<vector<int>>theBoard(BoardSize, vector<int>(BoardSize));
vector<vector<int>>originalBoard(BoardSize,vector<int>(BoardSIze));
switch(){
case 1:
cout<<"Pas... | [
"noreply@github.com"
] | noreply@github.com |
5a160ce85e1b0c75b3d8eb4af849020c7e13ef86 | 7cd9751c057fcb36b91f67e515aaab0a3e74a709 | /src/time_data/DT_Calculator_Exponential.cc | 50022cf0071c8d3d0230b2ae963ccf50e4928db4 | [
"MIT"
] | permissive | pgmaginot/DARK_ARTS | 5ce49db05f711835e47780677f0bf02c09e0f655 | f04b0a30dcac911ef06fe0916921020826f5c42b | refs/heads/master | 2016-09-06T18:30:25.652859 | 2015-06-12T19:00:40 | 2015-06-12T19:00:40 | 20,808,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cc | #include "DT_Calculator_Exponential.h"
DT_Calculator_Exponential::DT_Calculator_Exponential(const Input_Reader& input_reader)
:
V_DT_Calculator( input_reader ),
m_ratio{input_reader.get_time_start_exponential_ratio() } ,
m_step_max{ int(ceil( log(m_dt_max/m_dt_min) / log(m_ratio) )) }
{
}
double D... | [
"pmaginot@tamu.edu"
] | pmaginot@tamu.edu |
cdce78f8804a9228c349c17aa8ba4fe8c9442860 | 4bb6812401469f028f337634bdaecd902248fc8d | /1402.cpp | 1a5c228cc029aa108351cf77e002bf737f9848d9 | [] | no_license | wldn143/fri_study | 027409686695818009bac5176cef5da19b134ac5 | 3a55e6fe479e465a38d619c313f68bfa52ce1346 | refs/heads/main | 2023-04-23T10:35:12.995753 | 2021-05-11T16:08:54 | 2021-05-11T16:08:54 | 349,405,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | cpp | #include <iostream>
using namespace std;
int main(void)
{
int test_case;
cin >> test_case;
for (int i = 0; i < test_case; i++)
{
int multiple, add;
cin >> multiple >> add;
cout << "yes" << endl;
}
}
| [
"noreply@github.com"
] | noreply@github.com |
42775ed50fe5656f0fd32c16d9e4b0f3f646fc85 | c845d539ce0cbe4d6b0f1e9bac5cb66697253e06 | /protos/combat/src/monster.h | 4b28b1a8ca6d71a4ad77b6a859e77f596a57b653 | [] | no_license | supermuumi/nultima | ea096cc56cc13263ba8cc8794d1f472695237752 | 6bb6fa9144932f5bac29661fd39b288d4a57144f | refs/heads/master | 2018-12-28T23:03:05.918638 | 2013-10-12T21:27:02 | 2013-10-12T21:27:02 | 12,048,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | h | #include "vec3.h"
typedef struct
{
int x;
int y;
} Vec2;
class Player;
class Monster
{
public:
enum Stage
{
UNDECIDED,
WAITING,
MOVING,
MELEE_ATTACK,
END
};
typedef struct
{
Monster::Stage stage;
float durat... | [
"sampo@umbrasoftware.com"
] | sampo@umbrasoftware.com |
f6ec07fcc96903e42e5b71b3a7cd07be0a8669d8 | 97f5bdd44c74c8480bac6ce6d235d1fd284e0316 | /inexlib/ourex/dcmtk/dcmimage/include/dcmtk/dcmimage/dihsvpxt.h | 5ee994ba5f1d41835ff5ab1039f35eb414acc68a | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0",
"BSD-3-Clause",
"BSD-4.3TAHOE",
"xlock",
"IJG",
"LicenseRef-scancode-other-permissive"
] | permissive | gbarrand/wall | b991d7cdf410d9fa8730407e0b56b27c5220e843 | 930a708134b3db2fc77d006d9bd4ccea7ebcdee1 | refs/heads/master | 2021-07-11T15:07:35.453757 | 2018-12-21T12:28:57 | 2018-12-21T12:28:57 | 162,569,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,351 | h | /*
*
* Copyright (C) 1996-2010, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmimage
*
* Author: Joerg R... | [
"guy.barrand@gmail.com"
] | guy.barrand@gmail.com |
ee458e9dfe3a5a4b32ca25aa8eee3348a21a77cf | 8dd39b654dde37c6cbde38a7e3a5c9838a237b51 | /Tiles/main.cpp | a47dca7498b5e5057a888a402a92e24d42e8476e | [] | no_license | Taohid0/C-and-C-Plus-Plus | 43726bdaa0dc74860c4170b729e34cea268008fd | d38fd51851cc489302ad4ef6725f1d19f7e72ec2 | refs/heads/master | 2021-07-19T17:30:26.875749 | 2017-10-28T09:49:51 | 2017-10-28T09:49:51 | 108,636,340 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
long long l,w,a,row = 0,col = 0;
scanf("%lld%lld%lld",&l,&w,&a);
if(l%a==0){
row = l/a;
}
else
{
row = l/a;
row++;
}
if(w%a==0){
col = w/a;
}
else
{
col = w/a;
col++... | [
"taohidulii@gmail.com"
] | taohidulii@gmail.com |
dff6015562e22292dcb10e954ff9fd59171e3596 | 75b2c819261dc7e2ba6cc094da670bcf18d804e8 | /Perfect Squares Solution.cpp | 6dfb42f768310a5b9d6f65b8cb5265ea41322ae6 | [] | no_license | Rakshana0802/June-Leetcode-Challenge | a9bae8f24e3889a198012c4f6beeab77d541cf0c | cde9fd257d637b2e51d113578e9ed78093f7d333 | refs/heads/master | 2022-11-08T23:59:24.011587 | 2020-06-30T16:36:50 | 2020-06-30T16:36:50 | 268,893,190 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | cpp | #define INF 1e9
class Solution
{
public:
int numSquares(int n)
{
vector < int > dp(n+1,INF);
dp[0] = 0;
for(int i =1;i*i<=n;i++)
{
int x = i*i;
for(int j = x;j<=n;j++)
{
dp[j] = min(dp[j],1+dp[j-x]);
}
}
return dp[n];
}
};
| [
"noreply@github.com"
] | noreply@github.com |
8cf26146ccce5b3c26d6f702f4a1f5c4c0dc3de7 | c1ff870879152fba2b54eddfb7591ec322eb3061 | /plugins/render/ogreRender/3rdParty/ogre/RenderSystems/GLES/include/EGL/OgreEGLContext.h | 85a9b426e284c84ea5b472c970d4f3a48ab7120a | [
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | MTASZTAKI/ApertusVR | 1a9809fb7af81c3cd7fb732ed481ebe4ce66fefa | 424ec5515ae08780542f33cc4841a8f9a96337b3 | refs/heads/0.9 | 2022-12-11T20:03:42.926813 | 2019-10-11T09:29:45 | 2019-10-11T09:29:45 | 73,708,854 | 188 | 55 | MIT | 2022-12-11T08:53:21 | 2016-11-14T13:48:00 | C++ | UTF-8 | C++ | false | false | 2,402 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2008 Renato Araujo Oliveira Filho <renatox@gmail.com>
Copyright (c) 2000-2014 Torus Knot Softwa... | [
"peter.kovacs@sztaki.mta.hu"
] | peter.kovacs@sztaki.mta.hu |
f5da90390f903fabf34f7f523b438d3ffedca1f4 | 88e378f925bbd8dddd271e19a51477a5201c32eb | /GRMFixes/ZenGin/Gothic_II_Addon/API/oViewDialogInventory.h | e89463977aa635383dd245309847dbc9f583725b | [
"MIT"
] | permissive | ThielHater/GRMFixes_Union | d71dcc71f77082feaf4036785acc32255fbeaaa9 | 4cfff09b5e7b1ecdbc13d903d44727eab52703ff | refs/heads/master | 2022-11-26T21:41:37.680547 | 2022-11-06T16:30:08 | 2022-11-06T16:30:08 | 240,788,948 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,121 | h | // Supported with union (c) 2018 Union team
#ifndef __OVIEW_DIALOG_INVENTORY_H__VER3__
#define __OVIEW_DIALOG_INVENTORY_H__VER3__
namespace Gothic_II_Addon {
class oCViewDialogInventory : public zCViewDialog {
public:
zCLASS_DECLARATION( oCViewDialogInventory )
enum oEInventoryAlignment {
... | [
"pierre.beckmann@yahoo.de"
] | pierre.beckmann@yahoo.de |
3d18f64fb5d59efd4dec079acec1f5568223df5d | 04c6d6a2534fa2e63aba918f2c038f45915ff828 | /动态规划/1692. Count Ways to Distribute Candies.cpp | 0bbae857363e0f2dce3f38ac449e717dac8e8c62 | [] | no_license | ttzztztz/leetcodeAlgorithms | 7fdc15267ba9e1304f7c817ea9d3f1bd881b004b | d2ee1c8fecb8fc07e3c7d67dc20b964a606e065c | refs/heads/master | 2023-08-19T10:50:40.340415 | 2023-08-02T03:00:38 | 2023-08-02T03:00:38 | 206,009,736 | 17 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | class Solution {
public:
int waysToDistribute(int n, int k) {
memset(f, 0xff, sizeof f);
this->n = n, this->k = k;
return dfs(1, 1);
}
private:
const int mod = 1e9+7;
typedef long long ll;
ll f[1005][1005];
int n, k;
ll dfs(int i, int j) {
if (i ... | [
"ttzztztz@outlook.com"
] | ttzztztz@outlook.com |
0fe6e67180977feb868005c20c1a31f3355aaed8 | 3813382c4d9c2b252c3e3091d281c4fba900323f | /boost_asio/timer/using_a_timer_synchronously.cpp | d3e03cf504dea562605d18b97c8c82c522b554d5 | [] | no_license | sunooms/learn | 0f0073b7f7225232b3e300389fabeb5c3c4ed6e3 | 514bb14025d1865977254148d3571ce6bec01fab | refs/heads/master | 2021-01-17T18:35:50.774426 | 2018-01-30T04:33:03 | 2018-01-30T04:33:03 | 71,538,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | #include <iostream>
#include <boost/asio.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
int main()
{
boost::asio::io_service io;
//boost::asio::deadline_timer t(io, boost::posix_time::second(2));
boost::asio::deadline_timer t(io, boost::posix_time::milliseconds(600));
t.wait();
std::co... | [
"xgmlovebee@126.com"
] | xgmlovebee@126.com |
3575c98b38fed5aa22f0a31add46d666c419fe6c | f78fe5ddcad822fb7e484cc3ffa5df6b9305cb6c | /src/Nodes/Dynamics/Shaper.h | b2e6d8190493d098525d2e10cdc06216b46f9e4b | [
"MIT"
] | permissive | potrepka/DSP | 5c993fda13f0a28aa8debca1930771bdecaa2ac8 | 0ffe314196efcd016cdb4ffff27ada0f326e50c3 | refs/heads/master | 2023-05-28T01:49:34.453472 | 2021-06-20T05:36:52 | 2021-06-20T05:36:52 | 270,168,511 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 732 | h | #pragma once
#include "../Core/Transformer.h"
namespace dsp {
class Shaper : public Transformer {
public:
struct Mode {
static const int MIN = 0;
static const int MAX = 1;
static const int HYPERBOLIC = 0;
static const int RATIONAL = 1;
};
Shaper(Space space = Space::TIM... | [
"nspotrepka@gmail.com"
] | nspotrepka@gmail.com |
d23426c998deaf612703c933ecd393d84b43be60 | de8525032ab89b4f7d5e6ad8b4db396d02cff421 | /cpp(还没清理)/P1469 找筷子.cpp | 4765f21419e3fcbab8f6852886462cbaf7112d38 | [] | no_license | 1753262762/CPP | a99c0a714f707dd9e87ebdb8f6242cef2d878d30 | fa1505ac30027006114aa54e4b49226e035f7ca0 | refs/heads/master | 2020-06-04T21:10:56.605120 | 2019-06-16T13:53:37 | 2019-06-16T13:53:37 | 192,193,445 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include<bits/stdc++.h>
using namespace std;
int x[100000000];
int main()
{
int n,sum;
cin>>n;
for(int i=1;i<=n;i++)
{
cin>>sum;
x[sum]++;
}
for(int i=1;i<=100000000;i++)
{
if(x[i]%2!=0)
{
cout<<i;
break;
}
}
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
04fa135aab04185ae3f948be8be1d5f43a514754 | bb6ebff7a7f6140903d37905c350954ff6599091 | /components/plugins/renderer/webview_plugin.cc | 1e8399560f09b767cfc76cfb3f69ac336a70d1ae | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 7,773 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/plugins/renderer/webview_plugin.h"
#include "base/message_loop/message_loop.h"
#include "base/metrics/histogram.h"
#include "base/nu... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
7243f4c0c8d39b80454c5744141e3de515d27913 | 8739b721db20897c3729d3aa639f5d08e19b6a30 | /Leetcode-cpp-solution/57.cpp | 9f17e18ac8f0a5e4b486705f0d6493e2ead595fb | [] | no_license | Leetcode-W010/Answers | 817414ca101f2d17050ebc471153fbed81f67cd0 | b4fff77ff3093fab76534d96b40e6bf98bef42c5 | refs/heads/master | 2021-01-19T22:13:49.134513 | 2015-12-13T01:30:36 | 2015-12-13T01:30:36 | 40,616,166 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,285 | cpp | /*
Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).
You may assume that the intervals were initially sorted according to their start times.
Example 1:
Given intervals [1,3],[6,9], insert and merge [2,5] in as [1,5],[6,9].
Example 2:
Given [1,2],[3,5],[... | [
"vincent.zhang.us@gmail.com"
] | vincent.zhang.us@gmail.com |
4a6434d982ea8b1e7f96e55ad195bd6a2baabf11 | e112299d9dd49af971a95b65f84d3684c1b76beb | /4.1 Tree/33) createLevelLinkedList.cpp | b45bc2e4ef7e90e5098a2e28d17efb1a7f709e64 | [] | no_license | kaili302/Leetcode-CPP-exercises | 3c47be20bfc982ece07632b64e64d5e67e355a4c | 4de5c5b5265fd1fdad2dfdad7120472cfcc0d269 | refs/heads/master | 2021-08-27T16:15:03.089910 | 2016-11-20T15:58:29 | 2016-11-20T15:58:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | struct TreeNode{
int val;
TreeNode* left;
TreeNode* right;
};
void createLevelLinkedList(TreeNode* pNode, int level, vector<list<TreeNode>>& ret){
if (!pNode) return;
while (ret.size() <= level)
ret.push_back({});
ret[level].push_back(pNode);
createLevelLinkedList(pNode->left, level + 1, ret);
createLevelLin... | [
"kai_li@outlook.com"
] | kai_li@outlook.com |
66dd1063c993c3e46e269a0e9f36e6a12314d1fe | 594b8ec2e0f3f088c8c77da2cd339e9d7c6b012c | /software/test_dir/teensy_test/src/main.cpp | 96249a59fc0a36cabebffcec7c2b30badb6146ca | [
"MIT"
] | permissive | benoitlx/SpotAI | 7f820bb90c6544637b3a02b1335ebcff07e8db54 | 2b546c1f341a32519a21befc6eec43932fc85d36 | refs/heads/main | 2023-07-06T09:53:25.716792 | 2021-08-10T13:21:56 | 2021-08-10T13:21:56 | 384,997,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,011 | cpp | #include <Arduino.h>
#include <ArduinoJson.h>
#include "Wire.h"
#include <Adafruit_PWMServoDriver.h>
#include <MPU6050_light.h>
#include <tof10120.h>
#include <servos.h>
/* I2C adresses */
#define LID_ADR 0x52
#define LID1_ADR 0x54
#define DRV_ADR 0x40
#define PWM_FREQ 50.0
/* Instanciation */
MPU6050 mpu(Wire);
... | [
"benoitleroux41@gmail.com"
] | benoitleroux41@gmail.com |
e497dd29d2cdc8b67fb0273183975269144dd415 | 5053643ca7238f10af0e37db9d576816cbf6f3a2 | /Pkg/Pkg.HC | 84e7e2f32d5ccc4a3c4ac6edb877b23001fa472c | [] | no_license | K1ish/ReggieOS2 | 13de45f5d5b03cc5a31cb018200b2f9304cb699d | 123429de1941780de9f97884c7dd216a9eab5089 | refs/heads/master | 2020-04-14T12:53:45.369076 | 2019-01-02T16:16:18 | 2019-01-02T16:16:18 | 163,853,668 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 11,227 | hc | // vim: set ft=cpp:
#include "::/Adam/Net/Url"
#define PKG_EURL (-20001)
#define PKG_EMOUNT (-20002)
#define PKG_EMANIFEST (-20003)
#define PKG_EVERSION (-20004)
#define PKG_EOSVERSION (-20005)
#define PKG_EUNSUITABLE (-20006)
#define PKG_VERSION 11
static U8* PKG_BASE_URL = "http://shrine... | [
"minexew@gmail.com"
] | minexew@gmail.com |
528422c0f4913fa1c0d31a565704bb0ac5a7feb0 | bc893922087e0894dbe3f0963fbda231c6b7af61 | /Monitor/widget.h | 903c005d8f2ef40403c238a1a73e228fc9a710c9 | [] | no_license | FreiheitZZ/BusLogTool | 1946e3eb74e15804f0a02a9f7d0b0a0953a38e4f | 8b5c85b23b39a09f641f4d82215e563da813bb62 | refs/heads/master | 2021-01-09T14:13:37.592845 | 2020-02-22T12:16:03 | 2020-02-22T12:16:03 | 242,331,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,152 | h | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QSerialPort>
#include <QSerialPortInfo>
#include <QComboBox>
#include <QPushButton>
#include <QTextEdit>
#include <QTextCursor>
#include <QTextCharFormat>
#include <QTimer>
#define USB_VAL_DLE 0x9F
#define USB_VAL_STX 0x02
#define USB_VAL_ETX 0x03
namesp... | [
"791326847@qq.com"
] | 791326847@qq.com |
49ac46ac43186db66e88cd234fd9e203d7e3de45 | 21bcedc4fa3f3b352f2a7952588d199a80f0d4a7 | /example/socks4a/socks4a.cpp | 7eccf7c6581e957df9a19f24af54b0acdafaf9fc | [
"BSD-3-Clause"
] | permissive | liyuan989/blink | c1a4ae4cb92a567ecdf4a12f1db0bec22a6f962a | 7a0d1367d800df78a404aeea13527cd9508fbf4d | refs/heads/master | 2016-09-05T11:13:37.503470 | 2015-04-14T11:35:40 | 2015-04-14T11:35:40 | 29,411,173 | 13 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,424 | cpp | #include <example/socks4a/tunnel.h>
#include <blink/Endian.h>
#include <netdb.h>
#include <stdio.h>
using namespace blink;
EventLoop* g_loop = NULL;
std::map<string, TunnelPtr> g_tunnels;
void onServerConnection(const TcpConnectionPtr& connection)
{
LOG_DEBUG << connection->name() << (connection->connected() ... | [
"liyuan989@gmail.com"
] | liyuan989@gmail.com |
698100eee7731580b8d5a8a7f8d44e42b45c2892 | 29871ec191cbbec8fe5ad4dc905dbbcef9484e9f | /C++/04042018/ex1.cpp | c333cdb8ae670122dfa01226608bd044b6e98762 | [] | no_license | narosan/Algoritmo-UVA | 03b4e37b48a38b5f6e75da659c10bd366d1bda6d | 30caf6052c578f6f93aad149f2a463ef56142cd5 | refs/heads/master | 2020-03-10T14:55:43.362716 | 2018-06-21T21:07:37 | 2018-06-21T21:07:37 | 129,438,303 | 0 | 1 | null | null | null | null | ISO-8859-1 | C++ | false | false | 988 | cpp | /*
1) Fazer um programa para que o usuário informe três palavras. As
palavras não podem ser repetidas. Caso aconteça, mensagem de erro e
retorna para nova digitação daquela informação. Ao final o programa
deverá concatenar as três palavras e exibir para o usuário.
*/
#include <stdio.h>
#include <stdlib.h>
#in... | [
"noreply@github.com"
] | noreply@github.com |
ca8b5f046685d36bab5c498850fe5e4361eefc3c | 8389913a078ce370f05624321b16bfe9c9f1febf | /C++/training.cpp | 96e5a478b0fd9a94eb973dc3654c35b8da339e9e | [] | no_license | lvodoleyl/Algorithm_Rocchio | 75ba09324e5709b98b2bb57d523b2bc295b89bda | 2a23865f19bc2b4150ce390172d85cc17f6c4878 | refs/heads/main | 2023-02-10T12:51:53.654113 | 2021-01-06T19:21:24 | 2021-01-06T19:21:24 | 327,407,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,309 | cpp | #include <stdio.h>
#include <iostream>
#include <stdlib.h>
#include <string>
#include <fstream>
#include <vector>
#include <sstream>
#include <iterator>
#include <cmath>
#include <math.h>
//#define TRAIN_CSV_PATH "D:\\Uchoba\\Kocheshkov\\Curs\\Data\\data_train.csv"
#define TRAIN_CSV_PATH "D:\\Uchoba\\Kocheshkov\\Curs... | [
"abrosimov.kirill.1999@mail.ru"
] | abrosimov.kirill.1999@mail.ru |
be53c3bc2aefec0466c8b4ae5f2ef87995b9b658 | b3dfc1ccdbce9bcfd585b45d4bbdab09c91f4cd5 | /200). Problem of the Day [14-09-2021]/GeekforGeeks - Remove loop in Linked List.cpp | a9997b358fb64cf8491c9f19dc22e9ca9bbd493e | [] | no_license | arun0808rana/365-Days-of-Code | 2b107f5ccc6a8a775f77fa7674240bce64538059 | 7a5eafa9a819a1decdf0771bb919c0551e01af3e | refs/heads/master | 2023-08-25T12:10:36.505506 | 2021-10-17T05:05:14 | 2021-10-17T05:05:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,384 | cpp | #include <iostream>
using namespace std;
struct Node
{
int data;
Node* next;
Node(int val)
{
data = val;
next = NULL;
}
};
void loopHere(Node* head, Node* tail, int position)
{
if(position==0) return;
Node* walk = head;
for(int i=1; i<position; i++)
wa... | [
"noreply@github.com"
] | noreply@github.com |
7812743dbfc8bb589efd58f41925244eb9941427 | a2ef78c8fdb96bb059e5cebe6a9a71531256f059 | /widgetset/style.cpp | d82b1c559ebab51f97960bf6f20307226113b07b | [] | no_license | zsombi/kuemelappz | ed9151251525d520cf38bfb12372d7ac873873f3 | 3e695b3f89773755002dd60643287c081261df29 | refs/heads/master | 2021-01-22T02:34:19.001582 | 2012-06-04T18:59:08 | 2012-06-04T18:59:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,866 | cpp | /**
Style - non-visual element that defines the basic proeprties of a style element.
The element serves as type identification helper.
A style element is identified by a name and the layout type. The element can be
used in defining component styles aswell as defining local styles (see StyledItem
fo... | [
"zsombor.egri@gmail.com"
] | zsombor.egri@gmail.com |
aa0a665b1e3a8c590c2af0cdb3112692c4a16ce5 | 1044aa34448f85f7b5075501297dd82bb1357266 | /Room.hpp | dcd0979c589cd4fba28e7b95cd7be60b063d0585 | [] | no_license | rustushki/lastdoor | 347bb49079578612b713129bc63a308e92d10ff9 | 4a84f76a504ca5ca01f58c1b7631e77f812266f5 | refs/heads/master | 2021-01-23T01:46:41.043419 | 2017-05-01T01:52:45 | 2017-05-01T01:52:45 | 92,893,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | hpp | #ifndef ROOM_HPP
#define ROOM_HPP
#include <string>
#include <vector>
#include "Inventory.hpp"
class Room {
private:
std::string description;
Inventory inventory;
public:
Room(std::string description, Inventory inventory);
std::string getDescription();
Inventory& getInventory();
};
#endif//ROOM_HPP
| [
"russ.adams@gmail.com"
] | russ.adams@gmail.com |
8ec3ae167cb5d310cef5847acafb6e790ba793ee | 181841bfa62a45d123db5696913ed9ae62c17998 | /C06/ex01/main.cpp | aaff0b56d57fb98fe36d2b2ee408fd663b276f4c | [] | no_license | PennyBlack2008/CPP_Practice | fadaaaa9f28abe5bfc673de88b47a1940a3b6378 | ee2a7fe13f97427645061ab8fe35cab0f95121f5 | refs/heads/master | 2023-04-03T11:30:33.525216 | 2021-04-20T11:20:02 | 2021-04-20T11:20:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,053 | cpp | #include <string>
#include <iostream>
struct Data
{
std::string s1;
int n;
std::string s2;
};
// 8글자인 랜덤 문자열(알파벳or숫자) + 랜덤 int형 변수+ 8글자인 랜덤 문자열(알파벳or숫자)
// 데이터를 직렬화함
void *serialize(void)
{
std::string s1 = "";
std::string s2 = "";
char *ptr;
char alphanum[] = "0123456789abcdefghijklmnopq... | [
"jikang@c6r10s6.42seoul.kr"
] | jikang@c6r10s6.42seoul.kr |
fb8adbc2e4613abdb5fcc5633423b485306ddcee | bc6cd18a13992f425bb97406c5c5e7e3b8d8cb03 | /src/robot/motion_command_filter.h | 91040da3ba22daaaba0f2978868f9926fcd4505d | [
"MIT"
] | permissive | collinej/Vulcan | 4ef1e2fc1b383b2b3a9ee59d78dc3c027d4cae24 | fa314bca7011d81b9b83f44edc5a51b617d68261 | refs/heads/master | 2022-09-19T01:59:45.905392 | 2022-09-18T02:41:22 | 2022-09-18T02:41:22 | 186,317,314 | 3 | 3 | NOASSERTION | 2022-04-29T02:06:12 | 2019-05-13T00:04:38 | C++ | UTF-8 | C++ | false | false | 3,113 | h | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | [
"collinej@umich.edu"
] | collinej@umich.edu |
ce2f8056236e9e2a6ab5aa43dd2c7b1db8395cbd | 41578b9248dc2f5671fbf6c793f88ae61f75014e | /TFT_Dispaly/Nova-Touch/Module-Development/scaleSetup/June-21/scaleSetup-12-06-21/commonGlobal.h | 4304a1936948dabebdb5ca52ce9575bcb801f179 | [] | no_license | axisElectronics/Axis_Company_Project | 89fb56de1c1cd0d5044a36b64369127e01cba1d2 | 089e3e0c63ce9156e888738fd9262124c9345c1c | refs/heads/master | 2023-08-26T19:41:18.505678 | 2021-11-08T09:33:26 | 2021-11-08T09:33:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,657 | h |
#ifndef __COMMONGLOBAL_H
#define __COMMONGLOBAL_H
#include "headerFiles.h"
#include <FS.h>
#include <SPIFFS.h>
/********* MACROs Decalration ***********/
// Serial_1 will be used for getting data from Arduino NANO for Keypad data.
#define RXD1 32
#define TXD1 33
// Serial_2 will be used for getting Weighing Scal... | [
"viveky1794@gmail.com"
] | viveky1794@gmail.com |
63892ce09de071b7d33fe9ee9d3dee112eaa43f5 | d73e4912c604f8073364df416f347f9f2c7a4775 | /acm/20180505/h.cpp | fe9fcf2cc4c2321ff93e5ac016d784590436df69 | [] | no_license | TachoMex/club-algoritmia-cutonala | 9a2efc2c19eae790558940759ba21e970a963752 | ddd28a22b127cda609310b429a3466795f970212 | refs/heads/master | 2020-03-15T17:34:56.771129 | 2018-05-06T18:08:03 | 2018-05-06T18:08:03 | 132,264,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | cpp | #include <iostream>
#include <string>
using namespace std;
char cypher(char c, int k){
if(c >= 'A' && c <= 'Z'){
return ((c - 'A') + k) % 26 + 'A';
}
return c;
}
int main(){
cin.tie(0);
cin.sync_with_stdio(0);
int t;
cin >> t;
while(t--){
int n, k;
cin >> n >> k;
string s;
cin... | [
"tachoguitar@gmail.com"
] | tachoguitar@gmail.com |
242dd4c0996bf1cce1a9c1ef549f49d097cba497 | bf45a308e128c876bce597e3b3bfd96c22e53d08 | /src/config.hpp | 8de11fa16750fb1757e7c84c77dfe77b970ebacd | [] | no_license | madmongo1/amytest | b5a23dfe1160add95e689145e308555f4341a84d | 3791da905e9c469e61f40d31a28c4c11c3cab0c4 | refs/heads/master | 2021-01-19T21:24:47.319874 | 2017-04-21T14:40:45 | 2017-04-21T14:40:45 | 88,656,429 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | hpp | #include <boost/asio.hpp>
namespace amytest {
namespace asio = boost::asio;
using tcp_endpoint = asio::ip::tcp::endpoint;
using ip_address = asio::ip::address;
}
| [
"hodges.r@gmail.com"
] | hodges.r@gmail.com |
eff5a5c9a919bd99db0e2bb30be0cb2060033c79 | 9f6bcff0c65df44a6ba3a31b852b8446edc01d96 | /code/cpp/engine/system/TouchDefines.h | 50cdd409d3ba56065d6e4b0820badf9aaa6b3d30 | [] | no_license | eddietree/FunkEngine-Public | 15cdf6b50d610c6f476df97449cc9282df790117 | ed1401c77a4696843ea2abcd5a49c2ceac644f8f | refs/heads/master | 2021-03-12T22:44:18.187011 | 2014-01-05T05:04:58 | 2014-01-05T05:04:58 | 15,035,148 | 21 | 2 | null | 2014-01-05T05:04:59 | 2013-12-09T01:26:30 | C | UTF-8 | C++ | false | false | 1,967 | h |
#pragma once
#include <math/v2.h>
#include <math/v3.h>
#include <math/v4.h>
#include <math/matrix.h>
#include <math/Box3.h>
#include <gm/gmVariable.h>
#include <stdint.h>
namespace funk
{
enum TouchEventType
{
TOUCHEVENT_BEGIN,
TOUCHEVENT_MOVE,
TOUCHEVENT_STATIONARY,
TOUCHEVENT_END,
TOUCHEVENT_CANCEL,
... | [
"eddie@illogictree.com"
] | eddie@illogictree.com |
ad9b21017a47f197801482d82b3f0ae22887270f | c7120eeec717341240624c7b8a731553494ef439 | /src/cplusplus/freezone-samp/src/npc_dev.cpp | 82131045a610163017c7ffb65507a1f5fabfeaad | [] | no_license | neverm1ndo/gta-paradise-sa | d564c1ed661090336621af1dfd04879a9c7db62d | 730a89eaa6e8e4afc3395744227527748048c46d | refs/heads/master | 2020-04-27T22:00:22.221323 | 2010-09-04T19:02:28 | 2010-09-04T19:02:28 | 174,719,907 | 1 | 0 | null | 2019-03-09T16:44:43 | 2019-03-09T16:44:43 | null | WINDOWS-1251 | C++ | false | false | 16,350 | cpp | #include "config.hpp"
#include "npc_dev.hpp"
#include "core/module_c.hpp"
#include "core/npcs.hpp"
#include "vehicles.hpp"
#include "weapons.hpp"
#include "player_money.hpp"
#include <fstream>
#include <boost/filesystem.hpp>
REGISTER_IN_APPLICATION(npc_dev);
npc_dev::npc_dev()
:play_npc_name("npc_dev_pla... | [
"dimonml@19848965-7475-ded4-60a4-26152d85fbc5"
] | dimonml@19848965-7475-ded4-60a4-26152d85fbc5 |
4cb5e987f9ba79b363ca88f3f3e129a2a5532aa9 | 5088f525434b6fca617bccee472ac52cf5158ade | /Engine/Win32Project1/App.h | 9b3233344fb5655e3bb592a7e2be315d7c9a038a | [] | no_license | GrooshBene/2015_GameProject | 5f4112ddd84fd40d50a2c6d915952562eea46a8a | 7a273bba9f7dd7a73a92ae6d85c8bf307717297d | refs/heads/master | 2020-05-18T01:23:39.093389 | 2015-08-11T14:16:44 | 2015-08-11T14:16:44 | 40,545,679 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 1,456 | h | #pragma once
#include "windows.h"
#include "atlstr.h"
#include <d3dx9.h>
#include "SceneManager.h"
#include "ResourceManager.h"
#include "InputManager.h"
class App
{
private:
static LARGE_INTEGER LInterval, RInterval, Frequency;
static App *instance;
static void InitWindow(); // 윈도우를 초기화
static void FloatWin... | [
"wltn000129@gmail.com"
] | wltn000129@gmail.com |
f1c638fc4582256f865ff11fcb5d4398d527de12 | 3ad968797a01a4e4b9a87e2200eeb3fb47bf269a | /dsoundwc_src/Source/Sounder.h | a181d5ead0fadeacd660d6db160f7b75af7624fc | [] | no_license | LittleDrogon/MFC-Examples | 403641a1ae9b90e67fe242da3af6d9285698f10b | 1d8b5d19033409cd89da3aba3ec1695802c89a7a | refs/heads/main | 2023-03-20T22:53:02.590825 | 2020-12-31T09:56:37 | 2020-12-31T09:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,286 | h | // Sounder.h : main header file for the SOUNDER application
//
#if !defined(AFX_SOUNDER_H__A14C6329_9447_433F_B74D_0D8727A76C05__INCLUDED_)
#define AFX_SOUNDER_H__A14C6329_9447_433F_B74D_0D8727A76C05__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h'... | [
"pkedpekr@gmail.com"
] | pkedpekr@gmail.com |
346a45db8ee3c5a4b8c93ff00f64bc5445bb81d9 | d7d66364f6e9867ba76bf2cbd7718def2644c4c2 | /CodeMap/Code2Pos1.cpp | c9eca2ada17f8f8a79cf74c767b5e58d9bcc6757 | [] | no_license | lwzswufe/CppCode | ca61b2f410cca758c8968359234ae28c559e9683 | dc9ee87b573acba4f59d26ef1f52b2b92b0982c1 | refs/heads/master | 2023-07-06T22:36:10.692762 | 2023-06-22T15:09:02 | 2023-06-22T15:09:02 | 105,245,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,768 | cpp | #include <string.h>
#include "Code2Pos1.h"
namespace Code2Pos1
{
int CODEARRSIZE{40000};
int CODESIZE{7};
int* CODEARR{nullptr};
}
int Code2Pos1::FindCode(const char * code)
{ // 证券代码字符串转化为数组坐标 效率是map<string,int>的5倍
if (code == NULL || strlen(code) < CODESIZE - 1)
return 0;
int base, pos;
// cha... | [
"lwzswufe@foxmail.com"
] | lwzswufe@foxmail.com |
3c121af99a4456b0a0c7a0589b6c145c89210a26 | 0651168677127e9c4ccbe185dc865227144bc825 | /src/node_request.cpp | 415d27d82e73cc443a4ca10d34b451ffc16e8044 | [] | no_license | ezhangle/node-mapbox-gl-native | 9f5904d8755d29bc54bd02f4a34d4625c5b661ac | ffc937b18476304a4833ba6728a94c5f6f178973 | refs/heads/master | 2021-01-17T04:23:39.769651 | 2015-03-15T03:25:46 | 2015-03-15T03:25:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,891 | cpp | #include "node_request.hpp"
#include "node_file_source.hpp"
#include <mbgl/storage/default/request.hpp>
#include <mbgl/storage/response.hpp>
#include <cmath>
namespace node_mbgl {
////////////////////////////////////////////////////////////////////////////////////////////////
// Static Node Methods
v8::Persistent<v... | [
"mail@kkaefer.com"
] | mail@kkaefer.com |
da76f577d2d38a868eb4ec05d51ffb01f4fc2103 | 902e56e5eb4dcf96da2b8c926c63e9a0cc30bf96 | /LibsExternes/Includes/boost/iostreams/detail/adapter/range_adapter.hpp | e7f2874dc2a3c0b10a37e90e2a0c7be6b8f64fe6 | [
"BSD-3-Clause"
] | permissive | benkaraban/anima-games-engine | d4e26c80f1025dcef05418a071c0c9cbd18a5670 | 8aa7a5368933f1b82c90f24814f1447119346c3b | refs/heads/master | 2016-08-04T18:31:46.790039 | 2015-03-22T08:13:55 | 2015-03-22T08:13:55 | 32,633,432 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,603 | hpp | // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
// (C) Copyright 2003-2007 Jonathan Turkanis
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
// See http://www.boost.org/libs/iostreams for d... | [
"contact@anima-games.com@bd273c4a-bd8d-77bb-0e36-6aa87360798c"
] | contact@anima-games.com@bd273c4a-bd8d-77bb-0e36-6aa87360798c |
8751752470b80f8013824afbf9a217aa8c7d8683 | 860fc0c4195dc36abd76919c2926a759aa7b69da | /Search Algorithms/binarysearch_recursive.cpp | 83bc6ac3e14ac396e565112f59bbc0bcc2aaa903 | [] | no_license | Ankush-Kamboj/Algorithms-Cpp | d9584695b645c68b70c4010a71ac4cce1fdcb457 | 9ee63f83445ab0b2c6d12a27cad0d0d28a728a87 | refs/heads/master | 2022-12-26T14:18:00.276464 | 2020-09-21T03:29:38 | 2020-09-21T03:29:38 | 296,233,965 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,183 | cpp | // Binary Search - Recursive
#include <iostream>
using namespace std;
int binarySearch(int arr[], int low, int high, int ele)
{
if (high >= low){
int mid = low + (high - low)/2;
// if element is at the middle
if (arr[mid] == ele){
return mid+1;
}
// if element ... | [
"ankushak2000@gmail.com"
] | ankushak2000@gmail.com |
1d066af50a4e7613d294320c768eb77467e31cf9 | 2e313b54926cf2b4d00a8a2a035f9d1176118479 | /Backtracking/nQueen/nQueen/nQueen.cpp | 693b26017a1b8670e1b55cddbaac50a68f9cb42a | [] | no_license | nvthanh1994/Data-Structure-and-Algorithm-IT3010 | 8dccbad82dece9be417f3a7744cf0978a71b4e12 | 253a7ce7669aeb99c2b4da1b10cb64a1e305e8c2 | refs/heads/master | 2020-04-06T04:25:20.166477 | 2015-01-13T06:27:12 | 2015-01-13T06:27:12 | 29,175,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,910 | cpp | #include <iostream>
#include <cstdio>
#include <cmath>
#include <ctime>
using namespace std;
#define MAX 10
int n;
int numOfSolution;
int x[MAX];
bool check(int row, int tempCol){
for(int prevRow=1;prevRow<row;prevRow++){
if(x[prevRow]==tempCol || (abs(tempCol-x[prevRow])==abs(row-prevRow))) return fals... | [
"nvthanh1994@gmail.com"
] | nvthanh1994@gmail.com |
a03d1da25cad9370043a4f10dd68bf23a9a99f0d | 6ff1a9ee8d6b360250da0760454725f256c0e0b8 | /C++/GreedyCPP/minNumberofTaps.cpp | 7c69feaf5b4fe5dd76ba365e5acbd0bd241cc247 | [] | no_license | itsme-aparna/Coding-Notes | 2e44df523548db9fa15c561fa0d5a8e060783acf | 60cbb7d6aa61d50c44cdf022250b683118164a47 | refs/heads/master | 2023-08-21T15:31:02.898529 | 2021-10-06T07:57:28 | 2021-10-06T07:57:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | cpp | LEETCODE - 1326
class Solution {
public:
int minTaps(int n, vector<int>& ranges) {
int min = 0;
int max = 0;
int open = 0;
while(max < n){
for(int i = 0; i <= n; i++){
if((i - ranges[i]) <= min && (i + ranges[i]) > max){
max... | [
"noreply@github.com"
] | noreply@github.com |
2ec1d71fe12182de2b2fd18e5b30884cf49ff4a4 | 8d5923162f4ae0abf2dffca969a95dbd49e40220 | /include/PoolObjectAuth.h | 7141ce39302973d9d4dc88c022d43a87870d2512 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sutthipongl/one5.2.0 | 00a662d8372679b006d4cd30914d5772edeb4be2 | ec756a13ced38f3b2ba70bae043dd1cc734b7a01 | refs/heads/master | 2021-04-26T13:10:30.964344 | 2017-05-18T21:34:35 | 2017-05-18T21:34:35 | 77,481,442 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,805 | h | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | [
"Tor@Sutthipongs-MacBook-Pro.local"
] | Tor@Sutthipongs-MacBook-Pro.local |
db0d11ad1449cf81199940de47078a8305fee5e7 | b024e7adc518f11913cbfefbd914ea912ffe6d29 | /mymain06.cc | c671c48bea25f2a156fdacf0d58041373c740fde | [] | no_license | codybstrange/casimir-scaling | 0cf0a9d1c4d8b31e678d068841d95de1cddb9598 | 986b7e802cae7cab2220747d5b7bbd9c00badd58 | refs/heads/master | 2021-05-07T22:31:18.513021 | 2017-10-18T00:00:59 | 2017-10-18T00:00:59 | 107,336,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,956 | cc | //Program designed to look at having multiple strings on top of each other
//Cody Duncan
#include <iostream>
#include "Pythia8/Pythia.h"
#include "TH1.h"
#include "TVirtualPad.h"
#include "TApplication.h"
#include "TFile.h"
#include "TCanvas.h"
#include "TSystem.h"
using namespace Pythia8;
using namespace std;
int ... | [
"noreply@github.com"
] | noreply@github.com |
66550b521456b8c701c794fd3bb13bb216bb269f | 619054eaea6b93fb3ad354606029363817088285 | /rai/common/parameters.hpp | 96c194dcaabdcd179d00ead1132780ca9858807b | [
"MIT"
] | permissive | raicoincommunity/Raicoin | e3d1047b30cde66706b994a3b31e0b541b07c79f | ebc480caca04caebdedbc3afb4a8a0f60a8c895f | refs/heads/master | 2023-09-03T00:39:00.762688 | 2023-08-29T17:01:09 | 2023-08-29T17:01:09 | 210,498,091 | 99 | 16 | MIT | 2023-08-29T17:01:11 | 2019-09-24T02:52:27 | C++ | UTF-8 | C++ | false | false | 5,261 | hpp | #pragma once
#include <string>
#include <rai/common/numbers.hpp>
#include <rai/common/chain.hpp>
namespace rai
{
#define XSTR(x) VER_STR(x)
#define VER_STR(x) #x
const char * const RAI_VERSION_STRING = XSTR(TAG_VERSION_STRING);
enum class RaiNetworks
{
// Low work parameters, publicly known genesis key, test IP p... | [
"bitharu7@gmail.com"
] | bitharu7@gmail.com |
20ffccd87e36baed4935962d63866943700ddcf8 | de6128d5e4221677aef571a876df8b53a08b5cd3 | /windows/pp/04-trianglePerspective/trianglePerspective.cpp | 620e9a404096f3956e64936e2794e6bee7035bd0 | [] | no_license | ssijonson/realTimeRendering | 2d97fa7a20d94aae460a8496283247c1c5ad962f | d0a37138dbf8a618976ac292ee35e67382499601 | refs/heads/master | 2023-03-16T19:48:29.889647 | 2018-10-16T19:35:58 | 2018-10-16T19:35:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,885 | cpp | #include <windows.h>
#include <stdio.h>
#include <gl/glew.h>
#include <gl/gl.h>
#include "resources/resource.h"
#include "vmath.h"
HWND hWnd = NULL;
HDC hdc = NULL;
HGLRC hrc = NULL;
DWORD dwStyle;
WINDOWPLACEMENT wpPrev = { sizeof(WINDOWPLACEMENT) };
RECT windowRect = {0, 0, 800, 600};
bool isFullscreen = false;
b... | [
"projectchetan07@gmail.com"
] | projectchetan07@gmail.com |
bd7ba8597209563de38c009d59c5c3b6c07727c4 | 2ee949a4acaf752d1484ace8b4db4df1eef3efa9 | /ass4/server/Server.cpp | 140b097bc4f2d39c9f3b720bcad25b17f1bfecb9 | [] | no_license | afekaoh/Anomaly-Detector-AP1 | ade0f1fab782f79dcaa64b5eb14893ab953f049d | ebc2ac9f14145035d39e9db9e1026116d68986eb | refs/heads/master | 2023-04-07T00:32:31.978682 | 2021-04-17T19:19:00 | 2021-04-17T19:19:00 | 304,866,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,069 | cpp | /*
* Author: Adam Shapira; 3160044809
*/
#include "Server.h"
#include <thread>
#include <netdb.h>
Server::Server(int port) noexcept(false): socket_fd(-1) {
// setting up the server socket
struct sockaddr_in serverAdress{};
socket_fd = socket(AF_INET, SOCK_STREAM, 0);
if (socket_fd < 0) {
throw ("socket\n");
}
... | [
"50743751+afekaoh@users.noreply.github.com"
] | 50743751+afekaoh@users.noreply.github.com |
af61b662e334a89d8cf1a3998d9cfb5493379851 | 338f43cebbc5876dbb0fb97f2fae0cd4445ac956 | /c++程序设计作业11/concrete_subject3.h | 8bd39b68b9507e4ebe012b1dc17c3a86941d0003 | [] | no_license | LongJinhe-coder/cplusplus | 09fa92b53598d071bde28f9ad73b2f146395061c | 87e636b69c776cdae219fd0520eedede46021327 | refs/heads/master | 2020-09-22T01:49:18.064270 | 2020-08-02T08:28:51 | 2020-08-02T08:28:51 | 225,007,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | #pragma once
#include"subject.h"
#include"concreteState3.h"
#include<string>
using std::string;
class concreteSubject3 :public subject {
public:
concreteSubject3(const string & name,const concreteState3 s=NULL) :subject(name) {}
state* getState() const {
return _state;
}
void setState(state *s) { _state = s;
}
}; | [
"[909642437@qq.com]"
] | [909642437@qq.com] |
af69807ba13d1fc6914906571a7cabaf96f74e68 | f9f8bd992dac718043a5e8c12deed3dd190c21d0 | /Stacks-Queues/Balanced Parenthesis (Interesting).cpp | 9ad1b4c8bbe9a958da6a9753bc0efc19db2f89cc | [] | no_license | sankalp163/CPP-codes | e51e920ac296aa3481edaa56566c9e63913550c7 | 1cc1a75311262b19fcab8086c58f7c68871100b8 | refs/heads/main | 2023-06-14T18:19:55.967344 | 2021-07-12T06:45:10 | 2021-07-12T06:45:10 | 338,971,480 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 893 | cpp | #include<stack>
bool checkBalanced(char *exp) {
// Write your code here
int i=0;
stack<char> s;
while(exp[i]!='\0'){
if(exp[i]=='('||exp[i]=='{'||exp[i]=='['){
s.push(exp[i]);
}
else if(!s.empty() &&( exp[i]==')'||exp[i]=='}'||exp[i]==']')){
if(s.top()... | [
"noreply@github.com"
] | noreply@github.com |
ddaf2cb7b649a003d371f109e0da829a4fc5d2ce | 0e457eda72fe89e8690396734fbf12b5cea94e98 | /DONE/CF 1181G.cpp | 12a854d74c6a3706030c4e3f681079a72126cd34 | [] | no_license | Li-Dicker/OI-Workspace | 755f12b0383a41bfb92572b843e99ae27401891c | 92e1385a7cffd465e8d01d03424307ac2767b200 | refs/heads/master | 2023-01-23T05:55:53.510072 | 2020-12-12T08:33:50 | 2020-12-12T08:33:50 | 305,936,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | cpp | #include<bits/stdc++.h>
#define int long long
#define M (1<<20)
#define INF 0x3f3f3f3f
using namespace std;
int T,n;
signed main()
{
scanf("%lld %lld",&n,&T);
for (int i=1;i<=n;i++)
return 0;
} | [
"Li_Dicker@qq.com"
] | Li_Dicker@qq.com |
350b07954d3c0977fe4cabda40da3f64602f0601 | e60c7658cd254538ecaed0d7a803ee58460c8f9b | /3scan-scope-master aux1.56/auxbox/BallValve.cpp | 3dd3beb375178402fb796fdb501c79056c8550d6 | [] | no_license | skolk/AUX | 0915866108ddd905a4f57acba054b49ef3ffb25c | 3e9ee60270c05f1459a0f54183e003dd93eb3140 | refs/heads/master | 2016-09-06T09:10:07.002305 | 2016-01-13T15:50:39 | 2016-01-13T15:50:39 | 30,661,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 925 | cpp | #include "BallValve.h"
BallValve::BallValve(uint8_t pinOpen, uint8_t pinClose) {
_pinOpen = pinOpen;
_pinClose = pinClose;
pinMode(_pinOpen, OUTPUT);
pinMode(_pinClose, OUTPUT);
// On startup, we don't know what the state of the system is.
// We won't know until we call either open() or close().
_hasBe... | [
"sean.kolk@gmail.com"
] | sean.kolk@gmail.com |
966e150cb7e7551bb5c655dd5159784d1b9da6b4 | fb6d70a911d49440a056019acccd0434e7779eea | /Shake_Engine/src/Platform/OpenGL/OpenGLShader.cpp | 8c566eb1d9eb470f2086ee5703202bc5b95c9486 | [] | no_license | PizzaCutter/Shake_Engine_CPP | b29b566df369fa4eaad3cdbe08da916ff50caef1 | 9d479fd9ec600e4b271489c82ae4dd38b1666a34 | refs/heads/master | 2022-12-25T10:58:05.192374 | 2020-10-11T11:47:57 | 2020-10-11T11:47:57 | 268,881,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,809 | cpp | #include "sepch.h"
#include "OpenGLShader.h"
#include <fstream>
#include <vector>
#include "glad/glad.h"
#include "glm/gtc/type_ptr.hpp"
namespace Shake
{
OpenGLShader::OpenGLShader(const SString& filePath)
{
const SString fileAsString = ReadFile(filePath);
const std::unordered_map<GLenum, S... | [
"robin.smekens.930@gmail.com"
] | robin.smekens.930@gmail.com |
0a3a374837f95b1a2fe708fa347bff37196fdee5 | 7062b6bd0c8135632a96af162f8a0f4d344ff3c4 | /MockCCC++/Mock CCC '20 Contest 2 S2 - 4D BBST on a DP.cpp | 2b95afcf236d1985057883856d1a375cd70baca9 | [] | no_license | ngc/CompetitiveProgramming | e2560127978bf67fe9452431bffcd8f4e99558d9 | fab82b377c5f632135d15fc25b6a1130d800bbf2 | refs/heads/master | 2022-11-29T02:00:56.324832 | 2020-08-16T18:53:20 | 2020-08-16T18:53:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 878 | cpp | #include <bits/stdc++.h>
#include <cstdio>
#include <iostream>
using namespace std;
typedef long long LL;
typedef pair<int, int> pii;
typedef pair<LL, LL> pll;
typedef pair<string, string> pss;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<pii> vii;
typedef vector<LL> vl;
typedef vector<vl> vv... | [
"noreply@github.com"
] | noreply@github.com |
a0b2162a30a468ca1cf81448e8cf23bc6918f69c | 872095f6ca1d7f252a1a3cb90ad73e84f01345a2 | /mediatek/proprietary/hardware/mtkcam/middleware/common/include/v3/utils/streaminfo/IStreamInfoSetControl.h | c9c9ec50e3fc219616abcf99783ba9e1564d49d3 | [] | no_license | colinovski/mt8163-vendor | 724c49a47e1fa64540efe210d26e72c883ee591d | 2006b5183be2fac6a82eff7d9ed09c2633acafcc | refs/heads/master | 2020-07-04T12:39:09.679221 | 2018-01-20T09:11:52 | 2018-01-20T09:11:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,078 | h | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... | [
"peishengguo@yydrobot.com"
] | peishengguo@yydrobot.com |
31445175d9276ad79aa652d8b9470ea07bea8e5a | d1166bb82217de1cd9a6d3d26db0a5c9943ba443 | /src/main.cpp | ada71638bc0ff8c86767ec4db85b0e6cc6460b93 | [] | no_license | Kuba-Wi/Szablon-uklad-rownan | 9da48770ea2fb91ecc4be6fbbc2bf4192a9e9db7 | 89b7dd011203bcac9ae25a3859068c1dfb633983 | refs/heads/master | 2022-06-08T03:29:16.535588 | 2020-05-07T17:49:35 | 2020-05-07T17:49:35 | 257,581,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | #include <iostream>
#include "SWektor.hh"
#include "SMacierz.hh"
#include "SUkladRownanLiniowych.hh"
#include "LZespolona.hh"
#include "rozmiar.h"
using namespace std;
template<typename Typ, int Rozmiar>
void uklad_rownan() {
SMacierz<Typ, Rozmiar> A;
SWektor<Typ, Rozmiar> b;
SWektor<Typ, Rozmiar> Wynik;
... | [
"winczukjakub@gmail.com"
] | winczukjakub@gmail.com |
17fa9e9dde6edf49bfd8be7dd109054fbda8cf89 | b874278ed138a775e07712631f5f9b86858a730e | /Conntendo/Mappers/mapper69.h | 8b5ac9836cf5946ab6e8595c9cf2922c8e8ad071 | [] | no_license | cynicconn/Conntendo | a10f2f962bdb6b1a5376c3f0ec95d44c3b4feb0e | 2203048033e6a5b2ded3a66dc1cddf85110f312e | refs/heads/master | 2020-03-31T06:26:38.881777 | 2018-10-11T14:02:49 | 2018-10-11T14:02:49 | 151,982,409 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | h | #pragma once
#include "mapper.h"
// Sunsoft FME-7 ROMs ( Batman Return of the Joker )
class Mapper69 : public Mapper
{
public:
Mapper69(u8* rom);
void SetBanks();
// Read-Write Functions
u8 read8(u16 address);
u8 write8(u16 address, u8 val);
u8 chr_write8(u16 address, u8 val);
// CPU IRQ
void... | [
"noreply@github.com"
] | noreply@github.com |
92a22f7be396fe88e37e1364e85918126aa7e497 | 99441588c7d6159064d9ce2b94d3743a37f85d33 | /xsens_ros_mti_driver/lib/xspublic/xscontroller/xsscanner.h | 0dead4fe10b69c345aca79ae1a27df2b0e09da96 | [
"BSD-2-Clause"
] | permissive | YZT1997/robolab_project | 2786f8983c4b02040da316cdd2c8f9bb73e2dd4c | a7edb588d3145356566e9dcc37b03f7429bcb7d6 | refs/heads/master | 2023-09-02T21:28:01.280464 | 2021-10-14T02:06:35 | 2021-10-14T02:06:35 | 369,128,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,692 | h |
// Copyright (c) 2003-2021 Xsens Technologies B.V. or subsidiaries worldwide.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the ... | [
"yangzt_0943@163.com"
] | yangzt_0943@163.com |
98c52b8e605ccf1d5c4173847ef2fec5f804ea0e | ab2c6c1488074011d42a144e5c68fa8c6ad43bcf | /cforces/631B.cc | e33d3f1c371ef1e531517d562441ceb806859a96 | [] | no_license | mtszkw/contests | 491883aa9f596e6dbd213049baee3a5c58d4a492 | 5b66d26be114fe12e5c1bc102ae4c3bafbc764e9 | refs/heads/master | 2021-07-09T07:55:05.221632 | 2017-10-08T20:11:24 | 2017-10-08T20:11:24 | 101,620,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cc | #include <bits/stdc++.h>
using namespace std;
#define iosync ios_base::sync_with_stdio(0)
struct Cell {
int layer, colour;
Cell() { layer=0; colour=0; }
};
int main() {
iosync;
Cell rows[5001], cols[5001];
int n, m, queries, q_type, q_cells, q_colour;
cin >> n >> m >> queries;
for(int query=1; query<=queries... | [
"kwasniak.mateusz@gmail.com"
] | kwasniak.mateusz@gmail.com |
b04cf01b3fdc79d8ab0fbdf269f1f33a8814292e | 6ab32e95c9a32b38fbd7564c2ac8884c31b67203 | /include/savr/rfm69_const.h | 68b8f0ae87c98f53a7771d170453da2cbfd1896f | [
"MIT"
] | permissive | srfilipek/savr | a3c10f8082d8daaa3abe41ae015c8f2843fd6785 | 8c6e461863373117f09fb2cdc3e60adc685761d9 | refs/heads/master | 2021-07-03T01:27:48.403569 | 2020-07-03T19:35:05 | 2020-07-03T19:35:05 | 32,104,735 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,768 | h | /*******************************************************************************
Copyright (C) 2018 by Stefan Filipek
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, inclu... | [
"srfilipek@gmail.com"
] | srfilipek@gmail.com |
c316695368aabf5ebe7eec5b137c151a49550ee7 | 3fa1397b95e38fb04dac5e009d70c292deff09a9 | /BaiTap_KTLT_0081_08/BaiTap_KTLT_0081_08.h | 80b2683e901394a1f07d4d2ff0e94c38d03804d0 | [] | no_license | nguyennhattruong96/BiboTraining_BaiTap_KTLT_Thay_NTTMKhang | 61b396de5dc88cdad0021036c7db332eec26b5f3 | 1cac487672de9d3c881a8afdc410434a5042c128 | refs/heads/master | 2021-01-16T18:47:05.754323 | 2017-10-13T11:15:01 | 2017-10-13T11:15:01 | 100,113,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 229 | h | #ifndef __BaiTap_KTLT_0081_08_H__
#define __BaiTap_KTLT_0081_08_H__
#include <iostream>
#include <string>
using namespace std;
#pragma once
int Input(string sMessage);
void Sum(int x);
#endif // !__BaiTap_KTLT_0081_08_H__
| [
"nguyennhattruong96@outlook.com.vn"
] | nguyennhattruong96@outlook.com.vn |
dadf9d3cdde723a05b32aebbb5e4e148cdbebfd7 | 974389431527e451ce83049b11cd3dc42780108d | /phase_1/example/montague/variants/unpatched/src/mtl.cpp | 99edd1ad9d1482002978e8a61e24b534e807af86 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | cromulencellc/chess-aces | 21d8e70c8d9853a922ca0c90ffdd2c79ba390fb0 | 8ea5b0d75ddbf45fd74a7b8c5ca03fc4955eba8b | refs/heads/main | 2023-05-24T01:13:07.917910 | 2022-11-02T00:56:52 | 2022-11-02T00:56:52 | 351,277,450 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,068 | cpp | #include "logger.hpp"
#include "mtl.hpp"
using namespace mtl;
using hpt = std::shared_ptr<context::Hash>;
using spt = std::shared_ptr<context::Scalar>;
hpt hhh() { return std::make_shared<context::Hash>(); }
spt sss(std::string v) { return std::make_shared<context::Scalar>(v); }
std::shared_ptr<Context> mtl::make_conte... | [
"bk@cromulence.com"
] | bk@cromulence.com |
954499c20a5c34e0e24febfebb2dbe1109dc9452 | 0bc4186fee113a3c9e740f47a82ddb79b8dbe7ad | /Weekly Assignments/Week3/Angry Birds Progress/src/SlingShot.h | fd68aa7b648be6046283300b32f15df8bfdd1c6c | [] | no_license | uhhgoat/AngryBirdsPrototype | 8080db3f2115eff777c9a93b81c13c47dc9934ba | 4c7ba585386da70a0fe3f6f2ceb9589828f5e184 | refs/heads/master | 2020-12-28T14:41:41.463088 | 2020-02-05T05:33:51 | 2020-02-05T05:33:51 | 238,374,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | #pragma once
#include "Includes.h"
class SlingShot : public MultiFixtureObject
{
private:
GameObject2D * slingRight;
GameObject2D* slingLeft;
public:
SlingShot(float x, float y, float rot, b2World &world, bool showDebugShape = false);
~SlingShot() = default;
void Update();
void UpdateRubber(GameObject2D* go);
}; | [
"matyas@fenyves.net"
] | matyas@fenyves.net |
c49d8af418d00a8bb71ba1ac7703af326aa98e3b | 74b5d3fa626c83846a5d2890671859bcbe9c3947 | /MathWiz/source/Bootloader.cxx | e11d32edc957ad8faa5a63d52de29556050a39aa | [] | no_license | yash101/MathWiz | fc4181f72cd9680cc1b24643b0e5bd26ac2988fa | 0ad35166c7043f6410be7942058e5caa4837a103 | refs/heads/master | 2021-01-10T21:11:58.746629 | 2015-04-30T03:45:56 | 2015-04-30T03:45:56 | 25,278,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cxx | #include "../include/Bootloader.hxx"
void boot::generate_file_list()
{
if(!ramfs::stat_file(FILECACHE_LOCATION))
{
if(DETAILED_DEBUG)
{
std::cout << "Warning: Unable to stat filecache.dat!" << std::endl;
}
}
std::stringstream str;
str << ramfs::read_file(FILECACH... | [
"dlodha@pvlearners.net"
] | dlodha@pvlearners.net |
b22e5480efddcbdfe3e8e9b75e9acf09b2a2e69a | a4fb3c4abaa5f774ae222dc7ede7f57cc1fb3b70 | /iOS/SMarket/Unity/Classes/Native/Il2CppCompilerCalculateTypeValues_3Table.cpp | 87c99bbc862c735b4dd7806d92aa0d23755e9bb2 | [] | no_license | vanessaaleung/SMarket | dbffe7a04f821f788fedda4e0f788e4e8cf95126 | fa139dc7d370824ad7a86fe902a474e6f1205731 | refs/heads/master | 2022-11-01T08:47:20.022983 | 2020-06-21T23:33:34 | 2020-06-21T23:33:34 | 205,718,090 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333,146 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"leungkachiiiii@gmail.com"
] | leungkachiiiii@gmail.com |
f0234c5d4642898f5e5233f27dfdb9acca9bd725 | f12d70150e9255fd456517f3588850f9e4c24b02 | /main.cpp | 7ec7d6f8c579739eb16656a0e1c6840b7bc60667 | [] | no_license | EX-Zhang/Snake | 4ba72151b4871ffa67bb20d08c9d41a728bae547 | 0c5627877d3a4c71b9a66cdfd3aa9ce62e191c9c | refs/heads/master | 2022-11-28T19:13:21.631686 | 2020-07-30T01:46:27 | 2020-07-30T01:46:27 | 282,340,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | cpp | #include "game.h"
int main(int argc, char** argv)
{
game game;
game.game_start();
game.game_circle();
game.game_end();
} | [
"noreply@github.com"
] | noreply@github.com |
2bf6c973b72c9bcfb39a95514ec79f34c95d5930 | fea469fa3d7da7bd3246de8f72c5d30bed016b70 | /stack.cpp | 3a80a8a765b8255c0c49e66a16c365ae6fa8cd58 | [] | no_license | Amil-Gupta/hacktoberfest-2021 | 23583258c9f1199815314e3cfd39f22967adc350 | fc39d831e9b9dd9b2cdbd8bf380274de1535a798 | refs/heads/main | 2023-08-19T14:33:47.188340 | 2021-10-31T15:46:57 | 2021-10-31T15:46:57 | 414,146,134 | 0 | 4 | null | 2021-10-31T16:22:42 | 2021-10-06T09:21:23 | C | UTF-8 | C++ | false | false | 2,508 | cpp | #include <bits/stdc++.h>
using namespace std;
// Declare linked list node
struct Node
{
int data;
struct Node* link;
};
struct Node* top;
// Utility function to add an element
// data in the stack insert at the beginning
void push(int data)
{
// Create new node temp and allocate memory
str... | [
"noreply@github.com"
] | noreply@github.com |
72bb61e96126f9beffb90b0dd14fcbff5d30e6d3 | 3fa73b42bbac046eece9ce395eefd0a6d0c02779 | /HackerRank/cpp/stl/vector-sort/main.cpp | c0cb8c32aae60115f7688b34069d29d9df66c58f | [] | no_license | edwinkepler/beats-and-pieces | 6589387e881a1ac38fb908d5256bcf9e03b0e9e1 | 1649e569f51901b74f7f49e7e3288ef84b8879a8 | refs/heads/master | 2021-01-15T10:58:09.156069 | 2018-07-23T17:22:00 | 2018-07-23T17:22:00 | 99,605,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int size;
vector<int> v;
cin >> size;
for(int i = 0; i < size; i++) {
int number;
cin >> number;
v.push_back(number);
}
sort(v.begin(), ... | [
"edwinkepler@protonmail.com"
] | edwinkepler@protonmail.com |
227820ffb8de0967fa1d187ff9f3803907b8abcb | ec8ad01c26cdb5218ad70e8c73d139856b4753b7 | /include/raptor-lite/utils/status.h | e1e745a6d20875704a55ab644692f51297b4e4d2 | [
"Apache-2.0"
] | permissive | shadow-yuan/raptor-lite | 6458a78bdcdec7ed4eaaba0629c496e21d75e47d | b5e3c558b8ff4657ecdf298ff7ffe39ff5be7822 | refs/heads/master | 2023-03-26T21:38:57.092999 | 2021-03-23T02:32:26 | 2021-03-23T02:32:26 | 333,269,167 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,010 | h | /*
*
* Copyright (c) 2020 The Raptor 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 requ... | [
"1092421495@qq.com"
] | 1092421495@qq.com |
5416d43407c85209f8215aa4933637db22abbc3e | 9ff35738af78a2a93741f33eeb639d22db461c5f | /.build/Android-Debug/include/app/Experimental.Http.Internal.DateUtil.h | 0f79fe8e211c7fcde3d8be9b61439e0216e70bac | [] | no_license | shingyho4/FuseProject-Minerals | aca37fbeb733974c1f97b1b0c954f4f660399154 | 643b15996e0fa540efca271b1d56cfd8736e7456 | refs/heads/master | 2016-09-06T11:19:06.904784 | 2015-06-15T09:28:09 | 2015-06-15T09:28:09 | 37,452,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | h | // This file was generated based on 'C:\ProgramData\Uno\Packages\Experimental.Http\0.1.0\Internal\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_EXPERIMENTAL_HTTP_INTERNAL_DATE_UTIL_H__
#define __APP_EXPERIMENTAL_HTTP_INTERNAL_DATE_UTIL_H__
#include <Uno/Uno.h>
namespace app ... | [
"hyl.hsy@gmail.com"
] | hyl.hsy@gmail.com |
f472ce617416b8873ec71429471dfc93d4070f24 | 94d91fcfdc8e8726dd1014d55b72a14b7b641413 | /Sensitivity Study/AA10 LP-102 PIE1/headers/Model.h | 6168815982c1f8dd009a6c6dfecc510ca5bd76ed | [] | no_license | nicriz/dose-model-root | aeb510800d27e4bafc6215dfcfa6dd197f561daa | 3e6f986a1b23ac21106bf801840776dfa263a3c3 | refs/heads/master | 2022-03-22T17:06:32.665394 | 2019-12-02T10:07:10 | 2019-12-02T10:07:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | h | #ifndef MODEL_H
#define MODEL_H
#include "Dispersion.h"
#include <vector>
class Model{
public:
Model( vector<double> , bool = false);
double getFinal_dose();
private:
vector<double> par;
double final_dose;
};
#endif
| [
"nrizzi95@gmail.com"
] | nrizzi95@gmail.com |
ef5aa19bb57b0e99c1ca8291579368778456229f | 7a0cf4e53c690f092c94f4c711919d70f0c03630 | /src/armed/DocumentContainer.cpp | bf4e71fbad89ccccda5d93b29764d3f09231132e | [
"MIT"
] | permissive | retrodump/wme | d4d6718eabd285bc59473c0911055d83e8a9052d | 54cf8905091736aef0a35fe6d3e05b818441f3c8 | refs/heads/master | 2021-09-21T02:19:06.317073 | 2012-07-08T16:09:56 | 2012-07-08T16:09:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,605 | cpp | // This file is part of Wintermute Engine
// For conditions of distribution and use, see copyright notice in license.txt
#include "StdAfx.h"
#include "DocumentContainer.h"
#include "MainWindow.h"
#include "Navigator.h"
#include "PropWindow.h"
#include "WmeWidget.h"
#include "DocumentView.h"
#include "ActionM... | [
"Jan Nedoma@JNML.cust.nbox.cz"
] | Jan Nedoma@JNML.cust.nbox.cz |
1371fd5fade49f3fec4110fc543dc977595fca2e | 55ea2dcfa28691a058bf6e9b40dabc4cc7b895a8 | /library/tree/treeCentroidDecompositionSolverDivideAndConquer_XorDistance.h | 494ab63784741923bacccf8b4f6bc40aaf660257 | [
"Unlicense"
] | permissive | yoonki-song/algorithm_study | 02dba9904dec9b15b0cf78440d0b3add93da2380 | ff98b083f8b4468afabc7dfe0a415c6e7c556f93 | refs/heads/master | 2023-02-06T11:55:16.945032 | 2020-12-15T13:33:12 | 2020-12-15T13:33:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,516 | h | #pragma once
// https://www.codechef.com/problems/MOVCOIN2
struct TreeCentroidDecompositionSolverDivideAndConquer_XorDistance {
struct BitSetSimple64 {
static int ctz(unsigned long long x) {
#if defined(_M_X64)
return int(_tzcnt_u64(x));
#elif defined(__GNUC__)
return __builtin_ctz... | [
"youngman.ro@gmail.com"
] | youngman.ro@gmail.com |
33e556bff44b58bff3d3234e3f16c57b13dd1d7d | ba3abe659d1939b7425693f1c59c34e193987973 | /src/applicationui.cpp | 32bd356dca303ce8d0dddd5d1a63a87f299be0d0 | [] | no_license | rileyBloomfield/Pokedex | 8ad284ea0c78dcb76f6bfff986f979580327f2fe | 10f48129d59358e03d5fefc447c9ed1519d141f2 | refs/heads/master | 2016-09-06T15:33:09.293066 | 2014-09-21T17:52:30 | 2014-09-21T17:52:30 | 24,298,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,131 | cpp | #include "applicationui.h"
#include <bb/cascades/Application>
#include <bb/cascades/QmlDocument>
#include <bb/cascades/AbstractPane>
#include <bb/cascades/DropDown>
#include <bb/cascades/RadioGroup>
#include <bb/cascades/Label>
#include <bb/cascades/ListView>
#include <iostream>
#include "pokemonlist.h"
... | [
"riley.bloomfield@gmail.com"
] | riley.bloomfield@gmail.com |
5318b72a7012b3aa62d5bf03ab56cefc6fa61b10 | 475e044ac657779d4a76f83ec7f7b6a73c589f2b | /level.h | 5e100c093d3a25877362b75e19e1de5473c06aab | [] | no_license | 1nikhil9/mage | 6d87a93a7f616037b67073abcdad650f3b5711b2 | a429a3cd93dd82c05281d142e2c29741305519d1 | refs/heads/master | 2021-01-19T00:52:40.005918 | 2020-09-21T04:44:01 | 2020-09-21T04:44:01 | 73,276,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | h | #ifndef LEVEL_H
#define LEVEL_H
#include <vector>
#include <glad/glad.h>
#include <glm/glm.hpp>
#include "entity.h"
#include "sprite_renderer.h"
#include "resource_manager.h"
class Level
{
public:
std::vector<Entity> Destructible, Enchanted;
GLuint Cleared, Remaining, Tries;
Level() { }
void Load(... | [
"1nikhil9@gmail.com"
] | 1nikhil9@gmail.com |
d32158b890cdd74768e12d5a020fa14339133169 | ea91bffc446ca53e5942a571c2f7090310376c9d | /src/utils/Compression.cpp | a1b5333e8680303f4e6bc3b3bac85e42749d1712 | [] | no_license | macro-l/polarphp | f7b1dc4b609f1aae23b4618fc1176b8c26531722 | f6608c4dc26add94e61684ed0edd3d5c7e86e768 | refs/heads/master | 2022-07-21T23:37:02.237733 | 2019-08-15T10:32:06 | 2019-08-15T10:32:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,011 | cpp | // This source file is part of the polarphp.org open source project
//
// Copyright (c) 2017 - 2019 polarphp software foundation
// Copyright (c) 2017 - 2019 zzu_softboy <zzu_softboy@163.com>
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://polarphp.org/LICENSE.txt for license info... | [
"zzu_softboy@163.com"
] | zzu_softboy@163.com |
6cfea740f4c51474f6f11f08413e3699aa90b916 | b8d457b9ce160911e6eba460e69c72d9d31ed260 | /ArxRle/Snoop/ArxRleUiTdmIdMap.cpp | 3c536bb8e70b4beb45d0c0c0e0589ba2084ff5e5 | [] | no_license | inbei/AutoDesk-ArxRle-2018 | b91659a34a73727987513356bfcd1bff9fe09ee3 | 3c8d4a34f586467685c0f9bce7c3693233e43308 | refs/heads/master | 2023-01-19T08:27:38.231533 | 2020-11-25T00:52:13 | 2020-11-25T00:52:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,789 | cpp | //
//////////////////////////////////////////////////////////////////////////////
//
// Copyright 2017 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 th... | [
"fb19801101@126.com"
] | fb19801101@126.com |
4fd9bc30e2d78da208beae2b50985800a5a6f86f | 6ac8f056ab6efaf854b8d7798e6a44e07b061dcc | /CvGameCoreDLL/CvTacticalAnalysisMap.cpp | 6f73898c1f9e8b1b11728695393eb4e951076d5d | [] | no_license | DelnarErsike/Civ5-Artificial-Unintelligence-DLL | b8587deb33735c38104aa0d7b9f38b2f57a3db32 | 1add515c01838e743e94c1c1c0cb1cfbe569e097 | refs/heads/master | 2020-06-04T23:05:06.522287 | 2015-01-09T06:53:57 | 2015-01-09T06:53:57 | 25,795,041 | 25 | 10 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 35,208 | cpp | /* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Software and its subsidiaries. Developed by Firaxis Games.
Sid Meier's Civilization V, Civ, Civilization, 2K Games, Firaxis Games, Take-Two Interactive Software
and their re... | [
"delnar.ersike@gmail.com"
] | delnar.ersike@gmail.com |
32a03cc2ce0efbcbbc3cf81b0de3446d46aa2c92 | d786675f274b98fd3fbf88e90748f50967374fce | /RayTracer/Disk.cpp | b61c08a3a3a28bbbb2ee0ec754a463d9e3f05ebc | [] | no_license | sufian-latif/raytracer | e9235b8ad625c73fba87783e8c6dee9de77195b6 | 5e18c78acfc50e06eb2cdf9940fa1a9f382d718f | refs/heads/master | 2021-05-30T19:19:28.804462 | 2014-03-07T20:05:11 | 2014-03-07T20:05:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | //
// Disk.cpp
// RayTracing
//
// Created by Sufian Latif on 1/24/14.
//
//
#include "Disk.h"
Disk::Disk(Vector c, Vector normal, double r) : Plane(c, normal)
{
radius = r;
}
double Disk::getIntersection(Ray ray)
{
double t = Plane::getIntersection(ray);
Vector p = ray.origin + t * ray.dir;
retur... | [
"sufianlatif@Sufians-Macbook-Pro.local"
] | sufianlatif@Sufians-Macbook-Pro.local |
21c5f0f1ca564d82ce26119de16608d0c659dee8 | acf95a387c72d857bfd4a34f1d3d3a3da7ad1c60 | /src/decoder/fec.h | 1b4e1f76613121fcc5a96052bf99cee004dc52a8 | [] | no_license | chemeris/wimax-scanner | dbe88d62dd2cdb4878abcd3afe10ce649784ec46 | 4511153da9b6d3293f79a4f02e9e43cd02d3d030 | refs/heads/master | 2021-01-25T00:16:08.989294 | 2012-04-13T18:34:52 | 2012-04-13T18:34:52 | 32,218,510 | 4 | 3 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 7,876 | h | /****************************************************************************/
/*! \file fec.h
\brief FEC decoder
\author Iliya Voronov, iliya.voronov@gmail.com
\version 0.1
FEC decoder of convolutional code, convolutional turbo code, LDPC code etc.
implements IEEE Std 802.16-2009, 8.4.9.2 Encoding
*... | [
"iliya.voronov@gmail.com"
] | iliya.voronov@gmail.com |
24de994e7439a3f18c779c05c71c4c2ff11c7f5b | 5136c5760ebd836332b2d25aa642cafa65c9933f | /Payroll/Damilola_Ogunsola_Assignment6/SalariedEmployee.cpp | c5e7d768946db99c8c98810fe30d8167bd3946e7 | [] | no_license | Olapeju/Payroll | 1d07a82126861b64a225376368edbc50c496a33a | 744f7d524a59f1f4c8ffab461a13dcca8ca4da66 | refs/heads/master | 2020-04-15T14:08:50.434613 | 2019-01-08T22:28:44 | 2019-01-08T22:28:44 | 164,743,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | cpp | // Fig. 12.12: SalariedEmployee.cpp
// SalariedEmployee class member-function definitions.
#include <iostream>
#include <stdexcept>
#include "SalariedEmployee.h" // SalariedEmployee class definition
using namespace std;
// constructor
SalariedEmployee::SalariedEmployee(const string &first,
const string &las... | [
"noreply@github.com"
] | noreply@github.com |
eb4ecd85060a960bb03d9da036655e9bba307904 | 387549ab27d89668e656771a19c09637612d57ed | /DRGLib UE project/Source/FSDEngine/Private/CSGSDFInstanceComponent.cpp | 03f7c9f27d92d98ea9b85001bcb3c91bf8b130c9 | [
"MIT"
] | permissive | SamsDRGMods/DRGLib | 3b7285488ef98b7b22ab4e00fec64a4c3fb6a30a | 76f17bc76dd376f0d0aa09400ac8cb4daad34ade | refs/heads/main | 2023-07-03T10:37:47.196444 | 2023-04-07T23:18:54 | 2023-04-07T23:18:54 | 383,509,787 | 16 | 5 | MIT | 2023-04-07T23:18:55 | 2021-07-06T15:08:14 | C++ | UTF-8 | C++ | false | false | 96 | cpp | #include "CSGSDFInstanceComponent.h"
UCSGSDFInstanceComponent::UCSGSDFInstanceComponent() {
}
| [
"samamstar@gmail.com"
] | samamstar@gmail.com |
ed91dc9743fd6060b9aa112070f571b4c4f0569b | 8ec65a759d3efc75fe770cb380427c2e496c8581 | /common.hpp | f4994bafbf7791f65b16738d50b82ba8439f9e2a | [] | no_license | kamindustries/branchbits | c769343ed8a0d322cb94b27b4b5d617ac0d3a948 | 19499181cb3f36d149f03b580d56d5db55796dec | refs/heads/master | 2021-01-22T14:46:54.806290 | 2016-02-02T05:59:38 | 2016-02-02T05:59:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,724 | hpp | #pragma once
#include "allocore/io/al_App.hpp"
using namespace al;
using namespace std;
// #define LEAF_COUNT 2200 // number of leaves
#define LEAF_COUNT 6000 // number of leaves
#define STEPS 30 // number of iterations
#define NUM_VTX 200000 // max number of verts in tree mesh
#define MAX_LEAVES 2... | [
"younkeehong@gmail.com"
] | younkeehong@gmail.com |
3438d324de2cf33a2337ce2d6bf4917116c10859 | 190e25c81214b329a131ecf4df7bf1d54c455466 | /src/serversocketutil.cc | 1d18ff98055f30d3ef2c2687c1741ccd21bac4fc | [
"MIT"
] | permissive | connectiblutz/bcLib | a5fa1c0da063f6616a76aef42445318386275003 | 2227677b165809940d51977c34e4745f64217c6a | refs/heads/main | 2022-11-26T01:44:51.695266 | 2020-07-03T15:47:48 | 2020-07-03T15:47:48 | 273,704,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,070 | cc | #include "bcl/serversocketutil.h"
#include "bcl/logutil.h"
#include "bcl/stringutil.h"
#ifdef _WIN32
#include "winsock2.h"
#include "ws2tcpip.h"
#else
#include <arpa/inet.h>
#include <unistd.h>
#define closesocket ::close
#endif
namespace bcl {
#ifdef _WIN32
#define inet_pton InetPtonA
ServerSocket::WSAInit::WSAInit(... | [
"blutz@connectify.me"
] | blutz@connectify.me |
1db9dae1185e687c5d1dc4815d0036a21c2a8785 | c8d8d5335803d36549cafd55bb7c691e0bcf51fb | /2do-cuatrimestre/ejercicios/archivos-binarios/ej1/ej1/main.cpp | 2a56dab6701e962015df4b2c84d08fbc6033c907 | [] | no_license | NicoAcosta/utn-ayed | fb7b7f9a065b37b40fac543f3cc2d09ac9362917 | d38dc7e64e4e8aed837dfdd4e191f950b8b4c925 | refs/heads/main | 2023-02-19T01:03:01.808002 | 2021-01-19T22:24:08 | 2021-01-19T22:24:08 | 306,265,257 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 974 | cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main() {
FILE *f;
int nVal;
float val;
f = fopen("archivo1.jaja", "wb");
if (f) {
cout << "Ingrese cantidad de valores: " << endl;
cin >> nVal;
for (int i = ... | [
"nicacosta@est.frba.utn.edu.ar"
] | nicacosta@est.frba.utn.edu.ar |
5a22e75e2db5c1aa11b7ff6d5b94c3a8117e3deb | 97f8be92810bafdbf68b77c8a938411462d5be4b | /3rdParty/rocksdb/6.8/monitoring/persistent_stats_history.cc | 7cc869cf2191d7624e34254f4db98ee9db1d1823 | [
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"LGPL-2.1-or-later",
"BSD-4-Clause",
"GPL-1.0-or-later",
"Python-2.0",
"OpenSSL",
"Bison-exception-2.2",
"JSON",
"ISC",
"GPL-2.0-only",
"MIT",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"CC0-1.0",
"BSD-2-Clause",
"LicenseRef-scancode-autoco... | permissive | solisoft/arangodb | 022fefd77ca704bfa4ca240e6392e3afebdb474e | efd5a33bb1ad1ae3b63bfe1f9ce09b16116f62a2 | refs/heads/main | 2021-12-24T16:50:38.171240 | 2021-11-30T11:52:58 | 2021-11-30T11:52:58 | 436,619,840 | 2 | 0 | Apache-2.0 | 2021-12-09T13:05:46 | 2021-12-09T13:05:46 | null | UTF-8 | C++ | false | false | 6,307 | cc | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
// Copyright (c) 2011 The LevelDB Authors. All rights reser... | [
"noreply@github.com"
] | noreply@github.com |
3afdd21aab3c52577df1163a5807da47421e48fd | bd3013a1d6612a5e11ee75db70d65b394d87bbf0 | /src/ukf.cpp | 5f7b2db4fd109917d4221251f4b2f47abeaaa04d | [
"MIT"
] | permissive | jtwolak/CarND-Unscented-Kalman-Filter | 9fac3e1dec49365ea391b5b48a980401e2209e5a | 2bb63b3bc69bbe78ca4bdf705680eb8bb2d4ddc9 | refs/heads/master | 2020-03-25T19:12:56.369976 | 2018-08-08T21:57:25 | 2018-08-08T21:57:25 | 144,070,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,620 | cpp | #include "ukf.h"
#include "Eigen/Dense"
#include <iostream>
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::vector;
/**
* Initializes Unscented Kalman filter
* This is scaffolding, do not modify
*/
UKF::UKF() {
// if this is false, laser measurements will be ignored (except during i... | [
"jtwolak@yahoo.com"
] | jtwolak@yahoo.com |
d9e9e827a4164e2d5ac805a228fbb34717f417f7 | ab10d257aa2bbdbced58fded27cb0acb694376e5 | /Personal projects/p009.cpp | 5dc6927248961cf32e1ca5bb9fa5b88c5fa5fdb5 | [] | no_license | DuniPls/DanielCastello | 1d8d9d96f5bb7c1c926b43d8e29e08935a463d1b | 8dec02041b9e545a22568773f48eea681504e1d9 | refs/heads/master | 2021-01-24T13:19:11.723621 | 2019-09-12T17:07:51 | 2019-09-12T17:07:51 | 123,167,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,371 | cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... | [
"dcastello@enti.cat"
] | dcastello@enti.cat |
5ca440bb1f1b765d6a90d0a8743a60c14e240e60 | 5cd42fee97a2aa76f9d1ab1d1e69739efaff4257 | /2.4.1/c.h | efdc6f60432d59249bb2d841bf824e2be5a1ddd0 | [] | no_license | dgholz/dragon | f8c6dc7827639c4559f0c6be1ca1c23756cd69c3 | 2ccca119565a12f15f220cb284d98810b93add31 | refs/heads/master | 2021-01-19T06:10:57.820804 | 2014-11-04T07:27:22 | 2014-11-04T07:27:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | h | #ifndef C_H
#define C_H
#include "icharstream.h"
struct c {
c(icharstream& ics) : _ics(ics) {};
void S();
void operator() () { S(); };
private:
c();
icharstream _ics;
};
#endif
| [
"dgholz@gmail.com"
] | dgholz@gmail.com |
a17995455d7c644d5553fabc2ccc1843aab2f074 | 397f89a526c77c5e565e428076ec3c268e8e815d | /bildmischer/src/testApp.h | 9272fb76bfc8c954ff702fde0df690d152e783d3 | [] | no_license | fiezi/hfsTools | 1b05ccee8cd3c8c9eb676ad196f0c66a4bbe9560 | 497797a66566c53161f63101e82d160f2a77896b | refs/heads/master | 2021-01-23T03:53:31.845493 | 2014-05-11T01:42:21 | 2014-05-11T01:42:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,459 | h | #ifndef _TEST_APP
#define _TEST_APP
#include "ofxOpenCv.h"
#include "ofMain.h"
#include "msbOFCore.h"
#include "actor.h"
#include "basicButton.h"
#include "textInputButton.h"
#include "assignButton.h"
#include "sliderButton.h"
#define SCREENRESX 1366+1280
#define SCREENRESY 768
struct actorID;
struct memberID;
... | [
"friedrich@moviesandbox.net"
] | friedrich@moviesandbox.net |
805772a50fe73e2a29788c2b33618ccc4c4b2fb1 | a8dead89e139e09733d559175293a5d3b2aef56c | /external/include/ogremain/OgreRenderQueueSortingGrouping.h | 62c84abb1eff3924b9b65f7c7e3a8e35091622bb | [
"MIT"
] | permissive | riyanhax/Demi3D | 4f3a48e6d76462a998b1b08935b37d8019815474 | 73e684168bd39b894f448779d41fab600ba9b150 | refs/heads/master | 2021-12-04T06:24:26.642316 | 2015-01-29T22:06:00 | 2015-01-29T22:06:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,347 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person ... | [
"demiwangya@gmail.com"
] | demiwangya@gmail.com |
5ac4765777c778525e8754681c0bc9efb57fc931 | 5a2349399fa9d57c6e8cc6e0f7226d683391a362 | /src/qt/qtwebkit/Source/WebCore/svg/SVGEllipseElement.h | a3c8e435a6ba60b7415c317bfc73c81d368ceefb | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause"
] | permissive | aharthcock/phantomjs | e70f3c379dcada720ec8abde3f7c09a24808154c | 7d7f2c862347fbc7215c849e790290b2e07bab7c | refs/heads/master | 2023-03-18T04:58:32.428562 | 2023-03-14T05:52:52 | 2023-03-14T05:52:52 | 24,828,890 | 0 | 0 | BSD-3-Clause | 2023-03-14T05:52:53 | 2014-10-05T23:38:56 | C++ | UTF-8 | C++ | false | false | 2,300 | h | /*
* Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Fou... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
8fb5ad632be5c6b9e8ee49a7938913246bcea696 | a957b989ab55dca214390e8e30972604e041bdfd | /tspn.cpp | 50a50ee7ee563ec26f3e8176351bd1f7eb4b059c | [] | no_license | zeng2019/K-means-clustering-for-WSN | e6190b00fb7bb1a2a35865f6b37aa5413ce5c869 | 969988f38811978f16db187a6b6911fb9446fcbe | refs/heads/master | 2023-04-15T06:32:27.740455 | 2020-08-24T20:19:55 | 2020-08-24T20:19:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,903 | cpp | #include<bits/stdc++.h>
#define V 4
using namespace std;
int maxtsp(int graph[][V],int s)
{
int i,k;
vector<int> vertex;
for(i=0;i<V;i++)
{
if(i!=s)
{
vertex.push_back(i);
}
}
int maxpath=INT_MIN;
do{
int cpath=0;
k=s;
for(i=0;i<vertex.size();i++)
{... | [
"noreply@github.com"
] | noreply@github.com |
1d9bfb169e1d7a53fb8dee47b5933e5c6deed3f3 | 70668b85b4946bb23e918db1b4a68a54910d9b36 | /codingblocks/Divid and Conquer/EKO.cpp | 556080f13aeb7f149f89ff32fee31e475a9886d4 | [] | no_license | Ishaan29/fuzzy-chainsaw-algo | 397e9feddca2a25902081a9d9316923c151779f1 | b4fa1f69721f5fe53745303879f9c8ff2c1a8e79 | refs/heads/master | 2021-06-25T00:26:34.720087 | 2021-02-28T08:24:52 | 2021-02-28T08:24:52 | 201,107,127 | 3 | 0 | null | 2021-02-28T08:24:52 | 2019-08-07T18:34:25 | C++ | UTF-8 | C++ | false | false | 1,188 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define lli long long int
void c_p_c()
{
ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#ifndef ONLINE_JUDGE
freopen("/Users/ishan/Desktop/fuzzy-chainsaw-algo/input.txt", "r", stdin);
freopen("/Users/ishan/Desktop/fuzzy-chainsaw-alg... | [
"bajpaiishan@yahoo.in"
] | bajpaiishan@yahoo.in |
48fef59eafa0f95c149b4f60025dc9b6301f898c | dc0208a9963e2bb76517b92b1f35029f07c249e0 | /Model code/bfs_nhp.cpp | f2466be315f1c0db5b45be1cce228ae77bbbc971 | [] | no_license | basvanopheusden/fourinarow | fc39ff1e921a63c0a109519f9b26161e179578bc | d276900ccee7890e9195db592b7fef7c1d39ae54 | refs/heads/master | 2023-01-11T13:30:52.542395 | 2023-01-02T16:13:15 | 2023-01-02T16:13:15 | 242,221,537 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,398 | cpp | #include "bfs_nhp.h"
#define BLACK_WINS 4*BOARD_WIDTH
#define WHITE_WINS -4*BOARD_WIDTH
#define DRAW 0
using namespace bfs;
nhp_node::nhp_node(board bstart,double v,bool p,int d){
b=bstart;
depth=d;
player=p;
child=NULL;
parent=NULL;
best=NULL;
Nchildren=0;
iteration=-1;
m=0;
if... | [
"svo@PSY-19BY1941A6.pu.win.princeton.edu"
] | svo@PSY-19BY1941A6.pu.win.princeton.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.