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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d6c0b7b8f613b578700623ae1e837d4a617fc5ba | 0c016bd07764a449fe39a47e547469352b05b2de | /redux/redux/systems/script/static_register.cc | c6683a82be681c5ef4b8ee0cd6227c667e52c3a1 | [
"Apache-2.0"
] | permissive | honggui/lullaby | dbf3ef2a5dbe6497cfe40b3400d2e00df5bb7c49 | 18d76bee62014057d5f5547d7e87f9508a90bcb9 | refs/heads/master | 2023-05-09T00:15:20.266137 | 2022-11-28T22:12:58 | 2022-11-28T22:22:17 | 253,730,368 | 0 | 0 | null | 2020-04-07T08:17:55 | 2020-04-07T08:17:54 | null | UTF-8 | C++ | false | false | 723 | cc | /*
Copyright 2017-2022 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | [
"29288912+haroonq@users.noreply.github.com"
] | 29288912+haroonq@users.noreply.github.com |
acc7314f08d5e9cb0ecb2c3b48d1d5006b4ac5f6 | abf4d89056820ea44a55349a3d473fe0aa4eb530 | /YSIM/CollisionMap.cpp | a78137bd0c45b9db9e509a0a24bafdb9fb995e55 | [] | no_license | DJacquemin/C-GuiTest | 32aaae31c804e4c04dba4a09e0123f3b2a9dcb08 | 657454f1271cf0c8198d2d640e51c347353aac31 | refs/heads/master | 2016-09-14T05:36:14.913948 | 2016-05-10T19:21:30 | 2016-05-10T19:21:30 | 58,487,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | #include "CollisionMap.h"
void CollisionMap::addItem(UpdatableItems* item)
{
m_Items.push_back(item);
}
void CollisionMap::update(sf::Vector2i mouse)
{
for(int i = 0; i < m_Items.size(); ++i)
{
if (Collision::collide(mouse, m_Items[i]->getCoordinates(), m_Items[i]->getSize()))
m_Items[i]->update();
else
... | [
"couennedeporc@hotmail.com"
] | couennedeporc@hotmail.com |
2fde36dbc07c7245cf4e44bc4b6db519fba812d9 | d850f88d4440c87b9a88d4193ca186fc694ebcfd | /Matrix4.h | 39b073c7fc77ab833e3cfc71ac9a44dbb9d7c851 | [] | no_license | amaragak/UCSD-CSE-167-Final-Project | 6a304a7d71ab484061e452faac8cd003a3e0afc7 | e4cef3879394eb7673bf3a452a4b71c05c162283 | refs/heads/master | 2020-06-02T12:03:55.664882 | 2014-12-25T19:53:17 | 2014-12-25T19:53:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | h | //
// Matrix4.h
// CSE 167 Project 1
//
// Created by Alex Maragakis on 15/10/2014.
// Copyright (c) 2014 Gak Industries. All rights reserved.
//
#ifndef __CSE_167_Project_1__Matrix4__
#define __CSE_167_Project_1__Matrix4__
#include <iostream>
#include "Vector3.h"
#include "Vector4.h"
#include "math.h"
#include <... | [
"amaragak@ucsd.edu"
] | amaragak@ucsd.edu |
7fb0af5b4e45f7b4f5d25cae517fa74f7c8b49ea | 3c4f2c25d35adbc3313a084d22c3aa7cc0f4fa2e | /math/test/rotation_matrix_test.cc | 4035792f351b9d817f3a69da080744f241c5f9b8 | [
"BSD-3-Clause"
] | permissive | minxuanjun/drake | 1725144d910fe0e2c19c640e3ded3c56d89b6fa1 | c348ecfe1c5569ef5a33ff4271b2c4a03bebb841 | refs/heads/master | 2020-05-09T13:53:57.493954 | 2019-04-12T19:02:53 | 2019-04-12T19:02:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,537 | cc | #include "drake/math/rotation_matrix.h"
#include <gtest/gtest.h>
#include "drake/common/test_utilities/eigen_matrix_compare.h"
#include "drake/common/test_utilities/expect_throws_message.h"
#include "drake/math/quaternion.h"
namespace drake {
namespace math {
namespace {
using Eigen::Matrix3d;
using Eigen::Vector3d... | [
"noreply@github.com"
] | minxuanjun.noreply@github.com |
3f8dbbec6ac1f0b5c5273cc2c43c18fe40db48c8 | 8a38f665c688266932a81568994e7d0cabe9bf16 | /tests/source/init.cpp | 6db1457a39f58895101f4ebc928150548e59af70 | [] | no_license | a-kosykh/BinaryTreeExample | 2946455a5b3c310ad7ad119ba164f02a736c176d | 0e5e623eff76ade73df612a1ad6fd92c14f9faab | refs/heads/master | 2021-10-09T14:12:05.477860 | 2017-04-27T21:41:37 | 2017-04-27T21:41:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | cpp | #include <testclass.hpp>
#include <catch.hpp>
SCENARIO ("constructor"){
BinarySearchTree<int> BST;
REQUIRE(BST.root() == nullptr);
}
SCENARIO("findElement")
{
BinarySearchTree<int> bst;
bst.add(13);
REQUIRE(bst.isFound(13) == 1);
REQUIRE(bst.isFound(12) == 0);
}
SCENARIO("addElement")
{
BinarySearchTree<int> ... | [
"kik9399@mail.ru"
] | kik9399@mail.ru |
60eadb18f919c2801267e7dfab4e0419843e0142 | b483db84835220413a821e2da169840e007d9a1e | /es-app/src/MameNameMap.cpp | c09c5fd9df99594c92037bf929ce8bb3cbf236fd | [
"MIT",
"Apache-2.0"
] | permissive | lualiliu/emulationstation-on-jz4770 | 16d8188b58018302bf339a19c7571351474e17ec | 3ab83b15b7bf033bd1a02c9e307b4fc4219107b7 | refs/heads/master | 2022-06-26T16:14:25.885359 | 2020-05-01T11:55:10 | 2020-05-01T11:55:10 | 260,446,651 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,647,849 | cpp | #define NULL 0
const char* mameNameToRealName[] = {
"005", "005",
"10yard", "10-Yard Fight (World, set 1)",
"10yard85", "10-Yard Fight '85 (US, Taito license)",
"10yardj", "10-Yard Fight (Japan)",
"11beat", "Eleven Beat",
"18w", "18 Wheeler (set 1)",
"18w2", "18 Wheeler (set 2)",
"18wheelr", "18 Wheeler... | [
"lualiliu@outlook.com"
] | lualiliu@outlook.com |
d5abaecf27d247fb237798a5fda5e9613e0413ff | 306d7bd751d779654d20df866e0d83a5689ab4f6 | /src/rpcwallet.cpp | af8bfb23087a88a5f8aaff6fe5ce1d88c336ce0e | [
"MIT"
] | permissive | bitcoinnox/bnxcore | d267b12410b748e6acb7367682864330ffed21bb | b1ecdc53a7b4906d4280e35d8eb1024aeeaa5ad7 | refs/heads/main | 2023-03-28T09:10:04.806331 | 2021-03-26T11:30:04 | 2021-03-26T11:30:04 | 351,756,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 131,600 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php... | [
"81413609+bitcoinnox@users.noreply.github.com"
] | 81413609+bitcoinnox@users.noreply.github.com |
876df6b053a82ff8daa6900995c82062db76c10d | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/ash/login/test/login_or_lock_screen_visible_waiter.cc | f0c2d633f11aea34a58f63084f4d6444d5d24b8a | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 2,097 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/login/test/login_or_lock_screen_visible_waiter.h"
#include "base/logging.h"
#include "base/test/scoped_run_loop_timeout.h"
#include "base/test/tes... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
c00a888c5f2ef40afbefb476ec61c1457835e694 | 2ee540793f0a390d3f418986aa7e124083760535 | /Online Judges/Codeforces/Educational Round 48/b.cpp | 6bcd44c5a6016537820d4d1c61f8901d5b616cd1 | [] | no_license | dickynovanto1103/CP | 6323d27c3aed4ffa638939f26f257530993401b7 | f1e5606904f22bb556b1d4dda4e574b409abc17c | refs/heads/master | 2023-08-18T10:06:45.241453 | 2023-08-06T23:58:54 | 2023-08-06T23:58:54 | 97,298,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | cpp | #include <bits/stdc++.h>
using namespace std;
#define inf 1000000000
#define unvisited -1
#define visited 1
#define eps 1e-9
#define mp make_pair
#define pb push_back
#define pi acos(-1.0)
#define uint64 unsigned long long
typedef long long ll;
typedef vector<int> vi;
typedef pair<int,int> ii;
typedef vector<ii> vii;
... | [
"dickynovanto1103@gmail.com"
] | dickynovanto1103@gmail.com |
d53625559403ae7c12199abf60154908aa29c17b | dfffd703dd9777ab1af40f75af6de79440fa6147 | /src/renforce_bord.hpp | 6985de0eb5df1b4d237e0d9d39c109fd5fd13916 | [] | no_license | floatlazer/ExamenMachine2018 | d42ad6a448b03d9550de6ac5c63aa7bb7cbb1223 | 1e4d41f3e544e8cd73f77b8660d869bfb89b8cb5 | refs/heads/master | 2020-03-06T14:42:11.760960 | 2018-03-27T08:58:43 | 2018-03-27T08:58:43 | 126,940,457 | 0 | 0 | null | 2018-03-27T06:37:32 | 2018-03-27T06:37:32 | null | UTF-8 | C++ | false | false | 222 | hpp | #pragma once
#include "convolution.hpp"
class renforce_bord : public convolution
{
public:
renforce_bord() :
convolution( 1, { 0., 0., 0.,
-1., 1., 0.,
0., 0., 0.})
{}
};
| [
"juvigny@onera.fr"
] | juvigny@onera.fr |
11eba557113b69b68d49c91ad4e23a5ea7855cf8 | 488e3e259e7159183772ff40f39e51903856fa42 | /tensorflow_serving/servables/tensorflow/bundle_factory_util_test.cc | cd39f31db18374207b89d583bc46424bfab4b125 | [
"Apache-2.0"
] | permissive | ydp/serving | b723fa5e0438f7ca56e8cf1d7769f68284b68db6 | e08b034f3cab3a41557440454cd97d406cfc2a1c | refs/heads/master | 2020-03-30T03:36:20.001547 | 2018-09-28T01:01:06 | 2018-09-28T01:01:34 | 150,697,197 | 5 | 0 | Apache-2.0 | 2018-09-28T06:44:25 | 2018-09-28T06:44:24 | null | UTF-8 | C++ | false | false | 6,983 | cc | /* Copyright 2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
79a2a30d8bf081636926b84d84b1218ddee9f787 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/forge/components/VarLengthBuild.fwd.hh | 167ab33862cd2c84b6073f647cffe00e3a5192ba | [] | 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 | 2,148 | hh | // -*- 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 |
0df7d7bcf70034b810ef70069fd5ebb1c0ca1eae | d2cf79a7d1df6f954e1fd90be74fe71c88cb43b3 | /C-Recursion-Worksheet/MainRecursion.cpp | 3ca2402bdc36449fd493232fb3df896e3db3263b | [] | no_license | ajaymovva/MissionRnd-C_Course | 394b42d83db0f6d65616ecf1792db68468c64799 | afa9aab168f77963058d2d6273ff0c9ec76ee9ff | refs/heads/master | 2020-03-17T10:13:27.834024 | 2018-05-15T11:08:00 | 2018-05-15T11:08:00 | 133,395,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811 | cpp | /*
Author : Abhijith Ravuri
*/
#include "stdafx.h"
#include <stdlib.h>
#include "FunctionHeaders.h"
int main(){
//Check NSnipers
//Check CountPairs Sample Code
//Check Steps Sample Code
//Check Spiral Sample Code
//Check Maze Sample Code
/*
int maze[4][3] = {
{ 0, 0, 1 },
{ 1, 1, 1 },
{ 1, 0, 1 ... | [
"majaykumar51@gmail.com"
] | majaykumar51@gmail.com |
afa1a7934df59b8eef8d8d6f04dc06c86ff44980 | 5c702e1221254bfe9f6328a47bff3978f178442d | /8/action.cpp | 2cfc4c844fbfcd67e27f9d3ff3c3fab5bd9a4f90 | [] | no_license | alexclapou/oop | 841abb27d3b15f47cdcc38089e4f44aefb8cdf26 | 15e2cc1b93347d69fa4ba5d92ce551f48d758131 | refs/heads/master | 2022-11-06T12:26:45.880307 | 2020-06-20T21:21:26 | 2020-06-20T21:21:26 | 244,117,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | #include "action.h"
void ActionAdd::undo(){
repository->remove(added_task.get_title());
}
void ActionAdd::redo(){
repository->add(added_task);
}
void ActionRemove::undo(){
repository->add(removed_task);
}
void ActionRemove::redo(){
repository->remove(removed_task.get_title());
}
void ActionUpdate::... | [
"alex.clapou@yahoo.com"
] | alex.clapou@yahoo.com |
5770f92ecb32bc7e11bff87627945e9436934d90 | bbf5250b09c48a53393b5100cf4d043b19acf409 | /Breath_Device/Breath_Device_Code/Breath_Microphone_test/sketch_jul28a/sketch_jul28a.ino | 076e1e9907fc66c597f787f15d0eb816a83d7a8a | [] | no_license | salemrachad/Breath | 577f0d1f3660bb53a72e3a7cf7ef1cfa1645effd | 3715e5602aad997687e4cfd42f4829b74312c338 | refs/heads/master | 2023-01-02T08:23:15.807949 | 2020-10-28T00:45:43 | 2020-10-28T00:45:43 | 268,915,893 | 1 | 1 | null | 2020-06-03T15:09:19 | 2020-06-02T21:49:59 | C++ | UTF-8 | C++ | false | false | 436 | ino | //MICROPHONE SETUP
int soundPin = A0;
//Attiny Pin
//int soundPin = 2;
//////////////////////////////////////////////////////////////////////////////////////////////////
void setup() {
Serial.begin(115200); //sets serial port for communication
}
void loop() {
readMic();
}
void readMic() {
long sum = 0;
... | [
"salemrachad@gmail.com"
] | salemrachad@gmail.com |
f6cba15b93541a0c8018e64b89a905c6211053d5 | 5521a03064928d63cc199e8034e4ea76264f76da | /fboss/agent/hw/sai/hw_test/HwTestFabricUtils.cpp | f99540bc67016237a8b7f3aa7e13610a25e4abd2 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | facebook/fboss | df190fd304e0bf5bfe4b00af29f36b55fa00efad | 81e02db57903b4369200eec7ef22d882da93c311 | refs/heads/main | 2023-09-01T18:21:22.565059 | 2023-09-01T15:53:39 | 2023-09-01T15:53:39 | 31,927,407 | 925 | 353 | NOASSERTION | 2023-09-14T05:44:49 | 2015-03-09T23:04:15 | C++ | UTF-8 | C++ | false | false | 539 | cpp | // (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
#include "fboss/agent/hw/test/HwTestFabricUtils.h"
#include "fboss/agent/hw/sai/switch/SaiSwitch.h"
namespace facebook::fboss {
void setForceTrafficOverFabric(const HwSwitch* hw, bool force) {
auto saiSwitch = static_cast<const SaiSwitch*>(... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
3a67864d114a84e8a58da126159e47e9fbbd09a1 | 1f1d84ff2b3faccfb1c33cb0a4169ec8f5f58963 | /scisim/Math/QL/QLUtilities.cpp | bdc12d72017c80d756a0c120f3ee056691567d24 | [
"Apache-2.0"
] | permissive | avaxman/scisim | ff1d7355fa59caf583d675adf700464d7b1a0c40 | 169b67dc6b073e730677f1a09c15e02426a41324 | refs/heads/master | 2021-05-14T11:51:47.479580 | 2018-01-05T05:31:17 | 2018-01-05T05:31:17 | 116,391,428 | 2 | 0 | null | 2018-01-05T14:07:12 | 2018-01-05T14:07:11 | null | UTF-8 | C++ | false | false | 1,060 | cpp | // QLUtilities.cpp
//
// Breannan Smith
// Last updated: 09/03/2015
#include "QLUtilities.h"
#include <iostream>
#include "scisim/StringUtilities.h"
std::string QLUtilities::QLReturnStatusToString( const int status )
{
if( 0 == status )
{
return "The optimality conditions are satisfied";
}
else if( 1 == ... | [
"smith@cs.columbia.edu"
] | smith@cs.columbia.edu |
4360d84f2f2253649b4e0f706ed3d73eb7cc704c | e0a44695a64fca5f116752429bdbb68d15fc6ed7 | /src/common/Common.h | 0b609f4f55d1fd2c154b7a6881051b0fe3a7d8bb | [
"BSD-3-Clause"
] | permissive | tornado12345/ConEmu | 3869e886ed4cb43f7eddc40a6b66384e65a29b94 | ab8b56318025a7afa8cee032f455eabfc6c07dd9 | refs/heads/master | 2022-03-20T12:16:47.013524 | 2022-03-08T20:58:47 | 2022-03-08T20:58:47 | 73,519,631 | 0 | 0 | BSD-3-Clause | 2020-12-01T00:34:23 | 2016-11-11T23:37:48 | C++ | UTF-8 | C++ | false | false | 100,997 | h |
/*
Copyright (c) 2009-present Maximus5
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the follo... | [
"ConEmu.Maximus5@gmail.com"
] | ConEmu.Maximus5@gmail.com |
6239b7ae05a7558fdafb63b588adccd3d531dfbf | 35d59b2d1ce3f03d88e69f1978e384c305afc5d5 | /SEM_2/A1/a1_p3.cpp | 5cf70126e4775774310dbcead541f789ba9f5789 | [] | no_license | aasispaudel/Cplusplus-course-jacobs | 535fb83ff699b2645768eb8a5f1f0d5a4fee0ae3 | 7d1a3a389fb5dbb5172105d2afdfa43ac87825d8 | refs/heads/master | 2021-10-25T09:55:47.031357 | 2019-04-03T18:14:50 | 2019-04-03T18:14:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 969 | cpp | /*
CH08-320143
a1_p3.cpp
Aashish Paudel
a.paudel@jacobs-university.de
*/
#include<iostream>
using namespace std;
/*
* When D inherits the class B and C
* and object of datatype D calls print()
* function, it becomes ambiguos whether
* to to use setX(10) or setX(20) for print()
* We solved the error using virtual... | [
"aasispaudelthp2@gmail.com"
] | aasispaudelthp2@gmail.com |
82ce988e8e01f977e82cff00140e1c349cb97391 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /chrome/browser/resource_coordinator/tab_manager_delegate_chromeos_unittest.cc | 3366d5447fca025028d598a8f2c2063ba3b26814 | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 20,729 | cc | // Copyright (c) 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 "chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.h"
#include <map>
#include <string>
#include <utility>
#include <vector>
... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
6908e8589d8c847dce799a147c5ac70ab097b92d | 000f4abd306b06146146b43aa40162cbe2d3b43a | /cs10/assignment2/main.cpp | 4a9e64296d6229eb23681fe08e16c0d09515c98a | [] | no_license | Bpara001/CS_UCR | e3a68e54e2d671344c528876e6cf27ae7e5edf47 | b9c628ab8e84bf737dd95fda3e3b097762dd85aa | refs/heads/master | 2021-01-22T05:24:54.697229 | 2013-06-13T01:17:44 | 2013-06-13T01:17:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,474 | cpp | // Course: CS 10 quarter 1 , 2009
//
// First Name: Christopher
// Last Name: Wong
// Login id: wongc
// email address: cwong030@ucr.edu
// Student id: 860 923 521
//
// Lecture Section: 002
// Lab Section: 026
// TA:Muzaffer Akbay
//
// Assignment: Assignment 2
//
// I hereby certify that the code in this file
// is E... | [
"azn.c.wong@hotmail.com"
] | azn.c.wong@hotmail.com |
ac5604ea6259c7c266841b832295be361cfaab60 | 3abea59bab16016fc5dcbbe9ebb32999f74112a5 | /SDK/MagicLeapAudio_structs.h | 66a4bce53aab95ebb2f6fb99af0e271e190192e1 | [] | no_license | 11-BANG-BANG/SCUM-SDK | 4de6bd24acfb6a5818eed2841ea044f4bbac1493 | 38c28ca609d42a7ed084d22ead19f8dc54b1c7be | refs/heads/main | 2023-03-22T23:27:46.609110 | 2021-03-18T13:11:53 | 2021-03-18T13:11:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | h | #pragma once
// Name: S, Version: N
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Script Structs
//-------------------------------------------------------------... | [
"39485681+AlexzDK@users.noreply.github.com"
] | 39485681+AlexzDK@users.noreply.github.com |
616ff0f76d1c730afd9148f72f4f8e6b4e364afa | 26e9fe45541e7af673d20e0775af61d32f64618f | /greedy/fractionalKnapsack.cpp | f71e4c31dd65ddacc130d088e03a6762bd50f12e | [] | no_license | abhishekanimatron/act_cpp | 7d47a00b02f2fe6cc58a4a029501e7703453493a | 5d90d725ecc0bd9cb257473c9c91d52251780ada | refs/heads/main | 2023-07-03T16:14:24.510618 | 2021-08-25T06:32:17 | 2021-08-25T06:32:17 | 374,368,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,585 | cpp | #include <iostream>
#include <algorithm>
#include <climits>
#include <queue>
#include <deque>
#include <set>
#include <stack>
#include <cmath>
#include <vector>
#include <unordered_map>
#include <map>
using namespace std;
#define O(i) cout << i << "\n"
#define AI(a, i) cin >> a[i]
#define PB push_back
#define MP make... | [
"abhishekverma297ab@gmail.com"
] | abhishekverma297ab@gmail.com |
5e1f621f0237836d3479493edd2b3cff427e0df5 | e014b2e57a8cd778b2711df9f749effb0463185a | /347. Top K Frequent Elements[comp].cpp | c13e9d96fb5b14a8624b929b3d974046a031a28f | [
"MIT"
] | permissive | Shristy-Gupta/Leetcode-top-interview-q | aced951afb4a4bc2f22c9213a7fed52116e3d54e | 5f763f9a15558a1bfef62d860a4fe89326eee450 | refs/heads/main | 2023-08-31T16:20:02.957001 | 2021-10-16T12:58:23 | 2021-10-16T12:58:23 | 372,625,592 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | cpp | struct comp {
bool operator()(pair<int,int> l,pair<int,int> r)
{
return l.second<r.second;
}
};
class Solution {
public:
vector<int> topKFrequent(vector<int>& nums, int k) {
vector<int> result;
priority_queue<pair<int,int>,vector<pair<int,int>>,comp> p;
unordered_map... | [
"noreply@github.com"
] | Shristy-Gupta.noreply@github.com |
10a67339edad64c89b265db0412ecff2e4491a4d | e4dd473e43ddb9ce4e891fd534e113ccf52c6fac | /masterclass.cpp | 64f97da7d293e9ddd3b57850e92cbfed7d19d0d2 | [] | no_license | StMichaelsCodingClass/tag | a55f5e6d783f183374195dfb9152bf8842d3e3dd | 1dbbceaaa9f6ceeb043d78e80f871722de1676f2 | refs/heads/master | 2021-01-19T07:47:09.471712 | 2015-10-30T16:45:54 | 2015-10-30T16:45:54 | 34,743,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122 | cpp | #include "masterclass.h"
#include <iostream>
void MasterClass::describe(){
std::cout<<name;
std::cout.flush();
}
| [
"sorenvdbs@yahoo.co.uk"
] | sorenvdbs@yahoo.co.uk |
ac7c361a2d86bd8d6b4d29ec5579ea070d5da7b3 | d99fc93689445f7c5070b9efb1ecd3761fb835bc | /easy/id_166.cpp | b10a5f60b7651df28bac93b4d24767966f59d513 | [] | no_license | LS-01/HZOJ | 044a67acdabad13279cf1169a6592481ce5e002c | a049d56534c51d5f679e39e65e1b5752f7dec438 | refs/heads/master | 2023-06-06T23:03:48.218068 | 2021-07-05T06:28:57 | 2021-07-05T06:28:57 | 295,476,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | cpp | /*************************************************************************
> File Name: id_166.cpp
> Author: ls
> Mail:
> Created Time: Tue 18 May 2021 04:09:25 PM CST
************************************************************************/
#include <iostream>
using namespace std;
int main() {
string A, B;... | [
"LS_01_phil@163.com"
] | LS_01_phil@163.com |
4d8950a742f5b1ee8abfdfabf23ceb677c1cbd7a | 006907cf68c17bf6a350f2cd5c291b1945d30632 | /STL/vector.cpp | 38ddac43f1176a0106cba27f857c035233e12506 | [] | no_license | Arbazbms/CPP | be6d7d62f19355c4ace9d02c601ad6f4051c50e5 | 3368b931da8e75e8e3dd3bfbad79b3f31f46fb2e | refs/heads/master | 2023-01-24T15:14:50.974071 | 2020-12-04T11:18:25 | 2020-12-04T11:18:25 | 295,174,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,821 | cpp | // C++ program to illustrate the
// iterators in vector
#include <bits/stdc++.h>
using namespace std;
int main()
{
vector<int> g1;
vector<int> g2;
int n, j;
for (int i = 0; i < 5; i++)
g1.push_back(i);
cout << "Output of begin and end: " << endl;
for (auto i = g1.begin(); i != g1.end... | [
"ArbazAhmed.cs19@bmsce.ac.in"
] | ArbazAhmed.cs19@bmsce.ac.in |
9bd850f3e58064e25cc4927315b7d11bb771b69b | de32ec95a262fb83f8ffda20deedc7a6e698cb06 | /img_viewer/find_files.hpp | 035d275bcb888e5d7e40d3635491088d5a370f85 | [] | no_license | rbnelr/image_viewer | d42ae02f4fce5fe5ea3294b94c0afe0ebd506114 | 028071b4ce1f68d32b072fee18ab59453fd24e4c | refs/heads/master | 2020-03-17T04:20:32.401581 | 2018-05-26T01:31:25 | 2018-05-26T01:31:25 | 133,271,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,986 | hpp | #pragma once
#include <string>
using std::string;
#include <vector>
#include "windows.h"
namespace n_find_files {
class Expt_Path_Not_Found : std::exception {
public:
Expt_Path_Not_Found (string path, string api_error): path{path}, api_error{api_error} {
msg = prints("Path \"%s\" could not be found (file or ... | [
"rbnelr@gmx.de"
] | rbnelr@gmx.de |
6176c83f366b54b6a92cdcf78ab92f3f1a116b56 | 1dae9a0fb62f77cb2256877991323fbb42efc6a6 | /BFS/14248.cpp | 93ea0901e2d7af8f793d887cb3f5767dd44902af | [] | no_license | zittoooo/Algorithm | 629f43e4a7a5dcc6e6979a405cb24b8240efeb27 | cde05a5c53e17eada4e7aaed108e10baea35d8a0 | refs/heads/master | 2023-02-21T08:03:13.917685 | 2023-02-11T12:08:45 | 2023-02-11T12:08:45 | 242,290,448 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | cpp | #include<iostream>
#include <queue>
using namespace std;
queue<int> q;
int n, arr[100002], s, dol, vis[100002];
int main()
{
cin >> n;
for(int i = 1 ; i <= n; i++)
cin >> arr[i];
cin >> s;
vis[s] = 1;
dol++;
q.push(s);
while(!q.empty())
{
int cur = q.front();
q.... | [
"stellar7484@naver.com"
] | stellar7484@naver.com |
e8fa1fddc071afc733e1903b4256ddef6123212a | 53bb8bd312cc97dbea5e39e9bc5d046848a18168 | /examples/ex1/main.cpp | 83c3263e916b0cb50b745075486a6df7bf6db61f | [
"MIT"
] | permissive | warmist/rltk | 8ed59dcfc294f6a6f4aee4579e9a3ce52154992c | 583c2b614f4b94486df2dd781d78bf3b9141cce8 | refs/heads/master | 2021-01-13T10:15:35.857943 | 2016-09-25T20:02:30 | 2016-09-25T20:02:30 | 69,592,028 | 1 | 0 | null | 2016-09-29T17:40:19 | 2016-09-29T17:40:18 | null | UTF-8 | C++ | false | false | 1,648 | cpp | /* RLTK (RogueLike Tool Kit) 1.00
* Copyright (c) 2016-Present, Bracket Productions.
* Licensed under the MIT license - see LICENSE file.
*
* Example 1: A truly minimal hello world root console, demonstrating
* how to get started with RLTK.
*/
// You need to include the RLTK header
#include "../../rltk/rltk.hpp"... | [
"herberticus@gmail.com"
] | herberticus@gmail.com |
1ebef92bc25d698c1485cdbf11873a02cbc180c6 | 932ec41a5c82d5cab9191bcba88a80fb8a0f04b0 | /vendor/IndustrialSystemFramework/ICUtility/icregister.h | a97aca9d3599b92b7d9395960ad26480709df2f0 | [] | no_license | resilencelyn/3-5AxisRobot | 55c146aa6604c897df3bba8d0861829404eb4868 | cfbbb42cf706a4844813b0bcf22225107a6a8710 | refs/heads/master | 2022-05-22T06:31:39.198064 | 2017-12-15T09:15:29 | 2017-12-15T09:15:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | h | #ifndef ICREGISTER_H
#define ICREGISTER_H
#include <QString>
#include <QSettings>
#include <QSharedPointer>
#include <QObject>
#include <QTimer>
#include "ICUtility_global.h"
class ICRegister;
typedef QSharedPointer<ICRegister> ICRegisterPtr;
class ICUTILITYSHARED_EXPORT ICRegister : public QObject
{
Q_OBJECT
pu... | [
"GaussCheng@gmail.com"
] | GaussCheng@gmail.com |
79e6b34c1ba03478f8631eabe3f2bdc526399676 | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /gaussdb/src/v3/model/ChangeGaussMySqlProxySpecificationRequest.cpp | 772e899a57d9457e3f03b1eeb8442ef15ec58317 | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 4,599 | cpp |
#include "huaweicloud/gaussdb/v3/model/ChangeGaussMySqlProxySpecificationRequest.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Gaussdb {
namespace V3 {
namespace Model {
ChangeGaussMySqlProxySpecificationRequest::ChangeGaussMySqlProxySpecificationRequest()
{
xLanguage_ = "";
xLanguageIsSet_ = fals... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
a297ff21454cd2cfc0adf579ea7289848e58d0a6 | 7ab61262ae3692eac136e28832a3c753744bf483 | /install/tutorial_interfaces/include/tutorial_interfaces/srv/add_three_ints.hpp | 1484b3484ac77923273e6e52045b5151dcccc5f0 | [] | no_license | ccpjboss/ros2_tutorials | 9d23e0491ffa345c2dd4d67ce049437c6cea9acd | e63d04a3a58357f6389ebe6ce80e661cd5b07259 | refs/heads/main | 2023-07-13T00:48:25.576482 | 2021-08-26T18:22:16 | 2021-08-26T18:22:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | hpp | /home/joaocastilho/dev_ws/build/tutorial_interfaces/rosidl_generator_cpp/tutorial_interfaces/srv/add_three_ints.hpp | [
"jpccastilho1999@gmail.com"
] | jpccastilho1999@gmail.com |
2b7682b92758f8f89221a911c1b21b405132b50b | 3b94fc516ab27456dd82d23383a2538804677c1f | /ttk-dev/core/vtk/ttkMorseSmaleComplex/ttkMorseSmaleComplex.cpp | 2d3e724cafe3cafe49a1c661fe6ec63e4fdb0139 | [
"BSD-3-Clause"
] | permissive | MatPont/WassersteinMergeTrees | 0b7bc27f81a4a5e891ad669456510a2dc554b6f4 | fbdeda9e0688c50b4b5b422e0c75ddbcf0ae12bc | refs/heads/main | 2023-05-31T08:06:40.931990 | 2022-07-22T10:00:07 | 2022-07-22T10:00:07 | 388,379,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,943 | cpp | #include <ttkMorseSmaleComplex.h>
using namespace std;
using namespace ttk;
using namespace dcg;
vtkStandardNewMacro(ttkMorseSmaleComplex)
ttkMorseSmaleComplex::ttkMorseSmaleComplex()
: ScalarField{}, InputOffsetScalarFieldName{ttk::OffsetScalarFieldName},
ForceInputOffsetScalarField{}, PeriodicBoundaryCondi... | [
"matthieu.pont@hotmail.fr"
] | matthieu.pont@hotmail.fr |
c447566c6e3ddab7dd5c65234a203d3d70672738 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /chrome/browser/supervised_user/supervised_user_settings_service.h | d3d7eed4853f128b2f0efbe565e6ab1fbb1379c4 | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 8,541 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_SERVICE_H_
#define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_SETTINGS_SERVICE_H_
#in... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
570f2318341e41cba1409dda52d876cb1bfaf6f5 | 290952d106627de07fc2c9581665e7c560ab18bd | /CODEFORCES/2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest, qualification stage (Online Mirror, ACM-ICPC Rules, Teams Preferred)/A. Union of Doubly Linked Lists.cpp | 048c9cbd0c2404434f1ca8a3ae88140de82ce089 | [] | no_license | MdAbuNafeeIbnaZahid/Competitive-Programming | 8669db792d3d604ee09429378da52d238b0e5b13 | 5b8f4f0c08c62ac410fdf153b3c4bd19775411b1 | refs/heads/master | 2021-01-20T07:57:04.742595 | 2018-09-25T15:29:32 | 2018-09-25T15:29:32 | 83,894,136 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,952 | cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp> // Common file
#include <ext/pb_ds/tree_policy.hpp> // Including tree_order_statistics_node_update
#include <ext/pb_ds/detail/standard_policies.hpp>
using namespace std;
using namespace __gnu_pbds;
using namespace __gnu_cxx;
// Order Statistic Tree
/* Sp... | [
"1305023.maniz@ugrad.cse.buet.ac.bd"
] | 1305023.maniz@ugrad.cse.buet.ac.bd |
3bd3364c7db76fa0d2c80dc5e299f0df3a46fce1 | a03d0951df62e64a366c28937d53979e66063082 | /framework/data/tga_loader.cc | b240b122693c1e1e3fbf06d87d8b8ac68220a865 | [
"MIT"
] | permissive | ans-hub/gdm_framework | d2c305e7d7525ca07c9fb35ad710b62cb5ff6574 | 4218bb658d542df2c0568c4d3aac813cd1f18e1b | refs/heads/main | 2023-04-15T08:33:57.898990 | 2021-04-29T07:17:10 | 2021-04-29T07:17:10 | 308,458,609 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,995 | cc | // *************************************************************
// File: tga_loader.cc
// Author: Novoselov Anton @ 2018
// URL: https://github.com/ans-hub/gdm_framework
// *************************************************************
#include "tga_loader.h"
#include <ios>
#include <fstream>
#include <casser... | [
"ans.novoselov@gmail.com"
] | ans.novoselov@gmail.com |
217f10b75c777165a43b1c202a86767c42c12c37 | ec8900db3a5bd78f2d2cfa0a09f9fca5d159056a | /src/compute_all_valid_ip_addresses/answer.cc | 30a224de62b007a1fa140df9d4a144f1dc6b0342 | [] | no_license | danielmoraes/epi | 19034ca64d28661e137d2efde97775bc84dcfe21 | bfb7aa862fa22d51d3b8a057448844cfd81052fc | refs/heads/master | 2021-01-25T09:38:39.139700 | 2018-11-20T21:08:07 | 2018-11-20T21:10:57 | 93,869,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,277 | cc | /*
*
* EPI
* Compute All Valid IP Addresses (7.10)
*
*/
#include <vector>
#include <string>
#include <utils.h>
using std::stoi;
using std::string;
using std::vector;
bool is_valid_part(const string& s);
// @include
vector<string> compute_valid_ip_addresses(const string& s) {
vector<string> valid_ips;
for ... | [
"daniel.b.moraes@gmail.com"
] | daniel.b.moraes@gmail.com |
2e082ff55be22e975ebc00316c9d3f8231efbb83 | 64b3490d2725fdd5aa9a485803a619195d4aa7af | /Klassen/wst/bohrraster.cpp | cf8581a9d320c2fd1fed48f79578b79654ff3a8a | [] | no_license | 15831944/postprozessor | 48019cd2ab8566dc99d4188ed476d6a4506fe0ce | 0e61ed4491cc3f59a12748a9a4186a9619b42c59 | refs/heads/master | 2022-11-07T04:22:47.605604 | 2020-04-13T12:00:49 | 2020-04-13T12:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,244 | cpp | #include "bohrraster.h"
bohrraster::bohrraster()
{
setup();
}
bohrraster::bohrraster(QString text)
{
setup();
set_text(text);
}
void bohrraster::setup()
{
Durchmesser = 0;
Tiefe = 0;
Bezug = WST_BEZUG_OBSEI;
Afb = "1";
Zustellmass = 0;
Pos_x = 0;
Pos_y = 0;
Pos_z = 0;
A... | [
"oliver.schuft@gmx.de"
] | oliver.schuft@gmx.de |
b51f308277a0ecd2ca2629cfbdd9a04a69e49e8a | 515b3770a2cbd9bea0e455f3e9ade3291c1bf9e4 | /src/include/prematch.h | 8853918b4301a317078651e4faaed72ad220a605 | [] | no_license | valeance/prematch- | 3519f08ccab348e2e1a8f9c76152a20a2069a5f0 | cff1095302346c5c0073763e0335f736f4aff4e8 | refs/heads/master | 2020-04-10T05:55:01.077660 | 2018-12-16T21:41:46 | 2018-12-16T21:41:46 | 160,840,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,017 | h | #ifndef PREMATACH_h
#define PREMATACH_h
#include <WPILib.h>
#include <ctre/Phoenix.h>
#include <iostream>
#include "intake.h"
#include "togglemotor.h"
class PrematchPrep{
public:
/*this is where the contructors go "*/
PrematchPrep(TalonSRX *drive_talon_right_enc, ToggleMotor *drive_toggle_right_enc,
TalonSR... | [
"cbt922@gmail.com"
] | cbt922@gmail.com |
89935a051a171d093d0c46c9719b83d0b13295ec | b4da268236a316c8831324f8b2f3a003887a201e | /src/Case.hpp | cf2a95febf9ebd1c4f65272ea4b13ce51fd5fbc0 | [] | no_license | navarna/jeuDuSerpent | 7a5cee3b97f74fdac56475a79e10a2bc37aaf451 | ab13eb66ff0143f98a9379f852c2669fa0340723 | refs/heads/master | 2021-01-22T08:05:33.902830 | 2017-02-13T21:26:16 | 2017-02-13T21:26:16 | 81,872,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | hpp | #ifndef CASE_H
#define CASE_H
#include <iostream>
using namespace std;
class Case
{
public:
Case(int numero, int symbole);
virtual ~Case();
friend ostream& operator<<(ostream& o, Case &x);
int getSymbole();
void setSymbole(int n);
protected:
int numero;
in... | [
"navarna@navarna"
] | navarna@navarna |
92949655ed05ae150a2971fd881e327017c42bb7 | 07737f2b228e4b4df75823ed0f0c891a8de5c704 | /C++/242. Valid Anagram.cpp | d9ecf1eef17d5820da56e8c0adaa8ac91a2641db | [] | no_license | yangpc009/LeetCode | b4edf2915e213287f6056e34d01338196984881c | 05b413e7a6dc67cf36a40bf91f165ff2ad101ba9 | refs/heads/master | 2020-07-02T18:11:01.622407 | 2019-03-18T04:20:47 | 2019-03-18T04:20:47 | 201,617,831 | 1 | 1 | null | 2019-08-10T10:57:19 | 2019-08-10T10:57:19 | null | UTF-8 | C++ | false | false | 993 | cpp | 242. Valid Anagram
My Submissions QuestionEditorial Solution
Total Accepted: 73035 Total Submissions: 175966 Difficulty: Easy
Given two strings s and t, write a function to determine if t is an anagram of s.
For example,
s = "anagram", t = "nagaram", return true.
s = "rat", t = "car", return false.
Note:
You may ass... | [
"95323362@qq.com"
] | 95323362@qq.com |
2d542f90197bf912f63c40ab2e878be3ab4261f3 | d34591fdb8d359819f1926949ea733ddd3e9f9ec | /simple_client/include/MySocket.h | d207179c74d3bb331b564a0d6fe618b623def7a2 | [
"BSD-3-Clause"
] | permissive | EYH0602/gunrock_web | ad3058d84d683aaff35728b1fe1bab5ae79e0c02 | e1f14d6e7cf9621f388026c040f95aec43c7a980 | refs/heads/main | 2023-06-05T03:21:33.417189 | 2021-06-30T05:30:52 | 2021-06-30T05:30:52 | 361,085,188 | 0 | 0 | BSD-3-Clause | 2021-06-12T01:08:00 | 2021-04-24T06:10:54 | C++ | UTF-8 | C++ | false | false | 1,501 | h | #ifndef MYSOCKET_H
#define MYSOCKET_H
#include <stdexcept>
#include <string>
class SocketNotConnected : public std::runtime_error {
public:
SocketNotConnected() : std::runtime_error("socket not connected") {}
};
class SocketWriteError : public std::runtime_error {
public:
SocketWriteError() : std::runtime_erro... | [
"kingst@gmail.com"
] | kingst@gmail.com |
cdddd2358ca6bc47c6523e5e12de9555628ddc21 | e7a1ebab05d5fdb1b7dc6873033064cbffe6db9d | /Assets/LiquidPhysics2D/Plugins/iOS/b2TrackedBlock.h | 6d796811eaa3ef2e5219b09db7ab9b7e05ed23b7 | [] | no_license | alpxe/UnityProject | ebed24421ed5935f9b1b841e630532ee85b3f3dd | bb7b14f38866b4bfe6e746630f878f030cb37abd | refs/heads/master | 2020-05-26T11:06:18.810185 | 2019-05-24T07:33:32 | 2019-05-24T07:33:32 | 188,209,866 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,883 | h | /*
* Copyright (c) 2014 Google, Inc.
*
* 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 purpose,
* including commerci... | [
"alpxe@qq.com"
] | alpxe@qq.com |
74ce38958e9e729dd780408732ee217b8c2b61bc | e34b485dfa63c27351a87d979ff71382201f408f | /codejam/2016/round1a/a.cpp | 6a1143ba05c16a684356940b2cc0816b65f41b84 | [] | no_license | gabrielrussoc/competitive-programming | 223146586e181fdc93822d8462d56fd899d25567 | cd51b9af8daf5bab199b77d9642f7cd01bcaa8e3 | refs/heads/master | 2022-11-30T11:55:12.801388 | 2022-11-15T18:12:55 | 2022-11-15T18:12:55 | 44,883,370 | 10 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | #include <bits/stdc++.h>
#define mp make_pair
#define pb push_back
#define ff first
#define ss second
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
const double eps = 1e-9;
const int inf = INT_MAX;
//////////////0123456789
const int N = 10004;
const int modn = 10000000... | [
"gabrielrcarmo@gmail.com"
] | gabrielrcarmo@gmail.com |
34e03ddc8722f0f77494a9f8a600f969a9b8626d | 40d45f539b2c38758b95636adeeb99ef1c553662 | /demo_uv/tcp_server.cpp | b5062eb532ee0244c841219e711ee3e45163384a | [] | no_license | lw000/demo_uv | 1a0802956c44f5bfc997cf7a173d5f97458c8588 | 07107b9edfd0bdb2faac4f2a3657bdeb9f7f18c8 | refs/heads/master | 2020-03-26T02:00:24.214129 | 2018-08-12T09:17:21 | 2018-08-12T09:17:21 | 144,392,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,141 | cpp | //
// tcp_server.cpp
// uv-test
//
// Created by 李伟 on 2018/7/31.
// Copyright © 2018年 李伟. All rights reserved.
//
#include "tcp_server.hpp"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "uv.h"
#include "net_iobuffer.h"
#include "data_struct.hpp"
#define DEFAULT_PORT ... | [
"373102227@qq.com"
] | 373102227@qq.com |
a642629b45996aa9f27a5df539aebf7cb758d8d2 | 1e182d51134bb227ecf161431d93f6cd28d00d53 | /Project 2A/main.cpp | a96d2112ae6a098e5005bd1bab5e1c07ae5cce2b | [] | no_license | saarhaber/CSCI-235 | a86b50f31c116fa23ddefdd667b39e00cb7d266c | f804eed752faefa6942074779adb776fef69b060 | refs/heads/master | 2020-04-21T05:14:00.355345 | 2019-05-01T20:54:44 | 2019-05-01T20:54:44 | 169,334,487 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 259 | cpp | #include "LinkedBag.hpp"
#include <iostream>
int main () {
LinkedBag<int> Saar;
for (int j=1; j<12; j++) {
Saar.add(j);
}
Saar.removeRetainOrder(7);
std::vector<int> v = Saar.toVector();
for (int i=0; i<v.size(); i++) {
std::cout << v[i] <<" ";
}
}
| [
"37675905+saarhaber@users.noreply.github.com"
] | 37675905+saarhaber@users.noreply.github.com |
dc4c37c113f75962ca94d1a5af766582efa7082f | 9038d4093f3da270e4bc1519961f6510b788197f | /mainwindow.cpp | f7ba743d57043aaabb02fc7733de0a7e216dbd8e | [] | no_license | vinniesilvaelias/tic-tac-toe | e74869cf925736cc185556fbb74cb50b24038637 | 42eb9b30828e0b113957298343366ddbcab1bc6e | refs/heads/master | 2023-02-08T02:15:18.302319 | 2020-12-31T00:00:02 | 2020-12-31T00:00:02 | 325,646,523 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,801 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
dataPlayers = new DataPlayers;
dataPlayers->exec();
setUp();
}
MainWindow::~MainWindow() {
delete ui;
delete player1;
delet... | [
"vinicius.silvaelias.com"
] | vinicius.silvaelias.com |
8891204c96bc1608a9e8193a43311ba7f13113ac | 945fed807f7dd3c52c7676942b66165835189748 | /cpp_primer_plus/chapter7/7.9_strgfun.cpp | e6a7182337cfe12b6133bdf5a9f47670b2195c6e | [] | no_license | littlebugyang/CPP_practice | 094f6ba578a4a90ad01281ab21e411d78f11ced1 | 9426c3e3f82de17712c7e0a381a792d295fa9f28 | refs/heads/master | 2023-05-31T06:38:40.560409 | 2021-06-10T17:32:27 | 2021-06-10T17:32:27 | 333,134,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | #include <iostream>
unsigned int c_in_str(const char *str, char ch);
int main()
{
using namespace std;
char mmm[15] = "minimum";
char *wail = "ululate";
unsigned int ms = c_in_str(mmm, 'm');
unsigned int us = c_in_str(wail, 'u');
cout << ms << " m characters in " << mmm << endl;
cout << us ... | [
"im.lby@qq.com"
] | im.lby@qq.com |
53aadb3a407d58bf4c36bf9e463202de992a6094 | 43efb8c60d19d37c2f42805754086f910348a5ae | /Coding/Topic Wise/Graphs/PrimeUsingStructures.cpp | f06c36003954fe0036966b0f9314c1775a2f79fc | [] | no_license | akshay2742/Coding-Problems | 961399752b30b6a17b72b2c1b2afada9e839a326 | 838be77b707cc82a9453c964ff8cedce1646dfe8 | refs/heads/master | 2021-06-26T14:08:39.292052 | 2020-10-08T18:34:19 | 2020-10-08T18:34:19 | 151,247,129 | 0 | 1 | null | 2020-10-08T18:34:21 | 2018-10-02T11:59:38 | C++ | UTF-8 | C++ | false | false | 699 | cpp | #include<iostream>
#include<list>
using namespace std;
int costPrim[100][100];
int V;
int solution[100];
class Graph{
list<int> *adj;
public:
Graph(int V);
void addEdge(int v,int w);
void prim();
};
Graph::Graph(int V){
this->V=V;
adj = new list<int>[V];
}
void Graph::addEdge(int ... | [
"prateekrishu@yahoo.com"
] | prateekrishu@yahoo.com |
c716dd61ebea3af512876a7d20322875bedfb480 | 0adda757f0058a40a9a7dd509b496c6fedc42c4b | /2-5/stdafx.cpp | bb64e2aa7258f298fee5ecfd557dde146687703a | [] | no_license | scnb/Classical-Introduction-To-Algorithm-Contest- | 5a412156e9db4754d2e061442aa423460af2a5c4 | 9e916631a79284f2f85e616e5af70147086caddc | refs/heads/master | 2021-04-15T16:50:29.763291 | 2018-04-27T15:36:44 | 2018-04-27T15:36:44 | 126,848,624 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 256 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// 2-5.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中
// 引用任何所需的附加头文件,而不是在此文件中引用
| [
"18633910528@163.com"
] | 18633910528@163.com |
eedb7796ca4d7e8dead78c282a28123dc17888eb | 033fa17c2f7cb7a061425a168dcd22849108d410 | /cor.cpp | d35fabb851b0ff94fb6ebc46f8333dbb24075522 | [] | no_license | Thunder-67/codes | 4e48900d2d9c98636be6939bc338f39aa1851aa3 | a10e8c4adb62a6338997716582159d43587922ae | refs/heads/master | 2023-05-14T21:09:22.019112 | 2021-05-25T12:03:02 | 2021-05-25T12:03:02 | 370,617,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
string f,s;
cin>>f>>s;
if(f=="cough"&&s=="sneeze")
{
cout<<"they have corona ";
}
else
{cout<<"they are fine";}
return 0;
}
| [
"amangupta19653@gmail.com"
] | amangupta19653@gmail.com |
9b0e0a6f586bfcb9376d8a9c6082f654e2dcd464 | e4d3d56265ed372e08976670143ee88e54b84b2e | /includes/mfbt/BufferList.h | 0403a2cda4874d2907845ee710f81c35a381a889 | [
"MIT"
] | permissive | tigerwood/spec-cpp | e681d2a9de1e8469054ecf9a4b1aa109909a5774 | 1d7e33e93b9dfcecf8c79a94ee572965f6360247 | refs/heads/master | 2020-04-29T02:13:38.606000 | 2018-08-14T16:15:43 | 2018-08-14T16:15:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,791 | h | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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... | [
"tatum.creative@gmail.com"
] | tatum.creative@gmail.com |
a768a002e78274740d917371221a3425ca5dfa4a | 947d49f9dad2087f843ae1f08a02f7a39264f456 | /village/source/unit_tests/level_manager_tests.cpp | 2e28ded34a2bad29edd4a49bfbdee40e6dfc6404 | [] | no_license | amju-games/jammy | 851e4f5308e6704093e071766f3e8265de41465f | eb2a33018ed1246e738e954f95c1195f650d31f0 | refs/heads/master | 2023-06-23T03:37:43.068386 | 2023-06-20T12:12:03 | 2023-06-20T12:12:03 | 114,032,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 155 | cpp | #include "catch.hpp"
#include "level_manager.h"
TEST_CASE("get current level", "[level_manager]")
{
level_manager lm;
level& lev = lm.get_level();
}
| [
"juliet@amjula.com"
] | juliet@amjula.com |
50e98723f2299f56d808aa1a54a9eb8dced2cf15 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /ash/public/cpp/holding_space/holding_space_progress_unittest.cc | 18d32f1041dd789a4b665720160914e6bd8df4a1 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 7,748 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/public/cpp/holding_space/holding_space_progress.h"
#include <limits>
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
namespace ash {
using Ho... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
db5874673a1dee26dd574b9dd10c1d5b5be26c01 | 2b1f1f0a58f47d2c68bfe76212b6770f8e5b0325 | /inc/gui/mytitlebar.cpp | 8e2b4ac2062cdf7ebdebe94665994d54155c5f7f | [
"MIT"
] | permissive | YujieChuck/QT_HPC_study0723 | a75c48d4d6c94ec26601bc375f686b6c175b7f35 | 01b1926bf09bf3e6b85de07a7149467932b15d29 | refs/heads/master | 2020-03-23T19:17:04.257460 | 2018-08-23T03:17:43 | 2018-08-23T03:17:43 | 141,959,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,549 | cpp | #include "mytitlebar.h"
#include <QHBoxLayout>
#include <QPainter>
#include <QFile>
#include <QMouseEvent>
#include <QDebug>
#define BUTTON_HEIGHT 30 // 按钮高度;
#define BUTTON_WIDTH 30 // 按钮宽度;
#define TITLE_HEIGHT 30 // 标题栏高度;
MyTitleBar::MyTitleBar(QWidget *parent)
: QWidget(parent)
, m_colorR(153)
,... | [
"caeunion@163.com"
] | caeunion@163.com |
4065bc4dd88374507b2cbf0ab3cc77ae2a83b823 | 1cd995744a830f70b068b3ff925e06188d94e1c3 | /packages/ode/src/predicates/typedefs/ode_has_residual_typedef.hpp | 20f0075d325fc8ef83544036a7a830a0e1d05389 | [
"BSD-3-Clause"
] | permissive | zeta1999/pressio | 41dcf4ac6787f0463b4e7f4820e801ce1ee677a4 | 0cc57a071fb5e0719462c259de2565d9bea8144c | refs/heads/master | 2022-12-27T11:31:52.258613 | 2020-09-14T15:18:15 | 2020-09-14T15:18:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,684 | hpp | /*
//@HEADER
// ************************************************************************
//
// ode_has_residual_typedef.hpp
// Pressio
// Copyright 2019
// National Technology & Engineering Solutions of Sandia, LLC (NTESS)
//
// Under the terms of Contract DE-NA000... | [
"fnrizzi@sandia.gov"
] | fnrizzi@sandia.gov |
ba7ec33106bc6230fc32fc36fc800551b1786603 | 2a65a8e95cec46829b4f1ebb06f2c8c3329e6bce | /Case_2/1mainRun/constant/combustionProperties.gas | 1c1fefb970cb42f965f7adf1a19869a7f10e223e | [] | no_license | EskilC/MasterThesis | 97cfeb286c672221ce180209c9359334070310f0 | 55738f082a76a4478e5f553911c9268b5a341cbe | refs/heads/main | 2023-06-12T23:05:24.151006 | 2021-06-28T11:46:42 | 2021-06-28T11:46:42 | 376,320,971 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 735 | gas | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*-------... | [
"noreply@github.com"
] | EskilC.noreply@github.com |
e25672375a773b3ffceec4eb902ad09ce806fc58 | b5580e6d8aa85dea2323df9d62bb94c067d4a92a | /akinator/akinator.cpp | 6a70b17d21bd90138462c186ba17896fa2209d94 | [] | no_license | Exactlywb/Akinator | c6956d5d9b8ce8f72f1d14471fb823c1e1780f2a | faa1653da1c6ba82498feb6be209daaad591aec3 | refs/heads/master | 2023-06-03T09:35:33.043693 | 2021-06-23T10:25:51 | 2021-06-23T10:25:51 | 313,689,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,941 | cpp | //
// Created by 1 on 01.12.2020.
//
#include "akinator.h"
#define streq(str1, str2) !strcmp(str1, str2)
bool ShowMenuReturnStopCicleOrNo (Tree* mainTree) {
if (mainTree == nullptr) {
printf ("Null pointer on tree in function %s\n", __FUNCTION__);
return Yes;
}
txSpeak ... | [
"theprojectexactly@gmail.com"
] | theprojectexactly@gmail.com |
06bcac3a1c64fd7fe3a2bb9d5d91afef71dd2e81 | 846911ed5bcf30e71b946a2600edce11cc9a1594 | /include/GUI/common.hh | eb7b2592460cb00d3193ac319e8499c08026ce9b | [] | no_license | valkum/game-programming | 534d52fe7239ecfab6fb358646c4b325ccc57f14 | 0e6749553601d1800495ae729d26a97500177ac8 | refs/heads/master | 2021-01-21T16:27:27.748992 | 2016-03-13T16:16:01 | 2016-03-13T16:16:01 | 45,193,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,375 | hh | #ifndef COMMON_HH
#define COMMON_HH
#include <array>
#include <glm/glm.hpp>
using namespace glm;
struct NVGcontext;
struct NVGcolor;
struct GLFWwindow;
class Color : public vec4 {
public:
Color() : Color(0, 0, 0, 0) { }
Color(const vec4 &color) : vec4(color) { }
Color(const vec3 &color, float alpha) : Colo... | [
"rudi.floren@googlemail.com"
] | rudi.floren@googlemail.com |
e7f673bfc2016a053328aa197ede08f0c332c0a0 | cda486451e061d6f74848bcda3a99cdc11e9ca14 | /11278 - One-Handed Typist.cpp | dbdf339c15ed748afa67d3c3d720389521935e1d | [] | no_license | MahbubAhmedTonmoy/UVA_Problems | b7fc165c143893857c7a1354b9d10ef9e9f539a3 | 839b7059fd41197e29f30f491c586939a8bbac65 | refs/heads/master | 2020-04-14T21:33:13.370809 | 2019-01-04T16:55:36 | 2019-01-04T16:55:36 | 164,132,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | #include <iostream>
#include<cstring>
#include<stdio.h>
using namespace std;
#define Qwerty "`1234567890-=qwertyuiop[]\\asdfghjkl;'zxcvbnm,./ ~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:\"ZXCVBNM<>?"
#define Dvorak "`123qjlmfp/[]456.orsuyb;=\\789aehtdck-0zx,inwvg' ~!@#QJLMFP?{}$%^>ORSUYB:+|&*(AEHTDCK_)ZX<INWVG\""
char Luu[10... | [
"you@example.com"
] | you@example.com |
d6261e6767d70f38975bae01a5e388b6e09e0cf0 | b7139acb3448d39dbeb8597c7f65d4a378ddc330 | /2015/chapter_11/answers/2DayOfTheYear.cpp | 971960bbd2d9a5001089d8c740302aed7db78667 | [] | no_license | linsallyzhao/earlyobjects-exercises | 3f88e2d48674fdd431ecfd7e57c0fe2fa30c93f8 | 746a2489eb135fee8c04c74e3e763b07853e6796 | refs/heads/master | 2021-08-24T13:27:43.256219 | 2017-12-10T00:38:56 | 2017-12-10T00:38:56 | 113,711,078 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | cpp | #include <iostream>
#include <string>
class DayOfYear
{
private:
int day;
static std::string monName[];
static int monDays[];
public:
DayOfYear(int num = 0)
{
while (num <= 0 || num > 365)
{
std::cout << "Invalid input\n";
... | [
"lin.sally.zhao@gmail.com"
] | lin.sally.zhao@gmail.com |
6581d0e8bbaef5987879c0203071678d66bcb6ae | bea17df170e61e9ecc43010e0a5ee521c78a1c5c | /Mission related/PolarMission.h | c615010e5acb6569b17f48fd122574b6ddd2a066 | [] | no_license | AhmedHamdy-e21/Mars-Missions-Management | ba12ac87a64e4261d356073c685e2d3b7cb46071 | 6f5ec45b0a16b7ab5ea1b5b87f4737791e70b55e | refs/heads/main | 2023-02-16T12:39:26.129595 | 2020-12-12T10:42:14 | 2020-12-12T10:42:14 | 314,981,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | h | //
// Created by raspberry on 2020-11-30.
//
#ifndef MARS_MISSIONS_MANAGEMENT_POLARMISSION_H
#define MARS_MISSIONS_MANAGEMENT_POLARMISSION_H
#include "Mission.h"
class PolarMission : public Mission
{
private:
int ED;
public:
PolarMission(int ED,int ID,int TargetLocation,int MissionDuration,int Significance):M... | [
"ahmedhamdy.e21@gmail.com"
] | ahmedhamdy.e21@gmail.com |
1f94eaf70960db65aa4b4e6bf5e30dda06832139 | a98992eb28bb062c022ff813d39ad7e113095149 | /recursion/fibonacci.cpp | 8718f04b53f38f1118accd190be41a5cf53bfd9e | [] | no_license | ChloeJohnsonCodes/CS354-Language-Website | 91c1f8f29bf618609a9a2bc88fd9fe54b98e9b2c | 781048d61d7d0160f1abeca9e24295c85d528e27 | refs/heads/main | 2023-04-15T02:59:18.289884 | 2021-04-29T19:12:45 | 2021-04-29T19:12:45 | 351,633,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | cpp | // Created by Chinwendum Njoku on 3/27/21.
#include <iostream>
//This is a simple fibonacci sequence program that uses recursive function.
using namespace std;
int fibonacci(int n, int firstTerm, int secondTerm);
int main(){
cout << fibonacci(100, 0, 1);
}
int fibonacci(int n, int firstTerm, int... | [
"noreply@github.com"
] | ChloeJohnsonCodes.noreply@github.com |
1ae2ee2e50ffbf51523514c7933f6aed30985954 | 52bc6ff5ebcfd7e60d8ec06016d2a53295746d54 | /Práctica 2/ejercicio 4/src/utilidades.cpp | 4a2febb614fdb1dc30dedbc83577f64bc9063042 | [] | no_license | DavidGmezHdez/MP | 24e818377a9c8a51d4d878e5bd628c2224b25e4b | cbc6d34893ef40cfe43d53fa8aea537534315203 | refs/heads/master | 2020-04-27T17:09:07.712164 | 2019-05-22T14:08:47 | 2019-05-22T14:08:47 | 174,506,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | #include "utilidades.h"
using namespace std;
int localizarSubcadena(char cadena[], char subcadena[]){
int posicion = -1;
string cad = cadena;
string subcad = subcadena;
posicion = cad.find(subcad);
if(posicion== cad.length())
posicion = -1;
return posicion;
} | [
"davidgmezhdez@gmail.com"
] | davidgmezhdez@gmail.com |
f7192956a99d56fde7bf3d9ebcd567c74541daf3 | 1cc89625bdb0e4cc276f5d4c01167895e9c7593e | /Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/gdcmWriter.cxx | 144e9079f8b6fe98b101a01fdbd6741c3ff81ede | [
"LicenseRef-scancode-proprietary-license",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"SMLNJ",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-warranty-disclaimer",
"Spencer-86",
"NTP",
"LicenseRef-scancode-mit-old-style",
"GPL-1.0-or-later",
"FSFUL... | permissive | stnava/ITK | 4583b865c7561c90385573fa7f6c2247e6ed4104 | dc8765dbfbcd47124579fba04c8cf5101dd585b7 | refs/heads/master | 2020-03-27T23:37:50.406399 | 2018-10-18T19:00:11 | 2018-10-18T19:00:11 | 147,334,024 | 1 | 1 | Apache-2.0 | 2018-10-18T19:00:12 | 2018-09-04T11:14:14 | C++ | UTF-8 | C++ | false | false | 4,406 | cxx | /*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT A... | [
"brad.king@kitware.com"
] | brad.king@kitware.com |
b39554680df7802718ce84db09c3d407ca4a1132 | 169b58f00df677c2081d124ea892edd4e7acf3b4 | /src/game.cpp | d9aa57ce8cda4adf7f945c12e689412742d557d0 | [] | no_license | sinis/Klocuchy | 590c0b631d23c693691131dafda5767c29ba5bb5 | 619ac0a9ec01c056a6cc6fbd96e2e95c2390d4e9 | refs/heads/master | 2021-01-10T21:42:55.872789 | 2011-12-24T00:27:18 | 2011-12-24T00:27:18 | 2,911,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,831 | cpp | #include "game.h"
#include "klocuchy.h"
Game::Game():
_screen(Klocuchy::Instance()->Screen()),
_tetrion(new Tetrion),
_current(new Tetramino),
_next(new Tetramino),
_nextView(new NextView),
_scoreView(new ScoreView),
_timer(new Timer),
_score(0),
_state(NotStarted)
{
_tetrion->S... | [
"m.siniss@gmail.com"
] | m.siniss@gmail.com |
b481f0257be8df9d1eb85bae0434a6bffa649ac7 | 7c06ca53408d4c76ddff8bac9a6487b6c2a51fad | /括号匹配.cpp | 6262651a98a34e661b008087b3e1c857ba8b0fb0 | [] | no_license | yuqibuertong/SikutoCoder | 327127bcc0b85260809bb760cce4ddfc7dbfea4e | 96cbe53b16cc38b04875296b64574e3e539688af | refs/heads/master | 2020-04-12T19:32:44.163912 | 2019-05-13T14:05:08 | 2019-05-13T14:05:08 | 162,711,810 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
string a;
cin >> a;
int i, isValid = 1;
stack<char> s;
for (i = 0; i < a.length(); i++) {
if (a[i] == '(' || a[i] == '[' || a[i] == '{')
s.push(a[i]);
switch (a[i]) {
case ')':
if (!s.empty() && s.top() == '(') s.pop();
else i... | [
"noreply@github.com"
] | yuqibuertong.noreply@github.com |
bbe329be06e76ecd4c5193efda05bf17eb70e638 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/variant/detail/substitute_fwd.hpp | 06d75f28c8ad98cfe707cb8661e37d226347e279 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,846 | hpp | //-----------------------------------------------------------------------------
// boost variant/detail/substitute_fwd.hpp header file
// See http://www.boost.org for updates, documentation, and revision history.
//-----------------------------------------------------------------------------
//
// Copyright (c) 2003
/... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
66bf195dcb975712f3b1bd6e323ab5d8eeb61e37 | 13971bc8b53463e4a942660ca4bd21f9ae018ee7 | /Modul 12/void.cpp | c3a540943f84ad86b6d8cef5c2eadf90d12512ea | [] | no_license | AMDS-CODE-DEVELOPMENT/CODE-Pemrograman-Struktural | eafe25cd0114ae75a46e2411532cdb626855ffd1 | 09c61034243188732bc379140f5f019ddedb3495 | refs/heads/main | 2023-02-19T01:09:29.690826 | 2021-01-20T14:54:21 | 2021-01-20T14:54:21 | 319,496,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | cpp | #include<iostream>
using namespace std;
void LuasPersegi(){
cout<<"==================================="<<endl;
cout<<"Nama : Ahmad Setiaji"<<endl;
cout<<"NPM : 19630170"<<endl;
cout<<"Kelas : 3E BJM"<<endl;
cout<<"Program : void.cpp"<<endl;
cout<<"Dibuat : Jum'at, 7 Jan 2021"<<endl;
cout<<"===========... | [
"noreply@github.com"
] | AMDS-CODE-DEVELOPMENT.noreply@github.com |
ba1c4b5c85805d453289f76774e2ffa81862a5dd | 168b2ee933af930b156e1a72e680b97d3ca1061e | /src/server/angelscript/samples/console/source/main.cpp | 4a88536425e55843187bd191f569b241bc781393 | [
"BSD-3-Clause"
] | permissive | paulhomepainter/NymphCast | f18c15a141b86544303fd033d07e083ceb096de5 | bd436e92d21d19f33397b00e4ec808ed339b5a9a | refs/heads/master | 2021-03-16T14:28:23.796749 | 2020-03-12T15:49:31 | 2020-03-12T15:49:31 | 246,915,980 | 1 | 0 | BSD-3-Clause | 2020-03-12T19:34:19 | 2020-03-12T19:34:18 | null | UTF-8 | C++ | false | false | 11,904 | cpp | #include <iostream>
#include <string>
#include <string.h> // strstr()
#include <assert.h>
#include <math.h>
#include <angelscript.h>
#include "../../../add_on/scriptstdstring/scriptstdstring.h"
#include "../../../add_on/scripthelper/scripthelper.h"
using namespace std;
// Function prototypes
void PrintHel... | [
"maya@nyanko.ws"
] | maya@nyanko.ws |
a4a5fec31ad12f33a5dd634eeeb97103532882a4 | 8deec3e4619a8095aba9a4e8115edecaa52f6b52 | /Project1/MenuObj.h | e9a6dfafb53ffde3842bfc9734418e2fc7af6a11 | [] | no_license | tiansongyu/SDL2_submodule | bafcdbd5b26ead3a71313019ce26e740de6456ba | 543cf03a8aae8241f1c853824480f512c37c0a52 | refs/heads/master | 2022-12-24T08:00:15.991613 | 2020-10-06T03:00:48 | 2020-10-06T03:00:48 | 283,468,389 | 0 | 0 | null | 2020-10-06T03:00:49 | 2020-07-29T10:26:32 | C++ | UTF-8 | C++ | false | false | 124 | h | #pragma once
#include <string>
using namespace std;
class MenuObj
{
public:
string getName();
protected:
string name;
}; | [
"478880214@qq.com"
] | 478880214@qq.com |
8b46c462eec2a3bbbaed4fc2e0ee3341b7208718 | dad517a244d337049f92a76eb1730e9bcdb9de96 | /c++/codeeval_cpp/src/main.cpp | 3eb1faa44b83a31153f2003c5bf9b8200ca8778f | [] | no_license | andrewauclair/codeeval | 87209f1640c98c617ac3cec3999b34679cd26354 | c101192eac1d4880cb17929715ca2fa43eb2a67d | refs/heads/master | 2021-01-21T12:11:41.107509 | 2016-03-11T03:52:18 | 2016-03-11T03:52:18 | 32,610,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | #include <iostream>
#include "problems_cpp.h"
using namespace std;
int main(int argc, const char* argv[])
{
if (argc >= 3)
{
int t_nProblem = atoi(argv[2]);
g_apProblems[t_nProblem - 1]->nRun(argc, argv);
}
return 0;
}
| [
"mightymalakai33@gmail.com"
] | mightymalakai33@gmail.com |
f309991052aad57e1b233da55751d8b638256594 | 7ef69ca4cdf520624ffe40c3a18094d058386338 | /ANARC05H.cpp | 386dedc63ccb2cd57daea8b32ec4e11135d2ccdf | [] | no_license | prrateekk/SPOJ | fb345721de3e15445fb1317b2ff8b242825cdd4b | fc7344878e1f613c4a89d6d3ea61e48b4d1a17df | refs/heads/master | 2021-07-08T11:40:57.494106 | 2017-10-03T18:38:21 | 2017-10-03T18:38:21 | 104,101,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | cpp | #include <bits/stdc++.h>
using namespace std;
char s[26];
int l;
int dp[250][26];
int func(int prev,int i){
if (i==l) return 1;
if (dp[prev][i]>0) return dp[prev][i];
int sum = 0,tot = 0;
for (int j=i;j<l;j++){
sum+=(int(s[j]-48));
if (sum>=prev) tot+=func(sum,j+1);
}
dp[prev][i] = tot;
return tot;
}
int ... | [
"prrateekk@hotmail.com"
] | prrateekk@hotmail.com |
97ec94d53ccd37f2ecc6187a3e9a06c74311cad0 | 0f3f9f07baab80b2bda6f0f8bfc8afaecd5bf4d8 | /Lab_5/Service.h | a554a2ab23b34a7620f050701c09286afa4cafd2 | [] | no_license | LauraDiosan-CS/lab04-CoroamaDianaMihaela | cad8415892cc498ae786ff769a2c7dd5a091acc8 | b0e36a944b289b62e58f771fa14256fbece40fdc | refs/heads/master | 2021-03-27T02:50:33.845686 | 2020-03-30T15:50:03 | 2020-03-30T15:50:03 | 247,778,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,652 | h | #pragma once
#include "RepoSTL.h"
#include "Transaction.h"
#include <iostream>
#include <type_traits>
using namespace std;
template <typename T>
bool tempFunction(T param, vector<Transaction> b, int i, int c = 0) {
if (std::is_same<T, char*>::value)
return strcmp((char*)param, b[i].get_type()) == 0;
e... | [
"noreply@github.com"
] | LauraDiosan-CS.noreply@github.com |
f88d11353711320bbef9b78400567e7831df1d9c | 3cd0d30cab687763cb20a1717480578414abe694 | /Source/S05_TextingGround/Player/FirstPersonCharacter.h | f59a7001882293b16460a20f40ff72d22306311e | [] | no_license | hoanglechanhtu/S05_TextingGround | 38a92932bdf1dfbd833a437cd03b29301cf72136 | 717d71f99243647ede06dcf3ec98a9421b61020d | refs/heads/master | 2021-09-12T17:21:40.219631 | 2018-01-29T15:50:45 | 2018-01-29T15:50:45 | 118,467,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,569 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameFramework/Character.h"
#include "FirstPersonCharacter.generated.h"
class UInputComponent;
UCLASS(config=Game)
class AFirstPersonCharacter : public ACharacter
{
GENERATED_BODY()
/** Pawn mesh: 1st person view (arms; seen only by... | [
"hoanglechanhtu01@gmail.com"
] | hoanglechanhtu01@gmail.com |
ebb9e288e27d7cb9e1e233e3b708d22fdaebab82 | 4af834f79d0c947d628dc720b38c454914dce170 | /lab1/lab1_5/main.cpp | 387c146abd2f07c1e69baf6282d2693fad90b01d | [] | no_license | Kartikgarg12/oop-lab | 4d28adc126a258a0c60c561c036525d22481f6e0 | 01b7df47ed06e30148525b1ea0811a616fb9cde8 | refs/heads/master | 2020-03-25T10:55:14.647699 | 2018-08-06T10:12:42 | 2018-08-06T10:12:42 | 143,710,693 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | #include <iostream>
# include<string>
using namespace std;
int main()
{
int len=0;
string s;
getline(cin,s);
for(int i=0;s[i]!='\0';i++)
{
len++;
}
cout<<len;
return 0;
}
| [
"noreply@github.com"
] | Kartikgarg12.noreply@github.com |
cc343ff2391ab4cd0d7cf59b2963882cdae1ce4f | 8360c3b14c285c43cd4a3f254187888d0e2d9e80 | /Python/tests/cpp_annotator_test_files/testAnnotatedClassWithoutConstructor.cpp | 17fc2cac6959bb9f636ebcaf5a8de761af1783ae | [
"BSD-2-Clause"
] | permissive | GervasioCalderon/bug-reproducer-assistant | 5b224912195bd6a0542e2974f1dcfddf78c22da0 | a29aaa36b73292c14f3f0c83598c0d8991b0295a | refs/heads/master | 2021-12-03T06:27:40.372256 | 2015-08-18T12:48:15 | 2015-08-18T12:48:15 | 40,968,906 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | #include <tchar.h>
#include <string>
#include <vector>
#include <map>
#include "MyFunctions.h"
int _tmain(int argc, _TCHAR* argv[])
{
MyClass foo;
foo.f1();
foo.f2(5);
std::vector<int> myVector;
myVector.push_back(5);
std::map< std::string, int > myMap;
myMap["x"] = 1;
myMap["y"] = 2;
foo.... | [
"13007119+GervasioCalderon@users.noreply.github.com"
] | 13007119+GervasioCalderon@users.noreply.github.com |
e07b2eb7ddbfb965e977850cf21816aa558709c8 | 76873f663339bc49ec930cb55e6a4f7122ecb569 | /ttt_nss/Dialogs/define.hpp | 54b7406f059245a38f05652647004606e8a6beda | [] | no_license | LuckyStr1ke94/ttt_a3 | ca6c1916595fcfe961b4e795c13bcf4b7d49efa7 | c64b10e6afad793f0502484246e7d3f65b1f15bc | refs/heads/master | 2020-12-13T21:52:52.851229 | 2015-11-28T17:02:52 | 2015-11-28T17:02:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,275 | hpp | #define GUI_GRID_X (0)
#define GUI_GRID_Y (0)
#define GUI_GRID_W (0.025)
#define GUI_GRID_H (0.04)
#define GUI_GRID_WAbs (1)
#define GUI_GRID_HAbs (1)
///////////////////////////////////////////////////////////////////////////
/// Styles
///////////////////////////////////////////////////////////////////////////
// C... | [
"theconen@gmail.com"
] | theconen@gmail.com |
d079b297e95b3cc4f8933f4d88b9ea348bb053c5 | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/intrusive/detail/std_fwd.hpp | c6e75464c36ed127168ac082dc1ed83762a46bbf | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:0e70011af03350c4449d26ca6ad364ae6a845528ed6841cccb592cccc832e3d1
size 1226
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
20edb93c4d3348864199a646d2b9e81fa3aec151 | 63c71060f36866bca4ac27304cef6d5755fdc35c | /src/DataScanner/DataScanner.h | 6686c23c6c71e705107589e3b5619705598c3a33 | [] | no_license | 15831944/barry_dev | bc8441cbfbd4b62fbb42bee3dcb79ff7f5fcaf8a | d4a83421458aa28ca293caa7a5567433e9358596 | refs/heads/master | 2022-03-24T07:00:26.810732 | 2015-12-22T07:19:58 | 2015-12-22T07:19:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,060 | h | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2005
// Packet Engineering, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification is not permitted unless authorized in writing by a duly
// appointed officer of P... | [
"barryniu@jimodb.com"
] | barryniu@jimodb.com |
3e1363ecb0fe1eadfd0a3378ecbaca513a09f580 | 7e6f83b51f3f3e404b3d16f109b1e1606b7ab9ce | /src/main.cpp | 1293367dacd414367ba5adb7d8459db242f3897a | [] | no_license | NielsHecquard/GrandPrix2017 | 504f32b141f02a7e14fe18cd0f7e2c91264ec0f2 | 2c00387e4708a6e8b614719e550c7d87bd7d459b | refs/heads/master | 2021-01-19T11:25:28.559532 | 2017-04-11T18:09:06 | 2017-04-11T18:09:06 | 87,964,898 | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 673 | cpp | /**
* @brief Gestionnaire de course de voitures. Projet 1A Ensicaen.
*
* @authors Julien Gosme (2012)
* Modifiť par G. Lebrun (2015), S. Fourey (2016)
*/
#include <QApplication>
#include <QDebug>
#include <stdlib.h>
#include "grandprix.h"
#include "headless.h"
int main(int argc, char *argv[])
{
if (arg... | [
"hecquard@ecole.ensicaen.fr"
] | hecquard@ecole.ensicaen.fr |
250ae51ff17d9c054f679199001352be39c17356 | 9d865a1cf3d6fce5b3a2b01da5d0200ea62f96a1 | /src/BitStream.h | 0abd52156e696cf0fbc04c4fcbd99a888eb6a2a2 | [] | no_license | trooper1337/m0d-s0beit-sa-03z | 25445d6777657417ed4a645b540f88867540088c | b34808cd432c22f24c5ff1319cbb5ea9210e5499 | refs/heads/master | 2016-09-06T11:07:00.191095 | 2014-12-05T12:13:36 | 2014-12-05T12:13:36 | 33,258,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,800 | h | /// Given a number of bits, return how many bytes are needed to represent that.
#define BITS_TO_BYTES(x) (((x)+7)>>3)
#define BYTES_TO_BITS(x) ((x)<<3)
#define BITSTREAM_STACK_ALLOCATION_SIZE 256
/// This class allows you to write and read native types as a string of bits. BitStream is used extensively throughou... | [
"golubenok05@gmail.com@11e79767-01ed-3686-f6bd-6912e882d36b"
] | golubenok05@gmail.com@11e79767-01ed-3686-f6bd-6912e882d36b |
2b64e163dc5aec9db93cb4d0fb974bd6eba625c3 | 14ed69b8eae987bf9f66ad6928adcace6e5886b7 | /external/the-forge/Common_3/ThirdParty/OpenSource/ozz-animation/src/animation/runtime/track.cc | 65fb67932cc1f16dbb6b0b614444aae0f82cedd8 | [
"MIT",
"Apache-2.0"
] | permissive | boberfly/the-forge-glfw | 37c71075ad4855e3b38e1b06e01949710e5a40bf | c3b4642f83bec165af481e8a7d6916330d4bd07b | refs/heads/master | 2023-01-30T14:01:34.746948 | 2020-12-18T23:57:53 | 2020-12-18T23:57:53 | 266,424,243 | 3 | 0 | Apache-2.0 | 2020-05-23T21:42:12 | 2020-05-23T21:42:11 | null | UTF-8 | C++ | false | false | 6,381 | cc | //----------------------------------------------------------------------------//
// //
// ozz-animation is hosted at http://github.com/guillaumeblanc/ozz-animation //
// and distributed under the MIT License (MIT). ... | [
"rextimm777@gmail.com"
] | rextimm777@gmail.com |
40270986f45a48e36c44d22859e8d77171e54b38 | f95975d9454984803586de7f0600f3ecf9918f60 | /lang_service/java/com/intel/daal/algorithms/dbscan/distributed_partial_result_step7.cpp | 5dcceeff7dabe60d00b37417a0c8900861224d9e | [
"Intel",
"Apache-2.0"
] | permissive | jjuribe/daal | f4e05656ca5f01e56debdbd2de51eeb2f506ca3d | 242d358db584dd4c9c65826b345fe63313ff8f2a | refs/heads/master | 2020-09-15T01:33:34.752543 | 2019-11-21T08:27:26 | 2019-11-21T08:27:26 | 223,316,648 | 0 | 0 | Apache-2.0 | 2019-11-22T03:33:41 | 2019-11-22T03:33:39 | null | UTF-8 | C++ | false | false | 2,098 | cpp | /* file: distributed_partial_result_step7.cpp */
/*******************************************************************************
* Copyright 2014-2019 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | [
"nikolay.a.petrov@intel.com"
] | nikolay.a.petrov@intel.com |
1730e9400561e757ac7ed0c21ef369c0658a477b | 5f72f2485736cf84b09052a5f66a526a9f0caeca | /src/osvr/PluginKit/SkeletonInterfaceC.cpp | e5fe393385bb5bb7de3299d6b074f2a18015a074 | [
"Apache-2.0",
"NCSA",
"BSL-1.0",
"BSD-3-Clause",
"MPL-2.0",
"LicenseRef-scancode-other-permissive",
"MIT"
] | permissive | stephengroat/OSVR-Core | c5b2233092d3fb44929da579c9a2acf3171ddb62 | 35e0967b18c8d6cb4caa152ebcbcb6cc473c9bf1 | refs/heads/master | 2020-04-11T23:45:37.315835 | 2018-10-20T18:11:22 | 2018-10-20T18:11:22 | 162,178,230 | 0 | 0 | Apache-2.0 | 2018-12-17T19:14:30 | 2018-12-17T19:14:30 | null | UTF-8 | C++ | false | false | 2,854 | cpp | /** @file
@brief Implementation
@date 2015
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2015 Sensics, 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 L... | [
"gfrolov@sensics.com"
] | gfrolov@sensics.com |
d86f7d82861229054abba9f644221da6ebcdad2e | 140f70ab8ce951538712601df3e5b6e0cc3f85af | /models/LnAutoGradientModel.hpp | 1aaf9517eec8964517cfe9fef211a9bbdfa80d3c | [] | no_license | aarondemolder/nodenoise | b8865f0926cb4751a85000b71e3dc3d69fef8f20 | 8514a3738267ff5e2738271b60e6eaedbe730936 | refs/heads/master | 2020-04-15T18:31:34.782736 | 2019-01-25T03:14:57 | 2019-01-25T03:14:57 | 164,915,254 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | hpp | #pragma once
#include <QtCore/QObject>
#include <QComboBox>
#include <nodes/NodeDataModel>
#include <iostream>
class AutoGradientData;
using QtNodes::PortType;
using QtNodes::PortIndex;
using QtNodes::NodeData;
using QtNodes::NodeDataType;
using QtNodes::NodeDataModel;
using QtNodes::NodeValidationState;
//The cl... | [
"aaron.demolder@gmail.com"
] | aaron.demolder@gmail.com |
9c8ab7a4074c712cc0e9e6219872dac29bb2e0c0 | 5cda726fd308b33ede6c9b18f68cc3ff8741449b | /tickleBand/tickleBand.ino | cd25f5399101ba7a27bb7f0bc85411ac8bef4aef | [] | no_license | keho98/tickle-band | e19f7160942b11181d76a8f01c154a0ca66a99d7 | 43e807164ae95101b8500eba1f652f63e49682f6 | refs/heads/master | 2020-03-27T23:23:56.898307 | 2013-05-26T07:29:47 | 2013-05-26T07:29:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,240 | ino | #define IO_PAIRS 3
int analogOutputPins[] = {3,5,6};
int analogInputPins[] = {0,1,2};
char incomingByte = 0;
boolean DEBUG = false;
void setup()
{
Serial.begin(9600);
for(int i=0; i<IO_PAIRS; i++){
pinMode(analogOutputPins[i], OUTPUT);
}
analogWrite(6, 255);
}
void loop()
{
if(DEBUG){
Serial.print... | [
"keho98@gmail.com"
] | keho98@gmail.com |
78ce25601fc999e5aa268a04b9710536c50431d5 | 069db5d03f38877e7ef896708407777f1c7f6950 | /就職作品/MenuScene/StageSelectButton.h | ff383e15f5c29010aa8e5e51ddb2b7b546c6c92b | [] | no_license | Yoriyakd/SnowFight | 446911a0b74722c11de5289f117602292e3d15c2 | 30fc370eb3150f2aaa4dd805ba57f62258e2fd0b | refs/heads/master | 2022-11-30T14:54:30.619827 | 2020-08-17T10:51:20 | 2020-08-17T10:51:20 | 197,500,065 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 661 | h | #pragma once
#include"../commonObj/ButtonBase.h"
class StageSelectButton : public ButtonBase {
public:
StageSelectButton();
~StageSelectButton();
void Stage1Initialize(void); //とりあえずここに書く(textやCSVから読み込むように変更する)☆
void Stage2Initialize(void);
void Draw();
protected:
void OnMouseEvent(void); //マウスが上に乗っているときの処理... | [
"kobedenshi@VAIO"
] | kobedenshi@VAIO |
7bf17716171bea5aa3cac53b1091a8d94f0255e8 | d6f95bf46a64544e15a2f5eafb551b30b5169059 | /HL/BRUTE.cpp | b2c7e14545c8ef7f817d4378d913bc33105bad5c | [] | no_license | zhulianhai/IOPC2014 | b9a9fdcf0c2108fe194599329d0594339a4ffa1e | c4a890787fec1c706c78f14940806f3e39de375e | refs/heads/master | 2021-01-21T17:50:34.888545 | 2014-08-14T10:41:30 | 2014-08-14T10:41:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,927 | cpp | #include<stdio.h>
#include<vector>
#include<stdlib.h>
#include<string.h>
using namespace std;
typedef long long int ll;
vector<int> myvector[100001];
ll tree[100001];
int parent[100001],depth[100001];
/*********************************FOR FINDING LCA***********************************/
int Root[100001][18],store[100001... | [
"devu@ubuntu.(none)"
] | devu@ubuntu.(none) |
62f8044e058235849510af325862c539a4b17d5b | 99b1e4fd55f134c04a7565f1abade9d98b05bb7a | /QG训练营第二周/SqStack.cpp | fc60be3c57d1999412b16640e9953bf241ada9eb | [] | no_license | krishhh5/web_camp | 49806e8d6e49c7d48d5243ade879c6214621ff56 | f40e834a2bd39206b43d2636eb45704c34a77162 | refs/heads/master | 2020-05-02T22:25:28.876772 | 2019-03-31T12:59:18 | 2019-03-31T12:59:18 | 178,251,269 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,610 | cpp | # include <Stdio.h>
# include <Stdlib.h>
typedef enum Status {
ERROR = 0, SUCCESS = 1
} Status;
typedef int ElemType;
typedef struct SqStack {
ElemType *elem;
int top;
int size;
} SqStack;
//顺序栈(基于数组的)
Status initStack(SqStack *s,int sizes) //初始化栈
{
s->elem = (ElemType *)malloc(sizes * sizeo... | [
"noreply@github.com"
] | krishhh5.noreply@github.com |
62af3ce59d31aa77381672cf46022e837e6f086c | 86c73984768d1c2c6004b46e0623c91949995aa6 | /MFCFrontend/MFCFrontendView.cpp | 16d7ae340e1a5823eb3c0b7b36044943cefd10db | [] | no_license | ChrisTohFer/VSOutputParser | d88758b5ee633b9bf12a0e2dc6f23035df4fd9e5 | 5f22183b2a4a45698c0864f376c3a235a0cce980 | refs/heads/master | 2020-12-02T17:22:34.687594 | 2020-05-27T16:56:57 | 2020-05-27T16:56:57 | 231,072,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,667 | cpp |
// MFCFrontendView.cpp : implementation of the CMFCFrontendView class
//
#include "pch.h"
#include "framework.h"
// SHARED_HANDLERS can be defined in an ATL project implementing preview, thumbnail
// and search filter handlers and allows sharing of document code with that project.
#ifndef SHARED_HANDLERS
#include "MF... | [
"chrisrkemp@hotmail.co.uk"
] | chrisrkemp@hotmail.co.uk |
eea7b7d9c8fd56ee593534b2dcd6ad47e7de412d | 0408d086a3fd502113588a61b36755fe23f55b10 | /code/11448 Ga.cpp | 4c5d87853cb664a2d0dc5e64e8bbf8e97be7391c | [] | no_license | dwax1324/baekjoon | 6dfcf62f2b1643480b16777c37f4e5d711b932d9 | 3a6daf8a66dbb304af8a4002989c081dcffc831d | refs/heads/main | 2023-04-03T03:56:50.410972 | 2021-03-29T11:51:30 | 2021-03-29T11:51:30 | 310,809,466 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cpp | // date: Tue Feb 23 03:25:04 2021
// author: dwax1324
#include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
//#define int int64_t
using namespace std;typedef pair<int,int> pii;typedef tuple<int,int,int> tii; typedef long long ll;
int32_t main(){ios_base::sync_with_stdio(0);cin.tie(0);
int t; cin >> t; while(t... | [
"dwax1324@gmail.com"
] | dwax1324@gmail.com |
93800de5b6ec41533b16d51f54d2a695851924b8 | e66019b446d39b40a210161383af87901ae1c918 | /occupancyrateentry.cpp | 7c96ab521f5add1bc15d070c2f7f87d386456a79 | [] | no_license | hummushaman/EOBCproject | adbbd273a618ae7159b78375ec803948da028c5f | 8b0f1a29b239c26279590582bfed79ffb1114966 | refs/heads/master | 2021-01-10T21:20:08.998663 | 2011-04-06T11:35:59 | 2011-04-06T11:35:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | #include "occupancyrateentry.h"
OccupancyRateEntry::OccupancyRateEntry(){}
OccupancyRateEntry::OccupancyRateEntry(QString aDateChanged, QString aCareType, float anOccupancyRate)
{
dateChanged = aDateChanged;
careType = aCareType;
occupancyRate = anOccupancyRate;
}
QString OccupancyRateEntry::getCareType... | [
"jpowers3004@gmail.com"
] | jpowers3004@gmail.com |
8dc8f62bbca8a55c032537825be350914b2ddb69 | db55b78737dd0cd0b761a4b27271c633edc4048b | /cell.h | a4b3b78bbebdc6d2baf9992cd4b947177f90873b | [
"MIT"
] | permissive | Coolxer/Vis4xe | 749dce7dc611c0aaefb85758c749e2fc086a0426 | 8715611971260cd6526d26a117ae0eeba0680e62 | refs/heads/master | 2020-04-01T20:43:01.680177 | 2019-04-08T19:43:02 | 2019-04-08T19:43:02 | 152,898,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | h | #ifndef CELL_H
#define CELL_H
#include <QApplication>
#include <QLabel>
class Lcd;
class Cell : public QLabel
{
private:
Lcd* lcd; //the pointer to its parent
int id = -1;//this variable get you know if it is written to any string (-1 mean "empty")
int index; //the index of the cell in the lcd vector (... | [
"lukasik4789@gmail.com"
] | lukasik4789@gmail.com |
e3ee9bba50db7afd1b251c7d322d70e023e36a65 | a380cba36f0a9853cfa0556b3c0bc1a21a465a54 | /324234/324234.cpp | 11ea5abc5474856b4b070e2f5856242ab2766ffe | [] | no_license | anabanena/some_shit | d7699329a5bbdd1283796277884361fa0a25e344 | 4c390754d91b9357c620077dc685f83fbf884928 | refs/heads/main | 2023-01-01T07:59:54.945508 | 2020-10-21T12:48:36 | 2020-10-21T12:48:36 | 305,991,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,132 | cpp | #include <iostream>
#include <clocale>
using namespace std;
//~~~~~~~~~~~~~~~~~~~~~~~~Задание 1~~~~~~~~~~~~~~~~~~~~~~~~~~~//
int gcd(int a, int b) { //greatest common divisitor/нод
if (b == 0) return a;
else gcd(b, a % b);
}
int lcm(int a, int b ) { //least common multiplier/нок
return a *b /gcd(a,... | [
"mushrooms132@gmail.com"
] | mushrooms132@gmail.com |
1596519f1f7dc671a08666f3c7595601d846d010 | 70aa0ddb5c39bc284d44060d522dba083c38dec4 | /src/ui_interface.h | 16651925794a378546d6eabdf1a2f3000ff094b9 | [
"MIT"
] | permissive | BitbucksFoundation/Bitbucks-Project | 28402ccf604585d4a58d2df192f7fb19e333f181 | 0a84fefaf2cc28dced51dde72cc9a9219cca0ab1 | refs/heads/master | 2020-03-23T20:48:12.336408 | 2018-07-23T20:08:03 | 2018-07-23T20:08:03 | 142,063,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,192 | h | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2012 The Bitbucks developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_UI_INTERFACE_H
#define BITCOIN_UI_INTERFACE_H
#include <string>
#include "u... | [
"rs.person111@yahoo.com"
] | rs.person111@yahoo.com |
32dc28d36ba7fe49af9e977315e384ba074ea2be | ffd38df6a470bf73b8d545670a3b039348d21839 | /dataStructures/bvh.h | dade247e8f8a938584ce539b6ae7e73e6f3dab80 | [] | no_license | ZackMisso/GradGraphicsFinalProject | 14b3136d76bdf6e177d6cb6c5101d55d0b12b15b | b23ebdb7f74fa1ef239dbd26dc606df0f3d64d8f | refs/heads/master | 2021-01-01T04:29:33.213102 | 2016-05-14T04:19:23 | 2016-05-14T04:19:23 | 56,537,030 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | h | #ifndef __BVH_H__
#define __BVH_H__
#include "array.h"
#include "../geometry/geometry.h"
class BVHfNode {
private:
BVHfNode* right;
BVHfNode* left;
Array<Geometryf*>* contents;
public:
BVHfNode();
~BVHfNode();
// getter methods
BVHfNode* getRight();
BVHfNode* getLeft();
Array<Geometryf*>* getContent... | [
"zack441@mac.com"
] | zack441@mac.com |
ad70a708706cd73025214464b5a1fb89abc0acf1 | 781c5fa6b4d1b7fdf27096c6eaed2406a431e91b | /ComplexNumber.h | ffe4e209941f03c61cf57cfba7b4d19a7b928fe9 | [] | no_license | fchitakova/ComplexNumbers | 5058c774db7b863c9b147e87033a1c1f4f7bc856 | afec4d77e7885415c3b1e834cc1bfb9bdc980299 | refs/heads/master | 2021-01-23T00:39:10.449640 | 2017-03-21T20:26:58 | 2017-03-21T20:26:58 | 85,749,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | h | #ifndef COMPLEX_NUMBER_H
#define COMPLEX_NUMBER_H
const unsigned MAX_IMAGINER_LENGTH = 100;
class ComplexNumber
{
public:
ComplexNumber();
ComplexNumber(double r, double i);
~ComplexNumber();
ComplexNumber(const ComplexNumber&rhs);
ComplexNumber&operator=(const ComplexNumber&rhs);
double getIm()con... | [
"noreply@github.com"
] | fchitakova.noreply@github.com |
ea24eeae2b718b41ecb20e697ad00f7b5310a43e | 87875ea4c6cf81fac1329f6eb2c6c841afbaf505 | /chess.cpp | db615515ab4365d0c27efe8b20374633e2a510ab | [] | no_license | MarcoMeinardi/Chess | b1d3162bdcd1b9f97c3f7618b39d3f726bb107dd | 0577c5f86601f7bf41b7ff2029ad7efc9ba8d279 | refs/heads/master | 2023-07-14T01:10:11.087912 | 2021-08-19T12:35:43 | 2021-08-19T12:35:43 | 392,282,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | cpp | #include "./game.h"
#include <ctime>
#include <chrono>
int main () {
srand (time (NULL));
Game* game = new Game ();
char command;
int pos, from, to;
int moves[128];
int n_moves;
int best_move;
while (true) {
cin >> command;
switch (command) {
case 'S': // select piece
cin >> pos;
n_moves = gam... | [
"marcomeinardi01@gmail.com"
] | marcomeinardi01@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.