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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
91e588ceceb77935a9e0df2648f05cf1518e7772 | 4c3552c090a55d0cb85065d794f16b42381f08c2 | /main/AI.ino | b5bf5c65195f67f58051e6209c38011cc0101c9a | [
"MIT"
] | permissive | hruskraj/chessuino-esplora | d21318d44c4e5a8686d8631c14ca406dc7660f29 | 07733ba0588049f8e57084b6267a31ffc0d0d516 | refs/heads/master | 2020-09-21T20:02:34.422608 | 2019-11-29T19:13:58 | 2019-11-29T19:13:58 | 224,910,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,606 | ino | /**
* @file AI.ino
* @brief File containing AI.
*/
/**
* @brief Initialization of AI.
*
* Enables AI.
* @sa AIEnabled
*/
void AIInit(){
AIEnabled = true;
}
/**
* @brief Makes any possible move.
*
* Function goes through every possible move and stops when it finds any legal move.
*
* @param from coordi... | [
"hruskraj@fit.cvut.cz"
] | hruskraj@fit.cvut.cz |
cb2d6ff14145573ff0f01a52ed2b1b3bf5656250 | c91ba4e746dc5b8f2dface963b4096dd721070fd | /vpc/src/model/ModifyBgpGroupAttributeRequest.cc | 8b3f2b0c6cd90ef40ff5113046195d9f4a606e54 | [
"Apache-2.0"
] | permissive | IthacaDream/aliyun-openapi-cpp-sdk | fa9120604ca3af4fc48a5f9bf70ff10542103c3a | 31a064d1568f59e0731485a1b0452cfd5d767e42 | refs/heads/master | 2021-09-05T09:44:19.244166 | 2018-01-26T07:00:14 | 2018-01-26T07:00:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,026 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
7b6b9cef5300e984e586e98d46aac1857308457f | 8722f2da8bc1a6b3e16ce5759f67ca292c0a7341 | /src/ripple/nodestore/impl/DecodedBlob.h | 48af195e4a7db88a8a7ee27f4f25ce0d5f5b0e37 | [
"MIT",
"MIT-Wu",
"ISC",
"BSL-1.0"
] | permissive | waynezu/vpal20 | 010fbec860b6c4d8c775b8d637730580e842d597 | 8deef35521417cd4405d7bbadd030b89bd4fb91b | refs/heads/master | 2020-12-25T21:35:01.584301 | 2014-10-27T03:58:56 | 2014-10-27T03:58:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,387 | h | //------------------------------------------------------------------------------
/*
Portions of this file are from Vpallab: https://github.com/vpallabs
Copyright (c) 2013 - 2014 - Vpallab.com.
Please visit http://www.vpallab.com/
This file is part of rippled: https://github.com/ripple/rippled
C... | [
"meanz1235@gmail.com"
] | meanz1235@gmail.com |
c9ef90984d4230332b8b6f397102b3de7d5120a3 | dd8189bd39fdb6af1f3230eb5a9fa71d01908422 | /AetherEngine/AetherLib/Errors.cpp | eab6f78dd2438d128ebc428d85bb58bd13853ef2 | [] | no_license | Absidion/AetherEngine | 9786757eda5be9373754d0e725f3252c4efa9f15 | 966ee18e7df418d53b5d9bf899a3b5ed3ba8c479 | refs/heads/master | 2021-09-18T04:35:26.439821 | 2018-07-09T16:57:05 | 2018-07-09T16:57:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #pragma once
#include "Errors.h"
#include <iostream>
#include <SDL.h>
namespace Aether
{
void fatalError(std::string errorString)
{
std::cout << errorString << std::endl;
std::cout << "Enter any key to quit..." << std::endl;
int tmp;
std::cin >> tmp;
SDL_Quit();
exit(1);
}
} | [
"jamesraiken@hotmail.com"
] | jamesraiken@hotmail.com |
a879083f3c6bcc4ca3b3c489dfa0c6d3c886c5c4 | 7ad2c70c2110fe6a1be3264cae4c21c684f71abc | /QtDemo/Linux32/build-QtClientDemo-Qt4_7-Release/obj/Gui/ui_ptzcruise.h | 0447ee71a6f5e877ebf4a61fc9ac0cf3f5e53fc2 | [] | no_license | weihandong/HDWeiRepository | 5cd862425f777bef1f6d3be23855eb3ff26b1925 | d5ed234a7d381c154d30ac3757b3108d2a59362f | refs/heads/master | 2020-09-21T09:01:53.384814 | 2019-12-20T08:04:17 | 2019-12-20T08:04:17 | 224,747,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,289 | h | /********************************************************************************
** Form generated from reading UI file 'ptzcruise.ui'
**
** Created: Sun Dec 1 18:45:03 2019
** by: Qt User Interface Compiler version 4.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********... | [
"1147479335@qq.com"
] | 1147479335@qq.com |
7b076c6fd83f73a86d462f2c6b100c95e8829547 | 174d618939a1218b18d87bffa1f139e98b40cae7 | /src/tree/src/muserawtree.cpp | e2b4d1cbab6364dd9e2948ac4c972df375161a8c | [] | no_license | bishoyDHD/museMiniCkr | 5188183af70a67f75bc48802a3d7d2607e20b7b4 | d40f3978376bb760d80edb23249ca9e124a4efb3 | refs/heads/master | 2020-07-24T12:10:08.697014 | 2019-09-13T19:15:38 | 2019-09-13T19:15:38 | 207,921,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | cpp | /**
* This file has the implementations of the ORT
*/
#include "../../../include/muserawtree.h"
MRTBase::MRTBase() {};
MRTBase::~MRTBase() {};
ClassImp(MRTBase);
MRTRunInfo::MRTRunInfo() {};
MRTRunInfo::~MRTRunInfo() {};
ClassImp(MRTRunInfo);
MRTEventInfo::MRTEventInfo() {};
MRTEventInfo::~MRTEventInfo() {};
C... | [
"bishoy@localhost.localdomain"
] | bishoy@localhost.localdomain |
89a815b7531cbbe04abecd457a846d62393480e0 | a179a141970ac96057643f09b97871709097c2a4 | /GFG/DP/maxSumRec2DMatrix.cpp | 0f9d389e74606f6ea16dae05667a66a0bf01893f | [] | no_license | rahulranjan96/Programming | 7ce784b31300d0703149f2e60d8a2923247f6399 | dbd4a0bef7dc667f6505d59b9ed5177927bb63c5 | refs/heads/master | 2021-03-24T10:18:41.811818 | 2016-10-25T04:45:49 | 2016-10-25T04:45:49 | 71,860,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | cpp | #include <iostream>
#include <cstdlib>
#include <climits>
using namespace std;
int kadane(int *a,int n,int *start,int *end)
{
int sum=0;
int flag=0,max=INT_MIN,max_id;
for(int i=0;i<n;i++)
{
if(a[i]<0) flag++;
if(a[i]>max)
{
max=a[i];
max_id=i;
}
}
if(flag==n)
{
*start=max_id;
*end=max_id;
... | [
"rahulranjanyadav96@gmail.com"
] | rahulranjanyadav96@gmail.com |
804fd1bf2e509aa9b5dd137a43be662354056034 | d0d8ca85502ab9f336ca22ee7a6e9fcd0e522ea3 | /CLanguage/数组.cpp | 34b9922f7c91b0e2d7884c2b5ea37bd99565e069 | [] | no_license | 0xl2oot/notes | 7d752a643cde157bce21a50f1a7eb6c35066d809 | 2e0b2ef6a95085cbf0297a837948de0c753c3365 | refs/heads/master | 2021-05-09T11:35:30.717905 | 2019-03-20T10:18:57 | 2019-03-20T10:18:57 | 118,992,872 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,017 | cpp | #include <iostream>
#include <cassert>
#include <iomanip>
using namespace std;
template <class T>
class Array{
private:
T* list;
int size;
public:
Array(int sz = 50);
Array(const Array<T> &a);
~Array();
Array<T> &operator = (const Array<T> &rhs);
T & operator[](int i);
const T & operator[](int i)con... | [
"yonghongwang@163.com"
] | yonghongwang@163.com |
a926bbc2814a5dff0e2726e14aaa3b33fa027675 | 672a046830eba5451ae29231a3b84f1a0d6eac10 | /ExpressionManager.cpp | e2cdf2da0ad71a8a4e6c89df8f6c000937f4dc3d | [] | no_license | ndriggs/235-lab-2 | 4bd5e10649d7c1d851d89828942263800092f183 | 830e4e634e8acebe4966f78ad10ef3dbe7a064d5 | refs/heads/master | 2020-08-03T22:16:01.978389 | 2019-10-08T00:25:58 | 2019-10-08T00:25:58 | 211,902,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,066 | cpp | #include "ExpressionManager.h"
#include <vector>
#include <string>
#include <locale>
ExpressionManager::ExpressionManager(){
}
ExpressionManager::~ExpressionManager(){
}
/*
* Checks whether an expression is balanced on its parentheses
*
* - The given expression will have a space between every number or oper... | [
"nathanieldriggs@gmail.com"
] | nathanieldriggs@gmail.com |
aa9326f82191024e8448d8d04fbda8ee34143094 | 1a0bb8dc80f1283f552baf436d9a8e722c22a8f1 | /proj/fpga/zcu106/Vitis-AI-DPU_TRD-for-ZCU106/zcu106_dpu/Vitis-AI/Vitis-AI-Library/facedetect/src/facedetect.cpp | 19632da9f4de0da72fd6f46670798f615fd53655 | [
"MIT",
"Apache-2.0"
] | permissive | embedded-bitai/Mercenary | d457dcc2ace4dd4fe4a82489ecd28c61e3b4fe7a | 7762bad28e4f49b2ad84fb8abbd8056bd01f61d4 | refs/heads/master | 2023-01-09T09:24:52.331403 | 2020-11-16T09:22:39 | 2020-11-16T09:22:39 | 297,019,610 | 4 | 9 | MIT | 2020-11-16T09:22:40 | 2020-09-20T06:53:53 | C++ | UTF-8 | C++ | false | false | 1,029 | cpp | /*
* Copyright 2019 Xilinx Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | [
"gcccompil3r@gmail.com"
] | gcccompil3r@gmail.com |
78e3bbeba3b608069d627305fd246da4b30cbdb7 | aa3da7fe8ed743702a3dc81acd4f6afa814c3a17 | /sfml-ShooterGravity/sfml-tutorial/GameManager.h | 2a97eb5f24650cf35f95bc875986121bec822349 | [] | no_license | yohan910800/Gavity-shooter | 42c36bf53b15059c0d6969d8bbfcf051982a58b3 | a0c598250b0d4586ff603f6f55093d30019a0739 | refs/heads/main | 2023-05-10T01:54:20.272524 | 2021-05-17T01:45:26 | 2021-05-17T01:45:26 | 368,024,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,941 | h | #pragma once
#include <iostream>
#include <vector>
#include <ctime>
#include <string>
#include <array>
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <SFML/Network.hpp>
#include "Collider.H"
#include "Player.H"
#include "Platform.H"
class GameManager
{
public:
GameM... | [
"yohan.girardin@outlook.fr"
] | yohan.girardin@outlook.fr |
a4fdec8571e7fb9950087b16fd55450d6564e19f | a090af918e3ec59140027dbddd54aa4ca1c73910 | /Algo/segment_tree1.cpp | c00bfc40176cb6818cea0eaf083f74b5e79ee645 | [] | no_license | nitesh-147/Programming-Problem-Solution | b739e2a3c9cfeb2141baf1d34e43eac0435ecb2a | df7d53e0863954ddf358539d23266b28d5504212 | refs/heads/master | 2023-03-16T00:37:10.236317 | 2019-11-28T18:11:33 | 2019-11-28T18:11:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | cpp | #include <cstring>
#include <cassert>
#include <vector>
#include <list>
#include <queue>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <... | [
"milonju01@gmail.com"
] | milonju01@gmail.com |
909ebfc59f99cb2e3b876a9536cda9b899194a4b | d5a03eb3ba1e3e7b4fc87f1b34944e183b2ce578 | /mainwindow.cpp | 1004ee15f226de06815f1bd6f5dd326c802aab16 | [] | no_license | Pacman29/Pressure | 077c12c97a92a239ca41fe6ce0e08ddfb918a88f | d094a1f35e420eff937e9c08f48d8ed9d534237f | refs/heads/master | 2021-01-01T05:23:23.537942 | 2016-04-17T15:56:18 | 2016-04-17T15:56:18 | 56,437,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,972 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "legandre_poli.h"
#include "gauss_matrix.h"
#include "spline.h"
#include <math.h>
#include <QDebug>
#define VALUE 0.00263
//#define VALUE 6.179180887372013651877133105802
int m,n,m_in;
double Tw,T0;
double *p,*t;
double **tab;
double _integr(double a, doubl... | [
"zx19-95@mail.ru"
] | zx19-95@mail.ru |
d1e33931e585c4f8fc47b96fbfca9c1d398f2625 | ff2beb8472a902b2d8aaf661b652ec876894d78a | /ClasaStiva/ClasaStiva.cpp | 069da55583606919300e0af1470b3a08e4af736f | [] | no_license | alinadianascarlat/inteligenta_artificiala | 747214edf6c167ab5e64f7f46c7eddc9f2162260 | 147dcc9e2dba0558241299275c7c022d7347da53 | refs/heads/master | 2021-01-07T02:18:05.563457 | 2020-05-14T18:33:42 | 2020-05-14T18:33:42 | 241,550,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | cpp | #include<iostream>
using namespace std;
class Stack {
public:
int a[40];
int index = 0;
void push(int n) {
a[index] = n;
index++;
}
int pop() {
int element = a[index - 1];
index--;
return element;
}
int empty() {
if (index == 0)
return true;
else
return false;
}
};
int main() {
Stack*... | [
"alina.diana.scarlat@gmail.com"
] | alina.diana.scarlat@gmail.com |
2824d0978959867cae794f413c2ab77bc9de5eb7 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive/14027a9915650fb2cdf938dd049242a4/main.cpp | ddcd88212880ee5fb54f1928d6a38866d2fe1d58 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | cpp | #include <iostream>
#include <memory>
/**
* Intellisense-friendly alternative to make_shared.
*
* For example: make_shared<T>(args...)
* becomes: share(T(args...))
*
* Requires T to be movable.
*/
template<typename T>
std::shared_ptr<T> share(T && obj)
{
return std::make_shared<T>(obj);
}
template<t... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
f9dab4f9c96dd6933309b675f1dc7ea0994004a1 | c9d7501506dffba053d9a1bec1fee2b19b0a6e52 | /InterfaceMTDialog.cpp | 074fef485c3a4a47736827d68d008f025201ac56 | [] | no_license | WiverNz/marinetraffic_pi | 264a772133391f72fe3f26317225f45bf0787264 | 7c6987ff6e17d984a4f735b1bd6df9c4afe92b1d | refs/heads/master | 2020-06-30T20:36:36.739049 | 2017-01-30T15:29:19 | 2017-01-30T15:29:19 | 74,348,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,206 | cpp | ///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Jan 9 2017)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "InterfaceMTDialog.h"
/... | [
"wivernz@gmail.com"
] | wivernz@gmail.com |
dc9ef827e9e44a576636b2d9c023017cbd3810cc | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/TDataStd_DataMapNodeOfDataMapOfStringByte.hxx | bd54867b9d98aa887674c33cae19ad8e0bc261b9 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,122 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _TDataStd_DataMapNodeOfDataMapOfString... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
dd956e29ec1285e38cd2f23513436ecc1b6dbdbf | d2d5b968a09596e7e26ec94a8c1d9377a3c70f4f | /debugger/src/cpu_sysc_plugin/riverlib/core/execute.h | f77481cbc97e77c90ae2c07695840fe443090bd8 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | honeyxyb/riscv_vhdl | 2903a6692fc123a105e3d92aaf40340756c6839f | b083896212dcd976c1075f1caff5aee4f1588e0f | refs/heads/master | 2021-01-11T09:23:05.420806 | 2016-12-20T19:44:50 | 2016-12-20T19:44:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,555 | h | /**
* @file
* @copyright Copyright 2016 GNSS Sensor Ltd. All right reserved.
* @author Sergey Khabarov - sergeykhbr@gmail.com
* @brief CPU Instruction Execution stage.
*/
#ifndef __DEBUGGER_RIVERLIB_EXECUTE_H__
#define __DEBUGGER_RIVERLIB_EXECUTE_H__
#include <systemc.h>
#include "../river_cfg.h"
#incl... | [
"sergeykhbr@gmail.com"
] | sergeykhbr@gmail.com |
301cc00d1f6c85657010165a316e54e53564f226 | 5950c4973a1862d2b67e072deeea8f4188d23d97 | /Export/macos/obj/src/ValueType.cpp | 88ff1a0ab70196efcff07471b16301cf3e40045e | [
"MIT"
] | permissive | TrilateralX/TrilateralLimeTriangle | b3cc0283cd3745b57ccc9131fcc9b81427414718 | 219d8e54fc3861dc1ffeb3da25da6eda349847c1 | refs/heads/master | 2022-10-26T11:51:28.578254 | 2020-06-16T12:32:35 | 2020-06-16T12:32:35 | 272,572,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 4,974 | cpp | // Generated by Haxe 4.2.0-rc.1+cb30bd580
#include <hxcpp.h>
#ifndef INCLUDED_ValueType
#include <ValueType.h>
#endif
::ValueType ValueType_obj::TBool;
::ValueType ValueType_obj::TClass(::hx::Class c)
{
return ::hx::CreateEnum< ValueType_obj >(HX_("TClass",44,37,80,71),6,1)->_hx_init(0,c);
}
::ValueType ValueType_... | [
"none"
] | none |
7d000f3251f40a0094f1e9a395955a9425c5d298 | 7d2018678bd6ae35825e1a2d3e5c9d2bffaa503c | /examples/example_android/app/prebuilt/armeabi-v7a/include/ALLIVaultCoreP/alli_logging.h | 66bcdab019c2229a898d8b8b42337411e5dc3e5e | [] | no_license | allidev/android-demo | 05b052118c7dab4845418633de55fab16ac83ceb | 2a780badfb0fb95668864ede98f6482c4f006799 | refs/heads/master | 2020-06-14T03:56:53.858811 | 2017-07-16T02:19:03 | 2017-07-16T02:19:03 | 75,522,567 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 572 | h | #pragma once
#include "alli_common.h"
#include <string>
namespace boost
{
namespace filesystem
{
class path;
}
}
namespace ALLIVaultCore
{
namespace Helpers
{
class alli_logging
{
public:
alli_logging(void);
~alli_logging(void);
static ALLIVAULTCOREP_API void init();
static void write_error_... | [
"xuesong@allienterprises.com"
] | xuesong@allienterprises.com |
e3d228c66c453eeabe888cd876e5f8288619ad5a | c4fa05eb4e62f7e2ad4acb0a1e08227b3830fc95 | /src/application.cpp | 2ad749b1c51dafb1d48b05db446e73b222a41169 | [] | no_license | dima201246/battle_city | dd759e6f946d7de68bbfd0c0676d00cd2a3463b2 | e2b63a3a3e5399200a0698b5b0cf377c760d78a7 | refs/heads/master | 2021-01-11T21:56:48.407914 | 2017-01-15T16:02:05 | 2017-01-15T16:02:05 | 78,883,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | #include "includes/obj.hpp"
Application::Application()
{
window_ = new sf::RenderWindow(sf::VideoMode(800, 600), "Battle city");
window_->setFramerateLimit(fps_limit); // Ограничение частоты кадра
mainMap.setWindow(window_);
}
Application::~Application()
{
delete window_;
}
void Application::startGame()
{
whil... | [
"dima201246@gmail.com"
] | dima201246@gmail.com |
80c6294ddec341237c4dc32e541d689159c01334 | f44139b3bb790416a394844e0c98ac085ff57fcc | /src/libdbcppp/SignalImpl.h | d7128bca10a12ecd8616b4b105e628a9af55d770 | [
"MIT"
] | permissive | byunghun-ee/dbcppp | 1d632c31fdb1e4bf3c0de9701412731db6df2024 | a9486939e56b4c6a0f204f2dc3dfc60e9a25dee5 | refs/heads/master | 2020-12-26T14:41:36.849479 | 2020-08-18T20:13:02 | 2020-08-18T20:13:02 | 245,207,685 | 0 | 0 | MIT | 2020-08-18T20:13:03 | 2020-03-05T16:03:32 | null | UTF-8 | C++ | false | false | 3,607 | h |
#pragma once
#include <string>
#include <memory>
#include <robin-map/tsl/robin_map.h>
#include "../../include/dbcppp/Signal.h"
#include "../../include/dbcppp/Node.h"
#include "AttributeImpl.h"
namespace dbcppp
{
class SignalImpl final
: public Signal
{
public:
SignalImpl(
u... | [
"hindelang_julian@hotmail.de"
] | hindelang_julian@hotmail.de |
e7ffcd8bd1aa40d9a283a2c986ce79baaedd9305 | 5dbce687fa6e5666fc8a17c467f67eca86155161 | /edcast-old/edcast/src/FindWindow.cpp | 89480e08ffae40b6efcf810d837c9e9d5e2654fd | [] | no_license | id23cat/Stg | 4aa07e2dfaac66d08090deb9e94f79b6ce14b4ca | 3d05a7f9d1ea6819da21688da9efce7b96ec8bfa | refs/heads/master | 2020-04-15T16:09:38.439825 | 2011-05-07T11:27:36 | 2011-05-07T11:27:36 | 638,137 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,058 | cpp | // FindWindow.cpp : implementation file
//
#include "stdafx.h"
#include "edcast.h"
#include "FindWindow.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
CFindWindow *findWindow = 0;
BOOL CALLBACK EnumWindowsProc(HWND hwnd,LPARAM lParam)
{
char windowTitle[2046];
ch... | [
"id23cat@tut.by"
] | id23cat@tut.by |
0cdb2a36bdffdd1a7a47a2a67dad66e7ea8739b7 | 714d4d2796e9b5771a1850a62c9ef818239f5e77 | /cc/resources/resource_provider_unittest.cc | 12075b56c81b091d0dd5b45d772734489791de66 | [
"BSD-3-Clause"
] | permissive | CapOM/ChromiumGStreamerBackend | 6c772341f815d62d4b3c4802df3920ffa815d52a | 1dde005bd5d807839b5d45271e9f2699df5c54c9 | refs/heads/master | 2020-12-28T19:34:06.165451 | 2015-10-21T15:42:34 | 2015-10-23T11:00:45 | 45,056,006 | 2 | 0 | null | 2015-10-27T16:58:16 | 2015-10-27T16:58:16 | null | UTF-8 | C++ | false | false | 143,723 | cc | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cc/resources/resource_provider.h"
#include <algorithm>
#include <map>
#include <set>
#include <vector>
#include "base/bind.h"
#include "base/c... | [
"j.isorce@samsung.com"
] | j.isorce@samsung.com |
383e8d3326987193203354b48dcae7d060ac9efa | 16108ca2f0b6157ddb81637dd5403c6a1745d765 | /include/nbla/function/pad.hpp | 892d840f10c3385eb6f2c416b76308f47fd21b03 | [
"Apache-2.0"
] | permissive | arvindpal/nnabla | 67d52f3c8f8e1cb387a22f223d243f12ed419d4c | 32775aaa07ddedafd3a1931952a82d291ec7c4e8 | refs/heads/master | 2020-03-21T02:23:37.477435 | 2018-06-20T06:01:15 | 2018-06-20T06:01:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,283 | hpp | // Copyright (c) 2017 Sony Corporation. 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 ... | [
"poornima.biradar@sony.com"
] | poornima.biradar@sony.com |
17ba551f30c7fa7495a71ca06fd201b0e0a55e81 | 28d50cc3907c1fe4d6b095f46fd8f0097ad94fca | /GeneticAlgorithm.h | 7aee326170efbeb4d0b3fcfb1b6cec2a017ea570 | [] | no_license | reqhiem/QuantumComputing | 73fdf98a6d99829439f141747c9af2d10c228bcd | 0938dbdeff190c8325f646d3501e1a84dc31229c | refs/heads/main | 2023-07-05T14:54:14.818397 | 2021-08-10T06:01:20 | 2021-08-10T06:01:20 | 370,897,299 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,176 | h | /**
* @descripcion: Archivo de cabecera para la declaracion de la clase GeneticAlgorithm para manipular
* datos y funciones miembro de un QGA (Quantum Genetic Algorithm)
*/
#pragma once
#include <vector>
#include <algorithm>
#include <iostream>
#include "Individual.h"
class GeneticAlgorithm {
private:
std... | [
"jperca@unsa.edu.pe"
] | jperca@unsa.edu.pe |
63bfc71963a719f143324b1cb0dd50afa1aafce2 | 16252e012a94829dba0ec4e24663edae9614a2e8 | /Hazel/src/Hazel/ImGui/ImGuiLayer.h | a85446965db94a386982a7fdfab6e49a0bb76dc2 | [
"Apache-2.0"
] | permissive | ZeshanRasul/Hazel | 54d296d87dcb1400f0f4fdeae3aff9cdc5411c4a | 60c38ed9946832719d8bef51eba49890ce9a975b | refs/heads/main | 2023-01-14T04:54:28.626864 | 2020-11-28T22:46:21 | 2020-11-28T22:46:21 | 307,510,397 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 458 | h | /*
#pragma once
#include "Hazel/Layer.h"
#include "Hazel/Events/ApplicationEvent.h"
#include "Hazel/Events/MouseEvent.h"
#include "Hazel/Events/KeyEvent.h"
namespace Hazel
{
class HAZEL_API ImGuiLayer : public Layer
{
public:
ImGuiLayer();
~ImGuiLayer();
virtual void OnDetach() override;
virtual void OnA... | [
"zeshanrasul@gmail.com"
] | zeshanrasul@gmail.com |
1ccb5ccc4e5c5d802fc9b55ff12efa8969897803 | ad60f9e6af52225cbb32ded0952f67846a9cf6b6 | /GameServer/ChatServer/Session.cxx | 46d805ec113fa85a0f7827e214d8cb4534b1a8d4 | [] | no_license | ForbesNDU/Inferno_GameServer | 208c4da55a11c366204488681db35c306be28638 | 9da4de18ff7a6bc91d9bea0fea310792e733f5f8 | refs/heads/master | 2021-01-10T17:20:53.427226 | 2016-04-17T20:34:24 | 2016-04-17T20:34:24 | 53,361,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,179 | cxx | #include "Session.h"
////////// LOGISTICS //////////
int Session::count = 0;
Session::Session(int maxClients, int teamSize, std::list<Client*> *redClients, std::list<Client*> *blueClients) :
MAXCLIENTS(maxClients),
TEAMSIZE(teamSize) {
this->redClients = *redClients;
this->blueClients = *blueClients;
FD_ZERO(... | [
"pforbes@nd.edu"
] | pforbes@nd.edu |
4097ce048c1d202ea7926933f3c482f8dfd82483 | b967859af1265648cafab57ecd8141f2ea55f369 | /main/build/Simple_Renderer/moc_ViewWidget.cpp | 67816c7a4be31cec4d1643f3084c9239236df7bc | [
"MIT"
] | permissive | pawelburzynski/neural_rendering | f20625dc57159f1463966d27df29c0a77842061f | c530ddc388256bda87c27a6779f5270bd33e22c1 | refs/heads/master | 2020-12-22T14:18:45.242589 | 2020-05-15T05:24:49 | 2020-05-15T05:24:49 | 236,797,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,208 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'ViewWidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.7)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"pawel.burzynski98@gmail.com"
] | pawel.burzynski98@gmail.com |
117d9823b53718888b5d139d50fa8bf1f9bd547a | b40ba4fcf7daf2907a5d117134d833943b76d7ec | /c++/greedy/B2138/B2138.cpp | 2a00d4d2c18e4621b8ffecbd788b7b9f3cf0f3be | [] | no_license | bgpark82/algorithm | 7e150b46df2f2af0e806766597371f5bd27a7081 | 2435a2660e1f34f25455500e62a153bd67d1da0f | refs/heads/master | 2021-11-08T07:10:24.400793 | 2021-11-01T14:47:44 | 2021-11-01T14:47:44 | 231,231,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,104 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
void change(vector<int> &a, int index)
{
for (int i = index - 1; i <= index + 1; i++)
{
if (i >= 0 && i <= a.size() - 1)
{
a[i] = 1 - a[i];
}
}
}
// TODO: 매개변수를 그냥 받으면 새로운 값 생성
// TODO: 매개변... | [
"bgpark82@gmail.com"
] | bgpark82@gmail.com |
541d63efdc1288e3d68da293bd5b4c4c52308bf6 | 38a9dcec6b080e7804281738f377822954a46556 | /AudioStreamEffect/src/stream_transform/StreamTransformBase.h | 309a651d479c3177a81e60231ebba79a54f94d6d | [] | no_license | paralyzable/AudioStreamEffect | 0ddd0beb0a8b00091081367625c4ba3d4b4c06fd | 1d01c0f93980187f1ced2dc7e3f3dc3d40f09e36 | refs/heads/master | 2023-05-15T10:54:13.312581 | 2021-06-06T08:26:57 | 2021-06-06T08:26:57 | 367,542,620 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | h | #pragma once
#include "Track.h"
#include <array>
#include <vector>
#include <string>
class StreamTransform
{
protected:
std::array<std::vector<float>, 2> m_Result;
public:
StreamTransform() = default;
virtual ~StreamTransform() = default;
StreamTransform(StreamTransform&& other) noexcept = default;
virtual Sa... | [
"r-jett@outlook.com"
] | r-jett@outlook.com |
1ffe107cab8360c7209219448ab8d721ac44beaf | 037d518773420f21d74079ee492827212ba6e434 | /blazetest/src/mathtest/dmatdmatschur/HHbHHb.cpp | 8252b9f448633708d0deee1fc2fac394456c02a2 | [
"BSD-3-Clause"
] | permissive | chkob/forked-blaze | 8d228f3e8d1f305a9cf43ceaba9d5fcd603ecca8 | b0ce91c821608e498b3c861e956951afc55c31eb | refs/heads/master | 2021-09-05T11:52:03.715469 | 2018-01-27T02:31:51 | 2018-01-27T02:31:51 | 112,014,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,881 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatschur/HHbHHb.cpp
// \brief Source file for the HHbHHb dense matrix/dense matrix Schur product math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
d39fbef4a36af5eecbcd17e23ae8f0bce34007e6 | a964826c7d71c0b417157c3f56fced2936a17082 | /Source/Clockwork/Graphics/OpenGL/OGLTexture2D.h | 28f6255e0c0eb7eca560498bcd45244ed7ae9ece | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"LicenseRef-scancode-openssl",
"BSD-3-Clause",
"NTP",
"BSL-1.0",
"LicenseRef-scancode-khronos",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"Zlib"
] | permissive | gitter-badger/Clockwork | c95bcfc2066a11e2fcad0329a79cb69f0e7da4b5 | ec489a090697fc8b0dc692c3466df352ee722a6b | refs/heads/master | 2020-12-28T07:46:24.514590 | 2016-04-11T00:51:14 | 2016-04-11T00:51:14 | 55,931,507 | 0 | 0 | null | 2016-04-11T01:09:48 | 2016-04-11T01:09:48 | null | UTF-8 | C++ | false | false | 3,379 | h | //
// Copyright (c) 2008-2015 the Urho3D project.
//
// 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, copy, modify, m... | [
"dragonCASTjosh@gmail.com"
] | dragonCASTjosh@gmail.com |
48490ed821efaefd8f1f70140a8485182537844c | c2b0e52c28edc042869eef588221e5401e2da9cd | /lcs-lib/src/lcs/wadindex.cpp | 08a09c7e41aebb39e94c16966b266ea156603a29 | [
"MIT"
] | permissive | shinonomechan/lolcustomskin-tools | 6513b697dd15daa64c934543e940bd70552bb635 | 2caca66ba69285e958e5d9d28f346ca7ebd568e4 | refs/heads/master | 2023-06-08T05:03:50.740720 | 2021-06-24T16:49:14 | 2021-06-24T16:49:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,180 | cpp | #include "wadindex.hpp"
#include "error.hpp"
#include <utility>
using namespace LCS;
static constexpr std::string_view INDEX_BLACKLIST[] = {
"Map21.wad.client",
"Map22.wad.client",
};
static bool is_blacklisted(std::string filename) noexcept {
for (auto name: INDEX_BLACKLIST) {
if (name == filena... | [
"moonshadow565@hotmail.com"
] | moonshadow565@hotmail.com |
eb464f62b2f8fac25550db1fec3fb87b33149e07 | 4bea57e631734f8cb1c230f521fd523a63c1ff23 | /projects/openfoam/rarefied-flows/impingment/sims/test/nozzle1/9.22/uniform/time | 5828939be565ab66d3e452d8a240937e41c1ebdb | [] | no_license | andytorrestb/cfal | 76217f77dd43474f6b0a7eb430887e8775b78d7f | 730fb66a3070ccb3e0c52c03417e3b09140f3605 | refs/heads/master | 2023-07-04T01:22:01.990628 | 2021-08-01T15:36:17 | 2021-08-01T15:36:17 | 294,183,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"andytorrestb@gmail.com"
] | andytorrestb@gmail.com | |
b984844aea75d2d9bc67a41d0a9fc8e19db1f669 | ee110988b18677433eb39c2ad9c148bd6b944941 | /2557_Drunk_Jailer/2557.cpp | 6b058cda0049bfdad389808f696b09e90de56713 | [
"MIT"
] | permissive | alxtn/acm | f10c2182e4053bb3bd5d54482b2b819c93787b0a | 6ff4239e6353b465f8ad8bcb7ceaf5591591d6de | refs/heads/master | 2021-01-11T14:37:15.088467 | 2017-01-27T03:11:19 | 2017-01-27T03:11:19 | 80,175,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int drunkJailer(int numCells){
bool cells[numCells];
for( int i = 0; i < numCells; i++)
cells[i] = true; // Unlock all cells
for( int i = 2; i < numCells + 1; i++){ // Each pass
for( int j = 1; j < numCells + 1; j++){ // Check each cell
if( !(j... | [
"alex@alxtn.com"
] | alex@alxtn.com |
175367b8cd82784733d3400d9ac9f9bc7476ac5d | 64ce9d40c49d9008ef660c2f9d1671be140a5005 | /d07/ex02/Array.hpp | c4910622e55407a944551acf3df2e5788195e77d | [] | no_license | fmallaba/cpp | 33b4ac79a9800ab1e1c7fc24dd258b86b1468f69 | 79674e3b6e09b5b83952a71ff3d0590dd6d72108 | refs/heads/master | 2021-04-09T14:40:29.060979 | 2018-04-09T17:04:24 | 2018-04-09T17:04:24 | 125,549,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | hpp | #ifndef ARRAY_HPP
# define ARRAY_HPP
#include <exception>
template<typename T>
class Array
{
private:
T *_arr;
unsigned int _size;
public:
Array<T>(void)
{
this->_arr = new T[0];
this->_size = 0;
}
Array<T>(unsigned int n)
{
this->_arr = new T[n];
this->_size = n;
}
Array<T>(Array<T> & rhs)
{
*thi... | [
"bomcrimea@gmail.com"
] | bomcrimea@gmail.com |
d90a00471caf6eda163d2fc3054653863b414244 | a84bcf9c8551264e52c1c62c945f8ec795d7ebc0 | /src/databaseConnection.cpp | 5da1fdeabbad8bb712e72be82bf8cc237b6d03c8 | [] | no_license | hschu12/Speciale | 68369edcd132270dcf1e48c91fb48c513d04d62a | a2c49655df386c622340a416031fac2de2cda41f | refs/heads/master | 2021-03-30T00:58:05.120873 | 2018-06-27T11:25:37 | 2018-06-27T11:25:37 | 87,304,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,013 | cpp | #include <sqlite3.h>
#include <iostream>
#include <vector>
#include "include/HyperGraph.hpp"
std::vector<int> reactions;
std::vector<int> educts;
std::vector<int> products;
int getReactionList(void *NotUsed, int argc, char **argv, char **azColName) {
NotUsed = 0;
for (int i = 0; i < argc; i++) {
... | [
"Henrikschulz@hotmail.com"
] | Henrikschulz@hotmail.com |
2413289ab5012516e25b395ae5d8064a9dea1e45 | a6d6dc3f46cf958b4c245c3a2ce2a93b14cbfbdb | /test_engine/test_env_a3q4/object/q3main.cc | 867bf3614574f339bc6f987f9bfa6a431789f4d6 | [] | no_license | GooseWorrior/test-engine | ce2e385049407ebe6eec4b2f1901381f24fcdc23 | 44501a5368a3cd563f196e1adc6daf412c681cbe | refs/heads/master | 2020-12-09T21:30:47.404017 | 2020-01-12T16:37:39 | 2020-01-12T16:37:39 | 233,421,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cc | #include <iostream>
#include <string>
#include "re.h"
using namespace std;
int main() {
string s;
while (getline(cin, s)) {
auto re = CS246E::parseDisjunction(s);
cout << *re << endl;
while (getline(cin, s)) {
if (s == "q") break;
cout << boolalpha << re->matches(s) << endl;
}
}
}
| [
"h227jian@edu.uwaterloo.ca"
] | h227jian@edu.uwaterloo.ca |
2f23b70e57a78f7408b75d3550d5e4d7ea232853 | d9cfe7700cf37bf04dbc15836adf1c59fdb2e0d1 | /uri1244b.cpp | 55431de8d7afee138e0351eda592a1877d69b486 | [] | no_license | helfo2/URI-Online-Judge-CP-Training | b270fb250276651aaac80b78f1e4e12a692d4546 | f79faf3b6a5a692314b4ba054704c5fc3aa7613a | refs/heads/master | 2021-05-11T19:42:54.736358 | 2018-01-17T20:09:55 | 2018-01-17T20:09:55 | 117,887,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | #include <iostream>
#include <string>
#include <list>
#include <sstream>
#include <algorithm>
using namespace std;
bool comp(string s1, string s2) {
return s1.size() > s2.size();
}
int main(void) {
int n; cin >> n; cin.ignore();
while(n--) {
string linha, t;
list<string> resposta;
getline(cin, linha);
... | [
"elfo@MacBook-Air.local"
] | elfo@MacBook-Air.local |
84cdb586218836a33b5587ec6da51bd0bd6719ad | 9d8dad1ea06300f0d70328398bf137fa6c824502 | /src/core/equivalents/EquivalentsSubsystemsRouter.h | d2c356699eafca0bf193944ae3b0311f78705b17 | [] | no_license | MukolaIlashchuk/geo-client | a37d65e959b8579ef6cbf83b8b06022d991f218c | 30f32cf74790155d3e14fe26b1c0ac0193e2f447 | refs/heads/master | 2020-04-03T06:06:18.201690 | 2018-10-28T11:59:53 | 2018-10-28T11:59:53 | 155,065,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,302 | h | #ifndef GEO_NETWORK_CLIENT_EQUIVALENTSSUBSYSTEMSROUTER_H
#define GEO_NETWORK_CLIENT_EQUIVALENTSSUBSYSTEMSROUTER_H
#include "../trust_lines/manager/TrustLinesManager.h"
#include "../topology/manager/TopologyTrustLinesManager.h"
#include "../topology/cashe/TopologyCacheManager.h"
#include "../delayed_tasks/TopologyCache... | [
"mykola.ilashchuk@gmail.com"
] | mykola.ilashchuk@gmail.com |
7bad296381d81455cf12bae1c1b3292b4f330572 | 7ff5674fa49051ba0d8e452f22a54abea1d733e0 | /OOP/Amna/tic tac toe/amna/tic tac toe/tic tac toe/tttoe.cpp | b360f4347f015d921c2d0083fc64d1c60d9a5e42 | [] | no_license | Tayyibah/OOP | abb7cca8718def051f58a9aa418f95e01412fd1a | c5c499cd43a6bc6807f4f53dd90dbadc7d36c2d0 | refs/heads/master | 2021-01-22T08:53:12.332018 | 2018-02-13T03:29:57 | 2018-02-13T03:29:57 | 92,641,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,248 | cpp | #include <iostream>
using namespace std;
char square[10] = {'o','1','2','3','4','5','6','7','8','9'};
int checkwin();
void board();
int main()
{
int player=1 ,i,choice;
char mark;
do
{
board();
player=(player%2)?1:2;
cout << "Player " << player << ", enter a number: ";
cin >> choice;
mark=(player == 1) ?... | [
"tayyibahalauddin@gmail.com"
] | tayyibahalauddin@gmail.com |
337fd61338dfd4d6b8ea1594016d3b0487710287 | 1247d047cbf5d0dd703dade28122a647bbb2a272 | /FixDST/pass1/trackbase/TrkrClusterv1.cc | 0571149fc1a5075f6d2d6017e7ba15954ab24610 | [] | no_license | pinkenburg/myutils | aa1eed3acd5b79a7f4e9ded2c10e9f8b61cdf562 | 4525066e2b0ca0829b9dbb5426aad4819b6e0ac2 | refs/heads/master | 2021-06-07T17:26:49.528486 | 2021-06-01T20:48:13 | 2021-06-01T20:48:13 | 148,370,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,212 | cc | /**
* @file trackbase/TrkrClusterv1.cc
* @author D. McGlinchey
* @date June 2018
* @brief Implementation of TrkrClusterv1
*/
#include "TrkrClusterv1.h"
#include <cmath>
#include <utility> // for swap
namespace
{
// square convenience function
template<class T> inline constexpr T square( const T& x ... | [
"pinkenburg@bnl.gov"
] | pinkenburg@bnl.gov |
11baed49cebdfb60cf8a6a42fde625c9297962d6 | 315cb92ea46ff1d09e6cabe0fdfaa3b067b3a68c | /kmer_utils.cpp | af128cb320d7889bfd51a9a40368acd63238d1b9 | [] | no_license | turkdogan/kmer-counter | b88d557dc122f95baf587aba779190710d3aafb4 | 6a0b408a086bddcf2980a42e975f89382c651f5f | refs/heads/master | 2021-06-13T23:16:01.412675 | 2017-03-16T06:13:30 | 2017-03-16T06:13:30 | 85,163,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,831 | cpp | #include "kmer_utils.h"
#include <iostream>
#include <sstream>
static inline uint8_t ctobits(char c)
{
switch (c) {
case 'A':
case 'N': return 0;
case 'C': return 1;
case 'T': return 2;
case 'G': return 3;
default:
fprintf(stderr, "Unexpected char: %c\n", c);
exit(EXIT_FAILURE);
break;
}
... | [
"ttasdelen@gmaill.com"
] | ttasdelen@gmaill.com |
681cb1d5aae86f41e7beb0869bfb8614d1d114ff | 7e79e0be56f612288e9783582c7b65a1a6a53397 | /problem-solutions/codeforces/541/A.cpp | 47cb9ffc3886f564f3a911393c10ccfe08f7071b | [] | no_license | gcamargo96/Competitive-Programming | a643f492b429989c2d13d7d750c6124e99373771 | 0325097de60e693009094990d408ee8f3e8bb18a | refs/heads/master | 2020-07-14T10:27:26.572439 | 2019-08-24T15:11:20 | 2019-08-24T15:11:20 | 66,391,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | cpp | #include <bits/stdc++.h>
using namespace std;
#define For(i,a,b) for(int (i)=(a);(i) < (b); ++(i))
#define mp make_pair
#define pb push_back
#define eb emplace_back
#define fi first
#define se second
#define PI acos(-1)
#define fastcin ios_base::sync_with_stdio(false);
typedef long long ll;
typedef vector<int> vi;
type... | [
"gacamargo1.000@gmail.com"
] | gacamargo1.000@gmail.com |
c5f640ab32981fd5b453e20bd9801e01a5a8965e | e292015beee6882aae5e82c64d32f3d37c804ebb | /checkpoint_4/arduino/checkpoint_4_arduino_ros/checkpoint_4_arduino_ros.ino | 37eb8173c328d5bbbdda1059b41a435fae93a038 | [] | no_license | ChengChengYang0416/mobile-robots-ws | 6b6df144b6a34f8fcaf82941442f4715d9ad46fc | a1636e149c365e575134c5ff712260748192d1cb | refs/heads/master | 2023-02-12T20:19:36.105130 | 2021-01-07T06:46:06 | 2021-01-07T06:46:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,218 | ino | #include <ros.h>
#include <std_msgs/Int32.h>
#include <PID_v1.h>
#include <math.h>
#define IN1 8 // control pin for left motor
#define IN2 9 // control pin for left motor
#define IN3 10 // control pin for right motor
#define IN4 11 // control pin for right ... | [
"kb240608@gmail.com"
] | kb240608@gmail.com |
9cf89573f897ba3cf9d8f651c7050db149a58b17 | f7a0952199d90df119f2766a42bd7268e9478ed9 | /3rdparty/QxOrm/include/QxSerialize/QxArchive.h | d72d7b0934973830fc2ffacced153c30400ee8ff | [
"Apache-2.0",
"MIT"
] | permissive | kevinlq/QxOrm_Example | d4738b651ea8c2e7f8cd3aa4fe8de0925e60599f | 25c8c535a7602c0102e76df48969bb64f7711175 | refs/heads/master | 2023-06-09T21:10:18.779925 | 2021-06-24T13:54:37 | 2021-06-24T13:54:37 | 373,535,405 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,797 | h | /****************************************************************************
**
** https://www.qxorm.com/
** Copyright (C) 2013 Lionel Marty (contact@qxorm.com)
**
** This file is part of the QxOrm library
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors... | [
"kevinlq0912@163.com"
] | kevinlq0912@163.com |
d4770d0c79c7386089c5957eed8da1dc8e35a31b | 0e7bd3d037bda33905f837b1e37a221ff805172a | /Codechef/2015/june_challenge/steady.cpp | 51117a4330bbe411b4467e60c987b7244e7a67c8 | [] | no_license | davidjacobo/Competencias | 0179d6392c13f369ee26e834a01be615f678c3ae | 9ef4b483d43dae2deef35291a0fb7af16d9e109b | refs/heads/master | 2021-01-15T15:44:25.687748 | 2016-08-21T08:24:54 | 2016-08-21T08:25:03 | 29,445,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | cpp | #include <cstdio>
#include <cstring>
#define MAX_N 2001
#define MOD 1000000000
using namespace std;
typedef long long ll;
int ways[MAX_N][MAX_N];
void build_ways(){
for(int i=0;i<MAX_N;++i) ways[i][0] = 0;
for(int j=0;j<MAX_N;++j) ways[0][j] = ways[j][1] = 1;
for(int i=1;i<MAX_N;++i)
for(i... | [
"jguillen@cimat.mx"
] | jguillen@cimat.mx |
1d4ad044d84c11b5e3c6592cd4d50693be4bb728 | c499c4a894280b28e2f7d07e4a52c1e1ac3b93cb | /PhysicsSim_UE/Intermediate/Build/Win64/UE4Editor/Inc/PhysicsSim_UE/NewtonBall.gen.cpp | f82087179ff4f2b1ec3c75d1f0631486e38b206e | [] | no_license | Kittyjelly19/PhysicsSimulation | ac6888e204e16f49bac5b66d43f11635cf57a3ec | ece365edaac1abacf75ebbb69ee17393d29d9af8 | refs/heads/main | 2023-03-01T14:14:52.908081 | 2021-02-09T14:12:57 | 2021-02-09T14:12:57 | 304,125,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,381 | cpp | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"49998740+Kittyjelly19@users.noreply.github.com"
] | 49998740+Kittyjelly19@users.noreply.github.com |
25b768a825888801ed17b948debd514ee1720331 | 11f8f882de367ba18c32b75efbd5c72c6a1b46e5 | /roverScript/wordsControl.cpp | 891e775d82a98b873154de4f46f91eda3996890d | [
"MIT"
] | permissive | jimfinnis/blodwen | 6a219c4627d408184430f689b224bca86a75b095 | 44ae1b6555dad5c1fdfe4f6a8d7019e3f171cb3e | refs/heads/master | 2020-12-31T07:33:00.612059 | 2020-07-28T14:59:15 | 2020-07-28T14:59:15 | 86,590,971 | 0 | 1 | MIT | 2020-07-28T14:59:16 | 2017-03-29T14:17:01 | C++ | UTF-8 | C++ | false | false | 3,459 | cpp | /**
* @file
* Words for running the rover
*
*/
#include "angort.h"
#include "../pc/rover.h"
#include "roverexceptions.h"
extern Rover *r;
extern void emergencyStop();
%name control
%word s (--) emergency stop
{
emergencyStop();
}
%word reset (--) reset exception states, overrides standard angort word!
{
... | [
"jim.finnis@gmail.com"
] | jim.finnis@gmail.com |
1477d891d1b995d59481b85902b24bc2c8d194ed | e7e7df22dac94b377b3c0ff956b684fa51974ab1 | /MyDumper64/MyDumper64.cpp | e906811893850360e81b21a970cf9f831c579b68 | [
"Apache-2.0"
] | permissive | waleedassar/MyDumper64 | 578f7f59b4d252386c11703c41b443b6e4da6bae | 06c9bdb238a8731f1a3d2bb4536c6c2c0fd2f5af | refs/heads/main | 2023-05-10T15:54:18.921044 | 2021-06-08T22:55:32 | 2021-06-08T22:55:32 | 375,158,900 | 1 | 3 | null | 2021-06-08T22:54:52 | 2021-06-08T22:16:21 | C++ | UTF-8 | C++ | false | false | 15,872 | cpp | // MyDumper64.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "windows.h"
#include "stdio.h"
#include "Header.h"
lpIsWow64Process pIsWow64Process;
lpGetNativeSystemInfo pGetNativeSystemInfo;
//------------------------------------------
unsigned long long g_lpMaximumApplica... | [
"waliedassar@gmail.com"
] | waliedassar@gmail.com |
5894ccc5c5cca91f7de4241d2a16174f26008c0a | fc2a430f8c82576eb6580062ecad4645054f625c | /src/puzzle/Board.hpp | cdd86d6c40ec7af95e1c5e7afc2c9172265cdeb7 | [] | no_license | Lothav/8-Puzzle_solver | 2754ac40a164fe54e42677c74ac8173bdc7a0933 | 401d86888d9cc40b2ffb83de3ede5dd1112d0d58 | refs/heads/master | 2020-05-15T18:45:26.182550 | 2019-05-29T13:18:02 | 2019-05-29T13:18:02 | 182,438,142 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,329 | hpp | #ifndef INC_8_PUZZLE_SOLVER_BOARD_HPP
#define INC_8_PUZZLE_SOLVER_BOARD_HPP
#include <vector>
#include <memory>
#include <memancpp/Pool.hpp>
#include <unordered_map>
#include "solve/Heuristics.hpp"
#include <sstream>
namespace puzzle
{
class Board
{
private:
static std::unique_ptr<mem::Pool<Boar... | [
"me@luizotav.io"
] | me@luizotav.io |
cec8d691e602476222518cd234999c9f37ceb050 | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/External/SDK/figurehead_merchant_01_CustomizationDesc_classes.h | 9ba28c4c41cbb28e59f956f4a8b3f3125e43e02a | [] | no_license | zH4x/SoT-Insider-SDK | 57e2e05ede34ca1fd90fc5904cf7a79f0259085c | 6bff738a1b701c34656546e333b7e59c98c63ad7 | refs/heads/main | 2023-06-09T23:10:32.929216 | 2021-07-07T01:34:27 | 2021-07-07T01:34:27 | 383,638,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 905 | h | #pragma once
// Name: SoT-Insider, Version: 1.102.2382.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
59833dae0d02718eaf691dc2c212a8ff0ca57918 | 69784e105ddc2aca3699b6b07dbcb1834d7c242c | /Classes/Native/mscorlib_System_Collections_Generic_EqualityCompar4197957843.h | 3e73b320e56c91aa7fc126d551fa9d8e205d8304 | [] | no_license | ryanmcgrail95/CRHC-iOS | 7e72139100b2140143deb424d21fdc69b2959ed1 | 1b00260e6c59f552d9a8b94e42fcae5e657a6c46 | refs/heads/master | 2021-06-12T11:21:33.461817 | 2017-03-04T01:08:34 | 2017-03-04T01:08:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,442 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Collections.Generic.EqualityComparer`1<Vuforia.VuforiaManager/TrackableIdPair>
struct EqualityComparer_1_t4197957843;
#include "mscorlib_System_Object268944929... | [
"rmcgrai1@nd.edu"
] | rmcgrai1@nd.edu |
c4f1a35f5396a89b9761d27175eec4aa531ffcc0 | 60d30ade24a7a693fe8a3019464411c07e639d14 | /src/util.h | 0a972c514e08ccb1e05a434a91893433a1a338a8 | [
"MIT"
] | permissive | Bitaltyn-project/bitaltyn | 4f721e5ca7c0d26abc59ae2539b0fc9ceda4e641 | d332885c432860fd9f5791a7d61a7fdd563a18ff | refs/heads/master | 2021-01-21T21:39:28.795330 | 2015-10-21T20:43:44 | 2015-10-21T20:43:44 | 44,423,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,416 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
/**
* Server/client environment: argument handling, config file parsing,
* logging, ... | [
"a2terminator@mail.ru"
] | a2terminator@mail.ru |
46d0ad94cc2d7184ed730d29b4261f67ddda5f9b | 01bcef56ade123623725ca78d233ac8653a91ece | /engine/common.cpp | c1176b6d48bf8951b946d3b3dbf83a3df7752833 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SwagSoftware/Kisak-Strike | 1085ba3c6003e622dac5ebc0c9424cb16ef58467 | 4c2fdc31432b4f5b911546c8c0d499a9cff68a85 | refs/heads/master | 2023-09-01T02:06:59.187775 | 2022-09-05T00:51:46 | 2022-09-05T00:51:46 | 266,676,410 | 921 | 123 | null | 2022-10-01T16:26:41 | 2020-05-25T03:41:35 | C++ | UTF-8 | C++ | false | false | 25,310 | cpp | //========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#include "host.h"
#include <ctype.h>
#include "draw.h"
#include "zone.h"
#include "sys.h"
#include <edict.h>
... | [
"bbchallenger100@gmail.com"
] | bbchallenger100@gmail.com |
a7fad3944659f16266aeab02fee62d05dd1ff6be | 7de5519d6376147676b2e79e5847318a4604f813 | /ProjectEuler/Problem_8.cpp | 395cb6fa97c7c0462058947c3c32acf74da17a81 | [] | no_license | yysaki/ProgrammingContests | 1f812abc642e89a2a1c0d8a690e749ac67586702 | a24b1a2bec80a7605b689507e5ff1b7ec2c12581 | refs/heads/master | 2021-01-10T00:57:48.402296 | 2014-04-04T12:39:32 | 2014-04-04T12:39:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | #include <algorithm>
#include <iostream>
#include <sstream>
#include <limits>
#include <map>
#include <numeric>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <boost/tuple/tuple.hpp>
#include <cstdlib>
#include <fstream>
using namespace std;
int main(){
ifstream ifs("Pr... | [
"yysaki@SasakiBookAir-2.local"
] | yysaki@SasakiBookAir-2.local |
a1ac360398802ef5f73744fe21c5ae68331ad37b | a182582bd8fe6c4fdd48efcfebe9d8f8f9819fae | /节点.cpp | 2252205adb8f8c968f4f6484bd4d677674c0a327 | [] | no_license | dzq123321/c-journey | 11276223c8ac4c01a620f7569d7cd5c0575206ce | 2a7bb7ccd69bb531e59bad030c6f593949974d88 | refs/heads/master | 2021-07-17T21:45:52.187228 | 2020-08-14T14:10:06 | 2020-08-14T14:10:06 | 203,804,078 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,785 | cpp | #include<stdio.h>
#include<string.h>
#include<malloc.h>
/*
结构体 -是一种数组类型,更具体是构造类型,也叫构造体,数组也是构造数组类型
struct 结构体名
{
成员 类型本身不占空间
};
struct
{
成员
}a;
*/
#if 0
typedef struct student
{
int num;
char name[20];
char sex;
int age;
}STU;
#endif
#if 0
struct student
{
int num; //4
char name[20]; //20
char sex; //4... | [
"2625869004@qq.com"
] | 2625869004@qq.com |
46db756fb6c9fa8a45475b77c0e91bf9621d8e74 | c20c4812ac0164c8ec2434e1126c1fdb1a2cc09e | /Source/Source/Tools/Dumper/Common/md5.cpp | 69122d2c7b9d934fc18fb7bdfd0bfc83f5daca7e | [
"MIT"
] | permissive | uvbs/FullSource | f8673b02e10c8c749b9b88bf18018a69158e8cb9 | 07601c5f18d243fb478735b7bdcb8955598b9a90 | refs/heads/master | 2020-03-24T03:11:13.148940 | 2018-07-25T18:30:25 | 2018-07-25T18:30:25 | 142,408,505 | 2 | 2 | null | 2018-07-26T07:58:12 | 2018-07-26T07:58:12 | null | UTF-8 | C++ | false | false | 12,197 | cpp | /*
Copyright (C) 1999 Aladdin Enterprises. All rights reserved.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpos... | [
"dark.hades.1102@GAMIL.COM"
] | dark.hades.1102@GAMIL.COM |
db5ea95fb5d4593fe64af1a7d38ff22d12c44bf8 | fdc9b3f462946183569dc9d54415423a582dddbb | /coursera-algorithms/week1/mergeSort.cpp | 760b0c8eb63417738ea46e76c74c6c3eb4c599d6 | [] | no_license | normanlys/coding-solutions | 91aedc7deb938984443462de1c271d3f9c919919 | 4708566176bc18d61c6fdea086ac04c497c9c051 | refs/heads/master | 2021-07-11T23:33:11.508603 | 2020-07-27T07:31:33 | 2020-07-27T07:31:33 | 182,287,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 547 | cpp | #include <iostream>
#include <vector>
using namespace std;
int c = 0;
void merge(vector<int>& arr, int l, int r, int mid)
{
}
void mergeSort(vector<int>& arr, int l, int r)
{
cout << c << endl;
c++;
if (l >= r)
return;
int mid = (r - l)/2;
mergeSort(arr, l, mid);
mergeSort(... | [
"normanlys16@gmail.com"
] | normanlys16@gmail.com |
ef50f25b9eb985a982839d7a5427bbfb1805f350 | 57d1d62e1a10282e8d4faa42e937c486102ebf04 | /judges/codejam/2019/qualification/you_can_go_your_own_way.cpp | 2ef3b6735ac7382e4401f80861cbc20edf82a10a | [] | no_license | diegoximenes/icpc | 91a32a599824241247a8cc57a2618563f433d6ea | 8c7ee69cc4a1f3514dddc0e7ae37e9fba0be8401 | refs/heads/master | 2022-10-12T11:47:10.706794 | 2022-09-24T04:03:31 | 2022-09-24T04:03:31 | 178,573,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 888 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define fast_io ios::sync_with_stdio(false)
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define INF 0x3f3f3f3f
#define INFLL 0x3f3f3f3f3f3f3f3fLL
const double PI = acos(-1);
const double EPS = 1e-9;
inline int cmp_dou... | [
"dxmendes1@gmail.com"
] | dxmendes1@gmail.com |
70e645f2dd6678592fb875867081ee5821285c60 | 20fb9e22dd969a9d0535c504019a461daef78982 | /sequence.cpp | 84adb7f70d11436f6ace777b63084f4599404833 | [] | no_license | ImTema/createAndroidTest | 0926de79e4827f170d98b18c4a46aff99778d4a2 | 2dfc3131fc24d959e7669ad3bf2b841ec14ccd2f | refs/heads/master | 2020-05-18T11:01:15.955701 | 2017-12-02T18:52:09 | 2017-12-02T18:52:09 | 33,817,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cpp | #include "sequence.h"
Sequence::Sequence(QWidget *parent, QLayout *layout, int id)
{
setParent(parent);
setLayout(layout);
QLabel *sequenceNumber = new QLabel(QString::number(id+1));
QLineEdit *answerText=new QLineEdit(this);
//QPushButton *deleteAnswerButton=new QPushButton("Удалить");
//answe... | [
"9119123210@mail.ru"
] | 9119123210@mail.ru |
6601e50cfefbde101953f1602621ff68623c140b | e1d6417b995823e507a1e53ff81504e4bc795c8f | /gbk/client/Client/Tools/MrSmith/MrSmith/PacketHandle/CGAskChangeSceneHandler.cpp | 35ef8db5ad66dd3d0348d5e03cf0a95e4d6cd9c2 | [] | no_license | cjmxp/pap_full | f05d9e3f9390c2820a1e51d9ad4b38fe044e05a6 | 1963a8a7bda5156a772ccb3c3e35219a644a1566 | refs/heads/master | 2020-12-02T22:50:41.786682 | 2013-11-15T08:02:30 | 2013-11-15T08:02:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | #include "StdAfx.h"
#include "CGAskChangeScene.h"
using namespace Packets;
UINT CGAskChangeSceneHandler::Execute(CGAskChangeScene* pPacket, Player*)
{
return PACKET_EXE_CONTINUE;
}
| [
"viticm@126.com"
] | viticm@126.com |
361ff8f950f6b6d9eb7119babe848e8d67bdfe6e | 1a93c26460165291fe3625fecbdd98e23c03c19f | /codeforces/987/B.cpp | 9ce832bb4fa2b50a5a212100e387088397679eda | [] | no_license | morsalin80/Codeforces-and-atcoder | 77ccab44b4e23d5a89d063b997ca75a77237dada | be3cb44926552021589b2e2d46a8702c632dba07 | refs/heads/master | 2023-05-11T12:27:13.673221 | 2021-06-01T17:47:00 | 2021-06-02T11:46:25 | 371,289,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | cpp | #include<bits/stdc++.h>
#define ll long long
#define pb push_back
#define mp make_pair
#define f0(n) for(int i=0;i<n;i++)
#define ms(x) memset(x,0,sizeof(x))
#define ins insert
#define IOS ios::sync_with_stdio(false);
using namespace std;
int main()
{
IOS
int x,y;
while(cin>>x>>y)
{
if((x==2 && y==... | [
"mdmorsalin80@gmail.com"
] | mdmorsalin80@gmail.com |
cef79f027952d7fcbac939d2fa15f8dd74188279 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/base/cluster/mgmt/clusocm/cclusocmapp.cpp | 49e856ac461743ae05f978e1e00a7ff2adf0f5d2 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 44,835 | cpp | //////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1998-2003 Microsoft Corporation
//
// Module Name:
// CClusOCMApp.cpp
//
// Header File:
// CClusOCMApp.h
//
// Description:
// ClusOCM.DLL is an Optional Components Manager DLL for installat... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
468427fa0c3089e8bdd397ed096a185bb14294ac | d874a09b23f2dda07e7590f95d1ffc447fa1c7b1 | /Week3/Knapsack.cpp | 797198d749aabf306694ac9eaf9d59b175ca6ea7 | [] | no_license | muleyashutosh/Algorithmic-Toolbox | 4acc843f18aaa12ac6265260f6f7960715e1c628 | 8b81c1c562d210ec9996cc61b9be83a30ace2392 | refs/heads/master | 2022-12-12T12:34:07.829654 | 2020-09-07T17:58:02 | 2020-09-07T17:58:02 | 267,781,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <iomanip>
using namespace std;
double findMaxVal(vector <int> v, vector <int> w, int W) {
double V = 0;
while( W > 0 ) {
int max = v.size() - 1;
int a = min(w[max], W);
V += a *((double) v[max] / w[max]);
W -= ... | [
"muleyashutosh@gmail.com"
] | muleyashutosh@gmail.com |
38dceefd321011d6bec68057ea6a256c1b939623 | 4fc62c002219b2cd14496579c4ecbc66a8fa7fe8 | /db/op.h | b99cc6763c292ebf7124ce7bbad6ab89d3e9ee79 | [] | no_license | TheTypoMaster/dingler | 7475367e10926194c0d50e63f3a26914799e30ca | 7d1fbdc0450eac1a2b3f8c08e97522a9490a6834 | refs/heads/master | 2020-04-10T13:30:55.813142 | 2015-09-02T14:56:05 | 2015-09-02T14:56:05 | 41,807,566 | 0 | 0 | null | 2015-09-02T14:55:48 | 2015-09-02T14:55:47 | null | UTF-8 | C++ | false | false | 288 | h | // Copyright (c) 2015 Dingler. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DINGLER_DB_OP_H_
#define DINGLER_DB_OP_H_
namespace db {
enum class SeekOp {
EQ,
GT,
LT
};
}
#endif | [
"brainloop0@gmail.com"
] | brainloop0@gmail.com |
e922a4bb35b458cea73b654a27d2e1d4a97075e2 | 4f26ead80e59e7d1445f98146a1e377f0bdd85f3 | /CppND-Route-Planning-Project/src/route_planner.cpp | 0f51ca721ffd81b85baa4c77199ce27f0f4ba713 | [] | no_license | Dumken1/Udacity_Cpp_Nanodegree | 8d38dbc0b93139325e4523ae752457db7ef8709f | 17cd9f53de337b202fbe92dfb97a63ac0af246af | refs/heads/master | 2023-03-26T16:22:06.931181 | 2021-03-18T19:39:31 | 2021-03-18T19:39:31 | 347,663,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,732 | 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;
// TODO 2: Use the m_Model.Fi... | [
"chibunduogbonnia@gmail.com"
] | chibunduogbonnia@gmail.com |
c120d3c7d6cd0745f8f57a42bd845afc9247ce16 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-restbed-server/generated/model/OrgApacheJackrabbitOakSpiSecurityAuthorizationCugImplCugExcluInfo.h | e81fd03462e0820f1220d6b6dc1a1e2c795898f7 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 2,279 | h | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT.... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
f639dfd00e93b242544bf7209b817a7a2489080b | 20ace38b89c0ebaa0738753fcd11b0fdd4ed21cd | /pPb_2016_v0/tmp/src/src_bak/QWAna/QWNtrkOfflineProducer/src/QWV0Validator.cc | 2f76360b72cfa53f810698b4a21d1ed1cc57190b | [] | no_license | ssanders50/pPb_2016_v0 | 3c32c2920067a2f8a0a7a7fadba6225babf9a905 | 9fc4ae61cf4343c88ce6666f55c0738f963754a3 | refs/heads/master | 2020-12-12T16:30:41.253014 | 2020-02-14T21:51:17 | 2020-02-14T21:51:17 | 234,162,163 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,511 | cc | // -*- C++ -*-
//
// Package: QWV0Validator
// Class: QWV0Validator
//
/**\class QWV0Validator QWV0Validator.cc QWAna/QWCumuDiff/src/QWV0Validator.cc
Description: Creates validation histograms for RecoVertex/V0Producer
Implementation: in cmssw official release
*/
//
// Original Author: Brian Drell
// ... | [
"ssanders@ku.edu"
] | ssanders@ku.edu |
bcbf88aea87ca5d4c98b5526a16afeb5831fd58a | ece30e7058d8bd42bc13c54560228bd7add50358 | /DataCollector/mozilla/xulrunner-sdk/include/js/UbiNodeTraverse.h | 5d8650f04719c54684d5b37c8f2a59d593d29a8c | [
"Apache-2.0"
] | permissive | andrasigneczi/TravelOptimizer | b0fe4d53f6494d40ba4e8b98cc293cb5451542ee | b08805f97f0823fd28975a36db67193386aceb22 | refs/heads/master | 2022-07-22T02:07:32.619451 | 2018-12-03T13:58:21 | 2018-12-03T13:58:21 | 53,926,539 | 1 | 0 | Apache-2.0 | 2022-07-06T20:05:38 | 2016-03-15T08:16:59 | C++ | UTF-8 | C++ | false | false | 9,695 | h | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... | [
"andras.igneczi@doclerholding.com"
] | andras.igneczi@doclerholding.com |
616c6302f58374827d38429237196fd6a89d3ab6 | 3fa3540923e616da6789e2d48fe7aa8ce58dd38b | /Codechef/GCDMOD.cpp | eb5041be275f2a25dcfb4b38359de490a48101e8 | [] | no_license | ib13/Coding-Practice | c0ad8e51e6fb7901d16415f1f1a62432bf6d78d3 | d5eea327b94d23c4e3287e4e05067e9be235a15b | refs/heads/master | 2020-05-09T08:48:49.449972 | 2019-09-13T12:05:27 | 2019-09-13T12:05:27 | 180,995,930 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,777 | cpp | // https://discuss.codechef.com/questions/133450/how-i-solved-gcdmod
#include <bits/stdc++.h>
using namespace std;
long long MOD = 1e9 + 7;
long long prod(long long a, long long b, long long mod = MOD)
{
long long res = 0;
while(b)
{
if(b & 1)
res = (res + a) % mod;
a = (... | [
"ishan13bhargava@gmail.com"
] | ishan13bhargava@gmail.com |
f661406b75155d2f32739b2773447804267e95b6 | 0a46b027e8e610b8784cb35dbad8dd07914573a8 | /src/libs/jelly/jellyfish/int128.cc | aee788159d8f19cdcae04534372f74e7972ac63f | [
"MIT"
] | permissive | sauloal/cnidaria | bb492fb90a0948751789938d9ec64677052073c3 | fe6f8c8dfed86d39c80f2804a753c05bb2e485b4 | refs/heads/master | 2021-01-17T13:43:17.307182 | 2016-10-05T14:14:46 | 2016-10-05T14:14:46 | 33,726,643 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29 | cc | ../../Jellyfish/lib/int128.cc | [
"sauloal@yahoo.com.br"
] | sauloal@yahoo.com.br |
ab42da5f0be1be0179910ce4e329accd3021c71e | 7d83df57b7cb4a98733c76ad8c6a9691b2ca7890 | /dev/ese/src/os/blockcache/_blockcache.hxx | 2552c307fc61644469778216b6a5aee4478d8298 | [
"MIT"
] | permissive | microsoft/Extensible-Storage-Engine | 30ab5bf8b5f8f2c2b5887b1dfa59b82c0588de70 | 933dc839b5a97b9a5b3e04824bdd456daf75a57d | refs/heads/main | 2023-08-13T11:53:52.563089 | 2022-07-29T17:16:38 | 2022-07-29T17:16:38 | 331,747,853 | 844 | 66 | MIT | 2023-06-15T11:57:35 | 2021-01-21T20:34:01 | C++ | UTF-8 | C++ | false | false | 1,422 | hxx | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "tcconst.hxx"
#include "checksum.hxx"
#ifdef ESENT
#include "jetmsg.h"
#else
#include "jetmsgex.h"
#endif
#include "blockcache\_common.hxx"
#include "blockcache\_headerhelpers.hxx"
#include "blockcache\_cachetelemetry.... | [
"tatiana.racheva@microsoft.com"
] | tatiana.racheva@microsoft.com |
f32717dd77daac5f0e6a53a2f3a4b504e39bd578 | 1b3ebed19ce180b4e7f038a0b2a13001d2465fca | /C++/Classes/Exceptional Server/Solution.cpp | 0d6680614ebe5eeb61ab619db0b005b02c181a4f | [
"MIT"
] | permissive | tathagatvikash/HackerRank-1 | bb73c37a8a975483bbe52cd0bf22f9e651ef56eb | 119945a2a02b182124342b3756972324fd80d887 | refs/heads/master | 2022-03-01T19:05:45.151949 | 2019-10-05T15:54:33 | 2019-10-05T15:54:33 | 213,027,151 | 1 | 1 | MIT | 2019-10-05T15:51:45 | 2019-10-05T15:51:45 | null | UTF-8 | C++ | false | false | 318 | cpp | try {
cout << Server::compute(A, B) << "\n";
} catch (const std::bad_alloc& e) {
cout << "Not enough memory\n";
} catch (const std::exception& e) {
cout << "Exception: " << e.what() << "\n";
} catch (...) {
cout << "Other Exception\n";
}
| [
"1648497+alexprut@users.noreply.github.com"
] | 1648497+alexprut@users.noreply.github.com |
792526483fb174339d7b5e0961e6c02d91dfaf23 | a2c99074ebc93a80e7f8fe8dc550a25135d4d9be | /sequeender/py/cc/sequeender.h | cb75bde7efefcc2b483032947f143bd46ef9e720 | [
"MIT"
] | permissive | songmeixu/sequeender | 22e4deacdfe0f9f93a65d04db9758cdd8caf3371 | 1fc66f298e1eabc81c93cc7a0a90085d2baec5c7 | refs/heads/master | 2023-07-05T00:50:28.964183 | 2020-07-25T10:27:49 | 2020-07-25T10:27:49 | 280,118,581 | 0 | 0 | MIT | 2021-08-02T21:32:58 | 2020-07-16T09:58:38 | CMake | UTF-8 | C++ | false | false | 371 | h | // sequeender/py/cc/sequeender.h
// Copyright (c) 2020 Fangjun Kuang (csukuangfj@gmail.com)
// See ../../../LICENSE for clarification regarding multiple authors
#ifndef sequeender_py_cc_sequeender_H_
#define sequeender_py_cc_sequeender_H_
#include "pybind11/pybind11.h"
#include "pybind11/stl.h"
namespace py = py... | [
"songmeixu@outlook.com"
] | songmeixu@outlook.com |
0197b177a8a24654708e34d8df4909bb2f5ecf09 | 1bffde646b717dc4bc8050eb0bce59f2c754cba8 | /arduino/ardread2/blossom_bak.ino | 334b7ab7e7be0714aa4656760c39faf93655a92a | [] | no_license | robvdv/blossom | 5763c86e66da0bc791dcb5abb0bd17e9d3c23ac0 | 829b6558f9acf65679b7327103b86d738fa1f657 | refs/heads/master | 2020-12-04T05:46:47.067218 | 2016-09-25T05:42:51 | 2016-09-25T05:42:51 | 66,128,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,659 | ino | /**
* Reads commands coming from serial interface to drive an LED on/off
* Also prints led status back
*/
#define LEDPIN 13
#define CONTROL_MESSAGE_SIZE 4
byte command = 0;
byte subCommand = 0;
int dataLength = 0;
byte dataId = 0;
byte point[120][3];
byte pointPosition = 0;
byte pointPositionData = 0;
byte soundWave... | [
"robertvdv@gmail.com"
] | robertvdv@gmail.com |
45df75f2d403f33dab239f3058ab5a2b31282038 | c90b2bc714a016794e238dff40bda447265c3c90 | /google/onsite_mock15.cpp | 0e85349930c5132a0b8af47201ef4fe8f818987f | [] | no_license | Mona-su/algorithm-practice | 863cbc0470762af7cb25518f7439f3feeba10016 | 124e7003d0571ed23389437ae2f239b735798732 | refs/heads/master | 2020-06-25T00:35:17.990986 | 2019-11-30T08:49:28 | 2019-11-30T08:49:28 | 199,141,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,199 | cpp | // 1032. Stream of Characters
// Implement the StreamChecker class as follows:
// StreamChecker(words): Constructor, init the data structure with the given words.
// query(letter): returns true if and only if for some k >= 1, the last k characters
// queried (in order from oldest to newest, including this letter just... | [
"mengna03@gmail.com"
] | mengna03@gmail.com |
876bcede8ea23a276c66c99fae676fecffa2985b | cc47ba1d94ea53c8afb944d280bdf1e6197f8e3d | /C++/CodeForces/CR119B.cpp | 0f99aa6b218a23a0790c3988fbab96cf69227e09 | [] | no_license | Pranshu-Tripathi/Programming | 60180f9b0c5f879b2a8bf85c3db14afe1fdb45ba | ae7234b293b307a0f38af6f5a7894747f22c5d45 | refs/heads/master | 2023-06-26T08:17:07.184679 | 2021-07-28T02:52:43 | 2021-07-28T02:52:43 | 226,936,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define fast ios::sync_with_stdio(false); \
cin.tie(NULL)
void _run()
{
ll h,w;
cin >> w >> h;
ll ans = 0;
if(w < 2 || h < 2)
{
cout << ans << endl;
return;
}
ll ans1 = 0 ,ans2=0;
for(int i = 2 ; i <... | [
"mtpranshu2001@gmail.com"
] | mtpranshu2001@gmail.com |
423970493837e0f8c03d001c7e0107e256e4d825 | f0b4ce0ba6972301435f182a6d4c02987ee17ab3 | /minimumAbsDifference.1200.cc | a11082d40cc38ef2f64255442917a6af30e3aa33 | [] | no_license | gs0622/leetcode | b64bf1ac8d52ea473cac98b057a5edd1c8ff3591 | ef9388f875c375f6f3cd290b04e457b416d860dc | refs/heads/master | 2021-06-02T00:54:32.332803 | 2020-05-19T01:13:51 | 2020-05-19T01:13:51 | 20,798,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,141 | cc | /*
Given an array of distinct integers arr, find all pairs of elements with the minimum absolute difference of any two elements.
Return a list of pairs in ascending order(with respect to pairs), each pair [a, b] follows
a, b are from arr
a < b
b - a equals to the minimum absolute difference of any two elements in arr
... | [
"gs0622@gmail.com"
] | gs0622@gmail.com |
f745035763ff7fa36311684d4dc59863cf5df459 | 3322511f9bcbe3135b3c7c0e773f4271b42de5b7 | /LedHoepel V1 MQTT/WiFiSimpleReceive/Led.cpp | 21448719debaec423547bfd56605fa7aa8232518 | [] | no_license | jarnoburger/HoelaHoep | f5a1ac1cb22172483749c6f39520fd3c9aa018ee | 29e6e1ea3992e3078e5b97b92853221e5682f2a0 | refs/heads/master | 2023-06-11T18:02:11.255507 | 2021-07-01T19:28:27 | 2021-07-01T19:28:27 | 284,352,129 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,149 | cpp | #include <Arduino.h>
#include "Led.h"
#include <Adafruit_NeoPixel.h>
// Which pin on the Arduino is connected to the NeoPixels?
#define PIN 5
// how many leds ?
constexpr auto NUM_LEDS = 487;
// init lib
Adafruit_NeoPixel pixels(NUM_LEDS, PIN, NEO_GRB + NEO_KHZ800);
bool direction;
int c;
bool led_state; // ... | [
"jarno@lichtjes.nl"
] | jarno@lichtjes.nl |
8fda79523a81ad44a238e2affa170b2bc40a444e | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/core/conformation/symmetry/SymSlideInfo.cc | 3a6c9d3a5e0a70775ed364ff2127597245d694b3 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 3,631 | cc | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
07bd11bd02051922b4c379f6b6544019ab938052 | a8abcb3971f4ec4d62cc49523f64ae74dbef87fb | /CrackKey.cpp | b492ffa685e40cf45e0c47f8f4200bee4f3d142b | [] | no_license | stephenplaza/CircuitLock | 9c8ec383a75b27e5a458b3938db0d2527f864682 | 8b0117934e73eba1b516d9afcf99bb7c751e45db | refs/heads/master | 2020-05-18T04:00:21.437457 | 2013-12-04T00:06:34 | 2013-12-04T00:06:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,192 | cpp | #include "CrackKey.h"
#include "EncryptedCircuit.h"
#include <iostream>
#include <cstdlib>
using std::vector;
using std::cout; using std::endl;
//const int VERIFY_LIMIT = 100000;
const int SEARCH_LIMIT = 1000000;
// ?? allow one to specify simulation step
bool CrackKey::generate_key(vector<bool>& key_values, int... | [
"plazas@janelia.hhmi.org"
] | plazas@janelia.hhmi.org |
bc85d410d66ef38d8e161abfbb21e2f978394cc4 | 895f266751e00941a7877cb41591dd09c529efb9 | /lab2.cpp | 18e794a2063dd0821a9734aa8375541f3970b626 | [] | no_license | VladYushch/lab2 | a75d7d08b724f45356889f80c74573b5b9bb2995 | 857af38cc25a74c303425618aff7f01143398e91 | refs/heads/master | 2023-07-16T09:41:15.983497 | 2021-08-29T18:13:39 | 2021-08-29T18:13:39 | 401,110,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | cpp | #include <iostream>
#include <bitset>
using namespace std;
int main()
{
int32_t divisor = 0, quotient = 0,dividend=0,remainder=0;
int64_t product = 0,temp=0;
cout << "Input dividend:" << endl;
cin >> dividend;
cout << "Input divisor:" << endl;
cin >> divisor;
cout <<"Divisor:" << bitset<3... | [
"vladyan.yuschenjo@gmail.com"
] | vladyan.yuschenjo@gmail.com |
8489f4678fa445595cb8f14e90c4ef8e6455c961 | ef1cd77d68899209db89405972b4c490d8a92720 | /vendor/ruby/1.9.1/gems/passenger-4.0.37/ext/common/Utils.h | 5cfaf9210e112f67b1c764873c5da92df0da2632 | [
"MIT"
] | permissive | coreypurcell/resume | 7428535e481ec3ea70969737e272248b71d31c9b | de5a385a3a2d65ccdd0d7d2c342532c079352382 | refs/heads/master | 2021-06-15T23:32:49.470340 | 2017-01-12T00:51:30 | 2017-01-12T00:51:30 | 6,739,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,543 | h | /*
* Phusion Passenger - https://www.phusionpassenger.com/
* Copyright (c) 2010-2013 Phusion
*
* "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"... | [
"corey.purcell@gmail.com"
] | corey.purcell@gmail.com |
eceeef1c032819e40552ac272019a2f505336bef | 175390199ca6c8d6ba09c4828d9e0527d95efc85 | /Chuong 1/bai34.cpp | c0d12d65639f9c244dd4f2682d55bd82f1d57192 | [] | no_license | DuyTran1234/1000ExerciseC- | 4d8627eb2dedf25038557d5fdd07a17ff52fbd00 | 5b6c63aef3c060a49bf0556e7c4a02074f8a977e | refs/heads/master | 2020-08-06T10:19:47.245586 | 2019-10-05T03:55:20 | 2019-10-05T03:55:20 | 212,940,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
int n;
cout<<"Nhap n: ";
cin>>n;
double Tong = 0;
for(int i = 1; i <=n ; i++)
{
Tong = sqrt(i+Tong);
}
cout<<"S = "<<Tong<<endl;
} | [
"0985919093dd@gmail.com"
] | 0985919093dd@gmail.com |
afa423174f5b6ff334c204ab2ae991f3635a7647 | f094fb5781bb51470fdc8b85b7507551cd267d05 | /test/test_triangulation.cc | 15fc8952d00572b0160074d2de7f6b9e608d0a1a | [
"MIT"
] | permissive | TongLing916/MySLAM_Stereo | 251a452c7755c0f3ab96163e7ac177817f88332f | ddec46773e034bffa59a55fa91cad6ec6740c07d | refs/heads/master | 2020-06-12T02:43:06.784415 | 2019-07-01T19:50:23 | 2019-07-01T19:50:23 | 194,171,693 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 888 | cc | #include "myslam/algorithm.h"
#include "myslam/common_include.h"
#include <gtest/gtest.h>
TEST(MyslamTest, Triangulation)
{
Vec3 p_w(30, 20, 10), p_w_estimate;
std::vector<SE3> poses{
SE3(Eigen::Quaterniond(0, 0, 0, 1), Vec3(0, 0, 0)),
SE3(Eigen::Quaterniond(0, 0, 0, 1), Vec3(0, -10, 0)),
... | [
"tong.ling@fau.de"
] | tong.ling@fau.de |
3494e97615d4e73f70cf2c04e513d9c7dec86def | 50487ee1d630ff1834564c0bdd56cad5b82a9c21 | /src/hardware/atmega32/targets/ADCKeyboardAnalyzer-150W/defaultCalibration.cpp | 625583cd9477d6b1980bd09b83339188eeb580f3 | [] | no_license | labdiy/imaxb6_nuvoton | 7a3bfaddc06f54273c0d3c43f14a8c898e15af7e | 12ded992e38c084713b6e56d3da4fb6a0def49ea | refs/heads/main | 2023-03-15T15:20:04.632578 | 2021-01-07T08:36:28 | 2021-01-07T08:36:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,675 | cpp | /*
cheali-charger - open source firmware for a variety of LiPo chargers
Copyright (C) 2013 Paweł Stawicki. All right reserved.
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 Foundatio... | [
"pampyras@gmail.com"
] | pampyras@gmail.com |
fba5d04b10f1e5c71b74dc5961d24b3e4f6d8279 | c650db386420adbfe1822fb448ca7b0dc67d3709 | /shared/sfmltemplate/src/core/inputprocessor.cpp | f96f2b0d7c3ffa5a4b69d391a10cb21553e55c70 | [] | no_license | m-irigoyen/pages | 63b1daca8bc2a5312b976ca04ecab1cf07180fe2 | aa3a5392475abfa45b9a91b4af91a6026636f668 | refs/heads/master | 2021-07-09T17:39:58.898016 | 2017-10-08T21:56:57 | 2017-10-08T21:56:57 | 106,085,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | cpp | #include <sfmltemplate/core/inputprocessor.hpp>
#include <sfmltemplate/core/inputmanager.hpp>
#include <mutils/assert.hpp>
namespace sfmltemplate
{
InputProcessor::InputProcessor(InputManager * manager)
: inputManager_(*manager)
{
}
InputProcessor::~InputProcessor()
{
}
bool InputProcessor::processSFMLInput... | [
"milan.irigoyen@gmail.com"
] | milan.irigoyen@gmail.com |
57d4f033140b4a20385fddb8bdf436362a791b21 | 9eb2245869dcc3abd3a28c6064396542869dab60 | /benchspec/CPU/510.parest_r/src/include/lac/petsc_solver.h | 8aca489e1e08ce62e0cff03a8587834daeceb52a | [] | no_license | lapnd/CPU2017 | 882b18d50bd88e0a87500484a9d6678143e58582 | 42dac4b76117b1ba4a08e41b54ad9cfd3db50317 | refs/heads/master | 2023-03-23T23:34:58.350363 | 2021-03-24T10:01:03 | 2021-03-24T10:01:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53,529 | h | //---------------------------------------------------------------------------
// $Id: petsc_solver.h 18724 2009-04-23 23:06:37Z bangerth $
// Version: $Name$
//
// Copyright (C) 2004, 2005, 2006, 2007 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyrigh... | [
"cuda@hp-arm64-09-02.nvidia.com"
] | cuda@hp-arm64-09-02.nvidia.com |
bcf62fa6b400a7fc28d9d1178c27b86206be8165 | 0ebb297fe3a7354d988661be5b1de8ab2019c60a | /code/neuroevo/common/system_sim/basic_agent.h | 1636721a4b48435f34b74367c432f520bc7fd921 | [] | no_license | kamrann/workbase | a56e8ca3874ae5e71e4c77331ed10f59acff5914 | ce2cade80365f885839bf96bfc5db5e57059ba39 | refs/heads/master | 2021-01-19T03:22:32.745349 | 2015-01-02T23:05:04 | 2015-01-02T23:05:04 | 15,985,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | h | // basic_agent.h
#ifndef __NE_SYSSIM_BASIC_AGENT_H
#define __NE_SYSSIM_BASIC_AGENT_H
#include "agent.h"
namespace sys {
class i_system;
class basic_agent:
public i_agent
{
public:
virtual void create(i_system* sys) = 0;
public:
virtual size_t initialize_state_value_bindings(sv_bindings_t& bindings, sv... | [
"cjangus@gmail.com"
] | cjangus@gmail.com |
39a8ad82d597e9197bbff795be3730bd8d3f9b5a | 52efb3de18d0c4020eee109cbad832b3b89ae4bc | /212-Word-Search-II/solution.cpp | 2c385892a18d787239a53f15c0550c5dbbbfe6fd | [] | no_license | ndhuanhuan/MLinAction2 | fa249b97df509d03b47b8f3652e84b8000ae71ea | 7794209b930549c44db2ebb776bb152776f3a132 | refs/heads/master | 2020-04-02T04:01:07.029664 | 2016-07-21T00:54:16 | 2016-07-21T00:54:16 | 60,432,757 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,926 | cpp | // Time: O(m * n * h), h is height of trie
// Space: O(26^h)
class Solution {
private:
struct TrieNode {
bool isString = false;
unordered_map<char, TrieNode *> leaves;
bool Insert(const string& s) {
auto* p = this;
for (const auto& c : s) {
... | [
"ndhuanhuan@gmail.com"
] | ndhuanhuan@gmail.com |
f08dc0f688c2e6749ee70820d185eb1b74dd3683 | e769678179d65e4d38fc36967eb70e48032afd44 | /tools/models/convert/Iqm.hpp | 8ee8300f24b5ab499eb59a5bf5fa9c68e09326bd | [] | no_license | Pocsel/pocsel | 02f860c2d6d7bbdff17df09e4a5d7dfc60849c04 | f3ec58f68719302ec10fc3312928b08566b0dd52 | refs/heads/master | 2021-01-23T08:56:14.496186 | 2014-12-26T00:24:14 | 2014-12-26T00:24:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,861 | hpp | #ifndef __TOOLS_MODELS_CONVERT_IQM_H__
#define __TOOLS_MODELS_CONVERT_IQM_H__
#define IQM_MAGIC "INTERQUAKEMODEL"
#define IQM_VERSION 2
namespace Tools { namespace Models { namespace Convert {
struct iqmheader
{
char magic[16];
unsigned int version;
unsigned int filesize;
unsi... | [
"plug@trollteam.com"
] | plug@trollteam.com |
7f4550d668ac8dd7fb689e1f004ce8cda9b4aa30 | 7533d5f3af22657eac2c6f20d1186caeb2ffd8b3 | /libraries/DFRobotBlunoM3/SD/examples/Files/Files.ino | 2b2b56983d5e26c680c1c9db9d1ee31ea45bffaa | [] | no_license | MeKeCNC/BlunoM3 | a2985bbd1e4332143264ea621b2847abe47e682d | 036923310df7cc8eaa109a0ba8043848c9584507 | refs/heads/master | 2021-08-24T13:43:54.610625 | 2017-11-21T08:53:34 | 2017-11-21T08:53:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,536 | ino | /*
SD card basic file example
This example shows how to create and destroy an SD card file
The circuit:
* SD card attached to SPI bus as follows:
** MOSI - pin 11
** MISO - pin 12
** CLK - pin 13
** CS - pin 4
This example code is in the public domain.
*/
#include <SPI.h>
#include <SD.h>
File myFile;
int... | [
"358023925@qq.com"
] | 358023925@qq.com |
6072bb2c490bfa7290b4cc399886ebbebe26d1d9 | f7b2b9c4231dc482353d8f29ae7906052bfb6cdc | /Partition Equal Subset Sum/main.cpp | 69368a4622a32000e70f88a017958cef4a4cb025 | [] | no_license | llluiop/cppleetcode | e18c25e5d83629792bfab48a5252eb6407a2a650 | 249e5731515065352d91efe689385636e8553894 | refs/heads/master | 2020-04-04T05:50:30.660708 | 2019-11-24T02:53:55 | 2019-11-24T02:53:55 | 46,335,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,156 | cpp |
#include <vector>
#include <iostream>
#include <algorithm>
#include <functional>
#include <map>
#include <string>
#include <map>
#include <bitset>
#include <numeric>
using namespace std;
class Solution {
public:
bool canPartition(vector<int>& nums) {
if (nums.size() <= 1)
{
return false;
}... | [
"290522165@163.com"
] | 290522165@163.com |
7560215367c87a036fb9471a8afe5d500cd9c3db | 16700123e5663f55ea8f58700200d4cc46bdf0d3 | /ccmach/nvram.hpp | c8d5104e901af296ff43f14245e743385f270a8d | [] | no_license | landonf/bhnd_nvram_fmt | 51744042779bc664aa8deefb5dcffc73d9757519 | 51837cbe37d0c602da870123325d2baf64d9a8f7 | refs/heads/master | 2021-01-16T22:06:09.272355 | 2016-05-07T02:30:48 | 2016-05-07T02:30:48 | 60,473,536 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,762 | hpp | //
// nvram_map.h
// ccmach
//
// Created by Landon Fuller on 1/1/16.
// Copyright (c) 2016 Landon Fuller. All rights reserved.
//
#pragma once
#include <string>
#include <unistd.h>
#include <err.h>
#include <sysexits.h>
#include <vector>
#include <unordered_map>
#include <unordered_set>
#include "record_type.hp... | [
"landonf@plausible.coop"
] | landonf@plausible.coop |
c1b5841545d959d2a6236520b914156b4ce1b26a | 758759cd31e46eaea00b0a6ca60867f953d46ce4 | /LongChallengeApril/Q2.cc | 0f8fe2d30560b9a9259f33a8319929e0683815e4 | [] | no_license | GuntasKapoor/DS_Algo | 7626534405798f76d6dcd22333dbe2d8f7d60df2 | b2cb26b4194ee47b1b3b469aeccd752f6a0b09a3 | refs/heads/master | 2020-04-18T22:33:12.362603 | 2019-09-11T07:31:58 | 2019-09-11T07:31:58 | 167,796,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cc | // Guntas Singh
// Thapar University
#include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
long long int T;
cin>>T;
while(T--){
string str;
long long N;
char c;
cin>>N;
cin>>str;
cin>>c;
long long int totalcount = 0;
long long int count=0;
for(long long ... | [
"roby4kapoor@gmail.com"
] | roby4kapoor@gmail.com |
70b4d16cf2626fa6f6a9ff9ba7f953ec3d6c93df | 5a152b6b7b56b550a5db3b5e5e39e1dc55d9da8f | /CompProgBook/Graph/SSSP/KnightMoves/KnightMoves.cpp | b6b0330fc543096a803cc74ebcc9f3dd55eb5997 | [] | no_license | nmackay132/CompetitveProgramming | 0db92eb8e5f3210150093202772ac8dffec69939 | c01043f113e6e0e87ef015f2d620b80405776814 | refs/heads/master | 2021-01-20T21:23:46.957565 | 2016-01-09T21:53:09 | 2016-01-09T21:53:09 | 40,418,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,201 | cpp | /*
*****Solved******
UVa 439 and Ultimate Code Jam 1.0
Problem Type:
SSSP, bfs
*/
#include <cstdio>
#include <stdlib.h>
#include <iostream>
#include <vector>
#include <string>
#include <string.h>
#include <math.h>
#include <queue>
#include <sstream>
#include <limits>
#include <algorithm>
#include <map>
#include <bitse... | [
"mackaynathan@gmail.com"
] | mackaynathan@gmail.com |
c84d21d4a94283b8b812b50975e294f2a52d3ef6 | 60db84d8cb6a58bdb3fb8df8db954d9d66024137 | /android-cpp-sdk/platforms/android-7/android/text/method/QwertyKeyListener.hpp | 024f0d232759446cdb741d02d8cc118342babe8e | [
"BSL-1.0"
] | permissive | tpurtell/android-cpp-sdk | ba853335b3a5bd7e2b5c56dcb5a5be848da6550c | 8313bb88332c5476645d5850fe5fdee8998c2415 | refs/heads/master | 2021-01-10T20:46:37.322718 | 2012-07-17T22:06:16 | 2012-07-17T22:06:16 | 37,555,992 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 7,325 | hpp | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: android.text.method.QwertyKeyListener
================================================================================*/
#ifndef J2CPP_IN... | [
"baldzar@gmail.com"
] | baldzar@gmail.com |
e837a1b9edd285b42426af3e0815cfd9b4caaeb4 | 5e0be54efacdee740790b9ad1b7ab9a64b87569a | /src/controller/n3ctrl/src/controller.h | 17b2df79e294694089b6762c0efd7d4e73856189 | [] | no_license | potato77/dji_n3_controller | 31f85104f07027ac333810c670a9ec1668c85fc9 | 82996b7fe1d1b8073f5a8d99c02c6251ea216093 | refs/heads/master | 2023-04-23T09:48:28.836270 | 2021-05-16T06:14:58 | 2021-05-16T06:14:58 | 359,735,624 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,328 | h | #ifndef __CONTROLLER_H
#define __CONTROLLER_H
#include <std_msgs/Header.h>
#include <sensor_msgs/Imu.h>
#include <uav_utils/geometry_utils.h>
#include <geometry_msgs/QuaternionStamped.h>
#include <geometry_msgs/WrenchStamped.h>
#include "input.h"
struct Desired_State_t
{
Eigen::Vector3d p;
Eigen::Vector3d v;
doub... | [
"fatmoonqyp@126.com"
] | fatmoonqyp@126.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.