blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f5095967ff8c97801c1b7a59995e42159c2276b6 | e257b8bda9e7898623181c59ff6235d9d11be21f | /src/stack/SmartListStack.hpp | 19fbb743e5efc70035689d7cb2ac1d2e03f22e93 | [] | no_license | alexcres/algorithms | 1459bd556ca97cd4299e8d8e1ed3a438e38157c3 | 2fac541e4b7506a2ee16fd63fd72b1ed68c849fa | refs/heads/master | 2021-06-19T22:29:22.533020 | 2021-01-16T12:52:06 | 2021-05-28T04:17:00 | 254,574,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | hpp | #pragma once
#include "Stackable.hpp"
#include <stdexcept>
#include <memory>
template<typename Data>
class SmartListStack : public Stackable<Data> {
public:
[[nodiscard]] bool is_empty() const;
void push(Data const &data);
Data pop();
private:
struct node {
using unique_node = std::unique_ptr<node>;
Data... | [
"ac@alexcres.com"
] | ac@alexcres.com |
da965cb593c1a2b4425a0c340abbe02aa669ce08 | aa18c1899707f1a68e25aa81f6dc4e4314624774 | /TP4/tp4-lutins/src/inf2705-fenetre.h | bef0b1409c4b4648d2fe27a60c0a3ea8f6636d0c | [] | no_license | TomAve/INF2705_TPS | 939b7c241aa1e0a2c773950eb82788699054d751 | 7fda515c0d646c7a0711166c48f8b0b2719b4a1c | refs/heads/master | 2021-03-24T09:52:00.879146 | 2019-11-10T16:51:12 | 2019-11-10T16:51:12 | 119,861,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,267 | h | #ifndef INF2705_FENETRE_H
#define INF2705_FENETRE_H
////////////////////////////////////////////////////////////////////////////
//
// Classe pour créer une fenêtre
// (INF2705, Benoît Ozell)
////////////////////////////////////////////////////////////////////////////
#include <GL/glew.h>
#include <iostream>
#in... | [
"toave@l4712-10.info.polymtl.ca"
] | toave@l4712-10.info.polymtl.ca |
f94a0b89f895cbb177871d71623b11ce65ef97e5 | 6c4117054d1176a56f3908a297527edbc537145f | /lab4/stl_full.hpp | 36f9a496947cd191e4d8fe5b26007e36b7c3f6e8 | [] | no_license | mynameeVincent/lab4 | 7c4df72f910c9933e383b4304ea4684afe2bdcca | fdc9defe6206af8e62de066e4b632d1bb98baa1d | refs/heads/master | 2022-09-29T19:26:00.326508 | 2020-05-26T19:59:09 | 2020-05-26T19:59:09 | 267,140,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | hpp | #pragma once
#include <iostream>
#include"bint.hpp"
#include"stlstring.h"
namespace StL
{
class data
{
string First_Name;
string Last_Name;
string city;
string strit;
kostl::bint house;
kostl::bint flat;
public:
data()
{
std::cout << "First_Name\t";
std::cin >> First_Name;
std::cout << "Last... | [
"hello10@i.ua"
] | hello10@i.ua |
0a875fd75afbf8d0e61aebb95ba7693f054e6e6d | 12a7832d11bb706537c760f199aa5b804322c90e | /rectangle_area.cpp | 41ebae39ae81e7e5e87ac8042faf549127c0115a | [] | no_license | wfwqndddysh/leetcode | 52e6ebc66e160f757051ba4820f38c0552b854b3 | d94e9832b6e404f3bbe8e9e4115e1522bc270b17 | refs/heads/master | 2020-05-31T00:20:43.526313 | 2020-02-14T09:31:19 | 2020-02-14T09:31:19 | 35,039,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | #include<iostream>
#include<cassert>
class Solution
{
public:
int computeArea(int a, int b, int c, int d, int e, int f, int g, int h)
{
//(a,b),(c,d)
//(e,f),(g,h)
int area1=(c-a)*(d-b);
int area2=(g-e)*(h-f);
if(a>=g || e>=c || b>=h || f>=d ) return area1+area2;
... | [
"zhangfanwan@gmail.com"
] | zhangfanwan@gmail.com |
ea2032946c1a1fc7960c112c998f58c6dde0e799 | 7d067f55ce77a6dd79d81a29f7f569061677de76 | /stdafx.cpp | 719addc49ecb1f597efc810a675b221af44c883d | [] | no_license | EdithZhu/MFC-Painting-Application | 63bf8e81f0095ceb8f0d322339395a6b88710831 | 1f9c71c0cd15d105a9346ed7a3a0d9cb6d2d7bec | refs/heads/master | 2022-11-06T16:26:29.004755 | 2020-06-21T19:33:46 | 2020-06-21T19:33:46 | 273,969,781 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 171 | cpp |
// stdafx.cpp : 只包括标准包含文件的源文件
// painting.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
| [
"noreply@github.com"
] | EdithZhu.noreply@github.com |
9256ae23dcc64fdfa75681d8ef8b409ca0cdb743 | 235fa3dc09737808941e2ebb54208bfb222e04b4 | /GraphicsChartShapesLib/graphicsChartItemRectOrientation.cpp | 9d897a72f176ce3958dfa36692c0491636b43683 | [] | no_license | springtiger/GraphicsRoi | 735d4f9a7a98cf3bb2a13b74841cf0bafaa335d6 | 16512a6d7024d6de0575ccbd5e1d2bc08985999a | refs/heads/master | 2022-12-13T19:55:32.698004 | 2020-08-10T06:39:18 | 2020-08-10T06:39:18 | 286,396,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,262 | cpp | #include "graphicsChartItemRectOrientation.h"
#include "graphicsChartItemRectOrientation_p.h"
void GraphicsChartItemRectOrientationPrivate::updateShapePath() const
{
Q_ASSERT(m_pChartInterface != 0);
QChart *pChart = m_pChartInterface->chartView()->chart();
QXYSeries *pSeries = qobject_cast<QXYSeries *>(... | [
"springtiger@gmail.com"
] | springtiger@gmail.com |
501a6fff846aa8b2e8136af6c5d7ce6617a988da | d74ce539ac88be352aa6f76999391b76447385fb | /Temp/il2cppOutput/il2cppOutput/Generics3 3.cpp | a499eb57c1a5bc5e14b09c8bb0ad1090dab4aafa | [] | no_license | MoNireu/Iceberg | 3df3cf4cf6782016f834859f5d437ae07e4b19b4 | d5b6f3086ed93c136255f64fbd90b4374ab0a254 | refs/heads/master | 2022-12-19T01:56:44.427608 | 2020-09-26T12:03:10 | 2020-09-26T12:03:10 | 293,477,758 | 0 | 0 | null | 2020-09-26T12:03:16 | 2020-09-07T09:09:30 | C# | UTF-8 | C++ | false | false | 2,142,795 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const Virt... | [
"monireu.dev@gmail.com"
] | monireu.dev@gmail.com |
bc85d9c9732912f6bf3232edf7e336a8b1fb0621 | aceaf048853cba0c0392ad089bea22f9e3528098 | /_tutorials/code/waveshare-1in54-e-paper/waveshare-1in54-e-paper.ino | 26b454920c82bc01f610c33267dfaf9b7dc7b943 | [
"MIT"
] | permissive | hutscape/hutscape.github.io | c5b640bbfda21b9bc7260b5d2f6164c60ff9158a | 27c5d8a79d48025d3270fea704df7a5e5cb43f5d | refs/heads/master | 2023-02-13T04:05:12.235290 | 2023-02-01T05:37:53 | 2023-02-01T05:37:53 | 176,517,102 | 40 | 38 | MIT | 2021-07-15T07:02:01 | 2019-03-19T13:23:46 | C++ | UTF-8 | C++ | false | false | 909 | ino | #include <SPI.h>
#include "epd1in54.h"
#include "epdpaint.h"
#define COLORED 0
#define UNCOLORED 1
unsigned char image[1024];
Paint paint(image, 0, 0);
Epd epd;
void setup() {
Serial.begin(9600);
if (epd.Init(lut_full_update) != 0) {
Serial.print("e-Paper init failed");
return;
}
epd.Clear... | [
"sayanee@gmail.com"
] | sayanee@gmail.com |
a90aa20adf140428421a1c4540820972197db52b | 213c8ba13594f04065a2b5527ad53b860fee9f0b | /examples/convolution_reverb/convolution_reverb.ino | 2058035231fc922d7cc46af13d38a8881a12c028 | [] | no_license | tiretrak/audioFX | 433d1a7351f15247ed17078681b27bbd27b5b046 | 2aaf7dca07b0f2ae946dee796e89a6c0bafb77ca | refs/heads/master | 2021-09-28T10:19:27.581538 | 2018-11-16T21:34:24 | 2018-11-16T21:34:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,450 | ino | #include "audioFX.h"
#include "audioRingBuf.h"
#include "scheduler.h"
#include "fft.h"
#include "impulse_response.h"
AudioFX fx;
Scheduler sch;
FFT fft;
#define IR_MAX 32
#define FILTER_SIZE_0 (2*AUDIO_BUFSIZE*2)
#define FILTER_SIZE_2 (4*AUDIO_BUFSIZE*2)
#define N0 4
#define N0_START 0
#define N0_SIZE AUDIO_BUFSIZE... | [
"deanm1278@gmail.com"
] | deanm1278@gmail.com |
5ae9ff2af55c12ec1612608be71314dac07e5942 | 4230a219f0f372a14b83a96ed8aaa5dce480c16f | /OrganicServerLib/ServerPhasedJobHierarchy.h | 236cea84afafc11c0a5c515484f313bf3813b90e | [] | no_license | bigans01/OrganicServerLib | 087e18eff6f6060ce566129782c247847c3cf47d | 74cdfa5a20be4f2a189a286851fe21deeba2a359 | refs/heads/master | 2023-08-30T23:29:59.818512 | 2023-08-19T15:35:00 | 2023-08-19T15:35:00 | 115,887,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,242 | h | #pragma once
#ifndef SERVERPHASEDJOBHIERARCHY_H
#define SERVERPHASEDJOBHIERARCHY_H
#include <map>
#include <mutex>
#include "ServerPhasedJobBase.h"
#include "ServerJobContainerType.h"
#include "SmartIntMap.h"
#include "Message.h"
class OSServer;
class ServerPhasedJobHierarchy
{
private:
friend class ServerJobMana... | [
"bigans01@gmail.com"
] | bigans01@gmail.com |
cf59ff48d99e0b02b5c4a6816ffa9c287369fe6d | db21eeb4e5febbb79f1704dd1c84a39d351287b9 | /ShapeLab/ShapeLab/Triangle.cpp | 08dfcc641a4c24ff5f10a17f3e8d2e4ffec07d11 | [] | no_license | and0ne808/CodingHW | 72aec621d929ff5218d7d661b09099f162e4ee76 | cf601313bb1fb1684c75ea3be99d52f5c1c6b06e | refs/heads/master | 2016-08-12T05:33:02.745159 | 2016-03-15T19:37:10 | 2016-03-15T19:37:10 | 51,108,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | #include "Triangle.h"
void Triangle::Draw()
{
Shape::Draw();
for (int i = 0; i < m_height; i++)
{
for (int j = 0; j <= i; j++)
{
cout << "*";
}
cout << endl;
}
} | [
"and0ne808@gmail.com"
] | and0ne808@gmail.com |
196aba581cf14dccadce2931a54177d56dc2e7b0 | d9d0a14007260b156fde2702da329d8d34b711bf | /src/Bartendr.h | b1260d9463f49ec0cde29165ab31f84ab1d8fe31 | [] | no_license | nehajothi/ComputerNetworks | 14f420aa8eb27fe5d4a698c0adfb9ae915026eac | 77646df1bff8bae5c2fce333277ac01cbda4fe62 | refs/heads/master | 2021-01-21T13:34:29.895736 | 2016-05-13T23:51:03 | 2016-05-13T23:53:57 | 44,497,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,442 | h | //============================================================================
// Name : Bartendr.cpp
// Author : Neha Jothi
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
... | [
"nehajothi@dhcp-10-134-231-55.uawifi.arizona.edu"
] | nehajothi@dhcp-10-134-231-55.uawifi.arizona.edu |
a6671e172969d8f3f70b5b607845f9e0f9e4f206 | c3f4f6adb53381483658fde5671c84cd4a15975c | /Ex14.1/Ex14.1/LineDialog.cpp | a60383f7fb1a68608c3c0dc91cd8169bfd032c80 | [] | no_license | LTS123456/LTS01 | 40fadc08ceb392b34b3f039943f684783f17f796 | 2b6129d9a5751736a84ff9b8042b874bcf035631 | refs/heads/master | 2021-03-26T02:21:16.817381 | 2020-05-25T15:31:48 | 2020-05-25T15:31:48 | 247,664,137 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 553 | cpp | // LineDialog.cpp : 实现文件
//
#include "stdafx.h"
#include "Ex14.1.h"
#include "LineDialog.h"
#include "afxdialogex.h"
// LineDialog 对话框
IMPLEMENT_DYNAMIC(LineDialog, CDialogEx)
LineDialog::LineDialog(CWnd* pParent /*=NULL*/)
: CDialogEx(IDD_DIALOG3, pParent)
, m_Line(_T(""))
{
}
LineDialog::~LineDialog()
{
}
v... | [
"1216859581@qq.com"
] | 1216859581@qq.com |
4aa8aa7f09ae325a3d094ceddde6e3cc437abbb6 | c32ee8ade268240a8064e9b8efdbebfbaa46ddfa | /Libraries/m2sdk/mafia/gui/hud/C_Hints.h | b0cc3ae95307c63bd981be85b3d1350eb39a4a64 | [] | no_license | hopk1nz/maf2mp | 6f65bd4f8114fdeb42f9407a4d158ad97f8d1789 | 814cab57dc713d9ff791dfb2a2abeb6af0e2f5a8 | refs/heads/master | 2021-03-12T23:56:24.336057 | 2015-08-22T13:53:10 | 2015-08-22T13:53:10 | 41,209,355 | 19 | 21 | null | 2015-08-31T05:28:13 | 2015-08-22T13:56:04 | C++ | UTF-8 | C++ | false | false | 1,115 | h | // auto-generated file (rttidump-exporter by h0pk1nz)
#pragma once
#include <mafia/gui/hud/C_Widget.h>
#include <mafia/gui/hud/C_HudWidget.h>
#include <mafia/gui/C_Fader.h>
namespace mafia
{
namespace gui
{
namespace hud
{
/** mafia::gui::hud::C_Hints (VTable=0x01E6EFA0) */
class C_Hints : public C_Widget, public... | [
"hopk1nz@gmail.com"
] | hopk1nz@gmail.com |
6891ad0096f76b2439e12288c77fb038340da10f | 4a5c9980f8528d144db077ed4a9dd383c7300d86 | /C,C++/examples/functors/compose4.cpp | f0d3cc1c214ec1f065d305e5c4bedf0f6ea68c4e | [
"LicenseRef-scancode-other-permissive"
] | permissive | npatel007/Computer-Science-Notes | fd4f14f8b407764f373d833d947ee5d5280f4c18 | 772ea11c8c8f800b612291f23584a7258a73579c | refs/heads/master | 2023-03-10T06:26:52.295186 | 2020-03-06T09:03:17 | 2020-03-06T09:03:17 | 249,230,561 | 1 | 1 | null | 2020-03-22T17:00:34 | 2020-03-22T17:00:34 | null | UTF-8 | C++ | false | false | 1,349 | cpp | /* The following code example is taken from the book
* "C++ Templates - The Complete Guide"
* by David Vandevoorde and Nicolai M. Josuttis, Addison-Wesley, 2002
*
* (C) Copyright David Vandevoorde and Nicolai M. Josuttis 2002.
* Permission to copy, use, modify, sell and distribute this software
* is granted provi... | [
"abhisheklonely1@gmail.com"
] | abhisheklonely1@gmail.com |
322bf65efde9cd01bbf0033089aca8d82c99e65a | 612325535126eaddebc230d8c27af095c8e5cc2f | /src/third_party/icu/source/common/ucnv_u8.cpp | 439800fa7cfefd90e4decf96de4128ad6304d858 | [
"LicenseRef-scancode-unicode",
"ICU",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"NAIST-2003",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/proto-quic_1V94 | 1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673 | feee14d96ee95313f236e0f0e3ff7719246c84f7 | refs/heads/master | 2023-04-01T14:36:53.888576 | 2019-10-17T02:23:04 | 2019-10-17T02:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,044 | cpp | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
* Copyright (C) 2002-2016, International Business Machines
* Corporation and others. All Rights Reserved.
***************... | [
"2100639007@qq.com"
] | 2100639007@qq.com |
e9bbd4402a049741a33e3b4bde8d97db2f82447e | b3d6807658ecc21997be35eb1be5ba3d2df70c58 | /dynamic-programming/1637.cpp | 96d8b2b616702c96e7c6d2b73e415e5353973c4f | [] | no_license | Muhammad-Magdi/cses | f428d2fbac1e1f0c450a43097e389491440ca2e2 | 993e6f742cdc3390ae61a90e6dba4bd355cd305b | refs/heads/main | 2023-08-02T22:01:00.207353 | 2021-10-02T01:29:20 | 2021-10-02T01:29:20 | 321,246,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
const int N = 1e6 + 5, OO = 0x3f3f3f3f, MOD = 1e9 + 7;
int n, cln, d;
int dp[N];
int main() {
scanf("%d", &n);
fill(dp, dp + 10, 1);
for (int rem = 10; rem <= n; rem++) {
cln = rem;
dp[rem] = OO;
while (cln) {
d =... | [
"muhammad.magdi1024@gmail.com"
] | muhammad.magdi1024@gmail.com |
260ab9a22ead13be9f0062161dc90f6333f19400 | ac06688bea9af818cb5bbab15dfb8cc7b682aa99 | /programs/sagosmfl1/sago/FrameCounter.hpp | a345d5d393e1b105f98432c92096b37e855006f0 | [] | no_license | sago007/sago_env | 03a2ca1a400eeb3b616dd3f0e693c9750744d165 | b15ce064bd431876b7ed474ddb8f3962fe914550 | refs/heads/master | 2023-07-05T20:43:21.178976 | 2023-06-25T18:22:32 | 2023-06-25T18:22:32 | 19,668,728 | 0 | 0 | null | 2020-10-13T15:08:52 | 2014-05-11T14:47:21 | C++ | UTF-8 | C++ | false | false | 1,840 | hpp | /*
===========================================================================
blockattack - Block Attack - Rise of the Blocks
Copyright (C) 2014 Poul Sander
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Found... | [
"poul@poulsander.com"
] | poul@poulsander.com |
47854c5978500583493a0e23b88504000d61d379 | f8b56b711317fcaeb0fb606fb716f6e1fe5e75df | /Internal/SDK/BP_Struct_DynamicFogVolumeParams_structs.h | 94bfc0010d71b9828501bc1b2c2eeb80319fc2dc | [] | no_license | zanzo420/SoT-SDK-CG | a5bba7c49a98fee71f35ce69a92b6966742106b4 | 2284b0680dcb86207d197e0fab6a76e9db573a48 | refs/heads/main | 2023-06-18T09:20:47.505777 | 2021-07-13T12:35:51 | 2021-07-13T12:35:51 | 385,600,112 | 0 | 0 | null | 2021-07-13T12:42:45 | 2021-07-13T12:42:44 | null | UTF-8 | C++ | false | false | 1,351 | h | #pragma once
// Name: Sea of Thieves, Version: 2.2.0.2
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Script Structs
//------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
01bd43a3487ad2b7fe17dd99029ba89859b3616d | 948d09a1823443c618958f4d9a2892fbba660b0e | /pill_dispenser_pilot_07_2020/deployment_tests/v4/Data_Handler.cpp | 8af53537803d0653d26f04bdb7bcb6c63f4826bc | [] | no_license | Rishub-Handa/MedLock_Pill_Dispenser | 6336f997ddad2aa339ae9e7793847946cc85e986 | 81bb60792595a19445b454ac0847cb5b3075af77 | refs/heads/main | 2023-07-27T23:56:07.007448 | 2021-09-13T12:01:33 | 2021-09-13T12:01:33 | 405,953,188 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,172 | cpp | #include "Data_Handler.h"
#include "Particle.h"
enum eventsId { btn1, btn2, btn3, cap_turn, col_off, dispense, curr_time };
struct Event {
int id;
char name[10];
unsigned long value;
};
void sendData(String event, String value) {
}
void storeData(Event event) {
unsigned long encoded_valu... | [
"rh4gh@virginia.edu"
] | rh4gh@virginia.edu |
ea6396ee46570c96f6fcb94c9fb965580abfe101 | ee10822b5093251a2916837e57eecfbda954c712 | /opensles_learn/src/main/cpp/Playstatus.cpp | 8c2833300c53d5ba14976895d3126028ff580fce | [] | no_license | narkang/FFmpegLearn | 6667cd07548c4fc22d23e3fc07e75480621ce619 | 4c4d01edff5c026eff5be3202444dd0db127758a | refs/heads/main | 2023-04-19T07:22:46.062576 | 2021-05-02T02:48:20 | 2021-05-02T02:48:20 | 353,401,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72 | cpp | #include "Playstatus.h"
Playstatus::Playstatus() {
exit = false;
}
| [
"chenxiaokang@tzt.cn"
] | chenxiaokang@tzt.cn |
cff5b6db4783f788d18fafa33a6353f94844fa88 | f959fb4ded69959e512880b89d7fbcd1bce6b9f8 | /tempCodeRunnerFile.cpp | 8a3b4d735a78d0e7378062fd662d5c34ca431b88 | [] | no_license | blaze-fire/graph_algorithms | c57d67e82c1599b30a680242763074113c0a2841 | 18f3b4ab19ce74c26bac9ef1c3c1a4b9e1a9e9fd | refs/heads/main | 2023-06-10T07:47:44.100325 | 2021-07-07T06:35:26 | 2021-07-07T06:35:26 | 320,882,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | cpp | int source =0;
vector<int> adjList[numVertices];
vector<bool> visitedVertex(numVertices,false);
createAndAddEdge(adjList, 0, 1);
createAndAddEdge(adjList, 0, 2);
createAndAddEdge(adjList, 1, 5);
createAndAddEdge(adjList, 2, 3);
createAndAddEdge(adjList, 2, 4);
createAndAddEdge(adjList, 3, 3);
create... | [
"krishans290@gmail.com"
] | krishans290@gmail.com |
f1a0879e4098d4b724b3abd53f2b50b0773c21f4 | 96f7b90e9de03b71a4ce9a869202c9deabf2775d | /src/vk_rviz_teleop/include/hexapodserviceActionFeedback.h | a3a2fb8eb3f12be70d62b5c263fa4c0366d7fd03 | [] | no_license | V5Kingsley/hexapod_service_ws | d07d0c3633464123bfe30380ebac51b929088ca6 | 15670f838e3c2f7567b827118ca3ab3f3010937e | refs/heads/master | 2020-03-22T21:04:19.581303 | 2019-10-30T08:21:41 | 2019-10-30T08:21:41 | 140,654,207 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,355 | h | // Generated by gencpp from file hexapodservice/hexapodserviceActionFeedback.msg
// DO NOT EDIT!
#ifndef HEXAPODSERVICE_MESSAGE_HEXAPODSERVICEACTIONFEEDBACK_H
#define HEXAPODSERVICE_MESSAGE_HEXAPODSERVICEACTIONFEEDBACK_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serial... | [
"928199527@qq.com"
] | 928199527@qq.com |
09540b771d4e9623ffb1e8d4fb48cee6146e37e2 | 0470fb8ade9117f035da22e66f4edfd1e4babbf8 | /projects/program2/Deck.cpp | 27db42a43a1afcd90195da01ac6d24136ec9f7a8 | [] | no_license | brianliebe/CS240 | c25ec4e98131ad06cb22c79cda22aedd30d1da94 | ba82bb747150f9f0317cd625bb58156b89970939 | refs/heads/master | 2021-01-01T06:01:45.982935 | 2018-05-11T02:27:16 | 2018-05-11T02:27:16 | 97,333,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,612 | cpp | #include "Deck.h"
#include "Card.h"
#include <iostream>
#include <stdlib.h>
// Contructor for Deck. Adds 52 cards into the vector deck.
Deck::Deck() {
int suitsLeft = 4;
int cardsLeft = 14;
while (suitsLeft) {
while (cardsLeft > 1) {
Card temp(suitsLeft, cardsLeft);
deck.push_back(temp);
cardsLeft--;
}... | [
"bliebe1@binghamton.edu"
] | bliebe1@binghamton.edu |
4fc65468b5dc1654ff7112ef4bdb01ad68b22875 | b6446f426fafdd6ae700c9e83dfc9b9c805d08a5 | /bio/src/c++/cluster/src/EnhancerJava.cc | 5468f4843a0e7283dc82e6b673cade74c801a9b6 | [] | no_license | hramasamy/evosys | 9e32fb71bbe101301efb25cfb0ffee9ef47c4a27 | 23b23d8beeb2058fdbeb83c94e39516b2c05117f | refs/heads/master | 2021-01-18T11:21:00.183114 | 2019-02-18T01:57:47 | 2019-02-18T01:57:47 | 7,152,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,962 | cc | #include <stdio.h>
#include <fstream>
#include <iostream>
#include <map>
#include <vector>
#include <list>
#include <algorithm>
#include <EnhancerClass.h>
#include <EnhancerParam.h>
#include <EnhancerResult.h>
#include <EnhancerFunc.h>
#include <EnhancerResults.h>
#include <Annotation.h>
#include <boost/filesys... | [
"brindhahari@yahoo.com"
] | brindhahari@yahoo.com |
c8c8ec69826f1e9d87b44a4d8ada37bab2b9cbd0 | 01f71be19e4d785c5ea2fc7e60f22ba6245e0a6d | /hw4/socks_server.cpp | 37f0a297c8c34e6bfcd499d3da3766a25f86045c | [] | no_license | ok8722971/nctu-np-hw | 9be460db591b7c3646dc45b978612bae5ce5eec7 | 208225e552d9c50769dc64d1abd91325de0c1074 | refs/heads/main | 2023-02-04T20:11:56.919525 | 2020-12-21T06:37:35 | 2020-12-21T06:37:35 | 303,585,775 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,041 | cpp | #include <bits/stdc++.h>
#include <unistd.h>
#include <string>
#include <vector>
#include <algorithm>
#include <iostream>
#include <boost/asio.hpp>
#include <boost/regex.hpp>
#include <fstream>
#include <time.h>
boost::asio::io_context io_context;
using std::placeholders::_1;
using std::placeholders::_2;
using boost... | [
"cleandust.cs09g@nctu.edu.tw"
] | cleandust.cs09g@nctu.edu.tw |
7e4abade2685f7382d5c93efea4a40fac46ac95f | a6066ab95d83471ff9d506da1d2631eb2c0177f1 | /AtCoder_Problems/ABC/A/143_Curtain/main.cpp | ba9ad1af0c6b1ab64a5ad6d3fa7bccf3cf3c3d4a | [] | no_license | kotabrog/mycode_competition | c6da53e3f74b07e676c6a4dd33ed48d7dfe43101 | c8baa77a5d5d180df60b02ed6c8ea663b3e180fc | refs/heads/master | 2021-07-24T06:24:42.700286 | 2021-01-27T09:03:21 | 2021-01-27T09:03:21 | 240,260,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 127 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int a, b;
cin >> a >> b;
cout << max(0, a - 2 * b) << endl;
} | [
"suzuki.kota0331@gmail.com"
] | suzuki.kota0331@gmail.com |
4f2c80a9b97f983d76f7984f61a81afe1e49dc07 | 019e10b66beba3d41aeae9994986a7e6af1edf18 | /Source/Urho3DEditor/Widgets/SerializableWidget.cpp | 4c701b049dd64c30d8eb3cccfc14a71c36a8ade4 | [] | no_license | Mahmuttalemdar/Urho3D-Editor | 6be11965caa39cecdfc4ddbde62838b65a9583c7 | ab787cc15e6a55a49b772bb35f03f535f46169f4 | refs/heads/master | 2021-05-07T01:30:25.553018 | 2017-11-08T23:59:13 | 2017-11-08T23:59:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,213 | cpp | #include "SerializableWidget.h"
#include "AttributeWidget.h"
#include <Urho3D/Scene/Serializable.h>
#include <QGridLayout>
#include <QLabel>
namespace Urho3DEditor
{
const Urho3D::Vector<Urho3D::AttributeInfo> SerializableWidget::emptyAttribArray;
SerializableWidget::SerializableWidget(const SerializableVector& seri... | [
"nekoeuge@gmail.com"
] | nekoeuge@gmail.com |
d2e6d652d326b074b6ab8775d1849d9fb332fdae | 5702b30e65742caa89050427ac5ec88868c1df18 | /stl/custom_sorting.cpp | f450935e1a0078b23dded628bdb3c892754ce2f9 | [] | no_license | monpeco/Cpp-Data-Structures | 9eee29dcc2c36cf9a0ecc5c8fbabed62bef2ad70 | a0614ceb2b71974753768ed5520722e4fafe7005 | refs/heads/master | 2020-05-21T18:08:01.325528 | 2017-03-09T03:05:55 | 2017-03-09T03:05:55 | 64,353,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,705 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <algorithm> // std::sort
using namespace std;
vector< pair< string, int> > nombreEdad;
void cargarVector(){
nombreEdad.push_back(pair<string,int>("william",10));
nombreEdad.push_back(pair<string,int>("joe",3));
nombreEdad.push_back(pair... | [
"monpeco@gmail.com"
] | monpeco@gmail.com |
2ceea9077eb5b5d1b3c891d53ffb18c1337e48a9 | 41cb2e0c17682b605e7469cb6549a95c4cf3787d | /Engine/src/system/logging.h | dfe3d0546ca5b673d979ffc196753d9253929556 | [] | no_license | yRezaei/RoboLab | a7c2ee2c2adb33dfbe91403085357e5eda4aef52 | 81a6c2fc2dbf0d667cf390d83b66c378af7f2109 | refs/heads/master | 2021-01-21T14:58:10.523821 | 2016-06-15T19:47:58 | 2016-06-15T19:47:58 | 56,048,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,098 | h | /*
* logging.h
*
* Copyright 2016 Yashar Abbasalizadeh Rezaei <yashar.a.rezaei@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option)... | [
"rezaei@mabotic.de"
] | rezaei@mabotic.de |
ab065a80d9bf31c0ca0a094a32a8b92bf87ef0a1 | 3335ed42d793b4cfc42e8ea8c0702748def8d99e | /weightedfit.h | cbd2b9030deff59d12b22df2f57bb779d7a82a88 | [] | no_license | ThomasMullen/CPP_EDMS | db245ba8e1a185c0699ab4550c2cf41e355eae43 | 0cafdebe6601e026b59eec3337b2b5d58ef160bb | refs/heads/master | 2020-03-08T16:37:47.397496 | 2018-04-27T13:01:20 | 2018-04-27T13:01:20 | 128,244,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,321 | h | //
// weightedfit.hpp
// UIExperimentProject
//
// Created by Thomas Soares Mullen on 22/04/2018.
// Copyright © 2018 Thomas Soares Mullen. All rights reserved.
//
#ifndef weightedfit_h
#define weightedfit_h
#include "abstractexperimentfit.h"
/* ---------------------------
WeightedFit Experiment Class
---------... | [
"noreply@github.com"
] | ThomasMullen.noreply@github.com |
c9f7d7f4c5edbc9794bb143745085a84cfab5ef4 | 4660b38b741c59660a1534c1775420da9fb02a6b | /Basement/source/Basement/Core/Input.h | 356e3f29b40c41c8995562abfc0a01db39fa5550 | [
"MIT"
] | permissive | moskittle/Basement | 3433ebeaba4abda4d5f72d734f3234b5365b70ca | dee4206f7084ce2e61a6e1c1a058a2b196ecaf90 | refs/heads/master | 2022-03-20T18:41:14.221708 | 2022-01-06T00:46:57 | 2022-01-06T00:46:57 | 202,370,991 | 0 | 0 | MIT | 2022-01-06T00:46:58 | 2019-08-14T14:49:36 | C++ | UTF-8 | C++ | false | false | 1,058 | h | #pragma once
#include "Basement/Core/Core.h"
namespace Basement {
class Input
{
protected:
Input() = default;
public:
virtual ~Input() = default;
inline static bool IsKeyPressed(int keycode) { return s_Instance->IsKeyPressedImpl(keycode); }
inline static bool IsMouseButtonPressed(int button) { return... | [
"sfmarc1iang@gmail.com"
] | sfmarc1iang@gmail.com |
50afbb3d7de85606d8d68fc230e6b15e39c9b918 | c344b1025d9adddcb7191b266b0da73448d3add6 | /201816040112/Lab2/GrandBook.cpp | ef72fecd761ecd67e095907d625ace0128fbdb5a | [] | no_license | zifeiyu-c/LabExercises_01 | 2ac4fd80b7c75f44e8f2239c8759d2ce04d40265 | b8587e32becb26c7c8e13016a6de60900ddf01b3 | refs/heads/master | 2020-09-12T16:02:34.154721 | 2019-11-18T15:19:59 | 2019-11-18T15:19:59 | 222,473,301 | 0 | 0 | null | 2019-11-18T14:50:29 | 2019-11-18T14:50:29 | null | UTF-8 | C++ | false | false | 1,485 | cpp | // Lab 2: GradeBook.cpp
// Member-function definitions for class GradeBook.
#include <iostream>
using namespace std;
// include definition of class GradeBook from GradeBook.h
#include "GrandBook.h"
// constructor initializes courseName and instructorName
// with strings supplied as arguments
GradeBook::GradeBook( str... | [
"noreply@github.com"
] | zifeiyu-c.noreply@github.com |
72ba35293977338099ae338f7373e502e2685a7e | 45b5327a21ce43dca55e6e0415fbf93e36bea5e5 | /gazebo/src/gazebo-10.1.0/build/gazebo/gui/gazebo_gui_autogen/ZRFUFOMJ73/moc_TopicView.cpp | 59c51a777e613f69a4a97a97964f589ea61f064e | [
"Apache-2.0"
] | permissive | VamsiKrishna1211/ros-melodic-deps-builds-fixed | e952b261fd953d4d3e18554113b713dda7b422fd | 83cb5345f9c6e6c80fb629bfe031c11b755cac2a | refs/heads/master | 2020-12-10T12:57:57.371409 | 2020-01-13T20:05:34 | 2020-01-13T20:05:34 | 233,596,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,867 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'TopicView.hh'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.0)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"vamsikmails@gmail.com"
] | vamsikmails@gmail.com |
601a0e8ab680ffc0ea4728fbf4607c546e61d5ef | 9c250214a3f17c4bff80bc6bd866c4de0b0b38bc | /src/connectivity/openthread/ot-stack/src/app.cc | ff0d9ef604127b104b77debf012294fb83b2baf7 | [
"BSD-3-Clause"
] | permissive | sysidos/fuchsia | e4d83bbdeec58e429aa24289a414ddf9dbd60ac3 | 0c00fd3c78a9c0111af4689f1e038b3926c4dc9b | refs/heads/master | 2021-02-15T13:02:02.231060 | 2020-03-03T22:02:18 | 2020-03-03T22:02:18 | 244,899,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,722 | cc | // Copyright 2020 The Fuchsia 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 "app.h"
#include <fcntl.h>
#include <lib/async-loop/default.h>
#include <lib/async/cpp/task.h>
#include <lib/fdio/directory.h>
#include <lib/fdio... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
17f8531431f06e8f2b6105e9a13c4133b52fccbe | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE121_Stack_Based_Buffer_Overflow/s04/CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_alloca_loop_82_goodG2B.cpp | 6a7bc962facafdb441293a197eb41445753466de | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 1,507 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE805_struct_alloca_loop_82_goodG2B.cpp
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE805.label.xml
Template File: sources-sink-82_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* ... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
c8aecc2b810227709055162d9af5b418875ce136 | 13bfcfd7492f3f4ee184aeafd0153a098e0e2fa5 | /CodeForces/CF673/A.cpp | 359c33021e65ca865e30eb912b0f2034f873abea | [] | no_license | jqk6/CodeArchive | fc59eb3bdf60f6c7861b82d012d298f2854d7f8e | aca7db126e6e6f24d0bbe667ae9ea2c926ac4a5f | refs/heads/master | 2023-05-05T09:09:54.032436 | 2021-05-20T07:10:02 | 2021-05-20T07:10:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | #include<iostream>
#include<algorithm>
#include<vector>
using namespace std;
int t, n, k, a[1000];
int main(){
ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
cin >> t;
for(; t; --t){
cin >> n >> k;
for(int i = 0; i < n; ++i) cin >> a[i];
int mn = a[0], mnid = 0;
for(int i = 0; i < n; ++i) if(a[i] < m... | [
"froghackervirus@gmail.com"
] | froghackervirus@gmail.com |
7ffbc0902a5c32624c44e724b7504d858e4f0283 | 5798ba40aadb8c2cb39075b2cc6acb86aa9a10b8 | /KITTI/Sensor/Velodyne/Simulator/Edit/Simulator_Sensor_Velodyne_ParamsData.h | 2ff9700a20aba0e2b0cbe49124d96cac124c2b05 | [] | no_license | yangbinchen/ModuleDev | dad7a2e391764a2dc5040bc0646d02e2cc5225a8 | 7828f49d2f616d49cebd779a445bac0859da5ff6 | refs/heads/master | 2020-12-13T08:21:43.876101 | 2015-05-07T09:41:21 | 2015-05-07T09:41:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,868 | h | //You need to modify this file.
#ifndef SIMULATOR_SENSOR_VELODYNE_PARAMSDATA_H
#define SIMULATOR_SENSOR_VELODYNE_PARAMSDATA_H
#include<RobotSDK_Global.h>
/*! \defgroup Simulator_Sensor_Velodyne_ParamsData Simulator_Sensor_Velodyne_ParamsData
\ingroup Simulator_Sensor_Velodyne
\brief Simulator_Sensor_Velod... | [
"alexanderhmw@gmail.com"
] | alexanderhmw@gmail.com |
1999bd4932a35c234fa94b4473bb8a66ac8bfc79 | fef750f91e71daa54ed4b7ccbb5274e77cab1d8f | /Contest/atcoder/AtCoder Beginner Contest 081/C.cpp | 312f39bab4283e0d94546be5f42568054e1cabcb | [] | no_license | DongChengrong/ACM-Program | e46008371b5d4abb77c78d2b6ab7b2a8192d332b | a0991678302c8d8f4a7797c8d537eabd64c29204 | refs/heads/master | 2021-01-01T18:32:42.500303 | 2020-12-29T11:29:02 | 2020-12-29T11:29:02 | 98,361,821 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | #include<stdio.h>
#include<math.h>
#include<map>
#include<string.h>
#include<algorithm>
#include<iostream>
using namespace std;
const int maxn = 200000 + 10;
struct Node
{
int x, num;
Node(){}
Node(int x, int num)
{
this->x = x;
this->num = num;
}
bool operator < (const Node & ... | [
"qazxswh111@163.com"
] | qazxswh111@163.com |
027eb5742dedff0a906237210a94b7e28071999a | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /WebKit/Tools/TestWebKitAPI/Tests/WebKit2/WillSendSubmitEvent_Bundle.cpp | e85ca256feea17589e905bdf500637aee9633e12 | [
"BSL-1.0"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 2,602 | cpp | /*
* Copyright (C) 2012 Apple Inc. 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 above copyright
* notice, this list of conditions a... | [
"adzhou@hp.com"
] | adzhou@hp.com |
a83ab674c7c0f5c3fe5a30c4b2ede775e29586a7 | 4652840c8fa0d701aaca8de426bf64c340a5e831 | /chrome/browser/devtools/device/port_forwarding_controller.cc | e21121220284a1fb3c046fe0d0c0f799161ac76a | [
"BSD-3-Clause"
] | permissive | remzert/BraveBrowser | de5ab71293832a5396fa3e35690ebd37e8bb3113 | aef440e3d759cb825815ae12bd42f33d71227865 | refs/heads/master | 2022-11-07T03:06:32.579337 | 2017-02-28T23:02:29 | 2017-02-28T23:02:29 | 84,563,445 | 1 | 5 | BSD-3-Clause | 2022-10-26T06:28:58 | 2017-03-10T13:38:48 | null | UTF-8 | C++ | false | false | 16,218 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/devtools/device/port_forwarding_controller.h"
#include <map>
#include <utility>
#include "base/bind.h"
#include "base/compiler_... | [
"serg.zhukovsky@gmail.com"
] | serg.zhukovsky@gmail.com |
3d5e89760f22c3b50099166440aeca611b9157ce | 610a0449e3f8318f4cee5981524e79fa643d5045 | /ioi/2013/day1-2-artclass.cpp | 46833b18af7c809014eabd9983ed18488cf4c683 | [] | no_license | Namnamseo/ps-archive | 8f570339a0a7847ce08af4eb6342f41ec8a6a1e5 | 9f9b219731212dbef741198270b12913b329fc0f | refs/heads/main | 2022-07-08T07:06:42.080035 | 2022-07-06T14:31:45 | 2022-07-06T14:31:45 | 134,520,321 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,088 | cpp | #include <iostream>
using namespace std;
const double coeff[4][3*4*4+3] = {{ -52.0053, -21.9096, -33.7923, 109.7135, -109.8705, 68.1377,
10.7941, 61.5277, 0.4171, 54.9070, -35.1879, -77.8022,
24.0393, -50.2281, 25.5486, -90.1770, 141.8316, -51.3099,
29.2899, -102.4630, 9.7834, -60.2530... | [
"Namnamseo+github@gmail.com"
] | Namnamseo+github@gmail.com |
d04c0750f511afd1277fb3d76a8448907830c38b | a7d5370d79f3683c9e77697fff6beee41d03a256 | /ZOJ Accepted/1307-Packets.cpp | 9ff9d3e783fbab6099ae5c961e71b5874686065a | [] | no_license | logsniper/ACM-code | 6ada7952c1da9eb35359f7568c3ce13af37c5527 | fced907b480d1bf31ff66e233683a608773f2761 | refs/heads/master | 2021-01-13T02:36:44.137719 | 2012-05-02T15:22:01 | 2012-05-02T15:22:01 | 2,213,892 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | cpp | #include<cstdio>
int cal(int num[])
{
if(num[0]+num[1]+num[2]+num[3]+num[4]+num[5]==0)
return -1;
int ret=num[5];
ret+=num[4];
num[0]-=num[4]*11;
ret+=num[3];
if(num[1]>=num[3]*5) num[1]-=num[3]*5;
else{
num[0]-=num[3]*5-num[1];
num[1]=0;
}
if(num[2]%4==0)
ret+=num[2]/4;
else{
ret+=num[2]/4+... | [
"xiehao0221@gmail.com"
] | xiehao0221@gmail.com |
871098ab707ba9bc944e90897dfffc7d5b922079 | e62436e57c4b7db368cb47b3434ff342a39e6a85 | /Codeforces/1200/PermutationTransformation.cpp | 65c856641923d155f87683ad60f0f678afa939aa | [] | no_license | JuanDiazDev/Solutions | 7bcec667336a73ff6a6926e03490bf73a5f400bd | 6f5224b2d1cefd5f1ed7544e686b07cd46fe7d09 | refs/heads/main | 2023-07-11T19:49:32.651746 | 2021-08-17T05:24:59 | 2021-08-17T05:24:59 | 304,709,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cpp | #include<bits/stdc++.h>
using namespace std;
vector<int> v;
void solve(int arr[], int start, int end, int depth){
if(start >= end)
return;
int index = start;
for(int i = start + 1; i < end; i++){
if(arr[i] > arr[index])
index = i;
}
v[index] = depth;
solve(arr, start, index, depth+1);
sol... | [
"noreply@github.com"
] | JuanDiazDev.noreply@github.com |
ebca5303a1d046673e5b72cdedbc1c790ec9c1a4 | 00012c2dd1d3ad97a7e1ba58f946a7b79a4f4862 | /Codeforces/A. Two Rabbits.cpp | f4f79f29a373fd1410a3d5c189ff713200812287 | [] | no_license | gautam3000/Competitive-Programming | 9a208d53819cd618ef896b8cdf0d50e069b8ec23 | 0f9ebc4a6823d77cafb71a3f2898d34eb12607b2 | refs/heads/master | 2022-12-01T01:42:42.414584 | 2020-08-15T12:45:46 | 2020-08-15T12:45:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 966 | cpp | // http://codeforces.com/problemset/problem/1305/A
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define fast ios_base::sync_with_stdio(false) ; cin.tie(0) ; cout.tie(0) ;
#define endl '\n'
long long binpow(long long a, long long b) {
long long res = 1;
while (b > 0) {
if (b &... | [
"ayushkumar1234@protonmail.com"
] | ayushkumar1234@protonmail.com |
32829cf31b41f3bc949535a4e5e1ac7f4c0dab16 | 68665ac04ff092d65433a08f749f19111b604b48 | /src/uArmService.h | 0afc048bdc168442edf1f7ca40627780654f4032 | [] | no_license | uArm-Developer/UArmForArduino | 76d83cc2561f4996739d9abcda41fc3cf7267c58 | aad00adfcfd918ec996960e64143222fefbc214f | refs/heads/dev | 2020-04-11T03:02:46.929326 | 2017-08-08T11:56:31 | 2017-08-08T11:56:31 | 41,613,412 | 88 | 68 | null | 2018-07-18T12:07:36 | 2015-08-30T01:57:29 | C++ | UTF-8 | C++ | false | false | 2,207 | h | /**
******************************************************************************
* @file uArmSystem.h
* @author David.Long
* @email xiaokun.long@ufactory.cc
* @date 2016-09-28
* @license GNU
* copyright(c) 2016 UFactory Team. All right reserved
********************************************************... | [
"yuntian1019@gmail.com"
] | yuntian1019@gmail.com |
0ae281cc00aa9afea357cc8108fa88fb09145480 | 49b878b65e9eb00232490243ccb9aea9760a4a6d | /third_party/blink/renderer/modules/webcodecs/video_frame.cc | 755aac6186b5e406bf8b7cf80d4aca122d1dfcc8 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | romanzes/chromium | 5a46f234a233b3e113891a5d643a79667eaf2ffb | 12893215d9efc3b0b4d427fc60f5369c6bf6b938 | refs/heads/master | 2022-12-28T00:20:03.524839 | 2020-10-08T21:01:52 | 2020-10-08T21:01:52 | 302,470,347 | 0 | 0 | BSD-3-Clause | 2020-10-08T22:10:22 | 2020-10-08T21:54:38 | null | UTF-8 | C++ | false | false | 16,434 | cc | // Copyright 2019 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 "third_party/blink/renderer/modules/webcodecs/video_frame.h"
#include <utility>
#include "components/viz/common/gpu/raster_context_provider.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
751cf5cb0e355d8b443b26a1171b3300bd456edf | fa79712e9de20f7c7639f961038d37eaabbfdfed | /xml_parser/node_expat_allocator.h | 1d44c79939e4f05bf99735420869c0cd5c8e4eae | [] | no_license | jgsogo/xml_parser | 8214c2439b8200af12c1a944e67cf07059fa7896 | dab24939471b0a1e9e8c041663d8925fb1031de6 | refs/heads/master | 2016-09-10T08:44:13.994863 | 2015-05-31T17:19:25 | 2015-05-31T17:19:25 | 27,072,212 | 0 | 1 | null | 2015-02-06T16:55:23 | 2014-11-24T11:01:18 | C++ | UTF-8 | C++ | false | false | 757 | h |
#pragma once
#include "node_allocator.h"
#include "node.h"
#include "expat_handler.h"
#include "node_expat.h"
namespace core {
namespace service {
namespace expat {
class node_expat_allocator : node_allocator {
public:
node_expat_allocator(node::_t_on_pars... | [
"jgsogo+github@gmail.com"
] | jgsogo+github@gmail.com |
643d7c99287fc6230464c637c399e18498d0f5e3 | 193aacd05d997604655a0872bbe1604f4585dc29 | /may cook off 3.cpp | 20a4088858f8c2ca1565b874c6406a01a27fbc20 | [] | no_license | NEERAJISM/codes | b27e375313b1c1c8c002f76159cb1160706c9eea | 9f770d7b2dbfbe0f12f235089dcdac7dfe370887 | refs/heads/master | 2021-01-19T11:10:31.721972 | 2016-07-30T05:27:41 | 2016-07-30T05:27:41 | 60,888,241 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,916 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t,i,j,n,a[27],diff,temp[27][2],k,same;
string s;
char s2[100000],t2;
cin>>t;
while(t--)
{
k=0;
for(i=1;i<=26 ;i++)
a[i] =0;
cin>>s;
n=s.size();
for(i=0 ; i<n ... | [
"8patidarneeraj@gmail.com"
] | 8patidarneeraj@gmail.com |
9a1138226239ca1f1135878562db61e59d654cff | 238e46a903cf7fac4f83fa8681094bf3c417d22d | /VTK/vtk_7.1.1_x64_Release/include/vtk-7.1/vtkRIBProperty.h | e962ee39df9a635593485530f7228f6688c46b9d | [
"BSD-3-Clause"
] | permissive | baojunli/FastCAE | da1277f90e584084d461590a3699b941d8c4030b | a3f99f6402da564df87fcef30674ce5f44379962 | refs/heads/master | 2023-02-25T20:25:31.815729 | 2021-02-01T03:17:33 | 2021-02-01T03:17:33 | 268,390,180 | 1 | 0 | BSD-3-Clause | 2020-06-01T00:39:31 | 2020-06-01T00:39:31 | null | UTF-8 | C++ | false | false | 3,971 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkRIBProperty.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This sof... | [
"l”ibaojunqd@foxmail.com“"
] | l”ibaojunqd@foxmail.com“ |
fc20889d1a75a5405379d60c37a2cfa2fc646426 | 30233adb474ed2ae3510e753cae628f74771c394 | /mainwindow.h | 2251727bc50512877be1ce47c951952af22032c3 | [] | no_license | hadugen/AI_PRODMODEL | 9a1b0ee838f0748ddfdc31bdd3ce347362b1719e | bba0162b0344c229759f9e9a1ef6bd4afc43f006 | refs/heads/master | 2020-03-20T15:43:33.043593 | 2018-06-15T18:57:35 | 2018-06-15T18:57:35 | 137,520,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QFile>
#include <QDebug>
#include <QTextStream>
#include <QList>
#include <QMessageBox>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
void ref... | [
"dartet1997@yandex.ru"
] | dartet1997@yandex.ru |
139e40da1197b532b5d4a305ce80dab752dd1051 | f1177b888840bc5e137c756e32fa0ff3b1be64f2 | /include/raytracer/utils/json-utils.hh | ce09949fb6c9987c37f7db0c3c3b7fba3ab94a21 | [] | no_license | Tguisnet/PathTracer | 5fd8351a42a922e98d0f57c32712effa2853ff00 | 8ef45290c23081567a11b82ef4fbc6cc6212c2a7 | refs/heads/master | 2020-04-23T17:03:59.607974 | 2019-11-04T17:00:54 | 2019-11-04T17:00:54 | 171,318,387 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | hh | #pragma once
#include <algorithm>
#include <string>
#include <Eigen/Dense>
#include <nlohmann/json.hpp>
namespace raytracer
{
using json = nlohmann::json;
json parse_json(const char* filename);
}
static inline auto json_lisp_case(const char* c_str)
{
auto str = std::string(c_str);
... | [
"thibault.guisnet@epita.fr"
] | thibault.guisnet@epita.fr |
0de8771f77ed62fd02e1a7dcc111effd62d2ab32 | c35e0149e5c7f473639d48a7b741bcfe91887a9a | /boosted_list.h | d5ee0496940fb9567a4ff837ec4069deb058446e | [] | no_license | xwb1989/bstm | 020a037209a5a76e8b40b335bac22de027992871 | 27178fcf9e1e7fc5f292aaefb4fc1ff3db05ebb0 | refs/heads/master | 2021-01-01T06:11:14.094442 | 2015-03-24T01:23:19 | 2015-03-24T01:23:19 | 25,144,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,279 | h | /*
* =====================================================================================
*
* Filename: boosted_list.h
*
* Description: boosted list
*
* Version: 1.0
* Created: 10/13/2014 01:45:12 AM
* Compiler: gcc
*
* Author: Wenbin Xiao (github.com/xwb1989)
* ... | [
"xwb1989@gmail.com"
] | xwb1989@gmail.com |
d9ce269c5a483b561b262d9997a983e1def45ffd | 5cb459c3e4181482e5dfc624e3785460d18667b0 | /bit_edit_to_zero/bit.cpp | ee02edd8c4a58625215a0207e84e60b5de0f91f6 | [] | no_license | blasco991/ALGO2020 | 9f3b4ed7961bb95e9e82ea90a876442d685a8981 | 7f59588917d518c444099cf62ad21d345e1646a1 | refs/heads/master | 2022-11-05T14:38:43.833362 | 2020-06-18T06:55:58 | 2020-06-18T06:55:58 | 249,559,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | #include<algorithm>
#include<iostream>
#include<cassert>
using namespace std;
string m1(string s) {
s[s.size() - 1] = s[s.size() - 1] == '0' ? '1' : '0';
return s;
}
string m2(string s) {
for (unsigned int i = s.size() - 1; i >= 0; i--)
if (s[i] == '1') {
s[i - 1] = s[i - 1] == '0' ? ... | [
"blasco991@gmail.com"
] | blasco991@gmail.com |
e08106abe3cd761c5999c7da12dceb1bb1d67c6c | 52ceb2563fad9897654d1d471329321fca29abdd | /MySlate/Char/AI/BTNodeInter.cpp | a1bdc27725408e53c54ce33637d8f81525d09c52 | [] | no_license | luoxz-ai/SlateSrc | 95d4affece619c740f429cc1afba024af2c7bb1b | a3ae1d4cf961110952847b469edd623ec23dd028 | refs/heads/master | 2021-05-31T21:45:09.965910 | 2016-05-14T06:02:38 | 2016-05-14T06:02:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | cpp | #include "MySlate.h"
#include "BTNodeInter.h"
#include "../MyChar.h"
#include "./MyAIController.h"
UBTNodeInterface::UBTNodeInterface(const class FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
}
IBTNodeInterface::IBTNodeInterface()
{
mOwnerChar = nullptr;
mAICtrl = nullptr;
mBTComp = nullpt... | [
"yx0588@175game.com"
] | yx0588@175game.com |
58c98b99dbeb86dc8d8a11f9054473747be7dc39 | 89064143251f6365cdeeeb151160671d7c5bf5b6 | /Go_Chase_it!/ball_chaser/src/drive_bot.cpp | 7e4340d9ae375766ef46574aa872e5bf3a6db502 | [] | no_license | Varun-GP/Robotics-Software-Engineer-UND | 7f8c39c0b5c67e92f4862c21def59b47effa48dc | 712512fbe5855d190bce20f4487d2202e7e66930 | refs/heads/master | 2020-12-23T05:23:55.590796 | 2020-04-09T07:15:18 | 2020-04-09T07:15:18 | 237,050,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,674 | cpp | #include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include "ball_chaser/DriveToTarget.h"
/* A global ros::Publisher to publish motor commands */
ros::Publisher motor_cmd_pub;
/* Callback function */
bool drive_request_callback(ball_chaser::DriveToTarget::Request& req,
ball_chaser::Dr... | [
"noreply@github.com"
] | Varun-GP.noreply@github.com |
36fec8e9554864fec9fb20c14ada6354bd804dcc | 16d67c2b674d876346adcb1c1766a50b31b0215b | /Face_id_TFLite/TF/tensorflow/lite/micro/kernels/reduce.cc | 5dab033cccc0241ab40b01a411c818e0c559a109 | [
"Apache-2.0"
] | permissive | chenguanghu1/TF-Lite-CMSIS-NN | 1ecf6f1c63c0227bfa90fedb568521b26dc8205d | d0a3f3b3966deadbf4d9ee34a5009a97f8b337ff | refs/heads/main | 2023-01-02T16:03:07.982493 | 2020-11-03T11:12:33 | 2020-11-03T11:12:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,628 | cc | /* Copyright 2019 The TensorFlow 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 a... | [
"marco.giordano@cern.ch"
] | marco.giordano@cern.ch |
ac66fa3da281d97eeac400556811d454e601a7ee | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8383/Larin_Anton/Proj/Factory/ZetaFactory.cpp | 7e15755c6f100d403ca3cbc824c8b8f68ef8da5b | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 282 | cpp | //
// Created by anton on 2/22/20.
//
#include "ZetaFactory.h"
GameObject *ZetaFactory::createUnit(UnitClass _class, UnitDevotion devotion, int x, int y) {
Zeta *u = new Zeta(fld, x, y, 0, devotion);
return u;
}
ZetaFactory::ZetaFactory(Field *fld) : UnitFactory(fld) {}
| [
"larin.an10n@gmail.com"
] | larin.an10n@gmail.com |
7a7505837dc4ebc7a8f82d08b1da8b91eedfc1ca | 768153a5adf7a9adbad7e060ead722feea918edb | /user.cpp | 92e9f7873795864b97df033a5f2ef9ddf9c41b82 | [] | no_license | YanLogovskiy/game_life | 58c2a0e0c2d2febb48b858b24f309a1d4a828e57 | 4a48adab13b3c4b3fa479835147b3906a772e6fd | refs/heads/master | 2023-03-31T11:58:12.634412 | 2020-12-09T18:55:35 | 2020-12-09T18:55:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58 | cpp | //
// Created by yan on 28.07.2020.
//
#include "user.h"
| [
"logovoya@tut.by"
] | logovoya@tut.by |
9de540bb6696132b8b037e13bfc01ba3dd981f72 | 32cdaf8adcddab13302757b31635ca881d89a0cd | /src/TabletInspector/TabletInfoPage.h | f6f4d0bbd973c5ce12b421def3d20c2e880ccadc | [
"Apache-2.0"
] | permissive | shuhari/TabletInspector | 4696a839fbcb031f234da3b280d16971c8cbe281 | 6c34fb2c52c4610e43aa39c2054a950dcb40ae95 | refs/heads/master | 2020-03-28T20:40:35.980701 | 2018-10-22T03:11:03 | 2018-10-22T03:11:03 | 149,092,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | h | #pragma once
#include "Public.h"
#include "Models.h"
class TabletInfoPage : public QTableView,
public ITabletAwareWidget {
Q_OBJECT
public:
TabletInfoPage(QWidget* parent = nullptr);
virtual ~TabletInfoPage() = default;
void notifyTablet(TabletInfo* info) override;
void notifyTabletData(con... | [
"shuhari@outlook.com"
] | shuhari@outlook.com |
755f490fb8735d7ac0c6807d65a025ee2bed5a01 | 226355343e7a880b23d837e0a783bee927b7b9d9 | /GaussQuadTri.h | 25a4ab79554a775c5c4f04889c47e8762639da9b | [] | no_license | alespecka/galerkin | fac5a45d3c01d915fe1826dd2041bcba560ffbe6 | 421b0bd2a9cc8ac9c6e330f5878f3951b3c7fa10 | refs/heads/master | 2016-08-12T06:34:18.573463 | 2015-11-07T11:23:41 | 2015-11-07T11:23:41 | 45,263,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | h | /*
* File: GaussQuadTri.h
* Author: ales
*
* Created on April 29, 2015, 1:51 PM
*/
#ifndef GAUSSQUADTRI_H
#define GAUSSQUADTRI_H
#include <string>
class GaussQuadTri {
public:
static const int nFaces = 3;
int nWeights;
double *weights;
double **coords;
GaussQuadTri(const std::string ... | [
"alespecka1@gmail.com"
] | alespecka1@gmail.com |
34367fd71246e350ef0a6b745f7595a2318254b9 | 619505170cfdb3adf7c9177933979451d0149f00 | /update1120/map.h | c1456b880bb81848c714ca7d38a865868a042691 | [
"Apache-2.0"
] | permissive | 24780inoodlessquad/24780project | 61992a6d993a4cc4a8d78bd46cb3c8c5c9138211 | 4b338481cfe7e7e5ff5a67ba7a7307c7fc7563a2 | refs/heads/master | 2021-08-23T03:25:48.801256 | 2017-12-02T22:10:47 | 2017-12-02T22:10:47 | 108,867,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,994 | h | #include <vector>
#include <string>
#include "fssimplewindow.h"
#ifndef is_included_bubble
#include "bubble.h"
#endif
#define isFloor 0;
#define isBox 1;
#define isObstacle 2;
#define inExplosion 3;
#define isBubble 4;
#define isPlayer 5;
#ifndef MAP_IS_INCLUDED
#define MAP_IS_INCLUDED
class Map
{
protected:
//enu... | [
"1318945824@qq.com"
] | 1318945824@qq.com |
e23ef9ce05a1804556db28ac45197c245c8801d9 | 877340dc5fe853d481b1c40928a0aa06115436fb | /Software/VirtualWire_Firmware/src/SwitchArray.hpp | bac38daea43beceecf3c92d6196e1737e3556aab | [
"MIT"
] | permissive | makinteractlab/VirtualWire | 0f8d0c3ae4315088233256d26ca3ac9ca9e5885c | 9150630fcd04448da5dee77fab0847ac0380a2ec | refs/heads/master | 2023-03-09T23:27:00.265018 | 2021-02-17T08:28:17 | 2021-02-17T08:28:17 | 171,406,630 | 1 | 0 | MIT | 2021-02-17T08:32:09 | 2019-02-19T04:44:58 | Processing | UTF-8 | C++ | false | false | 1,546 | hpp | #ifndef __SWITCH_ARRAY__H__
#define __SWITCH_ARRAY__H__
// Wrap class for SwitchMatrix
#include "SwitchMatrix.hpp"
#define CHIPS 3
#define SWITCHES 16
#define BREADBOARD_ROWS_CHIP 0
#define ARDUINO_DIGITAL_PINS_CHIP 1
#define ARDUINO_ANALOG_PINS_CHIP 2
// The order of these pins is very important
enum class PINS {... | [
"andrea@kaist.ac.kr"
] | andrea@kaist.ac.kr |
1fcad5115e9542d642b2dd7ad31eb08b88c0f814 | e3ec5d56e4e988cc0921d255325227bab73cf86c | /projects/CUDA-Naive-Ray-Tracer/source/Camera.h | 90f489c449dab3c004fd33cdb23f1eb1d9e2934c | [] | no_license | nuno-tiago-reis/ray-tracer | f2bf3670a66a8868f35a4730cd5691b46e7a0923 | e77a064c17d5beecae77e7e263222f296a41a88c | refs/heads/master | 2021-09-06T22:39:25.639969 | 2018-02-12T17:50:57 | 2018-02-12T17:51:01 | 85,834,609 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,555 | h | #ifndef CAMERA_H
#define CAMERA_H
#ifdef MEMORY_LEAK
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#endif
/* OpenGL Includes */
#include "GL/glew.h"
#include "GL/glut.h"
/* Math Library */
#include "Vector.h"
/* Camera Radius */
#define CAMERA_RADIUS 25.0f
class Camera {
private:
/* Vie... | [
"g_tiago_1991@hotmail.com"
] | g_tiago_1991@hotmail.com |
31ecfe4cb7a9c1a2e3987404919fcdb3543e1176 | 691c2349b43b782747b65d98c00a1d7be4a751e3 | /Invert_Binary_Tree.cpp | c0fd588cc3fece796eb18f0601593bd98b25ee4d | [] | no_license | LiliMeng/Leetcode | a37bd7117dc6d772419c0a3091c81235b844c47a | 6023fa43e448423b93fd257f90fe70bba13c70fb | refs/heads/master | 2021-06-08T08:55:40.206452 | 2020-05-25T06:06:36 | 2020-05-25T06:06:36 | 34,866,993 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 580 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
TreeNode* invertTree(TreeNode* root) {
if(root==NULL)
{
re... | [
"lilimeng1103@gmail.com"
] | lilimeng1103@gmail.com |
19df612e6f90834f520071b70cc64b999f5f0d48 | b6926a3e90d5f2322cf96e3819415d50a58097e2 | /Consecutive_Primes.cpp | 0860ab5dac339fc0d20f998079bf61582ba3b622 | [] | no_license | AbhJ/some-cp-files-1 | 67c6814037e6cbc552119f3d2aa4077616b88667 | 04e7e62ac7d211bb38dd77dc44558a631805c501 | refs/heads/master | 2023-07-05T16:36:56.770787 | 2021-09-03T12:50:13 | 2021-09-03T12:50:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,232 | cpp | //Coded by Abhijay Mitra (AbJ) on 2021 / 04 / 19 in 06 : 10 : 21
//title - Consecutive_Primes.cpp
#include <iostream>
#include <stdlib.h>
#include <algorithm>
#include <cstdio>
#include <numeric>
#include <cstring>
#include <numeric>
#include <vector>
#include <iterator>
#include <map>
#include <set>
#include <climits>... | [
"mitraabhijay@gmail.com"
] | mitraabhijay@gmail.com |
8adc01797a66495d14d8fa168e66969587f8d14f | 0dc20516079aaae4756d28e67db7cae9c0d33708 | /jxy/jxy_src/jxysvr/src/server/loginserver/logic/lsevent.cpp | 539f567e305c023f5ec0814ad5bc14ea11a8d1c4 | [] | no_license | psymicgit/dummy | 149365d586f0d4083a7a5719ad7c7268e7dc4bc3 | 483f2d410f353ae4c42abdfe4c606ed542186053 | refs/heads/master | 2020-12-24T07:48:56.132871 | 2017-08-05T07:20:18 | 2017-08-05T07:20:18 | 32,851,013 | 3 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp |
#include "lsevent.h"
#include "framework/lsapplication.h"
#include <sdutil.h>
CLSEvent::CLSEvent()
{
}
CLSEvent::~CLSEvent()
{
}
UINT32 CLSEvent::OnEvent()
{
((CLSApplication*)SDGetApp())->OnEvent();
return 0;
}
INT32 CLSEvent::OnDestroy()
{
return 0;
}
| [
"wuzili1234@gmail.com"
] | wuzili1234@gmail.com |
e927d2749b25d5037cf65b830f126dc8765dfaa8 | 0f6ae94ae0221ae945ce6122f866194da2eb5283 | /.svn/pristine/e9/e927d2749b25d5037cf65b830f126dc8765dfaa8.svn-base | 5681ae29831f556097f29e83dde99916a265437f | [
"NCSA"
] | permissive | peterdfinn/safecode-mainline | 2a1621ef839a30664477bbd300123eb16bd204d1 | a5587ccd5dfb261ca39b88855879563230f38ce0 | refs/heads/master | 2021-01-18T15:23:26.296177 | 2015-09-03T04:23:34 | 2015-09-03T04:23:34 | 38,640,903 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,979 | //=- HexagonMachineFunctionInfo.h - Hexagon machine function info -*- C++ -*-=//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"peterdfinn@icloud.com"
] | peterdfinn@icloud.com | |
88392351f3e648110bb480e1fb2d7f1ad53f7a7b | b6f96b20153bf1e222c2524fea5a2dfe3c2f69a6 | /homework/c++上机作业05 类/homework_1.cpp | 2307446c79f7ce1fbf4b30e9efe4a763b63854c8 | [] | no_license | yyhaos/C-plus-programming-course | 3b40b761d2feaac7a8e1f025c09850248bcb19b0 | 8485983c78128cbf8a3077dba9af952b91f50a03 | refs/heads/master | 2021-07-19T04:43:21.737628 | 2020-05-04T18:14:03 | 2020-05-04T18:14:03 | 148,308,702 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,322 | cpp | #include<iostream>
using namespace std;
class Fraction
{
private:
int num,den;
public:
Fraction(int n =0,int d=1);
void Standerdize(void);
int GCD(void);
void Set(int ,int );
void Display();
Fraction Add(Fraction x);
Fraction Sub(Fraction x);
Fraction Mul(Fraction x);
Fraction D... | [
"35396510+yyhaos@users.noreply.github.com"
] | 35396510+yyhaos@users.noreply.github.com |
e5b5ff47c3dd23e1fd719e9852c9eb28edbb9d6f | e0f583d286706699da99bc631a31e3f4f2078965 | /solutions/1217. Play with Chips/1217.cpp | fec00649694667f26e9bd4027e18c0ebf64d2459 | [] | no_license | T353007/LeetCode-1 | 4f002d1885358e8beec0c3d59a1549c4c9f0e06d | 026713cb8fa25f52851e1432cd71a5518504e3e0 | refs/heads/main | 2023-02-15T17:03:49.726291 | 2021-01-12T10:12:25 | 2021-01-12T10:12:25 | 328,920,320 | 0 | 0 | null | 2021-01-12T08:29:55 | 2021-01-12T08:29:55 | null | UTF-8 | C++ | false | false | 195 | cpp | class Solution {
public:
int minCostToMoveChips(vector<int>& chips) {
vector<int> count(2);
for (int chip : chips)
++count[chip % 2];
return min(count[0], count[1]);
}
}; | [
"walkccray@gmail.com"
] | walkccray@gmail.com |
e263a7da6fb363e9be69b1c009d3fb1eefe4ae49 | 34a9cb1d4fadaf2c33293d08b9e667445bf9a258 | /50.cpp | 5e320756a190e6a095682cacfd22196023faa76b | [] | no_license | AlikhanAldabergenov/TASK1-100 | 3fa1e14e1b522971d7a2d173b8fb7387757ac7fa | 4dd3c3c424781cf43a7cc04561ccb141534d728d | refs/heads/master | 2020-09-13T02:07:03.802474 | 2019-11-22T17:53:53 | 2019-11-22T17:53:53 | 222,629,278 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 155 | cpp | #include <iostream>
using namespace std;
int main(){
double a, b, c;
cin>>a>>b>>c;
if(a==b || a==c || b==c){
cout<<"yes";
}
return 0;
}
| [
"noreply@github.com"
] | AlikhanAldabergenov.noreply@github.com |
d2522172c625f4cac7a69547745ff54fd2aa08ee | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /components/translate/content/browser/partial_translate_manager.cc | f0002b41c0e558e257a04d501966df9811e3ce4e | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 4,030 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/translate/content/browser/partial_translate_manager.h"
#include "base/metrics/histogram_functions.h"
#include "base/strings/utf_string_conversions.h"
nam... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
db5c985f9204c9579473174118d3f3057ba32439 | 87e21ab1f93a2988d62bfed7a68170912f38ca45 | /lib/target.hh | b7965b8347571b5e29d22e15889380a2b35d0142 | [
"diffmark"
] | permissive | vbar/diffmark | f473905565d72f2be1d3b82871ebe2050987d2c3 | 5289d245b1a2f277fe23485902f6f3526f3c7a03 | refs/heads/master | 2020-04-22T15:43:27.608262 | 2018-12-30T17:55:48 | 2018-12-30T17:55:48 | 19,501,990 | 1 | 0 | NOASSERTION | 2018-12-30T09:57:05 | 2014-05-06T16:32:37 | C++ | UTF-8 | C++ | false | false | 612 | hh | #ifndef target_hh
#define target_hh
#include <string>
#include <libxml/tree.h>
class XDoc;
class Target
{
protected:
Target(const std::string &nsurl);
std::string get_scoped_name(const char *tail);
std::string get_ns_url();
xmlNodePtr import_node(xmlNodePtr n);
xmlNodePtr import_tip(xmlNodePtr ... | [
"vbar@comp.cz"
] | vbar@comp.cz |
09a1761bd1eca960dd15e5e1f3ba5df43697eb0e | 82e6375dedb79df18d5ccacd048083dae2bba383 | /src/main/y/gfx/color/random.hpp | 6c9bbc5a142705b7271797482a6f40a431cc52d5 | [] | no_license | ybouret/upsylon | 0c97ac6451143323b17ed923276f3daa9a229e42 | f640ae8eaf3dc3abd19b28976526fafc6a0338f4 | refs/heads/master | 2023-02-16T21:18:01.404133 | 2023-01-27T10:41:55 | 2023-01-27T10:41:55 | 138,697,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 418 | hpp |
#ifndef Y_COLOR_RANDOM_INCLUDED
#define Y_COLOR_RANDOM_INCLUDED 1
#include "y/randomized/bits.hpp"
namespace upsylon
{
namespace graphic
{
//! helper to create random color
struct random_color
{
//! defined for uint8_t, float, rgb, rgba, YUV
template <typ... | [
"yann.bouret@gmail.com"
] | yann.bouret@gmail.com |
3478449bde8ccfd56a3e7bfb3bea80bc0e2c8738 | 7a623a8ad3d41b6180b89225f43b134c8cfc57b7 | /chrome/browser/previews/previews_ui_tab_helper_unittest.cc | f29381a534b17d44691792e530480bb1f7cdbee0 | [
"BSD-3-Clause"
] | permissive | 3031687356/chromium | 9ea7ec7fdec873a7ae242ddb16e2e56c82a21607 | ed4591ba8f0f3c3e85280355b609099f0fb73c3e | refs/heads/master | 2023-02-27T14:07:22.046556 | 2018-08-18T12:51:09 | 2018-08-18T12:51:09 | 145,221,453 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,869 | cc | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/previews/previews_ui_tab_helper.h"
#include <memory>
#include <string>
#include "base/memory/ptr_util.h"
#include "base/run_loo... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f868e219aeeede296106f11d324f8d8c4fb6933e | 464aa9d7d6c4906b083e6c3da12341504b626404 | /src/lib/romp/static_light_values.cpp | aa464947651c197ab65288e1577af50ec64b45f3 | [] | no_license | v2v3v4/BigWorld-Engine-2.0.1 | 3a6fdbb7e08a3e09bcf1fd82f06c1d3f29b84f7d | 481e69a837a9f6d63f298a4f24d423b6329226c6 | refs/heads/master | 2023-01-13T03:49:54.244109 | 2022-12-25T14:21:30 | 2022-12-25T14:21:30 | 163,719,991 | 182 | 167 | null | null | null | null | UTF-8 | C++ | false | false | 6,038 | cpp | /******************************************************************************
BigWorld Technology
Copyright BigWorld Pty, Ltd.
All Rights Reserved. Commercial in confidence.
WARNING: This computer program is protected by copyright law and international
treaties. Unauthorized use, reproduction or distribution of thi... | [
"terran.erre@mail.ru"
] | terran.erre@mail.ru |
490fb729b7ae4bfc0c08f2dec4a746b7149360cb | 3847a77874183ca195a17fcb49b879f1ce8b05a9 | /CMPT225A1/animals.h | 53ce62791b953211de7cbc6d60b9f0d67daaea05 | [] | no_license | alanhuang1129/CMPT-225 | a04d23a217040ae9235666c12d86fef069484f25 | 732ec7566242791e88cc8b49447459c4ab5fb9a0 | refs/heads/master | 2022-12-31T17:36:03.433938 | 2020-10-27T00:50:51 | 2020-10-27T00:50:51 | 298,726,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | h | #ifndef ANIMALS_H
#define ANIMALS_H
#include <string>
#include <iostream>
using namespace std;
class Animal {
public:
//Function declarations
virtual string noise();
virtual int repeats();
virtual int ageInMonths();
void print();
//Destructor
~Animal() {
cout << "Animal Destructor has been called\n";
}
};
cla... | [
"alanhuang777@gmail.com"
] | alanhuang777@gmail.com |
fe86e58ae81bc437ad8270c274671f0ccb5b7046 | 9e34a9dc59c9cfa9dfe5abe8f956b4aecab6441e | /SnifferUI/ShortCutDialog.cpp | 1afb1b23f5f37ced9d048eaa2939ffcfd8e1d7d9 | [] | no_license | 01fang/SnifferUI | e20d05c85d630ea67b54466df70f9c72d2ac3d22 | 5a5cf0215997bc460b8bff7ec2c4ea1832e1da8d | refs/heads/master | 2023-04-04T18:00:44.427320 | 2021-04-11T16:21:18 | 2021-04-11T16:21:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,396 | cpp | // ShortCutDialog.cpp : 实现文件
//
#include "stdafx.h"
#include "SnifferUI.h"
#include "ShortCutDialog.h"
#include "afxdialogex.h"
// CShortCutDialog 对话框
IMPLEMENT_DYNAMIC(CShortCutDialog, CDialog)
CShortCutDialog::CShortCutDialog(CWnd* pParent /*=NULL*/)
: CDialog(IDD_SHORTCUT_DIALOG, pParent)
{
}
CShortCutDialog... | [
"ct2ing@gmail.com"
] | ct2ing@gmail.com |
f83658029347f82a74c4770a992d879508000bc3 | f5f67756f203c35eed8edd3330a2c60d927cee52 | /hrdesktop/common/core/DuiLib/Core/UIRender.cpp | acae05956f2f07b643252e0e5f997452d2b2f9f2 | [
"BSD-2-Clause"
] | permissive | wang5858/highwayns | 86c87ca139f0c0bdd7930b649ef3236e4b116aba | 73b1cf13b5a9a36f485d7b82600654095a271cd9 | refs/heads/master | 2021-01-19T14:24:01.144989 | 2017-04-22T01:56:18 | 2017-04-22T01:56:18 | 88,157,128 | 1 | 0 | null | 2017-04-13T11:18:11 | 2017-04-13T11:18:11 | null | UTF-8 | C++ | false | false | 92,634 | cpp | #include "StdAfx.h"
///////////////////////////////////////////////////////////////////////////////////////
DECLARE_HANDLE(HZIP); // An HZIP identifies a zip file that has been opened
typedef DWORD ZRESULT;
typedef struct
{
int index; // index of this file within the zip
char name[MAX_PATH]; ... | [
"tei952@hotmail.com"
] | tei952@hotmail.com |
8fdcf62db4f2585673fa9e1438dc81e7bbf84205 | 4cfc18299062a46c619929849e4a5d243328ed3d | /B_MIN_MEX_Cut.cpp | b1e50cd6ce8fd7cc6541d66cf1a1be2818b853af | [] | no_license | MehediHasanRaj/Problem-solving | 1b6955f8ab4472b12f0bb4cea1d00dffc8f89392 | 119b4347e618170b001e2a52d736fc436b381020 | refs/heads/master | 2023-08-15T00:03:50.149882 | 2023-07-29T23:39:19 | 2023-07-29T23:39:19 | 205,844,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include<bits/stdc++.h>
#define fastIO ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0)
#define loop(i,a,b) for(int i =a; i < b; ++i)
#define debug(x) cout << #x << " = " << x << endl
using namespace std;
void solve(){
string s; cin >> s;
int zeroes = count(s.begin(),s.end(),'0');
if(zeroes == 0) {
... | [
"mehedihasanraj007@gmail.com"
] | mehedihasanraj007@gmail.com |
e48994294222de332180f258b9960cf9c5ad03f0 | 1abaed045f002b5ad8ed2465a3933a307f78fb1f | /职工管理系统/职工管理系统/worker.h | 56270dafd94fe321933c9cc80c327613a548977c | [] | no_license | heiyuyinshi/C-study | 1bfa191dd6bc19e594fcacb02458dc1b4d0e73c8 | db22fe7622b3f1f71fe5558aeb3d04b1bea8e816 | refs/heads/master | 2021-03-11T23:14:39.999847 | 2020-03-11T16:17:36 | 2020-03-11T16:17:36 | 246,569,289 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 314 | h | #pragma once
#include<iostream>
using namespace std;
//员工抽象类
class Worker
{
public:
//显示个人信息
virtual void showInfo() = 0;
//获取岗位名称
virtual string getDeptName() = 0;
//职工编号
int m_Id;
//职工姓名
string m_Name;
//部门编号
int m_DeptId;
}; | [
"noreply@github.com"
] | heiyuyinshi.noreply@github.com |
63c2824efedbf1ebdd3882ce058557c1a4150ac9 | 187c252036cd1a3c2b3425530d56dab44b2a9b0e | /Cpp/20200203_LJY_ImgProcess/20200203_LJY_ImgProcess/ChildFrm.cpp | 123bc3c9cbfa073560da055140c6eb4408bc4d0f | [] | no_license | ljy930521/TT | 993929576b4bc31f7c44d6184d5b566522a966e7 | b1e38667f5984ccead6d6d5247653291ebdc8d3c | refs/heads/master | 2020-12-02T15:34:41.100123 | 2020-02-05T01:45:12 | 2020-02-05T01:45:12 | 231,051,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | cpp |
// ChildFrm.cpp: CChildFrame 클래스의 구현
//
#include "pch.h"
#include "framework.h"
#include "20200203_LJY_ImgProcess.h"
#include "ChildFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CChildFrame
IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWnd)
BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWnd)
END_MESSAGE_MAP()
// C... | [
"ljy930521@naver.com"
] | ljy930521@naver.com |
081d996487f74f08d8e506a8d449ee93bcdf8a22 | d2249116413e870d8bf6cd133ae135bc52021208 | /Ultimate Toolbox/samples/gui/DockProp/SctPage.cpp | 7830b988e27f7b48cc6879178e7960a9b51c9d44 | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | cpp | // SlcPage.cpp : implementation file
//
#include "stdafx.h"
#include "SctPage.h"
#define SECTION_APPLY_TIMER_ID 15
#define SECTION_APPLY_TIME 800
extern long ISU;
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//////////////////////////////////... | [
"chenchao0632@163.com"
] | chenchao0632@163.com |
6c7cb6113b07d4fcec04f08b52154574ea859745 | 558dece528927a181dcf8afdc6b6c85edaaeb584 | /Data Structure/Linked List/LRU Chache with Doubly Linked List.cpp | af3f4a40c626a3bba83e9c88f38031e65af052ab | [] | no_license | rohannstu/Algorithms | dd5e9bc8d57ba512ad2b1d27bb761eda7d3ed1a9 | b121d952d01687dd52279b91ef19d9533ba05be5 | refs/heads/master | 2023-04-09T12:30:21.547535 | 2021-04-08T11:23:54 | 2021-04-08T11:23:54 | 569,421,358 | 1 | 0 | null | 2022-11-22T19:40:43 | 2022-11-22T19:40:41 | null | UTF-8 | C++ | false | false | 2,187 | cpp | #include<bits/stdc++.h>
using namespace std;
struct Node
{
string key;
string value;
Node* pre;
Node* nxt;
Node(){
pre = NULL;
nxt = NULL;
}
Node(string _key,string _value){
key = _key;
value = _value;
Node();
}
};
struct Do... | [
"noreply@github.com"
] | rohannstu.noreply@github.com |
f9f6cbac7de53fc7fe5dc896c9d1f34e34824df3 | f855ea48bd08d76e204d09cb9a66d00ec14f49a7 | /Maths/Countpalindrome.cpp | f7368dc9568df2ffcdf1736bea01bcb9a6c19f48 | [] | no_license | Akash-verma998/CPP | 087b6bb3f59f1125863f950e05df932739dbffb9 | 789b522d1d137cb776a4d9e22e51fb417589b378 | refs/heads/main | 2023-02-15T22:22:36.299089 | 2021-01-18T06:59:04 | 2021-01-18T06:59:04 | 330,578,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 782 | cpp | #include<iostream>
#include<cstring>
#include<algorithm>
using namespace std;
char s[1000];
int countPalindromeSubstrings(char s[]) {
int count=0;
int i,n,j,k;
n=strlen(s);
string s2="",s1,p;
for(i=0;i<n;i++)
{
s2+=s[i];
}
for (int i = 0; i < n; i++)
{
for (int len = 1; len <= ... | [
"averma9838@gmail.com"
] | averma9838@gmail.com |
4dd5b58a16266dde0d3aa1ba80a94986fd3f0cb2 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Trigger/TrigEvent/TrigMuonEventTPCnv/TrigMuonEventTPCnv/TileMuFeatureContainer_p2.h | 60d1e7e0116b63135dbc9970f7bf7f6fe175354b | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TRIGMUONEVENTTPCNV_TILEMUFEATURECONTAINER_P2_H
#define TRIGMUONEVENTTPCNV_TILEMUFEATURECONTAINER_P2_H
#include "TrigMuonEventTPCnv/TileMuFeature_p2.h"
class TileMuFeatureContainer_p2 : public std::vector<TileMuFeature_p2> {};
// ... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
52f6c0deaa5a4f2c50baf4b2d863dc3fbc3e1d31 | 9ae60ebc4a5dc526f9a2588a4368328a3d918679 | /src/TestCommand.cpp | ef0df03745fec7e5ca65019c66536eaefaef49d3 | [] | no_license | vtruo009/rShell-Project | 0d5828c0562a8835c10a24deb57edb8fd0a35706 | 1acfe765da6a8f11a45626106912390d90046e89 | refs/heads/master | 2020-07-05T22:32:42.577164 | 2019-08-16T21:48:44 | 2019-08-16T21:48:44 | 202,802,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,380 | cpp | #include <iostream>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdio.h>
#include <string>
#include <cstring>
#include <vector>
#include <fcntl.h>
#include "TestCommand.h"
using namespace std;
TestCommand::TestCommand(vector<string> v) {
com = v;
}
bool TestCommand::execute() {
stri... | [
"noreply@github.com"
] | vtruo009.noreply@github.com |
1d0bc9574c5eeb3eb4c51f8bec1e5678ee5ff049 | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/Internal/SDK/BP_MasterTrap_StaticMesh_parameters.h | 5b88b307e3138c688abf728b2bddc2a274a5bd58 | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,367 | h | #pragma once
// Name: Medieval Dynasty, Version: 0.6.0.3
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//--------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
b31a273b809197d92910179aec893055413d8fee | e3fb1614a5e66aa3ee547882a6b91c1ed156e31c | /puzzle_solver.h | 0f6e68ada760a4688848cb292d5a5084d65a13a4 | [] | no_license | Semisonic/SamsungTask | f02305d900c3fa9f156acb282bddf82b15ae24c4 | 28e115345341761c6e13416cb526388dd538253e | refs/heads/master | 2020-09-03T23:28:17.377400 | 2019-11-04T23:59:05 | 2019-11-04T23:59:05 | 219,602,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | h | #pragma once
#include <iostream>
#include <memory>
// ------------------------------------------------------------------------- //
/*
* Puzzle solver interface
*/
// ------------------------------------------------------------------------- //
class PuzzleSolver {
public:
virtual ~PuzzleSolver() = default;
... | [
"Semisonic.GitHub@gmail.com"
] | Semisonic.GitHub@gmail.com |
087717efcff9c873f785a8bc105bb78ceebe3a8a | 15b8e3bd7b71db3d3b07cf6c8783f6b38b0e5a83 | /MiniProtoCppTest/message/Proto2.h | 26e8072d8dd9c2b64a89e91c841d344a1c5e7e1d | [] | no_license | lineCode/miniproto | dd20d9942c28197d9611367d08f089c3082584c0 | 03791418c2cb14046d469a51173dc612a9eda7c4 | refs/heads/master | 2020-04-11T04:03:47.018366 | 2017-07-21T01:37:45 | 2017-07-21T01:37:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613,877 | h | #ifndef __Proto2__
#define __Proto2__
#include "ProtoBase.h"
#include "ProtoTool.h"
#include "ProtoBitMap.h"
#include "Proto1.h"
namespace common {
namespace proto2 {
enum EnumTest
{
EnumTest_1 = 1,
EnumTest_2 = 3,
EnumTest_3 = 7,
};
template <template<typename> class A = std::allocator>
class MsgTestArray : pub... | [
"363386490@qq.com"
] | 363386490@qq.com |
20d424e456100c8820a639fd7e7cb12deb34213c | 40affe7125f5d872ddcf999e786b9255fba9f699 | /Lab13/Stack.h | d8cdf89c576b7d134a32c25a06a03e864c2ac23e | [] | no_license | paolosecci/DataStructures | 11476080cfeb9c939d8e86fd2e1773d20610d1b3 | 101f3df041c5b2d4599471c1b35cca08527eb87d | refs/heads/master | 2020-03-09T03:23:09.766772 | 2018-09-19T03:12:20 | 2018-09-19T03:12:20 | 128,564,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 567 | h | #include "LinkedList.h"
template <class T>
class Stack: public LinkedList<T>
{
public:
Stack();
~Stack();
void push(T value);
T pop();
T& top();
};
template <class T>
Stack<T>::Stack()
{
}
template <class T>
Stack<T>::~Stack()
{
}
template <class T>
void Stack<T>::push(T value)
{
LinkedList<... | [
"noreply@github.com"
] | paolosecci.noreply@github.com |
0fa0223e5832975de284a61452cebce4f94ec050 | 87a2896f868dc13f89ecbb629d897f0ffe8a57e6 | /Code/560e.cpp | 789d4de2645b1be669c483a1acdfda4822e138d4 | [] | no_license | sahashoo/Daily | a20a4bce60b0903fde23bea9d5244c65a9ea3928 | c209cf800cbae850e2233a149d3cc8181b49fb5e | refs/heads/master | 2020-04-23T04:31:13.770829 | 2019-02-15T20:00:34 | 2019-02-15T20:00:34 | 170,910,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,318 | cpp | ///age yekam bekeshi beham is no problem ._.
#include<bits/stdc++.h>
#define F first
#define S second
#define int long long
using namespace std;
const int N=3e5+7;
const int MAXN=2e3+7;
const int mod=1e9+7;
pair<int,int>a[MAXN];
int fct[N],inv[N];
int dp[MAXN];
inline int pw(int a,int b){
int ret=1;
while(b){
if(b... | [
"noreply@github.com"
] | sahashoo.noreply@github.com |
4d4a24e40dd4078b485abbf1dc18b23ba8ec4823 | b95eae38aaab80073f3a1b6fe25c7e11419c5508 | /exam/cbank/21.cpp | 2cbbcb98cd74a06bcbc2c385ec5673322fc698a1 | [] | no_license | Hannleeee/myWebServer | dbcfe41a90f24c23d74784d822c9374b4a75493a | 2cc3a267280fc6577a6a9ccc2cade4141c06dcde | refs/heads/master | 2023-08-21T02:58:01.694090 | 2021-10-28T02:48:22 | 2021-10-28T02:48:22 | 393,264,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | #include <bits/stdc++.h>
using namespace std;
int solve(int k, int m) {
vector<vector<int>> dp(k, vector<int>(m));
for (int j=0; j<m; ++j) {
for (int t=1; t<=9; ++t) {
if (t==j+1) dp[0][j] = 1;
}
}
for (int i=1; i<k; ++i) {
for (int j=0; j<m; ++j) {
for (... | [
"han@LAPTOP-RT8BA909.localdomain"
] | han@LAPTOP-RT8BA909.localdomain |
cf442e7a9ded31d38f578a216ccb31e0a05ae063 | 5191fcaf394a934c63d6e4e656f61803ec608f78 | /src/cpp/window_ext_impl.cpp | ade8c3dd602094b0d8b45a31387a372abae96e37 | [
"MIT"
] | permissive | Piasy/CppUniverse | 1612fefae09f62c77cab7d3383f8bff4f9b8d946 | 615935e36a1da2f4af8284f968cdca76ab9b9593 | refs/heads/master | 2021-08-30T05:09:26.916861 | 2017-12-16T04:09:44 | 2017-12-16T04:09:44 | 114,428,324 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,486 | cpp | //
/*
* The MIT License (MIT)
*
* Copyright (c) 2017 Piasy
*
* 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, including without limitation the rights
* to use, cop... | [
"xz4215@gmail.com"
] | xz4215@gmail.com |
21664605ec8809875c4e69a29a748014e8ee4ddf | 4cfbd314daff5e502712812b9f160a42ed83ac43 | /LUCKY5.cpp | 6bbd5e6c52a05616e455370eefcd9ffd0b798c09 | [
"MIT"
] | permissive | abhipso/Codechef-Solutions | 2e3907f774759e862c7d334bb6fe5a13c37270f0 | 0d15cde3178d8a926986e8fddb8469074e007399 | refs/heads/master | 2021-10-11T20:24:10.251368 | 2017-06-27T19:41:54 | 2017-06-27T19:41:54 | 95,359,011 | 0 | 0 | MIT | 2019-01-29T12:49:45 | 2017-06-25T12:40:26 | C++ | UTF-8 | C++ | false | false | 282 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--)
{
string s;
cin>>s;
int ans=0;
for (int i = 0; i < s.length(); ++i)
{
if (s[i]!='4'&&s[i]!='7')
{
ans++;
}
}
printf("%d\n",ans );
}
return 0;
} | [
"noreply@github.com"
] | abhipso.noreply@github.com |
d2c888071515434140bc384fb9c204f07b248bc2 | 6eb3ddb09600da326d1c7aa80b2bcb391bc1d2bb | /Week-04/Day-02/sharpie/Sharpie.h | ebfff2f69e9c3b6e076bb0e61474f60af144ee1f | [] | no_license | green-fox-academy/kapeterakos | 5b6f0b2b46ec97d2a37b7ed60cdccfa40d170c9c | a43fabfe5cc1a26e676757231944680062397f6d | refs/heads/master | 2020-04-02T17:22:07.582728 | 2018-12-13T12:14:32 | 2018-12-13T12:14:32 | 154,655,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | h | //
// Created by Akos on 2018. 11. 13..
//
#ifndef SHARPIE_SHARPIE_H
#define SHARPIE_SHARPIE_H
#include <iostream>
#include <string>
class Sharpie {
public:Sharpie(std::string color, float width);
void use();
float getinkAmount();
private:
std::string _color;
float _width;
float _inkAmount;
};
... | [
"kapeter.akos@gmail.com"
] | kapeter.akos@gmail.com |
d6c9000674b77806337e803546eaca2d133174e9 | dd560c018b6d624a8e0113391e3917229ca39307 | /String_Algorithms/Programming-Assignment-1/trie_matching/trie_matching.cpp | c9af54772cac3828c635ee51f7d6f285f2f704fa | [] | no_license | sakti2k6/DS_Algorithms_Specialization_Coursera | e06a62b9fe2bc1c9b3bfe37a555486054986c466 | bb062d61242cbbbc023660c39075ef483e41e29e | refs/heads/master | 2022-04-15T11:12:05.321411 | 2020-02-24T01:33:25 | 2020-02-24T01:33:25 | 188,881,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,632 | cpp | #include <algorithm>
#include <cassert>
#include <cstdio>
#include <iostream>
#include <string>
#include <vector>
#include <unordered_map>
using std::vector;
using std::unordered_map;
using std::string;
using std::cin;
using std::cout;
using std::endl;
int const Letters = 4;
int const NA = -... | [
"sakti2k6@gmail.com"
] | sakti2k6@gmail.com |
f5f95148927c54ca4aba8a0fff273347a0d27023 | 9128a48a9d196690e8e3e3b734a28364c923dcd9 | /Engine/porting/Android/GameEngine-android/jni/source/Core/CKLBAppProperty.cpp | 7a741c40c6b52188eda48dd386340650be9ec741 | [] | no_license | donghlcxx/SpineACT_PlaygroundOSS | 94ce25745cafc625f4108967d94f5d548b8a53c3 | 7a73614ba3adf7e72520839b1e862324527e29fb | refs/heads/master | 2022-11-10T04:17:42.933846 | 2020-06-24T02:43:18 | 2020-06-24T02:43:18 | 270,545,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,023 | cpp | /*
Copyright 2013 KLab 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 ... | [
"261709905@qq.com"
] | 261709905@qq.com |
10b5e5f6db793bc4d0e3a91fd7b7549b0d8a2d38 | 0b53895618278f5cbd5146b1a0eaaf5b06c28a78 | /maze.h | f6b9a0c204ba791da9304b3ee72d050e1c7da2ec | [] | no_license | ParkSeungwon/maze | be3cafd8bdf0c7cafddec24bff8fa06afe37b6be | d3b28ad4acb30b8262db7b4f3dddbd871d71624f | refs/heads/master | 2021-07-09T02:28:33.187186 | 2020-10-06T14:22:24 | 2020-10-06T14:22:24 | 67,280,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | h | #pragma once
#include "char2d.h"
class Maze : public Char2D
{
public:
Maze(int w, int h);
Maze(const Maze& m);
int best_way(int x, int y);
void find_way(int x, int y);
void build_maze();
static Char2D shortcut;
static int shortest_steps;
static unsigned long wander, build;
protected:
int step;
private:
v... | [
"zezeon@msn.com"
] | zezeon@msn.com |
f4eb13b9c3ac577e1e505fd00f3ce2e8fbe7e6ac | 8dea872595a4c7e6d6d71973ba6c59cbdcf43f51 | /ubcsat/ubcsat-parms.cc | b9bb54ee2d6f367495d7019738200ce9985cf6dd | [
"MIT"
] | permissive | pmatos/maxsatzilla | 24eb260978cdb3624e5e4e13739808fa00b97ccd | ea3599de6ac2632884905bd0816777a377e74ed4 | refs/heads/master | 2022-06-06T02:05:31.627062 | 2022-05-17T12:11:42 | 2022-05-17T12:11:42 | 10,950,986 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 16,371 | cc | /*
## ## ##### ##### $$$$$ $$$$ $$$$$$
## ## ## ## ## $$ $$ $$ $$
## ## ##### ## $$$$ $$$$$$ $$
## ## ## ## ## $$ $$ $$ $$
#### ##### ##### $$$$$ $$ $$ $$
======================... | [
"paulo@matos-sorge.com"
] | paulo@matos-sorge.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.