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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5cc69ea1dc132d5c0cf2cd6801505f54195e47b2 | 335fb8bfc5f4ff394d0e2abd20205d1670ecd0b1 | /Beginner Problems/Page 1/1021 - Banknotes and Coins.cpp | cd2139e1ba7173b0799cf217f8e7fab51ec9a571 | [] | no_license | AhmedGharseldin/URI-Online_Judge | e6d9120c4190b276bad7b91312a519a61f6db89d | adf3e0d92337a0b986818b9ec57d2afcf9709b9e | refs/heads/main | 2023-02-17T09:39:35.270078 | 2021-01-17T11:38:21 | 2021-01-17T11:38:21 | 330,255,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | cpp | //https://www.urionlinejudge.com.br/judge/en/problems/view/1021
#include <iostream>
using namespace std;
int main(){
double x;
cin>>x;
int t = x;
int n = (x - t)*100;
int u = 0;
cout<<"NOTAS:"<<endl;
cout<<t/100<<" nota(s) de R$ 100.00"<<endl; //100
u = t%100;
cou... | [
"63879928+AhmedGharseldin@users.noreply.github.com"
] | 63879928+AhmedGharseldin@users.noreply.github.com |
a3a708fc5dc4686a629f4f99cb755b07f5d564c6 | dc7b248286b79ebd7787208d4357b1a4a18aa45c | /PWGGA/PHOSTasks/PHOS_Run2/AliAnalysisTaskPHOSEmbedding.cxx | 5f6c52e004e53984e3d82ba87b2715cb71fb93d8 | [] | no_license | mfloris/AliPhysics | d73cb4fa1fd136b84abf96e5d53a6147864b40ac | 20c8b26f77b8f2f42c17e71f07230bb89fb8d505 | refs/heads/master | 2021-01-23T02:04:47.991147 | 2017-12-08T10:46:20 | 2017-12-08T10:46:20 | 85,959,803 | 0 | 0 | null | 2017-03-23T14:32:47 | 2017-03-23T14:32:47 | null | UTF-8 | C++ | false | false | 33,912 | cxx | #include <stdio.h>
#include <iostream>
#include "TChain.h"
#include "TTree.h"
#include "TObjArray.h"
#include "TClonesArray.h"
#include "TRandom3.h"
#include "TGrid.h"
#include "TROOT.h"
#include "AliInputEventHandler.h"
#include "AliAnalysisManager.h"
#include "AliAnalysisTaskSE.h"
#include "AliAnalysisTaskESDfilter... | [
"daiki.sekihata@cern.ch"
] | daiki.sekihata@cern.ch |
4cb7a1dcf97644f4f00dbfa35b81b35a1366835d | 27da6c0a879fc46fa91501b83f9b587b7dede3ce | /thirdparty/gtest-1.7.0/test/gtest-port_test.cc | 1a1ee4a58af35dca49d906319aa09aa1e6794891 | [
"MIT",
"LicenseRef-scancode-generic-cla",
"BSD-3-Clause"
] | permissive | waqarsqureshi/Restore | 6b0a0e2d5164442f6355a0c21fa78fd9cc411a60 | 436fcf3eeffd015f5196fd3408aaad758450c290 | refs/heads/master | 2020-12-11T09:07:22.877304 | 2016-04-17T20:07:17 | 2016-04-17T20:07:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,176 | cc | // Copyright 2008, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | [
"kai.wolf@gmail.com"
] | kai.wolf@gmail.com |
0f3484457a8aea3cf0a2d3e6085acd1a448a8176 | 64d8b83603bb04b9022bf6d1776f3a3593d3ac7d | /unit_test/EnTT/Test_EnTT.cpp | 7aa62e9534ab0bf4023aea3fd3666a53693a7bb5 | [
"MIT"
] | permissive | nitishingde/yaui | a2c7244bce6ec802936ba8d252c38d2db412d09e | 47698857e026b451bfac1dd0204fa38b2d377540 | refs/heads/master | 2021-06-14T04:54:42.594569 | 2020-12-15T14:39:58 | 2020-12-15T14:39:58 | 191,589,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include "catch2/catch.hpp"
#include "entt/entt.hpp"
#include <iostream>
TEST_CASE("Initialization of EnTT", "[init]") {
entt::registry *reg = new entt::registry();
CHECK(reg != nullptr);
delete reg;
} | [
"ngshingde@gmail.com"
] | ngshingde@gmail.com |
ded7379471bf7632f902c99987a938ef990085c8 | cc94542e78e38567f9f0f891f8fa31996ea169cb | /ITMLib/Utils/ITMSceneParams.h | 859875ab2de0bf145d714c8eececa14bec4c062a | [] | no_license | WSX741405/ITM | 725700e57ff4d1e7cfe784b85c12f25597df87b2 | 78ad22bc19211d16d1a1db6b9df22b72600ffea1 | refs/heads/master | 2021-04-09T16:36:54.226544 | 2018-03-20T13:03:39 | 2018-03-20T13:03:39 | 125,861,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,990 | h | // Copyright 2014-2017 Oxford University Innovation Limited and the authors of ITM
#pragma once
namespace ITMLib
{
/** \brief
Stores parameters of a scene like voxel size
*/
class ITMSceneParams
{
public:
/// Size of a voxel, usually given in meters.
float voxelSize;
/** @{ */
/** \brief
Fall... | [
"wsx741405@gmail.com"
] | wsx741405@gmail.com |
d9741621c329989185baccfc166c4b8d10392ab6 | d39ae1b1339634388b0ba8b7cdc1ae8ca7b45a8f | /3. Dynamic Programing/Mariano and Luisito.cc | d48db7410614e13ad74786971a9c6c1aed981386 | [] | no_license | delefme/Algorismia | 56840375ba866a51731702428f1535b0fd27cf5a | 744412a6cc2061b2a15b0d1dd1012cb4c43fc29b | refs/heads/master | 2022-12-02T22:10:45.809243 | 2020-08-08T20:35:11 | 2020-08-08T20:35:11 | 286,115,880 | 1 | 0 | null | 2020-08-08T20:38:06 | 2020-08-08T20:38:05 | null | UTF-8 | C++ | false | false | 1,670 | cc | #include <iostream>
#include <vector>
using namespace std;
int main() {
int W, L;
while (cin >> W >> L) {
vector<vector<int> > mat(L, vector<int> (W,-1));
for (int i = 0; i < L; ++i) {
for (int j = 0; j < W; ++j) {
char c;
cin >> c;
if... | [
"noreply@github.com"
] | delefme.noreply@github.com |
f0a91cef27572012fd80398356a730452b80fd62 | d6e0e7b7597d74bb28f45ca352b40bd66e8bc1b3 | /sync_tcp_client/sync_tcp_client.cpp | 5efcbaa5d67c9e616462f283341d258b3db34f5d | [] | no_license | benzispawn/network__boost.asio | a40fdc371c15636f9faad7e66a15d0f65aa40dc3 | 8635927754ca436ee33c405fbc64ee0c7d96fad4 | refs/heads/main | 2023-01-10T14:16:59.293770 | 2020-11-11T03:08:28 | 2020-11-11T03:08:28 | 311,507,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include "sync_tcp_client.h"
int main()
{
const std::string raw_ip_address = "127.0.0.1";
const unsigned short port_num = 3333;
try
{
SyncTCPClient client(raw_ip_address, port_num);
client.connect();
std::cout << "Sending request to the server..."
<< std::endl;
... | [
"spawnbenzi@gmail.com"
] | spawnbenzi@gmail.com |
a7543702cd41752d9089994e0ac5d9428da87aeb | a44a67ae800e785b9cd2d677668836d8564df0c5 | /android-jni/jni/boost/variant/variant.hpp | b623baae5bfb003324241eb7e8b9349ea9d54a6f | [
"MIT"
] | permissive | thanghoang/S3ORAM | a6809dfb98fdbf0089e6b1c01eb4a8476852668e | ae524107508c03ec45a37b388f069cd8c40242a9 | refs/heads/master | 2022-11-02T08:03:28.101304 | 2022-10-24T20:55:08 | 2022-10-24T20:55:08 | 101,727,862 | 20 | 9 | MIT | 2022-10-24T20:53:47 | 2017-08-29T06:38:10 | C++ | UTF-8 | C++ | false | false | 66,748 | hpp | //-----------------------------------------------------------------------------
// boost variant/variant.hpp header file
// See http://www.boost.org for updates, documentation, and revision history.
//-----------------------------------------------------------------------------
//
// Copyright (c) 2002-2003
// Eric Fri... | [
"hoangmin@oregonstate.edu"
] | hoangmin@oregonstate.edu |
498b5217859fd2d020bba53f50c9776f6795a84a | fcd5d7e0fcb55763afd03ea3d72ec441b9a9e2c7 | /rocky/test/skull/OddTest.cpp | 23e419108d32aec1836e99712e2f2079478b9b59 | [] | no_license | ghjang/rocky | 74f9f36c2a95d527fc0a0e877ff0a8ea36fefbb9 | 07b2de51a8b619d4d682c73023508b5eb5843061 | refs/heads/master | 2021-01-10T11:24:03.989558 | 2017-02-03T15:58:43 | 2017-02-03T15:58:43 | 45,999,680 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include "../catch.hpp"
#include "rocky/skull/Odd.h"
TEST_CASE("Odd for std::integral_constant", "[skull]")
{
// expected compile-time error.
//static_assert(Odd<std::tuple<>>());
static_assert(!Odd<int_c_t<0>>());
static_assert(Odd<int_c_t<1>>());
static_assert(!Odd<int_c_t<2>>());
static_a... | [
"jmxexpert@hotmail.com"
] | jmxexpert@hotmail.com |
1272fff024cf10a9afad039f1ff00bca3518035f | c40c0662fc17ab591fd4e766961fc5e224271fd4 | /Algorithms/C++/Sorting/Selection_sort.cpp | 9c4550c1d9c33463262c2de835be996e777c2a8f | [] | no_license | ShauryaChaubey/HacktoberFest2020 | fcb60f67ad0a12f436ba7a88fe6a30849f2eb581 | 461a85f0da125b605f097a63e8e66de5d52fb491 | refs/heads/master | 2022-12-26T20:41:41.037418 | 2020-10-12T13:00:10 | 2020-10-12T13:00:10 | 302,106,294 | 0 | 0 | null | 2020-10-12T13:00:12 | 2020-10-07T17:09:13 | HTML | UTF-8 | C++ | false | false | 1,303 | cpp | Selection Sort
The selection sort algorithm sorts an array by repeatedly finding the minimum element (considering ascending order) from unsorted part and putting it at the
beginning. The algorithm maintains two subarrays in a given array.
1) The subarray which is already sorted.
2) Remaining subarray which is unsorted... | [
"noreply@github.com"
] | ShauryaChaubey.noreply@github.com |
5aac5a697a0348eec5e1c25cfbdf3d0acf326271 | 13b14c9c75143bf2eda87cb4a41006a52dd6f02b | /Uva/Uva2008/123/123.cpp | 33306aed88811f721ab558863eac9eac359f932e | [] | no_license | yutaka-watanobe/problem-solving | 2c311ac856c79c20aef631938140118eb3bc3835 | f0b92125494fbd3c8d203989ec9fef53f52ad4b4 | refs/heads/master | 2021-06-03T12:58:39.881107 | 2020-12-16T14:34:16 | 2020-12-16T14:34:16 | 94,963,754 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,611 | cpp | #include<iostream>
#include<sstream>
#include<string>
#include<vector>
#include<map>
#include<algorithm>
using namespace std;
class Line{
public:
int row, col;
vector<string> words;
string title;
Line(){}
void set(int r, int c, vector<string> w){
row = r;
col = c;
words = w;
title = words[... | [
"y.watanobe@gmail.com"
] | y.watanobe@gmail.com |
2938c0cd1613028516786a21709d527a58f0c436 | a6d15c19698025ee007ed6b7b258a4de9eca40d2 | /softwarecontest/src/GameLobby.h | 52de347b2d18661bb8e998d37e4a04dae6d7823f | [] | no_license | dougreichard/software-contest-2013 | 109910cf837cc9ee46e1f3d8569b2086df49e62a | ec4c3ebae22f9530da8ebc4de280d8d3fd5da338 | refs/heads/master | 2021-01-13T02:10:37.063244 | 2013-02-28T17:10:37 | 2013-02-28T17:10:37 | 8,271,942 | 0 | 0 | null | 2023-08-29T18:19:55 | 2013-02-18T16:12:57 | C | UTF-8 | C++ | false | false | 408 | h | #pragma once
#include "Socket.h"
#include <list>
using namespace std;
class GameClient;
class GameLobby: public ServerSocket {
public:
void leave(GameClient* client);
GameClient* getPlayerByName(string name);
list<GameClient*>& getClients();
protected:
virtual ClientSocket* AllocClient();
virtual void OnString(... | [
"doug.reichard+github@gmail.com"
] | doug.reichard+github@gmail.com |
491da2437a921e528b30a12db347300ff964d18c | 6546fda2718aa80b4cc9fc5f33e35ed619c0f604 | /section 4 codes/GameState.hpp | 62b3def3af23dc8f768e6dccaf4cf503aa7aa6d9 | [
"MIT"
] | permissive | PacktPublishing/Building-Games-with-SFML | aa47a0e693a8d8eded1247e3bf1d27ef6271ed09 | d79d787ea4e580fe158b92c57a97853f4bf8a656 | refs/heads/master | 2021-06-23T14:29:23.023006 | 2021-01-20T07:39:06 | 2021-01-20T07:39:06 | 188,033,642 | 11 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,107 | hpp | #ifndef PACWOMAN_GAMESTATE_HPP
#define PACWOMAN_GAMESTATE_HPP
#include "Maze.hpp"
#include "PacWoman.hpp"
#include "Ghost.hpp"
#include <SFML/Graphics.hpp>
class Game;
class GameState
{
public:
enum State
{
NoCoin,
GetReady,
Playing,
Won,
Lost,
Count
};
GameState (Game* game);
Game* getGame() c... | [
"noreply@github.com"
] | PacktPublishing.noreply@github.com |
9326e7c7f1df0cbdb675cb90aa603e656d143fb5 | e3dbb5424ac55ed2cbdde92be998dee4571ebceb | /math/gvec.tpp | 4b92463a6993934ac6f75df8c3e74805b7691583 | [] | no_license | ralismark/sd1 | c027b8ead3465493dbd8c3474025cc0019546337 | 6290604bfa4dabc5d3183af6806b8d2a5ec18967 | refs/heads/master | 2021-08-19T11:52:10.966848 | 2017-01-02T11:14:08 | 2017-01-02T11:14:08 | 112,053,737 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,811 | tpp | #pragma once
#include "gvec.hpp"
template <typename T, size_t N>
gvec<T, N>::gvec(T init)
{
for(size_t i = 0; i < N; ++i) {
vals[i] = init;
}
}
template <typename T, size_t N>
gvec<T, N>::gvec(std::initializer_list<T> il)
{
auto it = il.begin();
for(size_t i = 0; i < il.size() && i < N; ++i) {
vals[i] = *it+... | [
"timmy.yao@outlook.com.au"
] | timmy.yao@outlook.com.au |
a81bce621612542d5c5992a348d515b98879f9cd | dae907db0cf43b427fd1a456b338be3910fc5f90 | /P84219_en_First_occurrence.cc | 444eb96b05bec023f97f381e6d62a1ed81c7e5aa | [] | no_license | FranciOrtiz/jutge_problems | 4c5c273ada09f20088b08287356bbb967a642e45 | a838f6ad8995cf57ae6f11cc6beeb3f13fa7e55d | refs/heads/master | 2022-12-23T20:33:43.775974 | 2020-09-24T09:49:10 | 2020-09-24T09:49:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cc | #include <iostream>
#include <cmath>
#include <vector>
using namespace std;
int first_occurrence(double x, const vector<double>& v) {
int L = 0, R = v.size()-1;
while (L<=R) {
int M = (L+R)/2;
if (v[M]==x and v[M-1]!=x) return M;
else if (v[M] < x) L = M+1;
else R = M-1;
}... | [
"abone9999@gmail.com"
] | abone9999@gmail.com |
f7e028dc5f9b42de6e19aa1b4738c876156bc4b8 | 270d448184cbe958e6e6bb17a98b35c381e22d99 | /objectOriented/lectures/examples/3-5-abstractClass.cpp | 43ed3e5d82468ad038dd4d3da2d49ee2fbfbf69c | [] | no_license | jcjolley/school | 016ffde715bb07f9ddc09f0c7c0cf4d59a2bd0b3 | bab28da74b1baba32844ec19278feb11ab65c375 | refs/heads/master | 2021-05-01T11:58:47.576569 | 2016-07-20T15:03:10 | 2016-07-20T15:03:10 | 59,164,873 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,004 | cpp | /***********************************************************************
* This demo program is designed to:
* Demonstrate pure Virtual Functions. Note that we cannot
* create an object out of an abstract class so we will
* get a compile error
*******************************************************... | [
"jolleyboy@gmail.com"
] | jolleyboy@gmail.com |
2d2b0f443cdac8bbfeaee086f83c5e2dd2ced49a | e65b5d37f2c6554746ceb2140c0ee634f49f1c7d | /source/ashespp/Image/Sampler.cpp | 8966d1c0a6acc3b566f5735b13bdd36266cd7b5a | [
"MIT"
] | permissive | aviallon/Ashes | 45b31826946efdb660199d34415fd610911fcdba | e6b9cd621c17ee6a95c90df61c5aae0f2edcb111 | refs/heads/master | 2022-05-31T17:14:38.058611 | 2020-04-25T17:17:16 | 2020-04-25T17:17:16 | 259,637,550 | 1 | 0 | null | 2020-04-28T12:58:24 | 2020-04-28T12:58:24 | null | UTF-8 | C++ | false | false | 692 | cpp | /*
This file belongs to Ashes.
See LICENSE file in root folder.
*/
#include "ashespp/Image/Sampler.hpp"
#include "ashespp/Core/Device.hpp"
namespace ashes
{
Sampler::Sampler( Device const & device
, SamplerCreateInfo createInfo )
: m_device{ device }
, m_createInfo{ createInfo }
{
DEBUG_DUMP( m_info );
au... | [
"noreply@github.com"
] | aviallon.noreply@github.com |
d06b4f02bf9d1e0578cb7fdb10cd8341d137c130 | f113b7f7695bf2f5c09e5e8afb28cc99ee06c63a | /include/DOTk_NonlinearCG/DOTk_LiuStorey.hpp | ecebe0aba8fcf8d466cfb6da62021cf5a5141aa0 | [] | no_license | maguilo11/locus | 501a074a12e260e2b9f0940a6eb389ad36aefb89 | cbf926808493c621893cc11f124f813b9e0fcbde | refs/heads/master | 2021-09-24T21:35:27.503003 | 2018-10-15T02:58:38 | 2018-10-15T02:58:38 | 72,475,433 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | hpp | /*
* DOTk_LiuStorey.hpp
*
* Created on: Sep 12, 2014
* Author: Miguel A. Aguilo Valentin
*/
#ifndef DOTK_LIUSTOREY_HPP_
#define DOTK_LIUSTOREY_HPP_
#include "DOTk_DescentDirection.hpp"
namespace dotk
{
class DOTk_OptimizationDataMng;
template<typename ScalarType>
class Vector;
class DOTk_LiuStorey : pu... | [
"aguilo.miguel@gmail.com"
] | aguilo.miguel@gmail.com |
06c6ad3183830022793d51e6c12d3d5bfafa41a1 | c459ada4ee8a006f244757d9b14eaccc2f897c4f | /src/demo_apps/server/main.cc | b6fdb872bc1e64f5ad2512cf1a2cd0cd2d6d3fb4 | [
"Apache-2.0"
] | permissive | rrozestw/smf | 56133b24aab55847d53578dfbb186074c06e538f | 1dafa1ed529134fd81e504129356cb252694a80f | refs/heads/master | 2021-04-28T11:14:12.385041 | 2018-02-16T04:08:11 | 2018-02-16T23:46:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,939 | cc | // Copyright (c) 2017 Alexander Gallego. All rights reserved.
//
#include <chrono>
#include <iostream>
#include <core/app-template.hh>
#include <core/distributed.hh>
#include "histogram/histogram_seastar_utils.h"
#include "histogram/unique_histogram_adder.h"
#include "platform/log.h"
#include "rpc/filters/zstd_filte... | [
"gallego.alexx@gmail.com"
] | gallego.alexx@gmail.com |
d18c0a35b2c4d9f6920fcdb7a9ed8f59591b0f49 | e13580c8245c231f80418a9711c4a1aff15e87b0 | /Code/sieve.cpp | 5743cfac88d04ef42966d3379df8e40c96727c23 | [] | no_license | YsHaNgM/PrimeSieveCXX | ddc4046d67ca816ec55c54741369ef7c939272d0 | 8d7c3558db49ef091d523edf0c8963626ab10433 | refs/heads/master | 2022-12-31T09:32:48.096246 | 2020-10-21T11:25:17 | 2020-10-21T11:25:17 | 305,846,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,803 | cpp | #include <algorithm>
#include <chrono>
#include <cmath>
#include <iostream>
#include <memory>
#ifdef _OPENMP
#include <omp.h>
#endif
//#define NDEBUG
// See README.md for instructions and information.
using ptr = std::shared_ptr<int[]>; // gcc-7 is needed, for shared_ptr [] operand c++17 P0414R2
void filter(int &coun... | [
"ysh788@gmail.com"
] | ysh788@gmail.com |
019e5d90b98cf0044c34dc583a4eac6a72aabe88 | 78a483c9c75aef625bcc78bb1e9cc1edfce56127 | /sci/LinearOT/linear-uniform.h | 748d9ac458c17781b0c500e69eeb3c20d987da3f | [] | no_license | smog70151/SCI | 4cf3255e998602738ef6ca8e0a44adbfbaca8bd8 | d8819900793be5d2a95ba91a1e23be7136bc7316 | refs/heads/master | 2023-04-26T22:37:40.739371 | 2021-05-14T12:30:40 | 2021-05-14T12:30:40 | 346,612,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,980 | h | /*
Authors: Nishant Kumar
Copyright:
Copyright (c) 2020 Microsoft Research
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,... | [
"smog70151@gmail.com"
] | smog70151@gmail.com |
1b0292027478508c23a78592152c180e6d08c8a9 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/inetsrv/intlwb/chs2/src/wordlink.cpp | 023436287d63b36650a338a2e3630feb248d6ef0 | [] | 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 | 25,843 | cpp | /*============================================================================
Microsoft Simplified Chinese Proofreading Engine
Microsoft Confidential.
Copyright 1997-1999 Microsoft Corporation. All Rights Reserved.
Component: Word and WordLink
Purpose: Define the CWord and CWordLink classes
Us... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
2628725c8e745160e3e3d3c5056655a026406fdb | cce2be08daabedee6a6001e371df3f79d754c6d0 | /virtual function.cpp | 2c5c970840f982bae281cfd7ec21432b78b5a441 | [] | no_license | AnshTrehan/old-C-CPP-codes | 9a9fdac6a5bd3985ee8df900a66f55e2a48f90cd | 0b8dd8117f4fd8ea2e4184aacdc73fe3ff57d2ae | refs/heads/master | 2022-11-30T13:18:42.708708 | 2020-08-17T05:28:10 | 2020-08-17T05:28:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
class base
{
public:
int a;
void virtualshow()
{
cout<<"\nHello base class";
cout<<a;
}
};
class derived: public base
{
public:
int b;
void show()
{
cout<<"\nHello derived class";
cout<<b;
}
};
int ... | [
"anshtrehan@gmail.com"
] | anshtrehan@gmail.com |
5e847d96a7f6a94f047277bfa05bb2cae1f1f572 | f8b5a550831d0e7a701be12b991ec037703118d7 | /include/JoSIM/VoltageSource.hpp | 6301549c082cdd7cd6b5341db8aec0aed4a204e0 | [
"MIT"
] | permissive | JoeyDelp/JoSIM | 37c54aa0c51595d72a472d83878204328cfc412d | 8818fcef6cd192ac7e0be6dbce89af611b64ad6f | refs/heads/master | 2023-08-31T00:04:42.941902 | 2023-08-10T13:06:34 | 2023-08-10T13:06:34 | 124,359,635 | 56 | 26 | MIT | 2023-02-05T16:21:18 | 2018-03-08T08:18:50 | C++ | UTF-8 | C++ | false | false | 1,029 | hpp | // Copyright (c) 2021 Johannes Delport
// This code is licensed under MIT license (see LICENSE for details)
#ifndef JOSIM_VOLTAGESOURCE_HPP
#define JOSIM_VOLTAGESOURCE_HPP
#include <optional>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "JoSIM/BasicComponent.hpp"
#include "JoSIM/Functi... | [
"joeydelp@gmail.com"
] | joeydelp@gmail.com |
845ffc28f988493fbad2093a0bb7897daf840456 | 3f07e0443a505b33f1862c1e30672f72efd932e6 | /systems/reachnn_benchmark_6_tora_tanh_symbolic_remainder.cpp | caa342dbd42fa6e4edea90d8d65ad4d411dac000 | [] | no_license | ChaoHuang2018/Real-time-Monitoring-for-NNCS | 332a53e99f9d0288cde10867dd3a242fd010c5db | 975e0f836440893f7839751f88e815e10f31498b | refs/heads/main | 2023-05-09T13:45:14.953419 | 2021-06-02T13:48:48 | 2021-06-02T13:48:48 | 304,783,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,662 | cpp | #include "../flowstar-template/Continuous.h"
#include "../NNTaylor.h"
#include "../domain_computation.h"
#include "../dynamics_linearization.h"
using namespace std;
using namespace flowstar;
int main(int argc, char *argv[])
{
intervalNumPrecision = 600;
// Declaration of the state variables.
unsigned int numVars ... | [
"thomashuangchao@gmail.com"
] | thomashuangchao@gmail.com |
a4a0ae40973591591299cf83b585a7a854f2bbfd | 9055c093cd4ba9ab67470fd40d1ef13330f42492 | /Source/Client/ClientMain.cpp | 55310769e14daa5cfdd432e26fe95fedf25fbfbb | [] | no_license | webdes27/LoongSource | 379875f51df0c9d9753515f1952d5f11afdc7dec | 6c248e3340788041714c3006906e704dd5853f71 | refs/heads/master | 2022-01-10T18:38:11.764963 | 2019-06-06T12:33:52 | 2019-06-06T12:33:52 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 39,646 | cpp | //-----------------------------------------------------------------------------
//!\file ClientMain.cpp
//!\author Lyp
//!
//!\date 2008-03-27
//! last 2008-03-27
//!
//!\brief 龙客户端
//!
//! Copyright (c) 2008 CTCRST Entertainment All rights reserved.
//-------------------------------------------------------------------... | [
"prihodko@dlit.dp.ua"
] | prihodko@dlit.dp.ua |
0de461b0ebd370c5b192af2b7a626a2e7f00d00a | 9a042e84901ae0f9cfa034964ae6379800ec196d | /hydrogenMusic/lyrics.h | aefd0025e38cc8085aa0f7ee7217a4fb960c35af | [] | no_license | 375187588/hydrogenMusic | 8f57ad918ccc7e5af87440c85c15a7181f13a5bf | 030d0f0e7c083633ab5fa69d56560cc73e5b0bfd | refs/heads/master | 2022-01-12T17:27:18.131845 | 2019-05-25T22:40:51 | 2019-05-25T22:40:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,608 | h | #ifndef LYRICS_H
#define LYRICS_H
#include <QObject>
#include <QQmlListProperty>
#include <string>
#include <QVariant>
const int MAX_LYRCE_REPEAT_NUM = 10;
class Lyric:public QObject
{
Q_OBJECT
Q_PROPERTY(QList<QString> header READ header)
Q_PROPERTY(int lineNum READ lineNum)
Q_PROPERTY(QList<QString>... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
31d841ce4aa01cff1cdcfb7fbeee9b934d4c0927 | d472087e262d07c629c6c1ab0ebb501906c7eae9 | /fuzz_deepstate/test_art_fuzz_deepstate.cpp | 5bcd68e2b401290de9f0689fa3b563b9ab7b2390 | [
"Apache-2.0"
] | permissive | laurynas-biveinis/unodb | 9fb4d8ba8c51cae48574b0863dacfa8dcb70b2da | 5778d801e26044d2ce078ce658bfd1cb6f983611 | refs/heads/master | 2023-07-22T04:40:16.197881 | 2023-07-14T06:12:22 | 2023-07-14T06:12:22 | 166,560,550 | 43 | 4 | Apache-2.0 | 2023-09-12T14:17:11 | 2019-01-19T15:16:54 | C++ | UTF-8 | C++ | false | false | 10,450 | cpp | // Copyright 2019-2023 Laurynas Biveinis
#include "global.hpp"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <new>
#include <optional>
#include <sstream>
#include <tuple>
#include <unordered_map>
#include <utility>
#include <vector>
#include <deepstate/DeepState.hpp>
#include ... | [
"laurynas.biveinis@gmail.com"
] | laurynas.biveinis@gmail.com |
60206d4a638ea746cdbcad325bd4dce25a74dfc8 | ef5c199ad0b4d2bb6da40005c2babf84fe29fd60 | /DatabaseConnector.h | 09c5ec29f0f32d489c3250cde81e0d80c8652f5f | [] | no_license | SkyZoThreaD/Organizer | bd54b5a7367f016b1cbed4e3f50771b0f64e06a3 | d22bf4d24fdb2c22143f257e5d3094332d0fae04 | refs/heads/master | 2021-04-12T01:58:05.686980 | 2018-03-26T15:30:32 | 2018-03-26T15:30:32 | 125,854,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | h | /* Standard C++ includes */
#include <stdlib.h>
#include <iostream>
/*
Include directly the different
headers from cppconn/ and mysql_driver.h + mysql_util.h
(and mysql_connection.h). This will reduce your build time!
*/
#include "mysql_connection.h"
#include <cppconn/driver.h>
#include <cppconn/exception.h>
#i... | [
"skyzothread@gmail.com"
] | skyzothread@gmail.com |
3f3c18fe4424da301fea3448b8fdce5911333eb9 | 4b24f950cb588c1f847d239a934efdae873a3a62 | /Semana4/Semana4/TrianguloRectangulo.cpp | d47af6dedabc157b67f9fb8cc369257f060c2099 | [] | no_license | DJGR19/Semana-4-Progra-III | 3d4926f6fae05080df24dd941a236d4b85f4de9a | df9a766ec7d0782e115b12758f4f30a8209d533a | refs/heads/master | 2020-03-25T16:52:47.961595 | 2018-08-08T02:45:22 | 2018-08-08T02:45:22 | 143,951,895 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,314 | cpp | #include <iostream>
#include <cmath>
#include "TrianguloRectangulo.h"
//mary2312blue@yahoo.com
using namespace std;
TrianguloRectangulo::TrianguloRectangulo() : base(0), altura(0)
{}
TrianguloRectangulo::TrianguloRectangulo(float b, float a)
{
setAltura(a);
setBase(b);
}
void TrianguloRectangulo::... | [
"noreply@github.com"
] | DJGR19.noreply@github.com |
e83863de74916659186770d163df3f85dce7ea9c | bfdfcb02edd4d792ab9888bcf0809036d919fc4e | /include/scenes/createAccountScene.h | 03af274395e191dcd27bcca3f51f0688bf0ac4fe | [] | no_license | Krosser22/MultiplayerClient | 67c6f3f4b76c803d393e993e2f8f8203c2336955 | da12c323abf27efbe98c0ecdfe39b71662e0f477 | refs/heads/master | 2021-01-09T05:25:40.708269 | 2017-01-12T23:56:42 | 2017-01-12T23:56:42 | 80,764,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | /**
*** ////////////////////////////////////////////
*** /////Autor: Juan Daniel Laserna Condado/////
*** /////Email: S6106112@live.tees.ac.uk /////
*** ///// 2016-2017 /////
*** ////////////////////////////////////////////
**/
#ifndef __CREATE_ACCOUNT_SCENE_H__
#define __CREATE_ACCOUNT_SCENE_... | [
"condadodaniel@hotmail.com"
] | condadodaniel@hotmail.com |
f301fb9996382476128ec41dd645c2f3f477a75c | 1f1cc05377786cc2aa480cbdfde3736dd3930f73 | /xulrunner-sdk-26/xulrunner-sdk/include/nsISerializable.h | bb9f9b6d98852432c046961d5bef48281445c01c | [
"Apache-2.0"
] | permissive | julianpistorius/gp-revolution-gaia | 84c3ec5e2f3b9e76f19f45badc18d5544bb76e0d | 6e27b83efb0d4fa4222eaf25fb58b062e6d9d49e | refs/heads/master | 2021-01-21T02:49:54.000389 | 2014-03-27T09:58:17 | 2014-03-27T09:58:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,124 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-cen-l64-xr-ntly-000000000000/build/xpcom/ds/nsISerializable.idl
*/
#ifndef __gen_nsISerializable_h__
#define __gen_nsISerializable_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL f... | [
"luis@geeksphone.com"
] | luis@geeksphone.com |
d4af0963b36c3c3f3399f248cade0fb43357c057 | 9e61c2390580b6982cf08a6417e29d69a6acb600 | /973_K_Closest_Points_To_Origin/heap.cpp | 2e41ebfbbfc19f9877a77f7e1fdc86529b94b511 | [] | no_license | acnokego/LeetCode | 3027e1987cee4d130c9db7e2af4ec4de8a0f43bd | 3e04e79e05ffcaf423d5a148668e132ee090596f | refs/heads/master | 2021-06-07T02:39:57.956371 | 2019-11-30T03:45:29 | 2019-11-30T03:45:29 | 133,643,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | cpp | class Solution {
public:
/*
* Complexity: O(nlgk)
* Space: O(k)
*/
struct compare {
bool operator()(const vector<int>& p1, vector<int>& p2){
long dist1 = p1[0] * p1[0] + p1[1] * p1[1];
long dist2 = p2[0] * p2[0] + p2[1] * p2[1];
return dist1 < dist2;
... | [
"yuandychen@gmail.com"
] | yuandychen@gmail.com |
a57716e8c60118153d20347c8b2e293f49a1e3fe | d01dc4b327e33816ac2ce2af40945a721f7b5854 | /aws-cpp-sdk-imagebuilder/include/aws/imagebuilder/model/ListImageRecipesResult.h | 02072cc97ea230cd7d664c9b589d793fb45f19a9 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | hpcc-systems/aws-sdk-cpp | 36f89272e3b140fea596c73234c09fb240f86520 | 9c93f28159e1e01ea3ef789a1b0c2c9643955c96 | refs/heads/master | 2022-07-17T05:18:08.190972 | 2020-10-19T20:59:11 | 2020-10-19T20:59:11 | 90,974,127 | 0 | 1 | Apache-2.0 | 2022-06-30T14:47:34 | 2017-05-11T11:58:14 | C++ | UTF-8 | C++ | false | false | 6,310 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/imagebuilder/model/Image... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
ec24f045a4dabd4e7ffd8f7a192bb82b3cd08a56 | 1c317570632645effae4558ea1dcaf05531b997f | /HotGain/Source/PluginProcessor.cpp | 92bada3398ee2df534e0b165dd013d3da9880bf2 | [] | no_license | ashtonmills/HotGain | 8695f552e887db9a9c14709804b711415bc63c20 | d198f3144b4835b583d48b47bdf9a0f49358d048 | refs/heads/master | 2020-07-27T13:23:16.375136 | 2019-09-17T16:32:58 | 2019-09-17T16:32:58 | 209,104,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,525 | cpp | /*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin processor.
==============================================================================
*/
#include "PluginProcessor.h"
#include "Plugi... | [
"ashton-mills@outlook.com"
] | ashton-mills@outlook.com |
da660e68ea0fe1b62a0f4953e5708caa08a64422 | ce99b399bead6c9a285f07d386d04a4a1c5f6bb7 | /Cookbook/4569OS_CodeBundle/Chapter04/Chapter04/Shadows/Shadows/ShadowsDoc.h | 36db4264eeead9962f03d519c6e3f8a697662009 | [] | no_license | codediy/OgreDemo | 13e97c984499330bbd733f5c7c64212324e428b4 | 6fb0ad2edde881feda040f5eb8bdf134f6ca9495 | refs/heads/master | 2020-12-05T21:44:51.348401 | 2020-01-07T06:13:00 | 2020-01-07T06:13:00 | 232,255,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,462 | h | // This MFC Samples source code demonstrates using MFC Microsoft Office Fluent User Interface
// (the "Fluent UI") and is provided only as referential material to supplement the
// Microsoft Foundation Classes Reference and related electronic documentation
// included with the MFC C++ library software.
// License ... | [
"zmwwork@163.com"
] | zmwwork@163.com |
27e829b521be49a518d3851f090e485a1034b8e1 | cdd45cad8525c94b8beb1b3e75c76b3c870ab084 | /chapter2/splitting_num.cpp | 0519b4b0011381435361939a09212a1d77bf85b7 | [] | no_license | kyro1202/Competitive-Programming-3 | 4fcf4e5516c83ce7dbfcb9084a6fa8e23b7d9dfe | 1e1e784fac3f3db9117ebabca0486b0edffe149d | refs/heads/master | 2021-03-22T00:16:20.365660 | 2018-06-06T05:02:07 | 2018-06-06T05:02:07 | 101,572,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
bitset<31> a,b;
int count; long int n;
while(true)
{
count = 0;
cin >> n;
if(!n)
break;
bitset<31> inp(n);
a.reset(); b.reset();
for(int i = 0 ; i < inp.size() ; i++)
{
... | [
"shivishiva2012@gmail.com"
] | shivishiva2012@gmail.com |
0868122d064a8947679e49bfb1eeaed467fa8281 | 7d2f5e2795493e3d69eeebcd9f3d462b0ad491be | /GenXIntrinsics/include/llvmVCWrapper/IR/GlobalValue.h | 98a88f3a0834f52f616ba047e063f55ba77439db | [
"MIT"
] | permissive | zuban32/vc-intrinsics | bdfc163617de68da5c578d2c8ed5d2f3d9e57c3c | c05825063e4e0e41a8cefa8bb79f17204c2be3a5 | refs/heads/master | 2023-03-26T21:54:52.210419 | 2021-03-11T12:16:28 | 2021-03-17T15:33:21 | 274,940,100 | 0 | 0 | MIT | 2020-06-25T14:39:20 | 2020-06-25T14:39:20 | null | UTF-8 | C++ | false | false | 1,666 | h | /*===================== begin_copyright_notice ==================================
Copyright (c) 2020, Intel Corporation
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, i... | [
"konstantin.vladimirov@intel.com"
] | konstantin.vladimirov@intel.com |
d97eaa94404f0339316e46074772b9f1654abf3c | b71556aee4654b48e91ba8124a3a8ded26de273e | /contest/ICPC/The 2019 Asia Yinchuan First Round Online Programming/F.cpp | f58df17363548d51da30abf67d231785e5243b44 | [] | no_license | young-zy/algorithm | 0255a327390c6b149870b34fbd34816dc002e82e | 536eddd9a6bc03e81c566afa05c53f555eb14a86 | refs/heads/master | 2021-07-23T07:23:29.929221 | 2020-04-23T16:33:28 | 2020-04-23T16:33:28 | 149,439,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | cpp | #include<bits/stdc++.h>
#define endl "\n"
#define INF 0x3f3f3f3f
using namespace std;
int a[205];
int d[205][205];
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin>>t;
for(int te = 0; te < t ; te++){
int n,q;
cin>>n>>q;
for(int i = 1; i<=n ; i ++){
... | [
"youngzhaozhou@gmail.com"
] | youngzhaozhou@gmail.com |
f5f2b19b623ecda00a3c5695eba37543a2b186a1 | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/stream_executor/gpu/gpu_diagnostics.h | 5b786b9c85a516ddcc85f4f08c81fa65aba92256 | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | C++ | false | false | 3,995 | h | /* 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 ... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
aa04f826af9d3780f4623c24ac2e1f6b1f1e3710 | 4b62193204d4e2694fa52a8edae6c0542503e2c7 | /abserv/abserv/InteractionComp.cpp | 87c988a1bdd1d96a8eebaf50d0b46cb9ba7d8963 | [
"MIT",
"CC-BY-4.0"
] | permissive | blockspacer/ABx | 67a216772cc5cf235a50e149969c6d668641bb4d | 39b5f3be0406b7c2957c0496e41f902478dc2cb0 | refs/heads/master | 2023-01-03T04:12:28.223454 | 2020-10-26T08:34:53 | 2020-10-26T08:34:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,074 | cpp | /**
* Copyright 2020 Stefan Ascher
*
* 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, merge, publish,... | [
"sa@0x2a.wtf"
] | sa@0x2a.wtf |
14f71bbf1f000a76b5e92c4b20a4ad45845f4240 | 1ede0ec505f59698f44ec45119d9af72187e4ffa | /Header/Game.h | 14d26ba945eaf928637811c212046cbcccaa6e2a | [] | no_license | terepaii/Graverted | 81cb1dc26b459edc66b19b071a43252342e5a015 | 111cacca03beec60c7e76652d62967df3371657a | refs/heads/master | 2021-01-23T06:54:23.541665 | 2013-05-18T14:38:12 | 2013-05-18T14:38:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | #ifndef GAME_H_
#define GAME_H_
#include "ScreenManager.h"
#include "SplashScreen.h"
#include "CreditsMenu.h"
#include "InputHandler.h"
class Game
{
public:
Game();
~Game();
static const enum GameState{SPLASH,
MAINMENU,
LEVEL1,
LEVEL2,
LEVEL3,
CREDITS,
GAME_OVER,
... | [
"danielkeohane4823@gmail.com"
] | danielkeohane4823@gmail.com |
36bc8de279ea2fd248a02cc85a5ff4c5fa4d5645 | 25edf5af35ca5f7d7b12846ded53a59739c1cce2 | /lab/5/testzoolist_partial/utility.h | d459a3d54449c2ff45be1950b866981827d93673 | [] | no_license | whanata/dsa-activities | 14ebb0b920a51bc23db74df9780b64eeaa2a964e | 97c4ee19f3749fd283eb5f184d680803ab1d1ba7 | refs/heads/master | 2021-01-21T12:59:36.185071 | 2016-05-03T05:39:31 | 2016-05-03T05:39:31 | 53,576,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 819 | h | #ifndef _UTILITY_H
#define _UTILITY_H
#include <fstream>
#include <string.h>
using namespace std;
bool readline(ifstream &fin, char *line, int linesize, char delim)
{
// the problem
// Unix ends text lines with \n
// Mac ends with \r
// Windows ends with \r\n
// getline does not include the final d... | [
"whanata@gmail.com"
] | whanata@gmail.com |
2310f86450914767af4505ae6e2bea4256315c07 | 5954dd2e2efa1b7da4165136fa56b286fd9d5638 | /17_Console/Function.h | 82f5478f6a2ecccc6f64e07c97c8a598a83f22d5 | [] | no_license | zhmmmm/Public | 466b4519dafcf2b2d1c82a039006928b344248c0 | f8b895c28c7cc7b75de5492aed4da9b0702225f7 | refs/heads/master | 2020-03-30T23:58:40.450316 | 2018-10-22T14:19:43 | 2018-10-22T14:19:43 | 151,713,632 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,135 | h | #pragma once
#include <list>
//功能性
//struct Bullet
//{
// int X;
// int Y;
//};
////链表型的子弹
//std::list<Bullet> mBullet;
//if (true)//某键按下
//{
// Bullet Temp;//新建一个子弹
// Temp.X = 0;//子弹的当前位置
// Temp.Y = 0;
// mBullet.push_back(Temp);//把新建好的子弹存入链表
//}
////逻辑更新
//for (std::list<Bullet>::iterator i = mBullet.begin(); i != ... | [
"15982683979@163.com"
] | 15982683979@163.com |
fbeabfbdbee69edc15f390c466d42586702c42ff | 7fc9d6c59c6a40d7bb3fa40a7d89f896753d25ee | /bzoj/2746.cpp | feca2b023da45ec0d7487606bc1dc60d089299b8 | [] | no_license | yzcmf/oicode | 902116f8d50c870e1a251083c6421c4563bab4fa | 69d687e267a54ca64fc957595ef5327de37c005a | refs/heads/master | 2020-07-25T14:17:00.186895 | 2016-08-08T03:07:15 | 2016-08-08T03:07:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,121 | cpp | /* BZOJ-2746: [HEOI2012]旅行问题
* AC自动机+倍增LCA */
#include <cstdio>
#include <cstring>
#include <vector>
#include <string>
#include <algorithm>
const int mod_v = 1000000007;
const int MaxN = 1000010, MaxAlpha = 26, MaxL = 20;
typedef std::vector<int> describe_t;
struct node_t
{
int hash;
int fail, ch[MaxAlpha];
} nod... | [
"miskcoo@gmail.com"
] | miskcoo@gmail.com |
d48d6d859f34eef2fa3610d21d1c699df534b8c8 | 92235f47acfb1b2258d4627f92d7f87a8cd70fb9 | /viennacl/linalg/host_based/gemm_sse_micro_kernel.hpp | 0ebf03a29ec267d141af82f41f3083e4f9afeaaa | [
"MIT"
] | permissive | Fritzkefit/viennacl-dev | 2c61eda4d226f8343ff5d3c449d9fbfc4932aa58 | c1d44d77e9d6b6bac139a94def43902d10668229 | refs/heads/master | 2021-01-16T18:42:44.325976 | 2015-11-15T23:01:29 | 2015-11-15T23:01:29 | 40,937,663 | 0 | 0 | null | 2015-08-17T23:43:38 | 2015-08-17T23:43:38 | null | UTF-8 | C++ | false | false | 8,653 | hpp | #ifndef VIENNACL_LINALG_HOST_BASED_GEMM_SSE_MICRO_KERNEL_HPP_
#define VIENNACL_LINALG_HOST_BASED_GEMM_SSE_MICRO_KERNEL_HPP_
#include "viennacl/linalg/host_based/common.hpp"
#include "immintrin.h"
/* register-block sizes:
* D := double, F := float */
#define MR_D (6)
#define NR_D (4)
#define MR_F (8)
#define NR_F (8... | [
"e1125349@student.tuwien.ac.at"
] | e1125349@student.tuwien.ac.at |
b26b93ed73ef5357c27c8991e4fa248a2e95afff | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/wget/old_hunk_2623.cpp | 899afdc074d208f97946109ac0e41162ab371a6a | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137 | cpp | file);
if (unlink (file))
logprintf (LOG_NOTQUIET, "unlink: %s\n", strerror (errno));
register_delete_file (file);
}
| [
"993273596@qq.com"
] | 993273596@qq.com |
1194ac0326682b90ad1fea35b43cdc3e69f9905e | f31c0986ebc80731362a136f99bb6be461690440 | /src/WorkLayer/ClientCredits.h | 6bfb7cc24807bb34c24182144b38ce318dc72e2c | [] | no_license | witeyou/easyMule | 9c3e0af72c49f754704f029a6c3c609f7300811a | ac91abd9cdf35dd5bb697e175e8d07a89c496944 | refs/heads/master | 2023-03-30T16:19:27.200126 | 2021-03-26T12:22:52 | 2021-03-26T12:22:52 | 351,774,027 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,093 | h | /*
* $Id: ClientCredits.h 5577 2008-05-20 09:20:25Z huby $
*
* this file is part of eMule
* Copyright (C)2002-2006 Merkur ( strEmail.Format("%s@%s", "devteam", "emule-project.net") / http://www.emule-project.net )
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of... | [
"1171838741@qq.com"
] | 1171838741@qq.com |
f33f88f767ec64277c5afe8c03f4edebbc3cfeb9 | 79dd87cd1cc02b0dfeb31b677e0aefd731025d60 | /concatenate.cpp | 3b8dd8fa0eb56e352bc7401e2cb7c451cbf98ac4 | [] | no_license | mugdhaj2404/c-c- | bdcf5047a44464f5b8f2974e609bb754b90bcf6f | bed2942db6fdf8e989aa3c980e9db014b98ad7f4 | refs/heads/master | 2020-07-03T01:59:42.133610 | 2020-02-17T17:31:04 | 2020-02-17T17:31:04 | 201,750,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | #include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
int i,j;
char s1[100],s2[100];
cout<<"Enter ste1";
cin>>s1;
cout<<"Enter str2";
cin>>s2;
for(i=0;s1[i]!='\0';++i);
for(j=0;s2[j]!='\0';++j,++i)
{
s1[i] = s2[j];
}
s1[i] = '\0';
cout<<s1;
}
| [
"noreply@github.com"
] | mugdhaj2404.noreply@github.com |
56d6c4f91b0d3e1fce5c41df394692114f1067db | 8ca7e4b6a56a0a969e3ff56226ae632193b98017 | /main.cpp | 27b65e5f02fd8bfe6f254e34e7df76f487044fd3 | [] | no_license | YunkeXiao/CP-Template | af1f80618c3fc6ac43469ab8dee40bb6de765ab9 | 9d6fbf3f9b33c6fa3b2a23b68af0845a2eea1b10 | refs/heads/master | 2020-07-27T14:51:32.438272 | 2019-09-26T19:45:22 | 2019-09-26T19:45:22 | 209,131,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,438 | cpp | #include <bits/stdc++.h>
using namespace std;
#define vi vector<int>
#define ii pair<int,int>
#define iii pair<int,pair<int,int>>
#define vii vector<pair<int,int>>
#define vvi vector<vector<int>>
typedef long long ll;
typedef unsigned long long ull;
typedef unordered_map<ll, ll> ump;
typedef map<ll, ll> mp;
typedef ... | [
"yunke0123@hotmail.com"
] | yunke0123@hotmail.com |
a7b08f8b17266bf8e1fdda69106beb085b437b49 | 5a07933eda39f8463cc0b06087e5b875bb9293d3 | /src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_balancer_addresses.h | 9b6b259decaef1af61f151ff43301b6b2477109b | [
"Apache-2.0"
] | permissive | codeblooded/grpc | 4bd818c02b74e119dd75c4681bf9359cc696c5e2 | e11c486c6a6d6f24bc1cc4cd0cb76bce57404ca5 | refs/heads/master | 2021-06-27T20:29:38.995197 | 2020-05-11T23:26:16 | 2020-05-11T23:26:16 | 236,610,890 | 3 | 0 | Apache-2.0 | 2020-10-22T06:43:42 | 2020-01-27T22:36:20 | C++ | UTF-8 | C++ | false | false | 1,493 | h | //
// Copyright 2019 gRPC authors.
//
// 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 t... | [
"roth@google.com"
] | roth@google.com |
1a8d75470e79bb69732a98508cb3ec579f00d1d7 | fc13a625638bd671c9384f6abd4b67190a766dc9 | /sources/dc-motor-state-control/src/main.cpp | 491bc7ac5d21fe5ba5f0830fa09a0e89e3b72250 | [] | no_license | Martinsoyyo/inverted-pendulum | 04ed6c271d2b376c44d74e4d9f53a99b2d32f17b | 114e5881d5d42f897228091013fced8d26882c59 | refs/heads/master | 2023-08-21T16:32:50.692889 | 2021-09-23T15:39:58 | 2021-09-23T15:39:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,319 | cpp | /**
* == Stabilizing DC motor with state control ==
*
* Cart is being controlled by state controller (x, v) based on params found by fitting the model
*
* == Hardware specification ==
* OMRON E6B2-CWZ6C pinout
* - Brown - Vcc
* - Black - Phase A
* - White - Phase B
* - Orange - Phaze Z
* - Blue - GND
*
*... | [
"zjor.se@gmail.com"
] | zjor.se@gmail.com |
e0f34b28e8c173e98ca5e4c7e8af9d468fc9b04f | ad48248020176912cb6190c85db85bcb47201cd1 | /Loong/LoongCore/include/LoongCore/scene/components/LoongCCamera.h | 4dce3366b02d0d4d92460d5cccd2b7d0d7bf3c33 | [
"Apache-2.0"
] | permissive | carlcc/Loong | f2d77c3fa465f4e9c99c113d0c0fee35ca11d6e4 | 577e89b436eb0e5899295c95ee4587c0270cea94 | refs/heads/master | 2023-02-01T21:56:49.343306 | 2020-12-20T09:08:07 | 2020-12-20T09:08:07 | 268,041,564 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,213 | h | //
// Copyright (c) 2020 Carl Chen. All rights reserved.
//
#pragma once
#include "LoongCore/scene/LoongComponent.h"
#include "LoongRenderer/LoongCamera.h"
namespace Loong::Core {
class LoongCCamera final : public LoongComponent {
public:
explicit LoongCCamera(LoongActor* owner);
~LoongCCamera() override;
... | [
"carlmarxchen@foxmail.com"
] | carlmarxchen@foxmail.com |
80e0fc887759da8d041192bf354639a2c82d7a07 | 6bf5715d3a12f67115a7b9b4b9daa1ab21c6cb0f | /Lstack.cpp | a8948f70a9e3f87bb815e0876299d3a6cc3bfd6b | [] | no_license | r3dark/DS_CODES | 442656ac9a218c222d3d578c1c6a9e51a004f95b | 163478ec5f9b4ae943e7ee8e5cf0f58f20d9c9c6 | refs/heads/master | 2021-04-29T23:57:58.643855 | 2018-02-14T22:12:07 | 2018-02-14T22:12:07 | 121,567,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,277 | cpp | #include<iostream>
#include<string>
#include<algorithm>
using namespace std;
class node
{
public:
int data;
node* next;
};
class stack
{
public:
node* top;
stack()
{
top=NULL;
}
void push(int d);
void pop();
void display();
int full();
int empty();
};
int stack::fu... | [
"noreply@github.com"
] | r3dark.noreply@github.com |
aa07e0158a20af2e8b95e10247a5b473e5283305 | 510959a396e2e72eaec632c5c5f7b32f01adbdb4 | /elenasrc2/ide/historylist.h | 2694521a421d12ac936381a4fbc2fc4ac1a81307 | [
"Apache-2.0"
] | permissive | sanyaade-teachings/elena-lang | a6c700ccf0cc8186d271f2226205cdf76bf19f5d | 5b9871e654fe2e57e88931bbebcfbb5155a52247 | refs/heads/master | 2020-05-29T11:35:21.276914 | 2014-01-25T08:52:14 | 2014-01-25T08:52:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | h | //---------------------------------------------------------------------------
// E L E N A P r o j e c t: ELENA IDE
// MenuHistoryList class header
// (C)2005-2011, by Alexei Rakov
//---------------------------------------------------------------------------
#ifnde... | [
"arakov@yandex.ru"
] | arakov@yandex.ru |
e31b1051cb8025101b392068dd7f6b40faec2b8b | e0bf5836e4f0d75b28b1f787446e655cdeeb8b03 | /files/459e.cpp | 58ca311f7641c2e736e5ab9245d255541dac15b3 | [] | no_license | arunnsit/allcodes | 3f0b73facdee06e802455c6c3fb5de7baae702c2 | 5e6a8bf3883d0c5f67dfa7cc3dc026dbb4c63a71 | refs/heads/master | 2021-01-10T13:58:24.900593 | 2017-10-03T18:11:34 | 2017-10-03T18:11:34 | 50,598,937 | 0 | 2 | null | 2019-09-30T20:16:32 | 2016-01-28T17:06:03 | C++ | UTF-8 | C++ | false | false | 843 | cpp | #include<stdio.h>
#include<algorithm>
struct node{
int u;
int v;
int w;
};
using namespace std;
bool cmp(node a,node b){
return a.w<b.w;
}
int dp[400000][3]={0};
node a[400000];
int main(){
int n,m,x,y,i,j,s=-1;
scanf("%d %d",&n,&m);
for (int i = 0; i < m; ++i)
{
scanf("%d %d %d",&a[i].u,&a[i].v,&a... | [
"arun.yad96@gmail.com"
] | arun.yad96@gmail.com |
17ebc2f4048cadefcab532ec4bb3f12b195b8e91 | 88137561a97490e0f9b453ee476430810bb65b46 | /LightSource.cpp | 41f6f24f325f16dce32bc0f2b4a0f1826d9d3737 | [] | no_license | Euronia/LancerDeRayons | fc3f7819b832eef6e241e4918f6a2cfe532c7c0a | e0a259d43212fd8becda8469377c7a2379feb1ef | refs/heads/master | 2021-01-01T17:22:41.260041 | 2014-06-04T12:50:31 | 2014-06-04T12:50:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | #include "LightSource.h"
LightSource::LightSource(const Point& originPoint ,const Color& lightColor)
:
origin(originPoint) ,
color(lightColor)
{
}
Point LightSource::getOrigin () const
{
return origin;
}
Color LightSource::getColor () const
{
return color;
}
| [
"mouton.thibault@gmail.com"
] | mouton.thibault@gmail.com |
91e9b3a887291fa4a79ec1346fa9d2f3bfd71a11 | 232767d21db4e52a9f76c6023f7e0cbec739b5d7 | /can/src/ServiceRequest.cc | 819a62985c9efc29cb3440d5a605f0d8b53b855f | [
"Zlib"
] | permissive | Sourabh-Pandit/cc | 27a73f1d565c5cd7149fe1eeaef9e814a2e3a79c | 73a2eef31c21c624f1c77340b05cec0ac44793c4 | refs/heads/master | 2021-02-16T02:50:44.365556 | 2020-02-16T23:27:42 | 2020-02-16T23:27:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | cc | /*
* Copyright (C) 2019 Frank Mertens.
*
* Distribution and use is allowed under the terms of the zlib license
* (see cc/LICENSE-zlib).
*
*/
#include <cc/can/ServiceRequest>
#include <cc/can/ReadRequest>
#include <cc/can/WriteRequest>
#include <cc/can/ReadSegmentRequest>
#include <cc/can/WriteSegmentRequest>
#in... | [
"frank@cyblogic.de"
] | frank@cyblogic.de |
1818f18b558e66d09f8be62d025b0cb87f6d9f44 | c83031e047a315807f5bfbd33d93ee3f3b07b860 | /src/Swarm.cpp | cb42d635f452876ae840699a03eb17a173963bad | [] | no_license | kdloney/PriestFinalData_PhaedrasLove | ce036703901483a4c93d8bc4becdbbfa184b01ca | 3d6839a4045bd361bec91501a0ef1f3a067148a1 | refs/heads/master | 2020-03-30T18:24:05.725365 | 2014-03-04T12:26:46 | 2014-03-04T12:26:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,743 | cpp | #include "Swarm.h"
// This 'swarm' object demonstrates a simple particle system
// with 'simple harmonic motion'
swarm::swarm(){
light.setAmbientColor(ofColor(0, 0, 0));
}
void swarm::init(int nParticles, float xDis, float yDis, float zDis, float velocityDispersion, float rVal, float gVal, float bVal, float aVal){... | [
"kdloney@gmail.com"
] | kdloney@gmail.com |
41f148ef3f18d87dec33018d26c1dab40bebfae4 | e0d41578eb105e9d3663ac17e841963e6cfb9f1b | /client/sdl/texture_cache.cpp | 01a0fd08249e0526ad97d08fdb61300cf31cd34d | [] | no_license | azhi/Bomberman-Clone | e19b91209b7599dd5e722fc6841c2c695415c303 | 1611ea30add14b0668cf8c0b4341954228f29857 | refs/heads/master | 2020-06-04T10:57:52.141308 | 2014-05-05T23:03:03 | 2014-05-05T23:03:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,696 | cpp | #include "texture_cache.h"
#include <string>
SDL_Texture *TextureCache::destructible_texture = NULL;
SDL_Texture *TextureCache::indestructible_texture = NULL;
SDL_Texture *TextureCache::grass_texture = NULL;
SDL_Texture *TextureCache::mc_front_texture = NULL;
SDL_Texture *TextureCache::mc_back_texture = NULL;
SDL_Tex... | [
"astzhe@gmail.com"
] | astzhe@gmail.com |
4bc6c3645708f41ebf23ed954c55472e2577a86b | f6f0f87647e23507dca538760ab70e26415b8313 | /6.1.0/msvc2019_64/include/QtGui/6.1.0/QtGui/private/qimage_p.h | 6936663f666419fcd8cb6485752fc396e6bc259b | [] | no_license | stenzek/duckstation-ext-qt-minimal | a942c62adc5654c03d90731a8266dc711546b268 | e5c412efffa3926f7a4d5bf0ae0333e1d6784f30 | refs/heads/master | 2023-08-17T16:50:21.478373 | 2023-08-15T14:53:43 | 2023-08-15T14:53:43 | 233,179,313 | 3 | 1 | null | 2021-11-16T15:34:28 | 2020-01-11T05:05:34 | C++ | UTF-8 | C++ | false | false | 13,934 | h | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid... | [
"stenzek@gmail.com"
] | stenzek@gmail.com |
1b3ab716f7fc4ff5028fb5955f9d37a8fbcbfd8d | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest3/0.132/Ma | c92fcdd9a7f8295391f1703d7b35b67d7438baf4 | [] | no_license | mahoep/inletCFD | eb516145fad17408f018f51e32aa0604871eaa95 | 0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2 | refs/heads/main | 2023-08-30T22:07:41.314690 | 2021-10-14T19:23:51 | 2021-10-14T19:23:51 | 314,657,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 150,361 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"mhoeper3234@gmail.com"
] | mhoeper3234@gmail.com | |
80001fa9dcaa70301d86206a1a0a3c840c716d11 | bfa4a77fe5ccc95c6417642da7d6f886d49bd797 | /src/integrators.cpp | cf589145c9daa39df6b989b78928c910ab57b4cc | [
"MIT"
] | permissive | FerryT/SiCGp2 | d3b73e0ce114217efd6aba71b88837b2dc10deb3 | 45a2c821c61a46fe4efe8d30f883b774abf45cec | refs/heads/master | 2021-01-17T19:52:44.070766 | 2016-07-11T00:39:30 | 2016-07-11T00:39:30 | 60,373,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,707 | cpp | /**********************************************************************
* Integration functionality -- See header file for more information. *
**********************************************************************/
#include "integrators.h"
namespace Sim {
//---------------------------------------------------------... | [
"f.timmers@student.tue.nl"
] | f.timmers@student.tue.nl |
5e7accd26d336867e70d445869db815288a3397c | 98b6001550c19fad60975e5dac262dde561e887b | /WinAPI/lessons/lesson7_slider progress bar/main2.cpp | 945745a9a0a37d85959c17c3d5ad525a57f0a43e | [] | no_license | ArBond/ITStep | eee3998d7292ea110ee5f6fd39723cc5d7a095d8 | 8d013e349648e52c8753f94331dfe611086e57b5 | refs/heads/master | 2020-04-05T11:44:03.579526 | 2018-02-23T09:08:03 | 2018-02-23T09:08:03 | 81,499,847 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,782 | cpp | #include <Windows.h>
#include "commctrl.h"
#pragma comment(lib, "comctl32")
#include "resource.h"
#define ID_TIMER1 123
#define ID_TIMER2 124
#define ID_STATUSBAR 234
BOOL CALLBACK DlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
static HWND hPrBar;
static HWND hStatusBar;
static HWND hSlider;
sta... | [
"bonartembon@gmail.com"
] | bonartembon@gmail.com |
17f77c042acd044e8bb4cc924e65a8ea33e89715 | 3b38e11bd517ba7825bc23ad890fe0150cfd2bf2 | /src/vartypes/primitives/VarQWidget.cpp | 64037538471f0771ec4140e72e2bf0acbddac2e5 | [] | no_license | eschneeweiss/Umass_RoboCup_Logger | a1b9a7f265f8dce139e92ebb1a0c8964803ceb1c | cc2ced98c75f4c44e96754d619be5e17810c6f88 | refs/heads/master | 2020-09-21T05:42:59.737244 | 2016-10-12T19:48:53 | 2016-10-12T19:48:53 | 67,076,577 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | //========================================================================
// This software is free: you can redistribute it and/or modify
// it under the terms of the GNU General Public License Version 3,
// as published by the Free Software Foundation.
//
// This software is distributed in the hope that it w... | [
"eschneeweiss@umass.edu"
] | eschneeweiss@umass.edu |
ac892e2d4298a4cf99f4948332d4056baacc2be0 | 0b69a011c9ffee099841c140be95ed93c704fb07 | /problemsets/SPOJ/SPOJ - BR/BALE11.cpp | fa62023f937b8bd31b1dcc4d112d52ce1986d025 | [
"Apache-2.0"
] | permissive | juarezpaulino/coderemite | 4bd03f4f2780eb6013f07c396ba16aa7dbbceea8 | a4649d3f3a89d234457032d14a6646b3af339ac1 | refs/heads/main | 2023-01-31T11:35:19.779668 | 2020-12-18T01:33:46 | 2020-12-18T01:33:46 | 320,931,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | cpp | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <algorithm>
#include <vector>
using namespace std;
long long mergecount (vector<int> &a) {
long long count = 0;
int i, j, k, n = a.size();
if (n <= 1) return 0;
vector<int> b(a.begin(), a... | [
"juarez.paulino@gmail.com"
] | juarez.paulino@gmail.com |
b6c9ec35c92977dc7f37ece852dcadb83b43a37a | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-eks/include/aws/eks/model/UpdateNodegroupConfigRequest.h | 19b88ee5ed133de7d9b8cdd0c6bdab4bb1a7364a | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 13,481 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/eks/EKS_EXPORTS.h>
#include <aws/eks/EKSRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/eks/model/UpdateLabelsPayload.h>
#include <aws/eks/model/Up... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
565a90c1328ab3aa59df950c8de74769b211d6b1 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/skia/modules/skottie/src/layers/shapelayer/ShapeLayer.h | 6a89efa4e523ce9e3a913197af7e1a40db947489 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 3,727 | h | /*
* Copyright 2020 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkottieShapeLayer_DEFINED
#define SkottieShapeLayer_DEFINED
#include "include/private/SkNoncopyable.h"
#include "modules/skottie/src/Animator.h"
#include "modules/sks... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
882f535e71b4e6e6c6f70219651481f04fcd29c1 | fbbc663c607c9687452fa3192b02933b9eb3656d | /tags/1.22.02.00/unarchiver/unzip.cpp | a74bec4f2054fa517a87470d11f53c8e6749790e | [
"BSD-3-Clause"
] | permissive | svn2github/OpenMPT | 594837f3adcb28ba92a324e51c6172a8c1e8ea9c | a2943f028d334a8751b9f16b0512a5e0b905596a | refs/heads/master | 2021-07-10T05:07:18.298407 | 2019-01-19T10:27:21 | 2019-01-19T10:27:21 | 106,434,952 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,469 | cpp | /*
* unzip.cpp
* ---------
* Purpose: Implementation file for extracting modules from .zip archives, making use of MiniZip (from the zlib contrib package)
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#... | [
"saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27"
] | saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27 |
03f351872454aeab4fc2e1d090cae7afc9302ef8 | 795ed2f56f2b8b0e3b32b4ef796526233a8ce060 | /funcPointer/Source.cpp | 46af94c63dc68296a9cf7feb0f3034ffc5e23c2b | [] | no_license | windo-developer/CPP_Study | d436883b499d2ab8f7d530c3cea461da98d99643 | 369211ff67bd78a35fec8b246001d2e40723d65e | refs/heads/master | 2023-04-24T00:11:05.598137 | 2021-05-10T08:09:02 | 2021-05-10T08:09:02 | 346,973,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | #include <iostream>
using namespace std;
template<typename T, int SIZE = 10>
class RandomBox
{
public:
T GetRnadomData()
{
int index = rand() % SIZE;
return _data[index];
}
public:
T _data[SIZE];
private:
};
template<int SIZE>
class RandomBox<double, SIZE>
{
public:
double GetRnadomData()
{
int index = r... | [
"yui050505@gmail.com"
] | yui050505@gmail.com |
d6c6b4638206384ff47b3b212bb1bd568808df55 | 2dbbcbdceb9c3e1647a401103bf55afabe156eac | /sca/tools/scagen/junit/testinput/modules/MyValueServiceModule/StockQuoteService.h | d96115fb3fe75eec029f88459ae0ff13a986e84a | [
"Apache-2.0"
] | permissive | lelou13/tuscany-sca-cpp | bd30f5967f0c3a95382d80f38ee41a16ec7420ca | b06cb5b2608c0802c15c75c708589e82a9c60e2d | refs/heads/cpp-M1 | 2021-01-15T08:04:32.276885 | 2009-11-16T06:23:13 | 2009-11-16T06:23:13 | 49,079,719 | 0 | 0 | null | 2016-01-05T16:58:49 | 2016-01-05T16:58:49 | null | UTF-8 | C++ | false | false | 1,022 | h | /*
*
* Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
*
* 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/LICENS... | [
"robbinspg@apache.org"
] | robbinspg@apache.org |
e99ea7eb247dd12df06b7334fd2cd2f7d9a73cf5 | 5776c02b86d6b1ddf086d7918942ef25e66e153b | /Practice/Concepts/Bitmasks/2_mul_and_div_by2.cpp | db8d8af594388144bf4f05f39e9f89a8a53bad36 | [] | no_license | DaKidReturns/CP | 11282b018060b06e82a6114d0c3e13feae61d801 | 4786a08a4a20b2c7c6f762abfd01a3b53adb6ff2 | refs/heads/master | 2023-07-10T18:18:20.002544 | 2021-08-21T14:24:10 | 2021-08-21T14:24:10 | 317,222,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | #include<iostream>
int main(){
int n;
std::cout<<"Enter an intege: ";
std::cin>>n;
int p = n<<1;
int q = n>>1;
std::cout<<n<<" * 2 = "<< p<<std::endl;
std::cout<<n<<" / 2 = "<< q<<std::endl;
return 0;
}
| [
"rohitkarun@gmail.com"
] | rohitkarun@gmail.com |
9b5839ac141839f42142ef616a0b0139309fe86e | e006fa41b367201c1772a2cdf5f99deccf5ff45f | /src/plato/DynamicCompliance.hpp | afe1d0242da76efb8734f306cd0d7660526afbc3 | [
"BSD-2-Clause"
] | permissive | overfelt/lgrtk | 9ed00dc9e4d3dac82426c5a0de0b7e84c4a4fc63 | d359cc17f69c8742c5375adfe6811984b1693410 | refs/heads/master | 2020-03-31T10:12:04.527791 | 2019-01-17T00:06:26 | 2019-01-17T00:06:43 | 152,126,312 | 0 | 0 | NOASSERTION | 2018-10-08T18:22:33 | 2018-10-08T18:22:33 | null | UTF-8 | C++ | false | false | 9,047 | hpp | /*
* DynamicCompliance.hpp
*
* Created on: Apr 25, 2018
*/
#ifndef DYNAMICCOMPLIANCE_HPP_
#define DYNAMICCOMPLIANCE_HPP_
#include <memory>
#include <Omega_h_mesh.hpp>
#include <Omega_h_matrix.hpp>
#include <Teuchos_ParameterList.hpp>
#include "ImplicitFunctors.hpp"
#include "LinearElasticMaterial.hpp"
#inclu... | [
"daibane@sandia.gov"
] | daibane@sandia.gov |
06a0c641b7179d15f14c4864b479f7ff277022d7 | b297b80f99532e6aff0cb6500a1079a54b830901 | /src/Ventana.h | c93b816cfc193d8681ea1af4fe4364b946a73544 | [] | no_license | alejandro2014/game | e8076a9980d5f0b95a58dd6077b8c511ab7135f5 | 14d44dc6b0ab04fb7757574725ef47f59a314710 | refs/heads/master | 2016-09-12T23:32:24.993008 | 2016-04-14T19:27:01 | 2016-04-14T19:27:01 | 56,264,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | h | /*
* Juego.h
*
* Created on: 22 Nov 2009
* Author: alejandro
*/
#ifndef VENTANA_H_
#define VENTANA_H_
#include "cabecera.h"
#include "Dcel.h"
#include "Ventana.h"
#include <sys/time.h>
class Ventana {
private:
GLfloat angAlfa, angBeta;
//GLfloat distancia;
SDL_Surface *screen;
int done;
//Variables r... | [
"you@fakemail.com"
] | you@fakemail.com |
57eb5a76eae0f7ea9db352f097046b6eeb6a62a1 | 83b0434238f6aac2a37cd7ae10df270636f63618 | /lab6/lab6v13.cpp | 0d74af09f6133dd1adc67d598b609047611a521c | [] | no_license | hickeym2/object-oriented-programming | 0a0a5ef13f3653e94e7a152b00ab2783e97a8c15 | 085367b4dd550c41e0375dda5740936e61d2a610 | refs/heads/master | 2020-03-25T09:14:07.574806 | 2018-08-05T23:36:43 | 2018-08-05T23:36:43 | 143,655,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,432 | cpp | /*
* Mike Hickey
* Professor Carpenter
* Lab 6 Linked List
* Due Date 10/21/16
*/
#include <iostream>
#include <cstdlib>
#include <string>
#include <fstream>
#include <sstream>
using namespace std;
//=== Struct ===
struct entry_qb{
string firstName;
string lastName;
string entryName;
int arrayYear[4];
int ... | [
"mikehickey95@gmail.com"
] | mikehickey95@gmail.com |
c5fab90689a4f8592a11737d201e0400eaeeaa42 | 5aa0551354d442ef3c531802775ac4eab96c3b01 | /Source/ui/longitudinalwidget.h | 05a2735983e54d1f27701c65ab50561f42feee96 | [] | no_license | rafaelppires/weldway | 404e26d0676720b2e6c7a168c925654dc7f96f14 | ea421cb4879420ca691265aa0dde979b5ce6bbd8 | refs/heads/master | 2016-08-03T08:42:48.467688 | 2015-09-21T13:14:29 | 2015-09-21T13:14:29 | 31,918,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 882 | h | #ifndef LONGITUDINALWIDGET_H
#define LONGITUDINALWIDGET_H
#include <oscillation_widget.h>
#include <slider_spin.h>
#include <trajectory.h>
namespace Ui {
class LongitudinalWidget;
}
//-----------------------------------------------------------------------------
class LongitudinalWidget : public Oscillati... | [
"Rafael@5480589f-094f-1b4a-8096-6e62e98e9fcd"
] | Rafael@5480589f-094f-1b4a-8096-6e62e98e9fcd |
476b427a7993fa35effae3c37e1216dabf090c8a | 1a1155a3e9535206d692fe2c7ddff27ca7e712c5 | /8_Program.cpp | 14bf01370004208a5656105c46d38a8ac0fc64f1 | [] | no_license | anuragbisht12/CPP-Revisited | e080c9073514500a56db2f7de1b8608f0062d3ea | f35c015b8e34b13395c885e6d3ac83f5fad7a604 | refs/heads/master | 2023-02-10T04:24:26.378913 | 2020-12-28T14:16:52 | 2020-12-28T14:16:52 | 278,111,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,908 | cpp | /*
C++ Strings
C++ provides following two types of string representations −
The C-style character string.
The string class type introduced with Standard C++.
The C-Style Character String
The C-style character string originated within the C language and continues to be supported within C++.
This string is actually a ... | [
"anuragbisht12@gmail.com"
] | anuragbisht12@gmail.com |
903303ed04c4ab0ef3a5237627e98086534ee01e | ec494526ff8a0105a4ab2738f2cfe9668977680d | /BalloonMan/BackGround.cpp | 19d81b2657c4084aacf17b8c1b8d2848d77e06e5 | [] | no_license | aoyamashunta/BalloonMan | e952cec5f15d31870d4b473805915316592a7d9c | 46d85f3eee9c396ff866a001a2aa2eb959472070 | refs/heads/master | 2023-02-26T15:50:27.387870 | 2021-02-01T01:43:23 | 2021-02-01T01:43:23 | 319,378,049 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 5,504 | cpp | #include "BackGround.h"
#include "stdio.h"
#include <stdlib.h>
#include "DxLib.h"
extern enum blocknum{
NONE,
BLOCK,
PLAYER,
GOAL,
SPINE
};
//extern int WIN_WIDTH; //ウィンドウ横幅
//extern int WIN_HEIGHT; //ウィンドウ縦幅
BackGround::BackGround(const char *mapName) :
mapXSize(32),
mapYSize(32),
mapChipMax(4),
map() {
w... | [
"k020g1114@g.neec.ac.jp"
] | k020g1114@g.neec.ac.jp |
86240172fc5b889d6d1c179f8fec33e8e54abd1d | a2111a80faf35749d74a533e123d9da9da108214 | /raw/workshop11/workshop2011-data-20110925/sources/u35c5glxw45elmls/81/sandbox/my_sandbox/apps/ministellar/ministellar.cpp | 51a0c8bf286ecbcbd9ac005ebd965f94b7bae669 | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,845 | cpp | #include <seqan/stream.h>
#include <seqan/index.h>
#include <seqan/align.h>
#include <seqan/seeds2.h>
using namespace seqan;
// set parameters
unsigned const minimalLength = 12;
float const errorRate = 0.05;
//unsigned const qGramLength = 8;
CharString const filename = "ministellar.out";
typedef int TScoreValue;
TS... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
1b7460b87d8f1a9e4300650b2f0264a8b56ea67b | d747c7cedffa13171b2793aa3b3ad2c35f111032 | /typeconversion.cpp | 0c41e7c10b5523f65e8ed465e7f1e5bc379b08e2 | [] | no_license | shubhamguptaji/CPP | 213556c39f6f2e9d17714cc0768cec293bfa317f | 2320c4d1e52e1022b678ebe9218babc744a67119 | refs/heads/master | 2020-03-08T02:29:13.111784 | 2018-04-03T14:20:05 | 2018-04-03T14:20:05 | 127,861,013 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include<iostream>
using namespace std;
class Time
{
int hours,mins;
public:
Time()
{hours=0;mins=0;}
Time(int d)
{
hours = d/60;
mins = d%60;
}
Time(int h, int m)
{
hours = h;
mins = m;
}
operator int()
{
return (hours*60 + mins);
... | [
"shubham2604gupta@gmail.com"
] | shubham2604gupta@gmail.com |
15db7f3f8cce1613f6aa679cfb2a409cc61cdcd6 | 185c0d00de7364d90ae76d19c14d14d336f5fbfe | /Chapter5/Labs 5.3/Lab 5.3.13 (8)/Lab 5.3.13 (6).cpp | e8fa590ae551b35a58c15e10ae98a260b180c56d | [] | no_license | romanvorozhbyt/CompPractice2017 | c186886f184d55a77aab6665f08d48fdc4f2fdcb | 1cba4f11b7201b89332b31ce9e5ad64d39428c4a | refs/heads/master | 2021-04-26T00:41:20.136496 | 2017-12-19T12:11:10 | 2017-12-19T12:11:10 | 107,325,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,085 | cpp | #include <iostream>
using namespace std;
class Node
{
public:
Node(int val);
~Node();
int value;
Node* next;
};
Node::Node(int val) : value(val), next(nullptr)
{
//cout << "+Node" << endl;
}
Node::~Node()
{
//cout << "-Node" << endl;
}
class List
{
public:
List();
void push_front(int value... | [
"noreply@github.com"
] | romanvorozhbyt.noreply@github.com |
75070004695fc0ac4af69bbbb61287ef36128b64 | 91ba0c0c42b3fcdbc2a7778e4a4684ab1942714b | /Cpp/SDK/BP_RB_Rank03_RankDesc_classes.h | 49505848bd3a10a357f090e5ac2e8bfdc31583bb | [] | no_license | zH4x/SoT-SDK-2.1.1 | 0f8c1ec3ad8821de82df3f75a0356642b581b8c6 | 35144dfc629aeddf96c1741e9e27e5113a2b1bb3 | refs/heads/main | 2023-05-12T09:03:32.050860 | 2021-06-05T01:54:15 | 2021-06-05T01:54:15 | 373,997,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | h | #pragma once
// Name: SoT, Version: 2.1.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//--------------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
3003b7a455fd464e95600da552baebd45192331b | fe18014a36e9044e6b35dd277a079d23fec38ef1 | /Utils/Histogram.cc | 500badb5936a09f71b4e8f2f0f2ff6a67035e864 | [] | no_license | mlamarre/ACG | b8127d91155fd00bddd0f7e7c3d56b603b4125dc | 80f116e53a5af15993dddec919d70a0f995ef8ea | refs/heads/master | 2021-05-16T15:56:36.625825 | 2018-01-31T02:55:14 | 2018-01-31T02:55:14 | 119,601,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,413 | cc | /*===========================================================================*\
* *
* OpenFlipper *
* Copyright (c) 2001-2015, RWTH-Aachen University *
* ... | [
"mlamarre@ea.com"
] | mlamarre@ea.com |
58943f73cdd239a2fd7ae754c21c2a678c425c9a | ee6d19e7976f4c07b17004d326a4e1be4306990c | /codechef/contests/2021/august/algomaniac/old_saint.cpp | 027ce0f9cc8c88d9dd2b5dcc4d0d0c3ce07fd1f1 | [] | no_license | samahuja642/competitive-programming | b37eab547ac59ba6f4cdd9f4173fbfac9b46e292 | 031a7d38db557b4b6058af5d5e246543821011b5 | refs/heads/main | 2023-09-03T08:14:09.558871 | 2021-10-20T17:55:29 | 2021-10-20T17:55:29 | 350,995,005 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | #include<iostream>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie();
cout.tie();
int t;
cin>>t;
while(t--){
int a[3],b[3];
int ans1=0,hero1=0;
for(int i=0;i<3;i++){cin>>a[i];if(a[i]==1)ans1++;}
for(int i=0;i<3;i++){cin>>b[i];if(b[i]==1)... | [
"samahuja642@gmail.com"
] | samahuja642@gmail.com |
951776af12a4e063cdb38c65765be816289e521f | 8c9575a3582289157af75f08b08f3d17237879c8 | /src/hash/system-test/system_test.cpp | 992a69443044d1c3f7dbaa46c10629d3483735d8 | [] | no_license | babky/hashing | a7c4a2ef1a9fb1bc33e3ea82ac7c140bde6cc42a | e520bd28901473fb812b7ffa888560974405c54b | refs/heads/master | 2020-12-30T13:22:02.271181 | 2020-04-08T19:51:09 | 2020-04-08T19:51:09 | 91,207,567 | 0 | 0 | null | 2020-10-13T04:38:32 | 2017-05-13T23:02:42 | TeX | UTF-8 | C++ | false | false | 6,719 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include "utils/boost_include.h"
#include <boost/program_options.hpp>
#include "systems/uniform/dietzfelbinger_woelfel.h"
#include "systems/bit_string_system.h"
#include "systems/polynomial_system.h"
#include "systems/linear_map_system.h"
#inclu... | [
"babky@users.noreply.github.com"
] | babky@users.noreply.github.com |
a3def3f90d29cbfb67ff728a88872e123b1ed3bd | 50402cc4388dfee3a9dbe9e121ef217759ebdba8 | /CSProj/cs236/proj4/src/Fact.h | dc744a7e917d386cc2c0563656c9b734a6c35fb8 | [] | no_license | dqyi11/SVNBackup | bd46a69ec55e3a4f981a9bca4c8340944d8d5886 | 9ad38e38453ef8539011cf4d9a9c0a363e668759 | refs/heads/master | 2020-03-26T12:15:01.155873 | 2015-12-10T01:11:36 | 2015-12-10T01:11:36 | 144,883,382 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | /*
* Fact.h
*
* Created on: Feb 5, 2013
* Author: kyle
*/
#ifndef FACT_H_
#define FACT_H_
#include <vector>
#include <string>
#include <sstream>
#include "Lex.h"
#include "Domain.h"
class Fact {
friend class Relation;
friend class Database;
public:
Fact(Lex* lex, Domain* domain);
~Fact();
string toSt... | [
"walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39"
] | walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39 |
3b70f835c6f211fa298b823a533e3f3c9c6e3651 | 9c7584da436d9f44c966abe28105644aece6931c | /p3865.cpp | 2bb5074f9c766a7cb7cde86f3d29fe598efe3792 | [] | no_license | Leo-Ngok/UVa_solutions | c6b703c910fcc5e534b576394b8522a89701f642 | c890ef4f33b66cff348c29eb2ca130edbc7417a8 | refs/heads/master | 2022-01-19T22:27:18.048148 | 2022-01-04T15:54:12 | 2022-01-04T15:54:12 | 202,375,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cpp | //p3865
#include <cstdio>
#include <algorithm>
#include <math.h>
using namespace std;
int st[20][100010],n,m,l,r;
int main(){
scanf("%d%d",&n,&m);
for(int i=1;i<=n;i++)
scanf("%d",&st[0][i]);
int h=log(n)/log(2);
for(int i=1;i<=h;i++)
for(int j=1;j<=n-(1<<i)+1;j++)
st[i][j]=max(st[i-1][j],st[i-1][j+(1<<(i-1))]);... | [
"z1023825@outlook.com"
] | z1023825@outlook.com |
8469d9d97e48c7208db50680a2429d477b479bb9 | 05ebb6fdc62824c622dff9c6d1aadc1b39c0e41e | /sdk/cpp/samples/isis_xr_read.cpp | 724d40a7639d53dbcb31223d8da9811647a30c1b | [
"Apache-2.0"
] | permissive | traveldan88/ydk-gen | 32d322cd247e359193277ea2a9d8a5471c547b4f | d4f25bb51541f83fe7fa8b159cf50b63818fa3be | refs/heads/master | 2021-01-21T21:22:14.217525 | 2019-05-23T21:19:51 | 2019-05-23T21:19:51 | 94,827,589 | 0 | 0 | null | 2017-06-19T22:53:14 | 2017-06-19T22:53:14 | null | UTF-8 | C++ | false | false | 3,745 | cpp | /* ----------------------------------------------------------------
Copyright 2016 Cisco Systems
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
... | [
"noreply@github.com"
] | traveldan88.noreply@github.com |
3acb5a1c581effcf1184f5ece261eeb8adf3d360 | 91e885f46cb5d8add4c3ea101747311e4afafc0a | /practice/revesre.cpp | ef816dbe177822ddeba95044b381a9809ac5b54b | [] | no_license | CoderMayhem/namanDoesCP | 25d4cef7b39d26483ec70dd5c8bb0c97325ba652 | 88c904091a5b72ec0339f1708ac2f920d18b6fbc | refs/heads/master | 2023-05-10T12:49:53.911330 | 2021-06-03T20:48:19 | 2021-06-03T20:48:19 | 363,678,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
int reverse = 0;
while(n>0){
int last = n%10;
reverse = reverse*10 + last;
n=n/10;
}
cout<<reverse<<endl;
} | [
"namanmishra1900@gmail.com"
] | namanmishra1900@gmail.com |
b74f5e4934e6311c0a0afff9f68dd0888f8c3f03 | 64589428b06258be0b9b82a7e7c92c0b3f0778f1 | /Codeforces/Gym/101670 2017-2018 CTU Open Contest/H.cpp | 2246efef20ebb062154e0269937b97ac11bfe45b | [] | no_license | splucs/Competitive-Programming | b6def1ec6be720c6fbf93f2618e926e1062fdc48 | 4f41a7fbc71aa6ab8cb943d80e82d9149de7c7d6 | refs/heads/master | 2023-08-31T05:10:09.573198 | 2023-08-31T00:40:32 | 2023-08-31T00:40:32 | 85,239,827 | 141 | 27 | null | 2023-01-08T20:31:49 | 2017-03-16T20:42:37 | C++ | UTF-8 | C++ | false | false | 601 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MAXN 200009
#define FOR(i, n) for(int i = 0; i < n; i++)
#define REP(i, n) for(int i = n-1; i >= 0; i--)
#define FOR1(i, n) for(int i = 1; i <= n; i++)
#define REP1(i, n) for(int i = n; i > 0; i--)
typedef long long ll;
int a[MAXN], inv[MAXN];
int main() {
int n;... | [
"lucas.fra.oli18@gmail.com"
] | lucas.fra.oli18@gmail.com |
606357bca476d618cff122bf9f46a34655c863ee | 5f2e1907411cf1f417bb7325395dcfdee199d1d9 | /src/Pos.h | 382bc01aa3e523e7a3eed4e26e282f10982ddb30 | [
"Zlib",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | anthemEdge/Sudoku-Solver | 33c2884515f3212aed64c3269557be1d37c98838 | 800796247175d0463ebffef40f8a2271722ac03c | refs/heads/master | 2020-05-17T14:48:25.935610 | 2015-07-18T22:09:59 | 2015-07-18T22:09:59 | 39,303,112 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | h | /*
* Pos.h
*
* Created on: 14 Jul 2015
* Author: eva
*/
#ifndef POS_H_
#define POS_H_
#include <sstream>
using namespace std;
struct Pos {
int row;
int col;
Pos(int row, int col);
string toString();
};
#endif /* POS_H_ */
| [
"d.mx.gibbs@gmail.com"
] | d.mx.gibbs@gmail.com |
aee2739037e9ac4aada0defb65a7c70777c096bf | c43b0d1e041d004d1fa8e1469f57b62d4d4bea88 | /zircon/system/ulib/blobfs/write-txn.cc | c6270845915c4f0dfae52b9fe23b4f859f342e9a | [
"BSD-3-Clause",
"MIT"
] | permissive | ZVNexus/fuchsia | 75122894e09c79f26af828d6132202796febf3f3 | c5610ad15208208c98693618a79c705af935270c | refs/heads/master | 2023-01-12T10:48:06.597690 | 2019-07-04T05:09:11 | 2019-07-04T05:09:11 | 195,169,207 | 0 | 0 | BSD-3-Clause | 2023-01-05T20:35:36 | 2019-07-04T04:34:33 | C++ | UTF-8 | C++ | false | false | 3,782 | cc | // Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <blobfs/metrics.h>
#include <blobfs/write-txn.h>
namespace blobfs {
WriteTxn::~WriteTxn() {
ZX_DEBUG_ASSERT_MSG(operations_.is_empty(), "Wri... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5901a93f85f931f9cbd60cc14ec66d9494477f3f | 646748c063c3b4e8538db6e89d9e13461ce4396b | /CCPanel.cpp | dee87b5d6674b9244048d8797d0eba006142b33c | [] | no_license | kdar/ccrack | 8c57c38a6729be43ddea2f8a450ada581fb3a7ad | bbd237922eccde8d298860e1ce6c0ff6df52ef39 | refs/heads/master | 2016-09-01T17:38:42.371987 | 2009-12-19T08:59:31 | 2009-12-19T08:59:31 | 442,634 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,075 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: CCPanel.cpp
// Purpose:
// Author: crenix
// Modified by:
// Created: 12/30/03 15:40:49
// RCS-ID:
// Copyright:
// Licence:
////////////////////////////////////////////////////////////////////////... | [
"kdarlington@rxmanagement.net"
] | kdarlington@rxmanagement.net |
b6340e47473287d348eccc8dc1a5261ec7ed9639 | 44748073e5254d85d0c6859a272bb1812f9da125 | /practice/treap/givr awaay.cpp | e2309b3d0b94ce2b4007a3f0c409afa962a27b31 | [] | no_license | shikharsrivastava/Competitive-Programming-code | b33c7132fac82b01a6dbb799ddf379b56a3e2559 | 73402bac6333f9b29a0d6c7ce1be09fb5dbc2f93 | refs/heads/master | 2021-04-29T05:27:46.734598 | 2017-01-04T05:04:56 | 2017-01-04T05:04:56 | 77,982,204 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,196 | cpp | //22:17
#include<bits/stdc++.h>
#define cnt(t) (t ? t->count : 0)
#define updatecnt(t) (t ? (t->count = cnt(t->l) + cnt(t->r) + 1) : 0)
using namespace std;
typedef struct node * pnode;
int *arr;
pnode nodes;
int next;
struct node
{
int p;
int v;
int count;
pnode l,r;
};
int scanint()
{
int num = 0;
char c = get... | [
"shikharsri1996@gmail.com"
] | shikharsri1996@gmail.com |
4410f54cebe0cbe6e51eb78d5651e8515216e2a6 | 0f79a15057a46aa107aebfde8d8033341958c617 | /src/stack.h | 5b7cd30b22eef0cef57f129b94598d8e489dfde7 | [] | no_license | liuyuntian/AI-in-Maze | d9fd155ede0a73829b61f09169f741ee0d42b83c | f2c71619ca506d73151945ff0a41f40da5134242 | refs/heads/master | 2021-01-10T08:11:32.162562 | 2016-03-03T11:05:55 | 2016-03-03T11:05:55 | 53,043,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | h | //Yuntian Liu
//C00151315
#ifndef STACK_H
#define STACK_H
#include <iostream>
#include <list>
using namespace std;
class CStack
{
public:
void Push(void *pData)
{
m_dataList.push_back(pData);
}
void* Pop()
{
void *ptr = NULL;
list<void *>::iterator it = m_dataList.end();
... | [
"liuyuntian110@126.com"
] | liuyuntian110@126.com |
3a87ecab8ab8356ab7c167b4f1ed01a3491cc943 | fa7f77f470995a4bba077d0ce837e61ba545015c | /src/objects/audio_analysis/PitchExtractor.h | 42472b69ba64582acafcb809711aacb2c3b71e6f | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | d3cod3/ofxVisualProgramming | b0d73c7e334c78a90d3dd7e73a8d9e03da38e05a | f152893238cffa070da69c54324b770f07ddeddb | refs/heads/master | 2023-04-06T10:20:29.050546 | 2023-01-24T16:51:11 | 2023-01-24T16:51:11 | 137,724,379 | 154 | 19 | MIT | 2023-09-11T18:56:05 | 2018-06-18T07:56:31 | C++ | UTF-8 | C++ | false | false | 2,645 | h | /*==============================================================================
ofxVisualProgramming: A visual programming patching environment for OF
Copyright (c) 2018 Emanuele Mazza aka n3m3da <emanuelemazza@d3cod3.org>
ofxVisualProgramming is distributed under the MIT License.
This gives everyon... | [
"n3m3da@d3cod3.org"
] | n3m3da@d3cod3.org |
72d452631b02bf13b01ec166d9d04f24f9d62b13 | 65b074479e44c95ad179b09ebb4383e62f19c259 | /Implementation/Core.Android/GLContext.h | 29858ea2b71a57e78b6055756a7faa5a8105bede | [] | no_license | YevhenRezohlazov/Mogren | fcd622a0df39fd47074696462be69a14c3998d05 | 198805a60bef287ab43030f93be2d8c42951eae9 | refs/heads/master | 2020-06-03T00:40:00.246128 | 2019-01-03T10:43:13 | 2019-01-03T10:43:13 | 191,363,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,293 | h | /*
* Copyright 2013 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 required by applica... | [
"yevhen.rezohlazov@gmail.com"
] | yevhen.rezohlazov@gmail.com |
ac651b408faf9c2fa63d63094701a3522e84194a | 7f9ea65b18627ea03e4357b5bae5f7baaa20a115 | /LinearIndx.cpp | 073c5c3eeb7e18fb7e4633332d0bcae29e58adb6 | [] | no_license | BrightAugustt/LinearIndex | f1654a80431ae1ef438ff0c597b579cd2f1654f4 | 0b5dd87de1ea271a3f15ae0d03e37e47ed8f4f35 | refs/heads/main | 2023-03-25T18:02:14.878641 | 2021-03-26T23:43:22 | 2021-03-26T23:43:22 | 351,920,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | cpp | #include <iostream>
using namespace std;
const int N = 3;
int main()
{
/* 2D array declaration*/
int LinearIndx[4][5];
int i, j;
for(i=0; i<4; i++) {
for(j=0;j<5;j++) {
//cout << LinearIndx arr[i][j];
printf("Enter value for LinearIndx[%d][%d]:", i, j);
... | [
"noreply@github.com"
] | BrightAugustt.noreply@github.com |
7d15297eb55b0dbcacf1287f5c01c813b087731d | 950161afb4cbe035579af74aa69a206e543697da | /parser/pglang_parser__token.hpp | cecd6402f8d6d5ecdf36744e0112abbe9dd78cd9 | [] | no_license | mugisaku/pglang | 31120a683cce8c9bca2c9271aa659a1a96269c1a | afdbd2c6e7f10bc2e16302d04fe9a26d33496b8e | refs/heads/master | 2021-01-12T07:49:04.379042 | 2017-02-01T03:49:08 | 2017-02-01T03:49:08 | 77,029,725 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | hpp | #ifndef PGLANG_PARSER__TOKEN_HPP_INCLUDED
#define PGLANG_PARSER__TOKEN_HPP_INCLUDED
#include<cstddef>
#include<string>
#include"pglang_expr__operator.hpp"
#include"pglang_parser__block.hpp"
#include"pglang_parser__cursor.hpp"
#ifndef report
#define report printf("[report in %s] %d %s\n",__FILE__,__LINE__,__func__)... | [
"lentilspring@gmail.com"
] | lentilspring@gmail.com |
46c1b4340ff046c08a85572c704c8874449434cc | 6c3925c167d55577bff746bab9c0498b0f1a398d | /UDMF-Converter-EE/Lump.hpp | 80d201437f962723db90324e8e1e5398b2337504 | [] | no_license | ioan-chera/UDMF-Converter-EE | 82457e5b7ef5162f606f5ebb9d5523274bb7e85c | 02f3db0ed4b1b400f52d379a2659c90042d27182 | refs/heads/master | 2021-01-11T22:27:19.390316 | 2019-10-03T07:44:32 | 2019-10-03T07:44:32 | 78,963,353 | 0 | 1 | null | 2017-09-02T12:57:13 | 2017-01-14T19:57:58 | C++ | UTF-8 | C++ | false | false | 1,916 | hpp | //
// UDMF Converter EE
// Copyright (C) 2017 Ioan Chera
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Th... | [
"ioan.chera@gmail.com"
] | ioan.chera@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.