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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b8f9e706c7ac0a12ef4210642abd77851860f39d | 1b3c60c6b62357dfd270f34e474a9bb80f00dece | /client/src/room.h | 52e4f99e4ebb7c520bbf75a4ff28e047f5705a30 | [
"MIT"
] | permissive | Lukasz98/Free-Imperium | 782fb050ad449a0d64faca9aa0b89e811e144f69 | 9dc8695a06a2144f3b449cc1424afc86ebc180c3 | refs/heads/master | 2022-06-15T01:27:52.532381 | 2022-06-07T19:39:43 | 2022-06-07T19:39:43 | 188,487,302 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | h | #pragma once
#include <SFML/Network.hpp>
#include "settings.h"
#include "game.h"
#include "game_data.h"
#include "gui_last.h"
class Room {
sf::TcpSocket socket;
sf::Socket::Status status;
void loop();
void receivePackets();
void guiDraw();
void input();
bool play = false;
std::string m... | [
"lkadracki@gmail.com"
] | lkadracki@gmail.com |
2a116472ccc64af2bd4e1453975c81ec3041c626 | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/LibCore/src/libcore/icu/CNativeNormalizerHelper.cpp | 1b4a4c57d61ffdbe3782852cb920b6eb8c448966 | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 545 | cpp |
#include "CNativeNormalizerHelper.h"
#include "NativeNormalizer.h"
namespace Libcore {
namespace ICU {
ECode CNativeNormalizerHelper::IsNormalized(
/* [in] */ ICharSequence * src,
/* [in] */ Form form,
/* [out] */ Boolean * value)
{
return NativeNormalizer::IsNormalized(src,form,value);
}
ECode CNat... | [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
8221f6e2fd88f299b21edfb76fae1caf436bfde3 | 0f08cdcd9c459513a5603b06bd320a8e93894592 | /Sales_CheckOut_Program/regression_test/main.cpp | 4875b73d03f972c456a01966e5dc525d692ce6b7 | [] | no_license | sushantcode/CPP_Programs_OOPs | 597e2cd7d73d4636a2bb643f26703af26bae96eb | da2d358cbdb3c65d8ddab8c95d84464855b13a10 | refs/heads/master | 2023-01-14T02:50:14.767953 | 2020-11-16T02:16:40 | 2020-11-16T02:16:40 | 236,286,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,115 | cpp | #include "product.h"
#include "taxed.h"
#include "taxfree.h"
#include <vector>
int main(){
Taxed snicker{"Snicker", 1.99}, pen{"Pen", 2.29}, icecream{"Ice Cream", 3.99};
Taxed::set_tax_rate(0.0825);
Taxfree milk{"Milk", 2.99}, water{"Water", 3.89}, bread{"Bread", 2.49};
std::vector <Product> cart;
const std::stri... | [
"sushantgupta2016@gmail.com"
] | sushantgupta2016@gmail.com |
4bf6bd8b41aaeea28be18073507487ed552da65c | 2af22346f70b1c1f2e748e1c3582a5e2f4a321bf | /project3/src/test.cpp | 924d96b120525a547fd0546d64c0452d3b517cab | [] | no_license | mackenzieg/ECE250 | c32962b003d1cd2044b94d0ebac283401839af9e | a61af46e7dcb6a8d928ad026b5d05889b7452938 | refs/heads/master | 2021-03-19T08:48:04.233724 | 2018-04-04T19:26:06 | 2018-04-04T19:26:06 | 116,423,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,196 | cpp | #include <iostream>
#include "Search_tree.h"
int main() {
Search_tree<int> tree;
for ( int i = 1; i <= 30; ++i ) {
std::cout << tree.insert( (83*i) % 30 );
}
std::cout << std::endl;
for ( int i = 1; i <= 30; ++i ) {
std::cout << tree.insert( (97*i) % 30 );
}
std::cout << std::endl;
std::cout << "Front... | [
"MackenzieJamesGoodwin@gmail.com"
] | MackenzieJamesGoodwin@gmail.com |
3254a6ea88d2c6ff4173d412039310057e4c2365 | 0c146264f3940784d3da5ef5e8ddfc7024e85650 | /code/libs/smat/src/smat/vm/machine.h | 2554a27774331523b52260dba8b059b628dec52b | [] | no_license | RodgersLuo/DeepBind-code | 36cc9719d3a4cac6b03cfb7fedf3cf64d4a58a45 | 34e32f5dddd28209b9dce7e70b23c764a7dffffa | refs/heads/main | 2023-08-31T13:49:49.981397 | 2021-10-22T15:15:52 | 2021-10-22T15:15:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,652 | h | // Copyright (c) 2015, Andrew Delong and Babak Alipanahi 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
// ... | [
"hl3919@ic.ac.uk"
] | hl3919@ic.ac.uk |
db4d9b7a0b8741016f134e266db1c60642e6c11a | 27a7b51c853902d757c50cb6fc5774310d09385a | /[CC]RecallInfo/SiegeRecall/SiegeMap.cpp | 87538722ba8a86a42ccd03db9497de37f1ecf084 | [] | no_license | WildGenie/LUNAPlus | f3ce20cf5b685efe98ab841eb1068819d2314cf3 | a1d6c24ece725df097ac9a975a94139117166124 | refs/heads/master | 2021-01-11T05:24:16.253566 | 2015-06-19T21:34:46 | 2015-06-19T21:34:46 | 71,666,622 | 4 | 2 | null | 2016-10-22T21:27:35 | 2016-10-22T21:27:34 | null | UTF-8 | C++ | false | false | 13,510 | cpp | //-------------------------------------------------------------------------------------------------
// NAME : CSiegeMap.cpp
// DESC : Implementation part of CSiegeMap class.
// PROGRAMMER : Yongs Lee
// DATE : July 23, 2008
//-------------------------------------------------------------------------------------------... | [
"brandonroode75@gmail.com"
] | brandonroode75@gmail.com |
4f03ca19040925e24c93d51c5480cacce0c31dcf | 5ea5dc570b6d6bd243abd948d83021bf00cfd066 | /VRENAR Object Classes/Logic Deduction.cpp | 78255c39861d3e0d922f372daf1de69a303a12ec | [
"Apache-2.0"
] | permissive | REMMI-Research/VRENAR-auto | 3b1548aaa85df4081d9b2c91e652e5b65853ab56 | 8462798407bb67d9a7463df879da9da35475e8c1 | refs/heads/master | 2020-04-07T18:23:40.400898 | 2018-11-21T21:33:50 | 2018-11-21T21:33:50 | 158,608,191 | 0 | 0 | Apache-2.0 | 2018-11-21T21:33:51 | 2018-11-21T21:28:07 | null | UTF-8 | C++ | false | false | 394 | cpp | ///////////////////////////////////////////////////////////
// Logic Deduction.cpp
// Implementation of the Class Logic Deduction
// Created on: 21-Nov-2018 21:19:49
// Original author: Magneto
///////////////////////////////////////////////////////////
#include "Logic Deduction.h"
Logic Deduction... | [
"noreply@github.com"
] | REMMI-Research.noreply@github.com |
136b1a70f34dcf297740d2f48f9789dd415a8f7b | 865f81015d4649456e0716be4226234261c4696c | /Pool_C++/day06/ex02/Base.class.cpp | c7efc380ae62f6e91ecf34e97d9bb5afde1a82d2 | [] | no_license | gniliansky/University-pools | 8a228190babaf2e5640962d0b76cec494966e16c | fe1de27740f331aaa995bfa38c9cec667197625a | refs/heads/master | 2020-03-11T14:25:03.123180 | 2018-04-18T12:41:16 | 2018-04-18T12:41:16 | 130,053,621 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Base.class.cpp :+: :+: :+: ... | [
"vgnylyan@e3r2p1.unit.ua"
] | vgnylyan@e3r2p1.unit.ua |
51a2016a2e5c7a811da5a348b0778fda2219f940 | f5ff2cc9270b48c0b94a905b93acea086a8f1266 | /Gynecologist.h | 2cbacba23daf72dd3ac312fe2526abf42b202187 | [] | no_license | WalterTrippel/first_cpp | e4ce6c31d455621f9cde573a05f7e8bf5290cce6 | 3cf8b6a97f5b81f4f94cbaebd897c82560d657e0 | refs/heads/master | 2021-01-13T02:37:31.140475 | 2014-12-25T19:41:15 | 2014-12-25T19:41:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | h | #ifndef GYNECOLOGIST_H
#define GYNECOLOGIST_H
#include "MedStuff.h"
#include "Patient.h"
class Gynecologist : MedStuff{
private:
Gynecologist & operator =(const Gynecologist & other);
const std::string possible_illnesses[3] = {"everything is ok", "Pelvic Pain", "Vulvodynia"};
public:
using MedStuff::MedS... | [
"shreiderwalter@gmail.com"
] | shreiderwalter@gmail.com |
e51e70d0c22f47551f3c156c8002ec01bef9bc70 | 49775280c31c8dc97907cf1762cb28db107c2887 | /yave/graphics/images/ImageView.h | 7987d8322980cdb7def5a311e46007fdfb39610a | [
"MIT"
] | permissive | gan74/Yave | 7e8fe3f9fd530f892a4185fc67109f0426955c2b | acb75c47b8a8e317ef38232173553a4dcb334b3b | refs/heads/master | 2023-08-31T15:27:12.871118 | 2023-08-29T23:03:31 | 2023-08-29T23:03:31 | 59,200,808 | 464 | 27 | MIT | 2021-02-28T13:10:06 | 2016-05-19T11:39:10 | C++ | UTF-8 | C++ | false | false | 4,143 | h | /*******************************
Copyright (c) 2016-2023 Grégoire Angerand
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... | [
"gregoire.angerand@gmail.com"
] | gregoire.angerand@gmail.com |
8499efd6426d6165d176f7a65ed2a1abb3b94012 | 8c81f4e34aa3b541d383dbd889f45ec035487e97 | /PhysicsGame/PhysicsGame/TextureManager.cpp | f4a3587a6ce3d204516903e4bec9493e39927fa9 | [] | no_license | WLLMGS/2DPhysicsGame | 8648ec728a55ab9915a9aee5c9f33ba374d10d09 | 705e4e34b3b1b96c94ce2dfe168bc1efb5e5958e | refs/heads/master | 2021-04-27T14:30:37.729177 | 2018-02-26T12:49:35 | 2018-02-26T12:49:35 | 122,453,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | cpp | #include "stdafx.h"
#include "TextureManager.h"
TextureManager* TextureManager::m_pInstance = nullptr;
TextureManager* TextureManager::GetInstance()
{
if (m_pInstance == nullptr) CreateInstance();
else return m_pInstance;
}
Texture* TextureManager::GetTexture(const TextureType& type)
{
return m_pTextures[type];
... | [
"willem.gos@hotmail.com"
] | willem.gos@hotmail.com |
8a3c466ea4a64d9c23ed5ab4116a27da135f8350 | 7f41e94db7f403be5503c4494c8fc9c48e5ad358 | /bluetoothapplet/src/bluetoothbrief.cpp | 0c5a6740c90600a2d1515267e3a8b89fca0dca73 | [] | no_license | dudochkin-victor/touchcp-bluetooth | b71a810336f51d6defd0892c29936baed18d33d3 | 366665a0ab4a2b66a33237b511b0f2f71e694e7a | refs/heads/master | 2020-05-18T04:00:56.281780 | 2013-05-15T06:51:06 | 2013-05-15T06:51:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | cpp | /* -*- Mode: C++ -*-
*
* meego handset bluetooth applet
* Copyright © 2010, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Apache License, version 2.0. The full text of the Apache License is at
* http://www.apache.org/licenses/LICENSE-2.0
*
*/
#include <DcpWidgetTyp... | [
"dudochkin.victor@gmail.com"
] | dudochkin.victor@gmail.com |
f20db176f364b534f095735fb9111f7d979d2281 | 286bbf17db63fe00aa9b2190e905eef7f07d9ef2 | /production-scheduling/src/GUI/DataModificationWidgets/EditingWidget.h | 4846c82f335dc1acb9a24268b95d2cf2cb714c1e | [] | no_license | muggin/agh-coursework | 7a4766ca7c966c724a540354f31f94c43e2d005b | 7a452d4bf73bbc0daa4404fde64f9dc734899f31 | refs/heads/master | 2021-07-20T19:31:20.340059 | 2017-10-25T21:55:25 | 2017-10-25T21:55:25 | 106,218,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | h | #ifndef EDITINGWIDGET_H
#define EDITINGWIDGET_H
#include <QWidget>
#include <QComboBox>
#include <QSpinBox>
#include <QFileDialog>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QGroupBox>
#include <QPushButton>
#include <QFormLayout>
#include "DataWidget.h"
class DataWidget;
class EditingWidget : public QW... | [
"wkryscinski@gmail.com"
] | wkryscinski@gmail.com |
af789879ed75f8b35e7ebdf28b1c841b9cb67062 | 3dde80d4a7deb603cf32446f2fc307fe0d425ee9 | /src/route_planner.cpp | b13536320a0110efd24bd1e8f5271cc09cb72d5b | [] | no_license | dballif/CppND-Route-Planning-Project | 9a2dbcdc086ce68a45fe7fc1194c1ff9f059b7a0 | 07c9846018cabf0dc9f6c202b264e474c7c6750b | refs/heads/main | 2023-08-20T01:07:03.113419 | 2021-10-27T01:25:53 | 2021-10-27T01:25:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,993 | cpp | #include "route_planner.h"
#include <algorithm>
RoutePlanner::RoutePlanner(RouteModel &model, float start_x, float start_y, float end_x, float end_y): m_Model(model) {
// Convert inputs to percentage:
start_x *= 0.01;
start_y *= 0.01;
end_x *= 0.01;
end_y *= 0.01;
// Store the nodes you find i... | [
"ballifdaniel@gmail.com"
] | ballifdaniel@gmail.com |
75ee8dc0f3961c3b110253c1a48373556a8e10de | c26d325bca488b2f071f15e7dd09a54a7bba2cf2 | /Task 3/gafurov_timur.cpp | 21a834a2886f30562c1454927c54f37f81fc442d | [] | no_license | devmentality/cpp-ft201-2019 | ef8388b77dbfb5dee0fab7e4ec64b22b56d11ee8 | 6529edf9ee2dfa121ab76a9e2727d1f4df71cacc | refs/heads/master | 2020-05-06T13:34:32.272691 | 2019-05-26T10:01:42 | 2019-05-26T10:01:42 | 180,143,869 | 0 | 1 | null | 2019-04-09T17:02:19 | 2019-04-08T12:25:49 | C++ | UTF-8 | C++ | false | false | 1,452 | cpp | // SmartPointer.cpp: определяет точку входа для консольного приложения.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
template <class T>
class SmartPointer
{
private:
T* object;
size_t* counter;
public:
SmartPointer() {
}
SmartPointer(T* obj) {
object = obj;
counter = ne... | [
"noreply@github.com"
] | devmentality.noreply@github.com |
9458fe043b5bd04a484593be57fe9f3a9d3ff832 | e850cadc48588bd1c7cf561876329c097c0d344b | /Frame/ThingDlg/qalarmcontroldlg.h | d4b5c774502072adcf0df9800fedde8ca586320c | [] | no_license | maqiangddb/pc_code | 1ec9778ee9c14c225a6301541ddfa7044360fbb9 | f2044d19912203f6fd4fe732471563e44faa690a | refs/heads/master | 2021-01-19T21:28:50.700633 | 2014-06-06T09:05:52 | 2014-06-06T09:05:52 | 20,556,974 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 754 | h | #ifndef QALARMCONTROLDLG_H
#define QALARMCONTROLDLG_H
#include <QDialog>
#include "qgraphicsitem.h"
#include "view/alarmitem.h"
#include "Frame/ThingDlg/qalarmcontrolgendlg.h"
class QAlarmControlDlg : public QDialog
{
Q_OBJECT
public:
explicit QAlarmControlDlg(QGraphicsItem *item,QWidget *parent = 0);
QSt... | [
"maqiangddb@gmail.com"
] | maqiangddb@gmail.com |
1c1bab0c267f4cb75455dbb8f999b4bd5ad72935 | dd35f3ccdc7caf3c87ee3ce2ec635c303e87405d | /BazineKlase.cpp | e465a1c9e5e13563bef0acb9ac386492d605fb07 | [] | no_license | UrteSataite/Uzduotis_Objektinis_2 | b94af55ad465ad2bcd51c7475ac6811f58716568 | d879084def83b41f2d27316cabaaa402e93e7dcb | refs/heads/master | 2023-02-16T16:35:55.082973 | 2021-01-07T13:00:25 | 2021-01-07T13:00:25 | 319,089,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | #include "BazineKlase.h"
/**
* Konstruktorius
*/
BazineKlase::BazineKlase(std::string v, std::string p, std::vector<int> i)
{
vec_vardai = v;
vec_pavardes = p;
vec_iverciai = i;
}
/**
* Destruktorius
*/
BazineKlase::~BazineKlase() {}
/**
* Operator=
*/
BazineKlase& BazineKlase::operator=(c... | [
"urte.sataite@mif.stud.vu.lt"
] | urte.sataite@mif.stud.vu.lt |
d3bb8450545b9a27c42e1e2b842330cc82c646fc | cac08bbdcf72f57989f95d917eaf51127bd896f9 | /acm_4084.cpp | 25fdb6620911f245fcbd54bb121e0172c1ed54d3 | [] | no_license | LeeGyeongHwan/Algorithm_Student | f587f9576fa7d9c4e0185511437609dcacbb15a1 | 774ea7f59641ffaaa5d4b2808ed40bb6e9109e39 | refs/heads/master | 2023-03-12T17:56:38.718059 | 2021-03-03T13:03:14 | 2021-03-03T13:03:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | cpp | /*
ACMICPC
문제 번호 : 4084
문제 제목 : Viva la Diferencia
풀이 날짜 : 2020-03-15
Solved By Reamer
*/
#include <iostream>
using namespace std;
int main()
{
int A, B, C, D;
int tmpA, tmpB, tmpC, tmpD;
while (1)
{
int count = 0;
cin >> A >> B >> C >> D;
if (A == 0 && B... | [
"rudghks1108@naver.com"
] | rudghks1108@naver.com |
52ed2ba5f6e3166ce70b9df87ed39dec8629d2af | c85295cb8442553223786375db41ce1dc0d0d27d | /tests/test-convert.cpp | 2c31661284c1e0136a179fbd9f644791418ab854 | [
"MIT"
] | permissive | hrabalik/fmo-cpp | 8769b70a5a69f06a89146ccfbaf5fb28e4eaabb1 | 658545f0cf015a13ab16950f17027e622c87e5fb | refs/heads/master | 2021-06-17T11:33:23.675346 | 2017-05-30T09:59:23 | 2017-05-30T09:59:23 | 86,446,432 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,083 | cpp | #include "../catch/catch.hpp"
#include "test-data.hpp"
#include "test-tools.hpp"
SCENARIO("performing color conversions", "[image][convert]") {
GIVEN("a BGR source image") {
fmo::Image src{fmo::Format::BGR, IM_4x2_DIMS, IM_4x2_BGR.data()};
GIVEN("an empty destination image") {
fmo::Imag... | [
"tufak064@gmail.com"
] | tufak064@gmail.com |
6c0b6a58aad6477aa8f52ab094511ca591ceeeff | fcc777b709d795c4116bad5415439e9faa532d39 | /rongyu/homework1/file2/2018182052_1235_姝g‘_611.cpp | f6a6155169c5c7bf9018a244f31a5dc40e0ba95c | [] | no_license | demonsheart/C- | 1dcaa2128ec8b20e047ae55dd33f66a359097910 | f567b8ca4a4d3ccdf6d59e9fae5b5cea27ec85c1 | refs/heads/master | 2022-11-29T00:27:30.604843 | 2020-08-10T11:48:36 | 2020-08-10T11:48:36 | 283,923,861 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,540 | cpp | #include <iostream>
#include<cstdio>
#include<cstring>
#include <string>
#include<iomanip>
#define ADDRESS "C:\\Users\\241\\Desktop\\in.txt","r",stdin
using namespace std;
class Geometay
{
public:
virtual double get_area()const=0;
virtual ~Geometay(){}
};
class Rect:public Geometay
{
double x,y;
public:
... | [
"2509875617@qq.com"
] | 2509875617@qq.com |
2bd158c729f3faeda114bd15e14934fb5dc69489 | ffda80bd2f906bd0766ad68aeadd39d202f82925 | /include/cbt/nodes/spawn.hpp | 2453cbd7096f0b09afc4150187f516f1fd839316 | [] | no_license | taiyu-len/continuation-behavior-tree | 9f4690778324d0aa9d07f116151f01f4a51e5f9b | d0b52c2fd8ac24e3faa7fa29cbe8cbc83d85a963 | refs/heads/master | 2020-04-08T14:49:19.734927 | 2018-12-14T02:07:21 | 2018-12-14T02:30:48 | 159,453,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | hpp | #ifndef CBT_NODES_SPAWN_HPP
#define CBT_NODES_SPAWN_HPP
namespace cbt
{
struct behavior;
void spawn(behavior&& x);
template<typename T>
void spawn(behavior&& x, T&& y);
} // namespace cbt
#include "cbt/nodes/spawn_t.hpp"
#endif // CBT_NODES_SPAWN_HPP
| [
"taiyu.len@gmail.com"
] | taiyu.len@gmail.com |
f1aef32dacae939165cc078891ebb124731c63b4 | f05b4977db769c13daf40521dc33a382eabdbe6d | /UC DAVIS CS CLASSES/201601ECS40FILES/p7/ssdavis/SeansSrc/decipher.cpp | f1007b025e9807091feb3fed883876595ad88eca | [] | no_license | adamsx97/Practice-and-Work | 010a40db86c3fad4c22c18559416408dd1315e9a | 73e57fe22af3567c94d72625f689427cb40afac8 | refs/heads/master | 2021-01-18T16:43:48.676472 | 2017-01-16T23:17:08 | 2017-01-16T23:17:08 | 53,091,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,750 | cpp | // Author: Sean Davis
// Created on February 23, 2016, 10:07 AM
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <cctype>
#include <algorithm>
#include <sstream>
using namespace std;
class Likelihood
{
public:
int shift;
int likelihood;
bool operator < (const Likelihood &rhs... | [
"adamsxiao6197@gmail.com"
] | adamsxiao6197@gmail.com |
6c9cd7789e8c284c19ae788702e2c609e4266169 | a859e84656f1f512abafe28b6bb8f37e362a1c90 | /北京大学数学学院算法与数据结构B/第一次上机作业答案摘录-许智敏/1.随机数的生成.cpp | 2583ea66999987711d07cfbf260de64946dbe7e0 | [] | no_license | JamesXu20150314/Algorithm | 874f5636254f91cb29bc755bb7ead6339ecf1d76 | c78f51288dcfaa1335ce2374ceb6b37a0f83e51d | refs/heads/master | 2021-01-12T09:29:07.198688 | 2017-11-12T05:28:29 | 2017-11-12T05:28:29 | 76,155,931 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,080 | cpp | /******************************************
Author: Zhimin Xu
Time: 2017-10-19
Description: Record Example
*******************************************/
/******************************************
1:随机数的生成
总时间限制: 1000ms 内存限制: 65535kB
描述
对于给定的n,a,b,生成长为n的随机数列表并输出,随机数的范围为 [a, b)。
在生成生成随机数前,必须调用 srand 对种子进... | [
"xuzhimin@pku.edu.cn"
] | xuzhimin@pku.edu.cn |
610c0c0d283a59bfabfb8ef9b6a55e16e4cd05e8 | 1885b21a3840acb660f1ede855de0339f1d1a6a8 | /string/format.hpp | 0a696151e35b2bc001b10572b13d1452d3f12721 | [] | no_license | yoantie/baselib | 37fcf237c32aa4a60cd0ccedd1bf7c51cf0ee38e | 88dea3ede453805575058ceba665fb15700f4c95 | refs/heads/master | 2021-01-01T15:16:38.944916 | 2014-08-07T07:06:10 | 2014-08-07T07:06:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | hpp | //for this convertion, boost::lexcical_cast may not handle well
std::string dec2hex(int i, int width)
{
std::stringstream ioss;
std::string s_temp;
ioss << std::hex << i;
ioss >> s_temp;
std::string s(width - s_temp.size(), '0');
std::string result;
result = "0x" + s + s_temp;
return result;
}
int hex2dec(con... | [
"zyz_313@163.com"
] | zyz_313@163.com |
955bd400959f6538da1c84de9e07bf19bdf44673 | 4b35e32f5e42a4905d7810924ef8817806cf7dbd | /src/Gui/mainwindow.cpp | f990cd12372d5b72fc45d6c60dbde8538d893a9c | [] | no_license | YJGit/Music-search-and-recommendation-system | d4f3c1bfdea0137c1150ab6d809fb8c1bc6fcecc | fd9074352467cb26beb91cdcb6bb4b41ae7bee86 | refs/heads/master | 2021-01-02T22:36:14.171783 | 2017-09-11T08:58:22 | 2017-09-11T08:58:22 | 99,352,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,367 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include<iostream>
#include<fstream>
#include<string>
#include"init.h"
#include"findWord.h"
#include"MusicInfo.h"
#include"Const.h"
#include<QDebug>
#include<QTextCodec>
#include<QMessageBox>
#include<QPoint>
#include<QToolTip>
#include<QPainter>
using namespace std;... | [
"18569095589@163.com"
] | 18569095589@163.com |
261da7cb935fa951d84c1c72d5b6ee724e89786f | 7dcbcdcc7cf458bee0813f7230a59048caee4c5a | /Tests/Codeforces/590/B2.cpp | 8efa6d5194fe74812428f7f03b99d771ef04c8b8 | [] | no_license | laragarg/DS_Algo | b87eec556cda46c14987c90a98b6c5a4475cd6c9 | 29e69953d7203e0db98e6064748adbf33975bfb4 | refs/heads/master | 2020-09-27T15:57:37.661020 | 2020-06-29T13:24:52 | 2020-06-29T13:24:52 | 226,550,878 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,627 | cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
ios_base::sync_with_stdio(false);
cin.tie(NUint);
int n, k;
cin>>n>>k;
vector<int> A(n);
unordered_set<int>ma1;
unordered_set<int>ma2;
deque<int> q;
for(int i=0; i<n; i++){
cin>>A[i];
ma1.insert(A[i]);
if(ma2.find(A[i]... | [
"lgarg@ec.iitr.ac.in"
] | lgarg@ec.iitr.ac.in |
0d4c551fabcbab11f3520cb62bad47e634dd6e33 | 5c79958d97d03452adb4ef076c0a315883dc8bcd | /oneflow/user/ops/empty_op.cpp | f6ebb35aaecb298b10dda89fbc0ad06088e09c5e | [
"Apache-2.0"
] | permissive | CHzhangi/oneflow | a9fcf0eeeb6a6873ae7234ad811c9dfb9f8ffec6 | 4ea3935458cc83dcea0abd88dd613f09c57dc01a | refs/heads/master | 2023-07-09T21:59:07.442976 | 2021-07-27T09:27:19 | 2021-07-27T09:27:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,577 | cpp | /*
Copyright 2020 The OneFlow 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 agre... | [
"noreply@github.com"
] | CHzhangi.noreply@github.com |
68ef3cd34bede79ffd25287f54a6426aa6bc1035 | 636394fc4967123179dd2dc935f437e735c6d38a | /export/windows/obj/include/flixel/system/debug/console/Console.h | 1d45cba5b53a0eb6032317297a4914606e96f87f | [
"MIT"
] | permissive | arturspon/zombie-killer | 865e6ef3bdb47408f9bfea9016f61bf19b2559c7 | 07848c5006916e9079537a3d703ffe3740afaa5a | refs/heads/master | 2021-07-18T16:44:26.556092 | 2019-05-04T13:56:08 | 2019-05-04T13:56:08 | 181,805,463 | 0 | 1 | MIT | 2021-07-16T23:18:46 | 2019-04-17T02:50:10 | C++ | UTF-8 | C++ | false | true | 4,411 | h | // Generated by Haxe 4.0.0-rc.2+77068e10c
#ifndef INCLUDED_flixel_system_debug_console_Console
#define INCLUDED_flixel_system_debug_console_Console
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_flixel_system_debug_Window
#include <flixel/system/debug/Window.h>
#endif
HX_DECLARE_CLASS1(flixel,FlxBasic)
HX... | [
"artursponchi@gmail.com"
] | artursponchi@gmail.com |
cf6695a00192e7bb9f38eb90604317c6ef180ccb | c7d84c821083614da92dbb59f7355e795e9ecf0b | /PerfectActivator/HuntersPot.h | 5aad2ae39c8571a92113d6cf996bfae360f13764 | [] | no_license | LoLDaveChappelle/PerfectActivator | 0c67ddc40757704e3bd15e70089dbb9b30888e0e | 9d606b563d34533e9c938a68bba180e19a0956ac | refs/heads/master | 2021-01-13T11:59:48.529725 | 2017-02-09T20:21:24 | 2017-02-09T20:21:24 | 81,163,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | h | #include "PluginSDK.h"
#include "BuildMenu.h"
class HuntersPot
{
public:
IMenu* HealthPotionMenu;
IMenuOption* UseHealthPot;
IMenuOption* HunterHealthPercent;
int HealthPotionID = 2033;
IInventoryItem* pItem = GPluginSDK->CreateItemForId(2032, 100);
void Menu()
{
HealthPotionMenu = ItemM... | [
"noreply@github.com"
] | LoLDaveChappelle.noreply@github.com |
fb7df6a1271a4df735c329b27fd5251118dceb82 | dccf5f6339baba548a83a7d390b63e285c9f0581 | /chromeos/cryptohome/cryptohome_util.cc | 95402109eb16407c0d25c74ab74f212fecdbb669 | [
"BSD-3-Clause"
] | permissive | Trailblazer01010111/chromium | 83843c9e45abb74a1a23df7302c1b274e460aee2 | 3fd9a73f1e93ce041a4580c20e30903ab090e95c | refs/heads/master | 2022-12-06T22:58:46.158304 | 2018-05-12T09:55:21 | 2018-05-12T09:55:21 | 133,138,333 | 1 | 0 | null | 2018-05-12T11:07:57 | 2018-05-12T11:07:56 | null | UTF-8 | C++ | false | false | 13,522 | cc | // Copyright 2017 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 "chromeos/cryptohome/cryptohome_util.h"
#include <string>
#include "base/logging.h"
#include "chromeos/cryptohome/cryptohome_parameters.h"
#inc... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ccc0731fe282d6221e82df338789ca25417985ee | 9ff69f2638fe679b9fbb3ac682d356b59c50b068 | /code archive/CF/1063B.cpp | de97f2642ebc3ed128a6155474053c1f5065887a | [
"MIT"
] | permissive | brianbbsu/program | 7f7c3d4aacea32ada7f74cf5caffa9931be280c4 | c4505f2b8c0b91010e157db914a63c49638516bc | refs/heads/master | 2021-05-23T04:53:49.618057 | 2020-04-18T15:21:10 | 2020-04-18T15:21:10 | 81,056,684 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,702 | cpp | //{
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double lf;
typedef pair<ll,ll> ii;
#define REP(i,n) for(ll i=0;i<n;i++)
#define REP1(i,n) for(ll i=1;i<=n;i++)
#define FILL(i,n) memset(i,n,sizeof i)
#define X first
#define Y second
#define SZ(_a) (int)_a.size()
#define ALL(_a) _a.begin(),_... | [
"brianbb.su@gmail.com"
] | brianbb.su@gmail.com |
be32c62e9d2917eebf89939f072f82e949c47349 | 32ada5e36b078504926dd55d7138f93adb7776b1 | /Library/TrainingFolder2020/gpwroclaw/tl.cpp | d3171818a9257cdc9651e0915240d66c8405120b | [] | no_license | SourangshuGhosh/olympiad | 007a009adaeb9ecff3e2f5eb5e0b79f71dbca0b4 | d8574f07ef733350a55d0b4a705b4418d43437b6 | refs/heads/master | 2022-11-25T14:32:43.741953 | 2020-07-28T16:56:23 | 2020-07-28T16:56:23 | 283,265,127 | 4 | 0 | null | 2020-07-28T16:15:43 | 2020-07-28T16:15:42 | null | UTF-8 | C++ | false | false | 668 | cpp | #include<stdio.h>
#include<algorithm>
#include<vector>
#define M 2000100
typedef long long ll;
ll n,x,y,z,i,a,b,j,f=2,v,res,dyn[M],zero=M/2;
std::vector<int> lis[M];
ll solve(int idx) {
int i, sz=lis[idx].size();
dyn[0] = dyn[1] = 0;
for (i=2;i<=sz;i++) dyn[i] = std::min(z*(lis[idx][i-1]-lis[idx][i-2])-x-y+dyn[i-2],... | [
"koosaga@MacBook-Pro.local"
] | koosaga@MacBook-Pro.local |
0300477324be4420861cd5c6462a6af51c6811fb | 0aab048feb1da0ada37ccecab1b0d02b08a52d35 | /test/Core/Streams/Bitset.h | 575f5167420228bd6c5f9694ed6cdaf40ae3a106 | [] | no_license | luckyycode/nanocat-2014 | 94774892336d5d88f7ec35447bbe11e4d2f481f0 | 1fb7e3d6b34506766a101763e739317dee72d0e9 | refs/heads/master | 2020-03-31T05:22:30.388621 | 2018-10-07T13:41:40 | 2018-10-07T13:41:40 | 151,943,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,177 | h | //
// * *
// __ *
// ,db' * *
// ,d8/ * * *
// 888
// `db\ * *
// `o`_ **
// * * * _ *
// * / )
// ... | [
"nekocode@icloud.com"
] | nekocode@icloud.com |
bc813c447f45039a7aeb4b15c151c9f4b5f8cf95 | 63a345a814273a8c3fb40a45efd0c7255b96091c | /product-of-array-except-self-6.cpp | 4cbb0e05d38ce8a5745b646254f33e22f8ae9be1 | [] | no_license | mamunhpath/leet-code | ed3f4aebcca850c2c7defbc6972acbedde57e7d3 | 7e2fc8f03dd5a637cf374e092f4626f10af15250 | refs/heads/master | 2022-02-01T22:07:52.115410 | 2019-03-17T21:48:54 | 2019-03-17T21:48:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | cpp | // https://leetcode.com/problems/product-of-array-except-self/description/
class Solution {
public:
vector<int> productExceptSelf(vector<int>& nums) {
int n = nums.size(), prod = 1;
vector<int> res(n, 1);
res[0] = nums[0];
for(int i = 1; i < n; i++)
res... | [
"noreply@github.com"
] | mamunhpath.noreply@github.com |
f3b55bfad461d8f46726ae22c5191026337b885e | 8c9940503495a5db7f9536e1132ebac8347a209d | /libhdbmysql/tags/release_05/src/LibHdbMySQL.h | 66526560da02c2f9136690600796cf5206a4f945 | [] | no_license | bourtemb/hdbpp-test | 38ed2694af4c55fe27fc2b822a46affedcd0f627 | cd74223a7a3f38e98457db7dd340837966a686d3 | refs/heads/master | 2021-01-11T08:40:53.915159 | 2016-12-13T14:20:23 | 2016-12-13T14:20:23 | 76,670,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,773 | h | //=============================================================================
//
// file : LibHdbMySQL.h
//
// description : Include for the LibHdbMySQL library.
//
// Author: Graziano Scalamera
//
// $Revision: 1.5 $
//
// $Log: LibHdbMySQL.h,v $
// Revision 1.5 2014-03-07 13:13:00 graziano
// removed _HDBE... | [
"scalamera@4e9c00fd-8f2e-0410-aa12-93ce3db5e235"
] | scalamera@4e9c00fd-8f2e-0410-aa12-93ce3db5e235 |
6e8355f11db5fa5453207e87a46f7c442ab049b2 | bd2139703c556050403c10857bde66f688cd9ee6 | /valhalla/104/webrev.01/src/hotspot/share/prims/jvmtiEnvBase.cpp | 96f88c96f962b48492a655db2f13743ae6031ea7 | [] | no_license | isabella232/cr-archive | d03427e6fbc708403dd5882d36371e1b660ec1ac | 8a3c9ddcfacb32d1a65d7ca084921478362ec2d1 | refs/heads/master | 2023-02-01T17:33:44.383410 | 2020-12-17T13:47:48 | 2020-12-17T13:47:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52,529 | cpp | /*
* Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | [
"robin.westberg@oracle.com"
] | robin.westberg@oracle.com |
1a7e9a28969171ab36640310af6d941e67422b95 | 2ff377102f061f642f0eaf704bc1a79558bca628 | /c-cpp/misc/boost/result_of.cpp | 1f8f6d73a60bc954534f140637b411af47399317 | [] | no_license | skyshaw/snippets | 72000f74074bd4f0bd796c77d3bddc25b97d7807 | 4319301e3face5354d3ceaf0560602e80c881c5d | refs/heads/master | 2020-05-17T17:37:06.111209 | 2013-08-04T05:17:17 | 2013-08-04T05:17:17 | 2,719,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | #include <iostream>
#include <cmath>
#include <typeinfo>
#include <boost/utility/result_of.hpp>
using namespace std;
using namespace boost;
template <typename T, typename T1>
typename result_of<T(T1)>::type call_func(T t, T1 t1) {
return t(t1);
}
int main() {
typedef double (*Func)(double d);
Func func = sqrt;... | [
"pxtian2008@gmail.com"
] | pxtian2008@gmail.com |
3e718465975b6020ea70f41b731d886ea5b28507 | 7e127d2af63b2c3c44e4d8f2d284bdecc5aa9086 | /Final Project/ms3/LineManager.h | 8f15478bce06f06fb9349c5df9c22ee6f1da1bb9 | [] | no_license | Damirbey/OOP345_WORKSHOPS | 70c8ba854d4debfe53c526957e76f7306aa92ca6 | 65ca1a8e464028f6230d13fcd9fae8379b3f366b | refs/heads/master | 2020-04-17T06:54:50.506184 | 2019-04-10T00:51:43 | 2019-04-10T00:51:43 | 166,344,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | h | /*****************************************
Name: Damirkhon Yodgorov
Student Id: 108364175
Seneca email: dyodgorov@myseneca.ca
Completion Date: 3.12.2018
*****************************************/
// I confirm that I am the only author of this file
// and the content was created entirely by me.
#ifndef _LI... | [
"noreply@github.com"
] | Damirbey.noreply@github.com |
7bcab1c69729457be0a22beea3e9ed4c5af38bd9 | fa6b5a15bd5d7ed857c1705e26f58f7f6452c1cd | /BST/9.Binary_tree_to_bst.cpp | 5178a6e62da5f34cd5b01d0c46158be347d566b8 | [] | no_license | retro-2106/DSA_450_questions | d4cadc840f168a388db5258581712372be3e8629 | 7b23eba2661d6596870848ca3e3d1582236ca46f | refs/heads/main | 2023-06-14T13:08:35.856589 | 2021-07-04T11:28:21 | 2021-07-04T11:28:21 | 308,229,380 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp | void inorder(Node root,vectorint & arr)
{
if(root == NULL)
return;
inorder(root-left,arr);
arr.push_back(root-data);
inorder(root-right,arr);
}
void update(Node root,vectorint &arr,int i)
{
if(root == NULL)
return;
update(root-left,arr,i);
root-data = arr[i];
i +=... | [
"ashishcool2106@gmail.com"
] | ashishcool2106@gmail.com |
9d2e9df2ff3d0716b05a91fb0883555f8b0d23a0 | d387c3750d6ee7481df3b30a621a1f1f67a097f2 | /codeforces/1421/B.cpp | 1a9541b7ad1316f31ebd1ed012137d51389bcafa | [] | no_license | sahilkhan03/CF-Solutions | 54b7c4858d0c810ea47768f975f4503bd83fff8b | 67e9e9581d547229b44bee271b4844423fff3a29 | refs/heads/master | 2023-04-22T01:37:43.022110 | 2021-04-19T13:34:00 | 2021-05-10T05:00:23 | 333,403,802 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,900 | cpp | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define fast ios_base::sync_with_stdio(false); cin.tie(nullptr);
#define all(x) x.begin(), x.end()
#define F first
#define S second
#define pb push_back
#define pl pair<ll, ll>
#define vl vector<ll>
#define vi vector<int>
... | [
"sahilkhan0307.sk@gmail.com"
] | sahilkhan0307.sk@gmail.com |
09c2a84aa79d7c82dcd1e0f78abe7d2666510e89 | af74afb022159f1979e9a327f9853b48acdaab3e | /glbcodebase/graphicslab/glb_td/glb_td.cpp | 4a1432c8aa1c23c4ccb464976528a2910d7f706a | [] | no_license | tfart/GraphicsLabtory | f85ff5a8e4f1c0c77b4aead5b64dc89f58e62091 | 25ffb40c157601c818907aee8af8975ed8972739 | refs/heads/master | 2020-03-26T11:25:31.597775 | 2018-08-14T15:06:32 | 2018-08-14T15:06:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,249 | cpp | //----------------------------------------------------------------------
// Declaration: Copyright (c), by i_dovelemon, 2017. All right reserved.
// Author: i_dovelemon[1322600812@qq.com]
// Date: 2017 / 05 / 23
// Brief: A tower defense game for my girl
//---------------------------------------------------------------... | [
"1322600812@qq.com"
] | 1322600812@qq.com |
e018b27e52d0f33b6d2ee22ffb052e83f08529aa | d6258ae3c0fd9f36efdd859a2c93ab489da2aa9b | /fulldocset/add/codesnippet/CPP/p-system.windows.forms.d_270_1.cpp | f146cf4f4f42a43610a2cf5c9d76fdd88c30f4c6 | [
"CC-BY-4.0",
"MIT"
] | permissive | OpenLocalizationTestOrg/ECMA2YamlTestRepo2 | ca4d3821767bba558336b2ef2d2a40aa100d67f6 | 9a577bbd8ead778fd4723fbdbce691e69b3b14d4 | refs/heads/master | 2020-05-26T22:12:47.034527 | 2017-03-07T07:07:15 | 2017-03-07T07:07:15 | 82,508,764 | 1 | 0 | null | 2017-02-28T02:14:26 | 2017-02-20T02:36:59 | Visual Basic | UTF-8 | C++ | false | false | 255 | cpp | private:
void ChangeFontHeight( DataGrid^ myGrid )
{
myGrid->Font = gcnew System::Drawing::Font(
"Microsoft Sans Serif",
15, System::Drawing::FontStyle::Regular );
myGrid->PreferredRowHeight = myGrid->Font->Height;
} | [
"tianzh@microsoft.com"
] | tianzh@microsoft.com |
32c308917943e6dc44eecffd347094ef027ea78a | 0faafb83f078873b238ccc88d3ffedef12bb8a4c | /20.11.18_Zoo/Kangaroo.cpp | ec500414d1d9cc9286d99df7a6ac9836fe0f72aa | [] | no_license | SadykovaZ/20.11.18_Zoo | f4989e92030ef88c12f1adcf54f9956189ad1d94 | 9383bfea365057509e5b4e05a2d5866f5e825a48 | refs/heads/master | 2020-04-07T11:36:29.257970 | 2018-11-20T05:00:37 | 2018-11-20T05:00:37 | 158,333,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include "Kangaroo.h"
Kangaroo::Kangaroo(string name, string color, int age, int bagSize)
:Animal(name, color, age)
{
this->bagSize = bagSize;
}
void Kangaroo::setBagSize(int bagSize)
{
this->bagSize = bagSize;
}
string Kangaroo::getInfo() const
{
string info = Animal::getInfo();
info+= ("\nbag size: " + to_string... | [
"СадыковаЖ@206_5"
] | СадыковаЖ@206_5 |
01fbd7f24589346df4a87f6515326773d31fce86 | 9f5dd76fe21a66f90700f83840f2491dd34b17f9 | /tensorflow/lite/experimental/micro/examples/hello_world/sine_model_data.cc | d3cd3a269fe72a96f50aadddc75188b42aedb988 | [
"Apache-2.0"
] | permissive | thuanvh/tensorflow | b328964da68744bbd77799b13729835dcf4dbf79 | a599e0e2fc5a0e7964ad25c2f5c7e6ed5b679dc6 | refs/heads/master | 2021-07-20T13:55:40.451003 | 2019-12-03T06:34:09 | 2019-12-03T06:34:09 | 119,012,773 | 3 | 1 | Apache-2.0 | 2019-12-03T06:42:38 | 2018-01-26T06:05:36 | C++ | UTF-8 | C++ | false | false | 16,808 | 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... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
b5b45f9efaf691ef1dfb58dbd31684adde5f63cf | 6c77cf237697f252d48b287ae60ccf61b3220044 | /aws-cpp-sdk-elasticache/source/model/CacheSecurityGroupMembership.cpp | 550fc00bb3561d85a30802b6738003167a8b9187 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | Gohan/aws-sdk-cpp | 9a9672de05a96b89d82180a217ccb280537b9e8e | 51aa785289d9a76ac27f026d169ddf71ec2d0686 | refs/heads/master | 2020-03-26T18:48:43.043121 | 2018-11-09T08:44:41 | 2018-11-09T08:44:41 | 145,232,234 | 1 | 0 | Apache-2.0 | 2018-08-30T13:42:27 | 2018-08-18T15:42:39 | C++ | UTF-8 | C++ | false | false | 2,905 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
dd70aca9b30a0660eadc0f13bd7044957518eb32 | 7edf0086318c921eb4d324eba7bdf700d4584be1 | /chap5/no_asc_desc.cpp | 10109370095341ab7c93d226e2bcce606eba12d8 | [] | no_license | nschantz21/Accelerated_C- | 7031dd56b490a0f046120e2198af607889f5ce3e | 381801cf3b97180ff9253cec22be4d8d71d07409 | refs/heads/master | 2021-01-19T15:28:14.656526 | 2017-09-29T13:11:20 | 2017-09-29T13:11:20 | 88,216,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,577 | cpp | // program to find palindromes in dictionary
#include <vector>
#include <fstream>
#include <string>
#include <cctype>
#include <iostream>
#include <ios>
#include <list>
#include <ctime>
#include <algorithm>
#include "split.h"
using std::vector;
using std::string;
using std::ifstream;
using std::cout;
using std::list... | [
"nschantz21@gmail.com"
] | nschantz21@gmail.com |
197759cdfb844ae029c3930fd0ec738c399a7be3 | 09dc610dd4530062725a65a996d304f229747e37 | /engine/input/component/button.hpp | 919e17e1dd76fd7482d72661ff40e945cadb3a4b | [
"MIT"
] | permissive | linussjo/linussjo_engine | 48b525affcfb5265376f140d2167dcba1a27783b | 6a5db383633ffb99a2e83666e74fe7159d7b0c53 | refs/heads/master | 2020-08-23T08:16:49.974759 | 2020-07-06T16:33:24 | 2020-07-06T16:33:24 | 216,577,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | hpp | //
// button.hpp
// linussjo_engine
//
// Created by Linus Sjöström on 2019-09-22.
// Copyright © 2019 Linus Sjöström. All rights reserved.
//
#ifndef button_hpp
#define button_hpp
#include <stdio.h>
#include <memory>
#include <vector>
#include "vector2d.hpp"
#include "color.hpp"
#include "text.hpp"
#include "re... | [
"lisj@netlight.se"
] | lisj@netlight.se |
db44993da82006692780a302e6ba3260a953d8e5 | fb15b85e5bbc4896705fa87a41fdaef6130e7108 | /Programming -Topics/C&C++/STL_C++/Algorithem/Next_Previous permutation.cpp | a0815317b393f4cfa103deffc199a2e68303802a | [] | no_license | PaponAhasan/Competitive-Programming | 19baff3233356370d1baf74e6fd1a1ac5410213e | 99697523aaf1c8955995c59173462ecc8c61c893 | refs/heads/main | 2023-06-25T18:01:27.357352 | 2023-06-12T20:46:08 | 2023-06-12T20:46:08 | 349,866,510 | 7 | 1 | null | 2022-03-03T14:45:56 | 2021-03-21T00:38:00 | C++ | UTF-8 | C++ | false | false | 599 | cpp | #include <algorithm>
#include <iostream>
using namespace std;
int main()
{
int arr[] = { 1, 2, 3 };
sort(arr, arr + 3);
while(next_permutation(arr, arr + 3)){
cout << arr[0] << " " << arr[1] << " " << arr[2] << "\n";
}
1 3 2
2 1 3
2 3 1
3 1 2
3 2 1
reverse(arr, arr +... | [
"ahasan.papon@gmail.com"
] | ahasan.papon@gmail.com |
d5a8571a70ba8a947a1f3c089d5c667274438399 | 48591e6fe907d1d1c15ea671db3ab32b6d60f5a6 | /dizuo/Tutorial3_src/src/GameState.h | 0ba30f0ad6b4f1cedc3572085fb043bc667ac1d5 | [] | no_license | dizuo/dizuo | 17a2da81c0ad39d77e904012cb9fbb8f6681df1b | 6083ca9969d9d45b72859d9795544ccdf2d13b1c | refs/heads/master | 2021-10-24T21:16:19.910030 | 2021-10-23T07:17:30 | 2021-10-23T07:17:30 | 1,253,554 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 939 | h | #ifndef _GAMESTATE_H_
#define _GAMESTATE_H_
#include <Windows.h>
class CStateManager;
// Base class for the different states
// of the game.
class CGameState
{
public:
// Constructor
CGameState(CStateManager* pManager);
// Destructor
virtual ~CGameState();
// The different 'events' functions. ... | [
"ren.yafee@gmail.com@107d8d70-eac7-11de-9d05-050bbbc75a16"
] | ren.yafee@gmail.com@107d8d70-eac7-11de-9d05-050bbbc75a16 |
7c77f20bdf9bda6fef2623cbc4e138b9c6f40c62 | 70863d35979f0990e69ff537187a67f73772b38a | /main.cpp | 31584529971be212aae6a001040c1ca951a31110 | [
"MIT"
] | permissive | AV1080p/udp2raw-tunnel | 0d57a2186ed7dd02e013958b8284831b9c2b8c0a | 3ee73b048e93252ee55ac3dbd8f9296980305de3 | refs/heads/master | 2021-06-22T19:03:31.507485 | 2017-08-14T11:03:57 | 2017-08-14T11:03:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76,178 | cpp | #include "common.h"
#include "network.h"
#include "log.h"
#include "lib/md5.h"
char local_address[100]="0.0.0.0", remote_address[100]="255.255.255.255",source_address[100]="0.0.0.0";
u32_t local_address_uint32,remote_address_uint32,source_address_uint32;
int source_port=0,local_port = -1, remote_port = -1;
id_t const... | [
"wangyu.cn@gmail.com"
] | wangyu.cn@gmail.com |
5156f6862b4fef811b177a0a4fa6d52442e4ddf5 | 8aa47dd44e58164a90597bebcd99e9ded6430e5e | /ServerSide/Real.h | df14b78099d9ea480de02edb301f77f5215afea3 | [] | no_license | froyvalencia/Machine_Instruction_Simulator_VM | 338d5c227f2c0608dca3d067127c329119297f6b | dfc9652d6ea049f8b2eedae12a54f85278f8c750 | refs/heads/master | 2021-05-01T18:46:11.387135 | 2016-12-12T23:22:54 | 2016-12-12T23:22:54 | 71,618,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | h | /*
@author Froylan Valencia, Brian Nguyen
Real Header class
Expected instrucion line input:
VAR<name>,<type>,<optional:sizeincaseofstringonly>,<defaultvalue>
VAR$myfloat,REAL,12.1
Real class inherits from Number which will recieve a double as the value parameter after having recognized the type in a VAR
*/
... | [
"froyvalencia@gmail.com"
] | froyvalencia@gmail.com |
b1f0529194d1f077a6eb42979aea34833c89a983 | 1005f450818900b923e345b73d77628f20d1875e | /thirdparty/msgpack-c/include/msgpack/gcc_atomic.hpp | 186cf199629e28518395c074bf8acc6fd98e80e0 | [
"MIT"
] | permissive | qicosmos/rest_rpc | c7ad37547a9dcb616832b32bc110a237977b8c74 | 93088a7e0f0ddb3786de40ed7b6311852644edbf | refs/heads/master | 2023-08-23T06:56:42.464323 | 2023-07-04T02:57:13 | 2023-07-04T02:57:13 | 162,215,656 | 1,504 | 354 | MIT | 2023-07-05T03:37:24 | 2018-12-18T02:01:52 | C++ | UTF-8 | C++ | false | false | 790 | hpp | //
// MessagePack for C++ old gcc workaround for atomic operation
//
// Copyright (C) 2008-2013 FURUHASHI Sadayuki and KONDO Takatoshi
//
// 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)
//
#ifndef MSGPA... | [
"qicosmos@163.com"
] | qicosmos@163.com |
037373dfb3ec18695ba820e02592858be69136fd | 64ecbedbf4b34d8e4d527fdb79af2dde0a1d450f | /OldDrive/C\Users\Alex\Documents\Algoritm\InfoArena\A+B\A+b.cpp | b82c07376f9e03918df44736546b0f80b0a2849a | [] | no_license | palcu/algo | af48db75a745191be9c540c10169f9e80247071b | 0ac904f5f6c36b8d0775775ebed78f1ff550aea6 | refs/heads/master | 2021-01-18T01:40:58.017979 | 2020-12-25T12:14:40 | 2020-12-25T12:14:40 | 2,050,312 | 7 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 211 | cpp | #include <fstream>
using namespace std;
int main(){
int a,b;
ofstream fout("adunare.out");
ifstream fin("adunare.in");
fin>>a>>b;
fout<<(a+b);
fin.close();
fout.close();
}
| [
"alex.palcuie@gmail.com"
] | alex.palcuie@gmail.com |
c839ada5b06b51c05d5fe978e42686253b1ae717 | 734004f3242d0d036a6aa34d680a0d0ba39c1403 | /02b_nQueens_bt/02b_nQueens_bt.cpp | c1abb1db94b4f3c1b836c521028ae35b49269fc8 | [] | no_license | MarcoSurianiUfop/PCC104_Lista06 | b3090ac5be8c94f7f5d4ea6b0edbaa83793e62ac | c9c435e7a0e019ad19b2160814ba791c639d35f4 | refs/heads/master | 2023-06-07T17:42:30.077468 | 2021-07-01T14:33:56 | 2021-07-01T14:33:56 | 382,061,857 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,041 | cpp | /******************************************************************************
PCC104 - PROJETO E ANÁLISE DE ALGORITMOS
LISTA 06 - ATIVIDADES PRÁTICAS - EXERCÍCIO 02B
NQUEENS - BACKTRACKING
Aluno: MARCO AURÉLIO MOURA SURIANI - 2021.10177
***********... | [
"marco.suriani@aluno.ufop.edu.br"
] | marco.suriani@aluno.ufop.edu.br |
7e55d573cac3081d0eec46306461530851b15893 | c5c2633980fa4629bda09b26f12e2321c6837d12 | /Algorithms/Data Structures/Segment Tree/Testing/SegmentTreeTester.cpp | 6ed2a0fb49249f9f0bed51768d546c214dd1dc7d | [] | no_license | DimaPhil/ITMO | bb5dbcc12730cb932ffc6c94bed7e69b71c583e1 | 356a781ae599129f318a469786d34fa088e9dd45 | refs/heads/master | 2021-03-24T14:05:13.915854 | 2017-02-26T12:02:47 | 2017-02-26T12:02:47 | 20,375,933 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,683 | cpp | #include <cstdio>
#include <ctime>
#include <algorithm>
#include <vector>
#include <cassert>
#include "../SegmentTree.h"
using namespace std;
long long rdtsc() {
long long tmp;
asm("rdtsc" : "=A"(tmp));
return tmp;
}
const int maxIterations = 100;
const int maxn = 100000;
const int maxQueries = 100000;
c... | [
"dima239.philippov@gmail.com"
] | dima239.philippov@gmail.com |
614d01510164157f4bd0efa80bd2b1620dfc587c | a1d622057b071a9e4d33c1c0d2f1b3549b7bb4db | /include/cuda/ImageBase.h | 5cd8b96be13f5a8dcefbcffdbacb122a0288c3d7 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ChristophJud/SKMImageRegistration | 9451b4d669db96893e6bf93f8dddd7becde8ddba | 3adfc8b8f93caa87c0f8ebf042b27913e735ad59 | refs/heads/master | 2020-05-21T17:49:00.426744 | 2016-10-12T13:11:33 | 2016-10-12T13:11:33 | 64,733,917 | 9 | 4 | null | 2016-09-01T11:02:01 | 2016-08-02T07:17:31 | null | UTF-8 | C++ | false | false | 2,594 | h | /*
* Copyright 2016 University of Basel, Medical Image Analysis Center
*
* Author: Benedikt Bitterli (benedikt.bitterli@unibas.ch)
*
* 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
*
*... | [
"christoph.jud@unibas.ch"
] | christoph.jud@unibas.ch |
4fa94905574e7dbcc97426c68c7cab83c262617f | efacaf86a7f1ea661652b9c9383f25d9ca517991 | /Code/Math/Matrix.cpp | a1d5f2af908f92dd235f219162ebcf255d43a046 | [] | no_license | awadhera/Pathfinder | 7ca3b7c6a3a56f043ea19059b9e8e6f3945bdcb8 | 90ea3b3d637c2128d3e7d194009961a2bfe9ce5a | refs/heads/master | 2021-06-03T10:04:45.241053 | 2017-09-13T08:33:30 | 2017-09-13T08:33:30 | 22,001,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,230 | cpp | /******************************************************************************/
/*!
\file Matrix.cpp
\author Anshuman Wadhera
\par email: a.anshumanwadhera\@digipen.edu
\par a.anshumanwadhera 900995
\par Course: CS1150
\par Project #01
\date 21/02/2012
\brief
Implementation of Matrix related operations
Copyright (C) 2... | [
"awadhera@gmail.com"
] | awadhera@gmail.com |
84e151345537b79eef180284ef64fd7f236f18e1 | 5297ef3d8ab4fcc3eef34bf8414cf150f742fdbc | /src/state/EndState.h | ef37543cb5ada3dc30bfa5f3a47fc64cca1863e0 | [
"MIT"
] | permissive | fishkingsin/FaceOffPhotobooth | a89a0508db5644b2f954728c872e22cdcdacedca | 6899dde4751eb1f89785cc075a6fa3aebeed5dd8 | refs/heads/master | 2021-03-12T20:04:41.744481 | 2012-11-14T09:41:58 | 2012-11-14T09:41:58 | 5,669,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,400 | h | /*
* EndState.h
*
* Copyright (c) 2012, James Kong, http://www.fishkingsin.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retai... | [
"fishkingsin@gmail.com"
] | fishkingsin@gmail.com |
7b6632ec521e2c4dcf3c0e3ce153b2d49163c6ba | e0b3782827a643c63dd15761b790e7dff8c80890 | /http/codeforces.com/contest/841.cpp | cf2905516d91827f5defdcd089589492a2c1e93b | [] | no_license | raihan02/My-Contest-Link-with-code | c8425361a011b8478dc412f0ecf5aa48fba2040f | 615423ce1085ca5c48395e9ed516914a594a1a24 | refs/heads/master | 2020-04-19T06:13:39.331472 | 2017-09-24T06:26:45 | 2017-09-24T06:26:45 | 66,770,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int a, b;
while(cin >> a >> b)
{
map <char , int > mp;
char ch;
set <char > st;
for(int i = 0; i < a; i++)
{
cin >> ch;
if(mp.count(ch) == 0)
mp[ch] = 1;
... | [
"noreply@github.com"
] | raihan02.noreply@github.com |
e2a860ec53b51b8919ee56381e808a3032a71198 | 54f5cf4a21f7335d814720219552888f91752e85 | /C++ Programing Language/C++ Programming/Class Object/Rational3_1/rational.cpp | ae24c0a0731c4b81e3bd33c00552b69a8dcad450 | [] | no_license | Creator-JayJang/Programmer | 719622fa6c4d250932f208ac44986d87d8f9b093 | 41f61fc6f964ace4f6bb7ceef850c01e0d7afe4f | refs/heads/master | 2022-11-21T05:10:44.548749 | 2020-07-31T07:43:16 | 2020-07-31T07:43:16 | 275,113,055 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,670 | cpp | #include <cstring>
#include <cassert>
#include "rational.h"
#include <iostream>
int Rational::numberOfRational;
std::ostream& operator<<(std::ostream& out, const Rational& rhs)
{
out << "(" << rhs.num_ << "/ " << rhs.den_ << ")";
return out;
}
static int gcd(int a, int b)
{
if (a == 0 || b == 0)
return 1;
if... | [
"jjj90750@naver.com"
] | jjj90750@naver.com |
585d0a57980600fda31c393fc1ef77b32afcfc56 | ca5db9f590ca6d7ce9a6afea2d5bdb3f828b57c1 | /sdk/nebula/code/render/graphics/spotlightentity.cc | 8e689cb51eaaf848146302c3a26df7ef913e20f9 | [] | no_license | lucienslliu/Dproject | 598b7540530a794959606b731fc313f9759c24ce | 49ccc82ecb50e60d47697ea2bbee5bfbdefbf920 | refs/heads/master | 2020-05-20T05:38:11.940888 | 2014-04-02T14:36:27 | 2014-04-02T14:36:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | cc | //------------------------------------------------------------------------------
// spotlightentity.cc
// (C) 2008 Radon Labs GmbH
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "graphics/spotlightentity.h"
#include "graphics/stage.h"
namespace Graphics
... | [
"23089277@qq.com"
] | 23089277@qq.com |
bf713b4f5b20d3417f11a651340a980c75b1e7a0 | 142768d678919a8cdc53d08ec38bc090474b867c | /spt.h | 8c3144987ccc3dbb9630d5d7b1e3b37eb4c9a3ec | [] | no_license | sfinks12/simple-pathtracer | 8da92fadf685ed0b29ecc6d0751fc4bfb1777e30 | 44ce9835205967c2199d3a9becccdfdf76e3c316 | refs/heads/master | 2021-01-19T17:41:48.894828 | 2012-05-27T15:40:02 | 2012-05-27T15:40:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | h | /*
* spt.h
*
* Created on: May 20, 2012
* Author: Alexey Stolyar
*/
#ifndef SPT_H_
#define SPT_H_
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "core.h"
#include "Scene.h"
#include "Material.h"
#include "Shape... | [
"alexey@alexey-laptop.(none)"
] | alexey@alexey-laptop.(none) |
53373e8cc11f3f3668601a921c85cbcd89b7c48f | 3abc6999f090ab1dbac82c58d20484a28b9cf69d | /cpp/fibonacci.cpp | c395a8fff1f2bb08d86306ff972969710fd3f0a4 | [] | no_license | lxing722/code_school | 95093885e34d6b64e9ebb2d892c2dcf8f843414e | 672980fa27859f13881ab6b84d25f50a835efb6e | refs/heads/master | 2021-01-19T22:08:58.848632 | 2017-05-12T15:29:05 | 2017-05-12T15:29:05 | 88,760,046 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 620 | cpp | #include<stdio.h>
void Fibonacci(int n);
int Fibonacci_2(int n);
int main(void)
{
int n;
printf("Please enter the length of the list(n):");
scanf("%d",&n);
puts("非递归形式:");
Fibonacci(n);
puts("递归形式:");
for(int i=0;i<n;i++)
printf("%d\n",Fibonacci_2(i));
return 0;
}
void Fibonacci(int n) //非递归
{
int a,b,m,... | [
"lxing722@sina.com"
] | lxing722@sina.com |
0b2be229689cee38ece812d860a9c3694f975699 | 76fe0a0404ca1d71779fc6c1122b87e0d7a7aa1b | /codeforces/rounds/Lyft Level 5 Challenge 2018 - Elimination Round/a.cpp | d052c042b2b981334cfb88d5a0660361012e86d0 | [] | no_license | vitorguidi/Competitive-Programming | 905dd835671275284418c5885a4a1fae2160f451 | 823a9299dce7b7f662ea741f31b4687f854bb963 | refs/heads/master | 2021-06-25T06:58:53.670233 | 2020-12-19T16:53:15 | 2020-12-19T16:53:15 | 133,260,248 | 3 | 0 | null | 2018-05-13T17:46:43 | 2018-05-13T17:40:24 | null | UTF-8 | C++ | false | false | 1,650 | cpp | #include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define mp make_pair
#define fst first
#define snd second
#define fr(i,n) for(int i=0;i<n;i++)
#define frr(i,n) for(int i=1;i<=n;i++)
#define ms(x,i) memset(x,i,sizeof(x))
#define dbg(x) cout << #x << " = " << x << endl
#define all(x) x.begin(),x.en... | [
"vitorguidi@gmail.com"
] | vitorguidi@gmail.com |
3afb3c8adbd9e854c472bd342104e287083582a9 | 768ba3836fc7e5fc63ef91b7cf8fb9ddb98c3b51 | /7일차/HW24/HW24.cpp | 8474a66567fb4f9ded85df95d3f2ebbcb65d4f00 | [] | no_license | 97tuna/C_with_KingHG | 10f33688ab20afd29980f8040d2e8d38222e69fa | 946896c19e44e605ec81adb67a77e3a36a33a1f8 | refs/heads/master | 2020-12-09T08:09:51.790229 | 2020-11-27T09:26:51 | 2020-11-27T09:26:51 | 233,246,049 | 1 | 1 | null | 2020-01-22T13:47:56 | 2020-01-11T14:40:27 | C++ | UTF-8 | C++ | false | false | 731 | cpp | //
// HW24.cpp
// HW24
//
// Created by 이동헌 on 2020/01/06.
// Copyright © 2020 이동헌. All rights reserved.
//
#include <stdio.h>
int input();
void print(int deep, int cal);
int cal_deep(int deep);
int main() {
int deep = input();
int cal = cal_deep(deep);
print(deep, cal);
}
int input() {
int deep;
printf("* ... | [
"ldh2033@hotmail.com"
] | ldh2033@hotmail.com |
b659a4268aa6b452da68227f75696a7f882aa393 | 5b4399809e0dd8f44f2e247a54866b7c6334c2ab | /src/test/backend.cpp | dd0843daed4fd4d42ee0d0231a8e985b4c36543e | [] | no_license | GRAYCN/backend | d1648e950ad706b9ca9c0780fc4aa28991d58518 | e1d8bb1bcb172a1d1a9f8ef36522304890d0afe7 | refs/heads/master | 2020-06-04T18:50:46.391495 | 2019-06-30T15:53:07 | 2019-06-30T15:53:07 | 189,698,736 | 0 | 0 | null | 2019-06-01T06:27:59 | 2019-06-01T06:27:59 | null | UTF-8 | C++ | false | false | 463 | cpp | //============================================================================
// Name : backend.cpp
// Author : zqzuo
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
//#in... | [
"zqzuo@zqzuo-Vostro-3668"
] | zqzuo@zqzuo-Vostro-3668 |
262405a07990eab340af4f3c0ecdd3440fe61ddf | 4efa4b003c7bb756bcb8380124910c0a1e4368b7 | /palmod/Game/Game_BMKNS_SNES.h | 0c09af9395774f89c7bed7d6734e68a0f365d1a5 | [] | no_license | eziochiu/PalMod | 41ad6bea84302e015852d133ee518a152ec47021 | 5c6fb2b7fa7b99e29ec55324d6dc0ec8ae4100c4 | refs/heads/master | 2023-08-27T03:04:29.246553 | 2021-10-26T19:40:47 | 2021-10-26T19:40:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,952 | h | #pragma once
#include "gameclass.h"
#include "BMKNS_SNES_DEF.h"
#include "..\extrafile.h"
class CGame_BMKNS_SNES : public CGameWithExtrasFile
{
private:
static UINT32 m_nTotalPaletteCountForBMKNS;
static int rgExtraCountAll[BMKNS_SNES_NUMUNIT + 1];
static int rgExtraLoc[BMKNS_SNES_NUMUNIT + 1];
stati... | [
"meandyouftw@gmail.com"
] | meandyouftw@gmail.com |
6a1c5b098139d3134dc30a09eb86f8e4f7b6cc96 | 2ccb73dd684561f08adb6df7028a7e09a6b72640 | /BSearchTree/BSearchTree/main.cpp | 5e8f678c7979f1a16f93dd032e94b002f72856f8 | [] | no_license | ZYQiao/Data-Structure-home-work- | 7d91ee41cfc3c145a23a53908c02fc438d159125 | 44bbd1143b47613b3af2fdddbf4cb21a0d4a22ad | refs/heads/master | 2020-07-05T00:51:49.265228 | 2016-11-17T13:41:24 | 2016-11-17T13:41:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,394 | cpp | #include <iostream>
#include "bsearchtree.h"
using namespace std;
bool isBST(Node* root){
if(root == NULL) return true; //递归出口
if(!isBST(root->lChild)) return false;
if(!isBST(root->rChild)) return false; // 这两种情况都说明了要么左边最大大, 要么右边最小小
//左子树最大值
Node* tmp = root->lChild;
if(tmp != NULL){
... | [
"542305306@qq.com"
] | 542305306@qq.com |
089659ed92e9c2c99286eaae8c19d1b88513ff3e | 214dbcc732e0f6a49336164c793bd4af4754a6f7 | /Algorithmics/Problems from various contests/copaci2.cpp | 225f1abc77a5cb7f2cd61f520e1b7f261fb72dea | [] | no_license | IrinaMBejan/Personal-work-contests | f878c25507a8bfdab3f7af8d55b780d7632efecb | 4ab2841244a55d074d25e721aefa56431e508c43 | refs/heads/master | 2021-01-20T08:24:47.492233 | 2017-05-03T12:22:26 | 2017-05-03T12:22:26 | 90,142,452 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | cpp | #include <cstdio>
#define NMAX 200001
using namespace std;
FILE* fin=fopen("copaci2.in","r");
FILE* fout=fopen("copaci2.out","w");
struct copac
{
int h;
int poz;
} stiva[NMAX];
int st[NMAX],dr[NMAX],h[NMAX];
int main()
{
int n,i,k,val;
fscanf(fin,"%d",&n);
for(i=1;i<=n;i++)
fscanf(fin,"%d",&h[... | [
"irinam.bejan@gmail.com"
] | irinam.bejan@gmail.com |
18c8bfad699ad9e16525e213b168fa0e87dd4ca1 | 72baea82c9aee5853704dc1c5e186aa3a46ebb89 | /leftist/rand.cpp | a672ad63831fff7b068ba1d00f60e7c5767ea752 | [] | no_license | iamvamsi/IITMadrasWork-Unsorted | f374aa4f14f180d2a86abaf6549cfa915802dba4 | 462f96d4f3c07536b947fc89e64df2b97d248af3 | refs/heads/master | 2021-01-10T10:12:22.786587 | 2016-03-05T09:32:24 | 2016-03-05T09:32:24 | 53,192,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | cpp | /*********************************************************************
* TEAM : *
* MADHAVI Y CS09B025 *
* VAMSI KRISHNA CS09B006 *
* UDAY CHOWHAN CS09B034... | [
"VAMSIKRISHNA.DEVABATHINI@aexp.com"
] | VAMSIKRISHNA.DEVABATHINI@aexp.com |
a4ade4c281ec1f937526db0530a210019bbdb296 | 03804b32928bdd4cb16b2bb4043f802adeb10831 | /bai tap buoi 6/bai tap 6.3.cpp | ffab68a8e7d670d48a8ccfac674e56c2dd025826 | [] | no_license | doantrung92/Gi-cung-duoc | 56b7617ce5d57abdcac12fd569b75ed2aca77f95 | 52cd33e3d21147ffb4f46b10904fd93cc7074872 | refs/heads/master | 2023-02-02T13:46:40.769867 | 2020-12-21T12:38:06 | 2020-12-21T12:38:06 | 315,912,541 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | cpp | #include <stdio.h>
int main(){
int n;
scanf("%d",&n);
int a[n];
for(int i=0;i<n;i++){
scanf("%d",&a[i]);
}
int count=0,max=0;
for(int i=0;i<n;i++){
if(a[i]>0){
count++;
if(count>max){
max=count;
}
}else{
count=0;
}
}
printf("So luong so duong lien tiep nhieu nhat: %d",max);
}
| [
"74921651+doantrung92@users.noreply.github.com"
] | 74921651+doantrung92@users.noreply.github.com |
8f1c29baba82b58b3a50df293375c4e0cb86f2e0 | 15d4a51b3d0a3ed70b3028d31e7e493056218ea0 | /src/THaQWEAKHelicityReader.h | 34127692a84aac56f84395db1b22a4a9c071e892 | [] | no_license | whit2333/podd | 2e5e4df1b885bd332476000adba98daa37c86e10 | f5f6d83408c32e56d85c9cc5a30a6763b5a8aac2 | refs/heads/master | 2016-09-10T14:32:33.244719 | 2012-12-21T14:54:48 | 2012-12-21T14:54:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,121 | h | #ifndef ROOT_THaQWEAKHelicityReader
#define ROOT_THaQWEAKHelicityReader
//////////////////////////////////////////////////////////////////////////
//
// THaQWEAKHelicityReader
//
// Routines for decoding QWEAK helicity hardware
//
//////////////////////////////////////////////////////////////////////////
#include "Rt... | [
"saw@jlab.org"
] | saw@jlab.org |
c4d34a1dd96375c41a6af10837b528b6057c29d5 | 32281704cd4e18ec1dfd286ba02b743699a22f1a | /inference_pipeline.h | 998a94393d7a72f2736d60c360c1f3adbbb980c1 | [] | no_license | samanta-amit/vayu | 82404f4368095771478280fd54ee8968dbb122aa | 301a02f84c34b95b7bf720245a797cdb4b7076bb | refs/heads/master | 2022-09-26T12:27:28.731294 | 2020-06-08T02:30:19 | 2020-06-08T02:30:19 | 265,168,093 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,168 | h | #ifndef INFERENCE_PIPELINE_H
#define INFERENCE_PIPELINE_H
#include <vector>
#include <map>
#include <string>
#include "request_defs.h"
#include <deque>
#include <thread>
#include <mutex>
#include <condition_variable>
class inference_pipeline {
private:
// 3 queues
// q1 < nw req > named nw_queue
... | [
"u1265868@lab1-10.eng.utah.edu"
] | u1265868@lab1-10.eng.utah.edu |
2e11732ba891e307bdf6e55923c568f6e96e1dd4 | e17c43db9488f57cb835129fa954aa2edfdea8d5 | /Libraries/IFC/IFC4/lib/IfcRelConnectsWithEccentricity.cpp | 62c6bb2058012af085a34e7cdbc7d046f566596f | [] | no_license | claudioperez/Rts | 6e5868ab8d05ea194a276b8059730dbe322653a7 | 3609161c34f19f1649b713b09ccef0c8795f8fe7 | refs/heads/master | 2022-11-06T15:57:39.794397 | 2020-06-27T23:00:11 | 2020-06-27T23:00:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,089 | cpp | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include "model/IfcPPException.h"
#include "model/IfcPPAttributeObject.h"
#include "model/IfcPPGuid.h"
#include "reader/ReaderUtil.h"
#include "writer/WriterUtil.h"
#include "IFC4/include/IfcAxis2Placemen... | [
"steva44@hotmail.com"
] | steva44@hotmail.com |
6eb533f8a7012a72a47dc37545dc07a6ab925080 | 76726498127e40a9e1d9e4a2aad38613494bb7d2 | /src/divide.cpp | 4f3c1a84ca2a33d239aba653cd90ff3e19bc23d3 | [] | no_license | bbbales2/math-benchmarks | ea413edbb5d481016bffcbb87cf307e043b5584b | 207e6b5d29b055adcf650d297740092e96c690ec | refs/heads/master | 2023-02-05T08:37:32.964850 | 2020-12-21T20:19:50 | 2020-12-21T20:19:50 | 294,805,502 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | #include <benchmark/benchmark.h>
#include <stan/math.hpp>
#include <utility>
#include "toss_me.hpp"
#include "callback_bench_impl.hpp"
static void divide(benchmark::State& state) {
using stan::math::var;
using stan::math::promote_scalar;
auto init = [](benchmark::State& state) {
Eigen::VectorXd x_val = Eige... | [
"bbbales2@gmail.com"
] | bbbales2@gmail.com |
fda814ed6a31b557c67a1136fcbf9926b88ea118 | 15545ef1760ff97e81d44434d7a47c4aaaf33e4f | /leetcode/pascalTriangle2.cpp | 8ee076fa803c1fe16e1bb29fee6ea2d94199123f | [
"MIT"
] | permissive | jcpince/algorithms | 7c4f852ab0f3159403f68a4e2db69a2b1ddeabf1 | bb06bd54b8720908f0a1d5e9154bc36fedbeed79 | refs/heads/master | 2023-01-24T15:21:19.774448 | 2023-01-02T15:27:46 | 2023-01-02T15:27:46 | 193,212,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,641 | cpp | /*
Pascal's Triangle II
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle.
Note that the row index starts from 0.
In Pascal's triangle, each number is the sum of the two numbers directly above it.
Example:
Input: 3
Output: [1,3,3,1]
Follow up:
Could you optimize your a... | [
"jcpince@gmail.com"
] | jcpince@gmail.com |
23654bdff644f8074b422a44bb642ce1231c7158 | fd57ede0ba18642a730cc862c9e9059ec463320b | /native/libs/binder/Stability.cpp | fdefd5365cbba59e39b27336e230220f383b2182 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | kailaisi/android-29-framwork | a0c706fc104d62ea5951ca113f868021c6029cd2 | b7090eebdd77595e43b61294725b41310496ff04 | refs/heads/master | 2023-04-27T14:18:52.579620 | 2021-03-08T13:05:27 | 2021-03-08T13:05:27 | 254,380,637 | 1 | 1 | null | 2023-04-15T12:22:31 | 2020-04-09T13:35:49 | C++ | UTF-8 | C++ | false | false | 4,364 | cpp | /*
* Copyright (C) 2019 The Android Open Source Project
*
* 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 requir... | [
"541018378@qq.com"
] | 541018378@qq.com |
6afb9cb14814f67f9e6cfd8e8b65cc42cb45b232 | 96f8fb7fb764026ede7e927d8b4768b8b6f44abb | /01_Code/13_WindowsCE/15/MyCEActiveX/MyCEActiveX/MyCEActiveXidl.h | 4627c99cb7d6e04808e7fc2c84e192a4f777652c | [] | no_license | isongbo/MyCode | a513beaa8f43bc751aab5217314615c728ba771e | eb2330b1dbae9032ba5ad8ccd65b68375219e451 | refs/heads/master | 2021-01-10T09:48:53.587674 | 2016-01-15T10:21:04 | 2016-01-15T10:21:04 | 49,700,737 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,818 | h | /* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Thu Jan 24 11:22:16 2008
*/
/* Compiler settings for .\MyCEActiveX.idl:
Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: allocation ref bounds_check enum stub... | [
"syt-aini@126.com"
] | syt-aini@126.com |
48d8508f3d3b0dcdb285ec4de66e2a86381b95a5 | c8c5b33404786915c7e230e75c1f70e145203fbb | /cotson/src/abaeterno/timer_dev/disk_timer.h | 5720b2a0528972f358a8812e565836fd284bf419 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | adityabhopale95/COTSON_Simulator_multinode | 82b4e5a914b20083aaeacc6684b9ed300f5c55b2 | 4131d59fe83a6756caa00fb46164982cb490619e | refs/heads/master | 2020-03-24T14:30:57.285733 | 2018-08-03T03:30:16 | 2018-08-03T03:30:16 | 142,770,484 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 918 | h | // (C) Copyright 2006-2009 Hewlett-Packard Development Company, L.P.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR C... | [
"asbhopal@eb2-3226-lin09.csc.ncsu.edu"
] | asbhopal@eb2-3226-lin09.csc.ncsu.edu |
3538ed4c97c81bbf1a891cde5fb7de98692b2f38 | d44fe46073bcee3b42d84f43170614dc2249687d | /GameJam_v3.2/GameEngineBase/externals/Havok/includes/Source/Common/Base/Memory/Tracker/Report/hkFieldHierarchyReportUtil.h | 63e7d443156cf7678223068fa16a5ac903d3fda0 | [
"MIT"
] | permissive | aditgoyal19/Tropical-Go-Kart-Bananas | 1b162a3c994f90d3e5f432bd68251411a369812c | ed3c0489402f8a559c77b56545bd8ebc79c4c563 | refs/heads/master | 2021-01-11T15:21:24.709156 | 2017-07-06T21:07:36 | 2017-07-06T21:07:36 | 80,340,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,506 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | [
"a_goyal3@fanshaweonline.ca"
] | a_goyal3@fanshaweonline.ca |
05da11bd2f927a68ec3e9ae389d0476abebda879 | 76b5961d8cd3999ebc749fbd71bba55ef70c1576 | /乙级/1032. 挖掘机技术哪家强(20).cpp | f5fe751fbda06f81f8173ce542d018f8bfb76253 | [] | no_license | CaiyuhangChina/PAT- | 8237751f3af55070ed2f7f2d18c8f2a4503046fb | b3d9496a14aef87365ccbc051e3cdba2a86c7207 | refs/heads/master | 2021-01-25T00:10:22.455600 | 2018-03-01T12:56:16 | 2018-03-01T12:56:16 | 123,290,392 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 399 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main() {
long long n;
cin >> n;
vector<long long> v(n+1);
long long num, score;
for (long long i = 0; i < n; i++) {
cin >> num >> score;
v[num] += score;
}
long long max = 0;
for (long long i = 1; i < n+1; i++) {//±àºÅ´Ó1¿ª... | [
"673379175@qq.com"
] | 673379175@qq.com |
0f411b9b81a5f4fa9ce724f09279b2ead51f205c | f5b9ff1b8dbfaeb469b426c3b8925f5b9f00b33d | /hkk/SaltyEngine.h | 72839c734241366125ded64ed3977dabb5f36cae | [] | no_license | SaltyLeung/RainbowFighting | 3eb07632d0ddd1e6d31fb2208a4241c916947238 | 3e0d717554fd1c0c826bfab686ce352ec4a4443b | refs/heads/master | 2021-01-19T11:20:47.419647 | 2017-04-11T16:26:00 | 2017-04-11T16:26:00 | 87,955,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | h | #ifndef SALTY_ENGINE_H
#define SALTY_ENGINE_H
#include<vector>
using namespace std;
class Scene {
public:
bool enabled;
Scene():enabled(false) {};
virtual void Run() {};
};
class Transform {
public:
int x;
int y;
int z;
int width;
int length;
Transform():x(0),y(0),z(0),width(0),length(0) {
};
};
class GameO... | [
"lhx971121@qq.com"
] | lhx971121@qq.com |
5e7993ca13c9a81f3508ba0960e981868594da59 | 0d8f6e1df5f01a636662fc6d84703ca927b775f2 | /Graph/MST/Prims/clrs_implementation.cpp | 96c4179460db00bcbaefe9013ecbc9cca52006cf | [
"MIT"
] | permissive | UltraProton/PlacementPrep | d21f9a96a7459ee81e3f7f5e9e3efec29ddbdd4f | cc70f174c4410c254ce0469737a884fffdc81164 | refs/heads/master | 2020-08-04T01:28:55.111947 | 2020-07-02T13:07:06 | 2020-07-02T13:07:06 | 211,953,448 | 0 | 0 | MIT | 2020-05-09T08:35:32 | 2019-09-30T20:44:46 | C++ | UTF-8 | C++ | false | false | 7,142 | cpp | /*
? Prims don't require to identify whether there is any cycle or not.
* Ans: Prims has the property that the edges in the set always forms a single tree. Each step adds to the tree a light
* edge that connnects tree to an isolated vertex.
*/
#include<bits/stdc++.h>
using namespace std;
//node to be inserte... | [
"adityarksht64@gmail.com"
] | adityarksht64@gmail.com |
0f05492ce0fc50b1f762d5bc8543846c0c5f60fb | 0a65dbf9f3f5a91ffe3d47991c0e11f255966ad9 | /server/cppserver/logic/module/navigation/header.h | 743d31b25534d2b59afd2bd98c165c888b424d98 | [] | no_license | ServerMax/demo | fb13a16e791cd140884da13122fa1e82b136d548 | e89628b9d6a9a785e1c07c4e2ce8a1ce8650e90e | refs/heads/main | 2023-04-07T04:09:01.887083 | 2021-04-13T12:37:07 | 2021-04-13T12:37:07 | 357,546,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 623 | h | /*
* File: header.h
* Author : mx
*
* Created on 2020-12-01 09:14:04
*/
#ifndef __navigation_header_h__
#define __navigation_header_h__
#include "tools.h"
#include "geometry.h"
#include "iNavigation.h"
#include "test.pb.h"
#include <vector>
using namespace tcore;
extern api::iCore* g_core;
#define safe_release_... | [
"516480264@qq.com"
] | 516480264@qq.com |
e7a502d37583f0066b5b12f6ffcbd9f475e7a358 | fa3b89c5ead0d403f7db4be81f791a272f4fe62e | /alg/poj/archive/2479/5620092_CE.cpp | 7454614f66a7c39bfb753917c45a2ed695cc0b30 | [] | no_license | ruleless/programming | aa32e916a5b3792ead2a6d48ab924d3554cd085f | c381d1ef7b1c7c0aff17603484e19a027593429b | refs/heads/master | 2022-11-14T02:07:47.443657 | 2022-11-03T23:47:32 | 2022-11-03T23:47:32 | 86,163,253 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,140 | cpp | #include<iostream>
using namespace std;
int main()
{
int num;
cin>>num;
while(num--)
{
int n;
cin>>n;
int a[n];
for(int i=0;i<n;i++)
scanf("%d",&a[i]);
//初始化
int max=a[0]+a[1]; // 通过逐一扫描最后... | [
"ruleless@126.com"
] | ruleless@126.com |
994b2f7a0d167346e0952b9e3e6d427a7ed0eaa9 | ee879a9051f21389e90b6d18acc4570d2cac7af1 | /BlueMen.h | 244123d9f124fe72b4169b5bb1b7cffff6ad7d3f | [
"Apache-2.0"
] | permissive | tkim949/CS162_Project4 | 7dcaa156490a451073023200947f72ffe5bd440c | a6165dbad30f1f4b588b543adca77b7efde91bf4 | refs/heads/master | 2023-06-04T15:22:03.843762 | 2021-06-26T02:40:51 | 2021-06-26T02:40:51 | 172,398,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | h | /****************************************************************************************************
* * Program name: CS162 Project4
* * Author: Taekyoung Kim
* * Date: 02/21/2019
* * Description: This is BlueMen.h file for CS162 Project4
* * This project demonstrates a fantasy combat Tournament game between two... | [
"noreply@github.com"
] | tkim949.noreply@github.com |
c1e4e998f2706f1ac95f4e77062fafaef336ec53 | 84f3e9251e467e0e9fd650b79a4d292dba36bc15 | /은찬/5주차) 1904 01타일.cpp | 4312dc2c880bec523606dae77701634b91224cd4 | [] | no_license | sw15-algorithm-study/algorithm_study | 51ddd760c00e19426df05d74a92edebb0529577e | dc54a7e38fe262200d552ab2c8dced2ab32b5ae0 | refs/heads/master | 2023-03-23T06:51:48.868331 | 2021-03-17T06:13:04 | 2021-03-17T06:13:04 | 324,967,299 | 3 | 3 | null | 2021-03-17T06:13:05 | 2020-12-28T09:24:12 | C++ | UTF-8 | C++ | false | false | 345 | cpp | #include <iostream>
using namespace std;
long long int dp[1000001];
int main(void){
int N;
long long int ans = 0;
cin >> N;
dp[1] = 1;
dp[2] = 2;
for(int i = 3; i <= N; i++){
dp[i] = (dp[i - 1] + dp[i - 2]) % 15746;
}
ans = dp[N] % 15746;
cout <<... | [
"noreply@github.com"
] | sw15-algorithm-study.noreply@github.com |
b1ab6cf630f830c844c41b08e85f21b11a47a304 | f34dd88f36ad1a05d49a48920d4fea2dd4cd6462 | /hackerrank/Project-Euler/pe004.cpp | 4cb77d31c74916aae4d6435968650ee09a5f7adc | [] | no_license | ccd97/cp_solutions | e1a9f66eb9ae15c5aa80679f3695f32de0f55ded | 702fd1c6a8c3bdc8e255a51abf66c5d71a31ff9e | refs/heads/master | 2021-07-20T06:58:42.496450 | 2018-11-27T14:38:39 | 2018-11-27T14:41:36 | 130,831,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | cpp | #include <bits/stdc++.h>
using namespace std;
bool checkPal(int num){
int n = num;
int dig, rev = 0;
while (num > 0) {
dig = num % 10;
rev = rev * 10 + dig;
num /= 10;
}
return (n == rev);
}
int main(int argc, char const *argv[]) {
unordered_set<int> pro;
vector<i... | [
"dcunha.cyprien@gmail.com"
] | dcunha.cyprien@gmail.com |
15442488526549e6c10c71569ea0c6eb8a69ed86 | c7e5106cb8b58a04d9d1b1e13d18387e86ff9c01 | /WarZeub2/graphic/camera.h | f90021f52afef6c2697243fd572a3fb61337d726 | [] | no_license | gfoekfi/warzeub2 | 8f7c08bc5691176f78eef28c712826024345a1b2 | 438670f6df932bf4acf641b224c75d7e7d90bc6e | refs/heads/master | 2016-09-10T03:26:56.983797 | 2014-02-11T19:16:00 | 2014-02-11T19:16:00 | 16,204,797 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | h | #ifndef CAMERA_H_
#define CAMERA_H_
#include "../utils/util.h"
// ============================================================================
// ----------------------------------------------------------------------------
// ============================================================================
class Camera... | [
"gfoekfi@yahoo.com"
] | gfoekfi@yahoo.com |
064b9c2230de4174c2b3afbd87a09f564ccf39a3 | a4e3f58154c349f951066c61db4c2e23ddb095ce | /OpenFoam_Cases/Channel_13350_M2/1000/k | 5268baf438f1762115a1990abec703e540e8b40c | [] | no_license | dikshant96/Thesis_OF1 | a53d1b01b19e9bf95f4b03fc3787298b8244c1c5 | 2c6ed256347a2e32611a93e117022d9aa1ff3317 | refs/heads/master | 2020-09-11T01:59:25.606585 | 2019-11-15T11:04:11 | 2019-11-15T11:04:11 | 221,902,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289,666 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"dikshant.sud@gmail.com"
] | dikshant.sud@gmail.com | |
4adb21c3c521be47b5c21fcecec4fed2b6119c0d | 9c27483f20a4f3b5b857964150dd22ee07a733fc | /listampointer/QuicksortMPointer.cpp | 665df6dc3a66165a2e43f8c7ca928cecdd2eb1cc | [] | no_license | jochaes/MPointer | ce35fc2c13b5f32923d2994b7b7882cf328fff9b | a99f3c155c43f4333058d598da4364bc0a28a673 | refs/heads/master | 2021-09-24T03:13:57.056141 | 2018-10-02T12:06:57 | 2018-10-02T12:06:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 77 | cpp | //
// Created by Josue Chaves on 9/28/18.
//
#include "QuicksortMPointer.h"
| [
"d4n11083@estudiantec.cr"
] | d4n11083@estudiantec.cr |
951c7d4466b58430af036f25931e94fbf04cd434 | 738487f072b52b6287afc5c75d36c32ffdf92e2f | /Stack.cpp | 72acbea1a6b4888208475b91addb0de19d3c64b2 | [] | no_license | mariya29k/My-Classes | 66fcfaf67f35f906ec577dc47470583a04f03629 | f716353b300a948ab8e690a82d5b76185e5808aa | refs/heads/master | 2023-02-23T02:29:27.315776 | 2021-01-22T16:59:38 | 2021-01-22T16:59:38 | 265,222,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,109 | cpp | #pragma once
#include <iostream>
#include "Stack.h"
template<class T>
Stack<T>::Stack(): top(nullptr), size(0)
{
}
template<class T>
Stack<T>::Stack(const Stack<T>& other)
{
this->copy(other);
}
template<class T>
Stack<T>& Stack<T>::operator=(const Stack<T>& other)
{
if (this != &other)
... | [
"noreply@github.com"
] | mariya29k.noreply@github.com |
aa6df0648ec3d749f80123efa93204ab0ab41a4f | ea6464a36da5e64a05d64585d6be5842d73df73d | /include/sani/hid/raw_input_listener.hpp | 3e4f6e42d9561c18acbb5675b4e6aa3a757e8351 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Babelz/SaNi | b0589dce92498e81d9a49ce389ae5aef5fd38ef3 | 903bd2e06dc1b2e3a7f93ef22dc91863243abad6 | refs/heads/master | 2021-01-18T11:29:08.685022 | 2019-04-11T08:44:56 | 2019-04-11T08:44:56 | 36,521,771 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 494 | hpp | #pragma once
#include "sani/platform/platform_config.hpp"
#if SANI_TARGET_PLATFORM == SANI_PLATFORM_WINDOWS
#include <Windows.h>
#endif
#include "sani/hid/keyboard.hpp"
namespace sani {
namespace hid {
/// Class that gathers the raw input from OS
class RawInputListener {
private:
public:
#if SANI_TARGET_PLA... | [
"squual@kahvipaussi.net"
] | squual@kahvipaussi.net |
b97d2769bc09addb359ced3c8da661894e25210d | 80f52f1c99f513fb3d3132f33914a114b9744c2f | /src/audio/vorbis_file_cache.cpp | ce920aca6798d87d35626929612eae9b5a1d10a7 | [
"MIT"
] | permissive | Reaping2/Reaping2 | d9de6f0d40435eea3f5556bcd4eb59372a6af320 | 0d4c988c99413e50cc474f6206cf64176eeec95d | refs/heads/master | 2021-04-24T15:39:47.869327 | 2017-11-23T02:40:33 | 2017-11-23T02:40:33 | 13,726,229 | 3 | 14 | null | 2017-11-23T02:40:34 | 2013-10-20T20:23:39 | C++ | UTF-8 | C++ | false | false | 1,750 | cpp | #include "i_audio.h"
VorbisFileCache::Elem VorbisFileCache::LoadImpl( const boost::filesystem::path& Source )
{
VorbisFileCache::Elem Vf( VorbisFile::Create( Filesys::Get().Open( Source ) ).release() );
if( Vf.get() && !Vf->IsFinishedLoading() )
{
boost::mutex::scoped_lock Lock( mLoadingElemsMtx );... | [
"aronujvary@gmail.com"
] | aronujvary@gmail.com |
3f1ccd1c1d1062a8ecb30618f6d0b496f1c948f3 | bc62aa3aa9b0b99bf684104a96866fb91ad469e6 | /ui_prewindow.h | e08cece92d32fde56fe5266405de921ce986c51c | [] | no_license | 404-neverfound/PlayBricks | a962b69b18bc8c5d43ccd9da5b23f3a01c62d93c | 2a8728bb7399dc7079c1d380ae041fbd0c67c72d | refs/heads/master | 2022-12-17T03:31:56.591973 | 2020-09-14T04:59:04 | 2020-09-14T04:59:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,125 | h | /********************************************************************************
** Form generated from reading UI file 'prewindow.ui'
**
** Created by: Qt User Interface Compiler version 5.9.9
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*****************************************... | [
"1262394669@qq.com"
] | 1262394669@qq.com |
d812c398870ec13e1bfe04fa6d7f0e5806bb9d87 | 024254fb3d1e10e3a4ffc859355d2016e6d7db38 | /queue/queue.cpp | edd88e6ce3100511a51bd00321c87a5fb5094dd3 | [] | no_license | machenxiang/alogrithm | 9559f1bbf7ba28a12c2f4ae32fd6ce2b1ff4c09f | 669083bc0bd79e62d76ec4b9cdeb5f96b7ea871c | refs/heads/master | 2022-12-16T00:06:09.568793 | 2020-09-17T13:08:05 | 2020-09-17T13:08:05 | 296,329,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,577 | cpp | #include<iostream>
using namespace std;
//函数声明可以不写形参
//bool is_full(QUEUE * pq);
int len=6;
//出队列入队列r,f都是+操作
typedef struct
{
int * pBase;
int front ;
int rear;
}QUEUE;
bool is_full(QUEUE *pq);
//初始化队列,rear和front都为0
void init_queue(QUEUE * pq){
pq->pBase=(int*)malloc(sizeof(int)*len);
pq->front=0;
... | [
"1243858461@qq.com"
] | 1243858461@qq.com |
152d0e73a32745ff5501682f3491ab920d3e8369 | 0cd5dcf7c8ca5263c22a687df8312797f9d7590a | /itk-io-master/shared/shared/serializable.cpp | 6652808f5e94036f2bbcbc2822fca76f9c006975 | [] | no_license | holevi96/itk.io | c57655cfb5d292f6cea863df0fd0e91656e0aec4 | f4e967129489af98a437baa17ed3aeac3da26d24 | refs/heads/master | 2020-07-26T08:28:14.700839 | 2019-12-09T05:23:35 | 2019-12-09T05:23:35 | 208,589,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cpp | #include "serializable.h"
Serializable::Serializable()
{
}
Serializable::~Serializable()
{
}
| [
"borosjenoi.tamas@gmail.com"
] | borosjenoi.tamas@gmail.com |
27c692e83d1a6af026dbc26082c1b6ac7d510ce5 | 7721fc1c90b050a2cbf4e8f29499e51c767c53c7 | /src/HudBox.cpp | e8d95a1a022ab778e7672c4e8dc7a9c8a11c3204 | [] | no_license | WesThorburn/cross-platform-game-client | 307361701d1934132a3208b8d38d48b70fbb8b15 | 67bcee8639e16f2bdeb1217da4eaea90e0fdb414 | refs/heads/master | 2020-03-14T05:15:43.201125 | 2018-10-14T19:57:35 | 2018-10-14T19:57:35 | 131,460,979 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,471 | cpp | #include "HudBox.h"
int HudBox::id = 0;
HudBox::HudBox(){
m_id = ++HudBox::id;
m_hoverable = 1;
m_padding = 3;
m_gameModeVisibility = {MODE_IN_GAME};
m_verticalPosition = V_BOTTOM;
m_text = std::to_string(m_id) + ".";
}
void HudBox::update(){
HudElement::update();
}
void HudBox::click(){
Controls::hudState.... | [
"wjthorburn@live.com.au"
] | wjthorburn@live.com.au |
a50712f5c3dd22c79f825997d55de1152c5289cb | 2fcc9ad89cf0c85d12fa549f969973b6f4c68fdc | /LibGraphics/LocalEffects/Wm5VertexColor3Effect.h | e3df8f4f30e7b280180c12b41a23cb7e2352dcf8 | [
"BSL-1.0"
] | permissive | nmnghjss/WildMagic | 9e111de0a23d736dc5b2eef944f143ca84e58bc0 | b1a7cc2140dde23d8d9a4ece52a07bd5ff938239 | refs/heads/master | 2022-04-22T09:01:12.909379 | 2013-05-13T21:28:18 | 2013-05-13T21:28:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,364 | h | // Geometric Tools, LLC
// Copyright (c) 1998-2012
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.1 (2010/10/01)
#ifndef WM5VERTEXCOLOR3EFFECT_H
#define WM5VERTEXCOLOR3... | [
"bazhenovc@bazhenovc-laptop"
] | bazhenovc@bazhenovc-laptop |
8da1a9258b29bd4508c3f190f0eee8cbdf13ec26 | e28d5aebd2745655661c934314f07603071db836 | /library/src/BaseNode.cpp | 4f30330a3134a85fb69bf6287de0679b8c5164ad | [] | no_license | ceisserer/openCONFIGURATOR_library | 0c0b85aa99e997e669e3feff94b868f595351b68 | 50486bfcaf2eb31187009b85ad0069509e659e6c | refs/heads/master | 2020-05-21T01:25:00.884574 | 2017-03-03T07:54:55 | 2017-03-03T07:54:55 | 84,550,429 | 0 | 0 | null | 2017-03-10T10:52:48 | 2017-03-10T10:52:48 | null | UTF-8 | C++ | false | false | 21,020 | cpp | /************************************************************************
\file BaseNode.cpp
\brief Implementation of the Class BaseNode
\author rueckerc, Bernecker+Rainer Industrie Elektronik Ges.m.b.H.
\date 01-May-2015 12:00:00
************************************************************************/
/*-----... | [
"christoph.ruecker@br-automation.com"
] | christoph.ruecker@br-automation.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.