blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0867472181e6e594f008530e12d20f9105c099c3 | fd19b1e99f869e2fc2dd530cf8fa404c8f1995f3 | /CPP/August/week_4/HR(queen_attack_II).cpp | 9546330a9e72de17f73cb89b12af02cfed06dad1 | [] | no_license | sumanthreddy07/Competitive_Programming | 3c16eeb7c9133bfc4c7af4c51f53b0205dd32a57 | 0291d75d4fa017b2a3e206e8aa1d4001e864d550 | refs/heads/master | 2023-06-28T07:03:06.665869 | 2021-07-10T17:41:34 | 2021-07-10T17:41:34 | 242,544,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | cpp | #include <iostream>
#include <vector>
//#include <string>
//#include <algorithm>
//#include <iomanip>
//#include <math.h>
//#include <unistd.h> //for sleep
//#include <limits.h>
#include <map>
//#include <set>
#define endl "\n"
#define run(i,a,b) for(long i=a;i<=b;i++)
#define revrun(i,a,b) for(long i=b;i>=a;i--)
//#... | [
"kota.sumanthreddy@gmail.com"
] | kota.sumanthreddy@gmail.com |
e929dfe95cdda92392ede4b5e7eef49a96d1d065 | 0f841c840a4d5e2e22f132ac6ae7b0e82e43db48 | /程序设计基础1/tsinsenOJ/学霸的迷宫.cpp | cfe3dde4729157f4d76a471e32f4dc578327d5f0 | [] | no_license | dogfar/Some-Homework-in-THU | 6210716d870a797ea1b8aa909a36a82220f1c254 | 908d296fa84dbba19595a5038fd80507efc29113 | refs/heads/master | 2021-04-22T03:10:15.699762 | 2020-03-25T00:46:49 | 2020-03-25T00:46:49 | 249,724,410 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | #include <iostream>
#include <queue>
#include <cstring>
using namespace std;
const int dx[]={+1,0,0,-1};
const int dy[]={0,-1,+1,0};
char directions[]={'D','L','R','U'};
char mazeinput[501][501];
int maze[501][501];
int n,m;
struct point{
int x;
int y;
string path;
};
void bfs(){
queue<point> Q;
point c={1,1};
... | [
"37035781+dogfar@users.noreply.github.com"
] | 37035781+dogfar@users.noreply.github.com |
d1554f341cf664aeab4d40a528b8876c2af7c1ce | 04a3e8ee778b443f8983ac38f672bebb2607e3fa | /protocal/perception/traffic_light/rectifier_config.pb.cc | 4848b673e9eaf3b0f59f0146f84b4b6c7fa1d1cc | [
"Apache-2.0"
] | permissive | gA4ss/g2r | 28a51aec1741a1ff00c9564b8569ce703dbb6749 | a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9 | refs/heads/master | 2022-07-08T14:27:31.443671 | 2020-05-12T16:35:17 | 2020-05-12T16:35:17 | 263,392,475 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 41,899 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: perception/traffic_light/rectifier_config.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "perception/traffic_light/rectifier_config.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobu... | [
"fr1140m@gmail.com"
] | fr1140m@gmail.com |
1be186efbaf728ce8633ff64e8401d4f89ee87d6 | a57cc4f074203e8ceefa3285a1a72b564e831eae | /tests/unit_tests/sha256.cpp | 1e41fce984441c748388e3d5d34c81467adb01e3 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | trublud/kickasscoin | 286b2c9637bf92416d8e2017c6c0c15a25f8ebc8 | 8153ff2f1fe8f3a761b71eab9afb1b02876809d5 | refs/heads/master | 2020-06-19T15:58:58.218099 | 2019-07-13T23:04:47 | 2019-07-13T23:04:47 | 194,447,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,374 | cpp | // Copyright (c) 2017-2019, The KickAssCoin Project
//
// 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 l... | [
"xmindpingx@gmail.com"
] | xmindpingx@gmail.com |
db0fc05fdce870509ae284021890540079ffff28 | 4915e7a6a66cfcdab54ddeb47f71a116d815eaec | /TestLab/TestLabGL/evilGlobals.h | 456ebfa040aef487edbbaeea38b99a09dd460eb4 | [] | no_license | ltqsoft/glTest | 80d58d96e7781ebcf7b5506760c9409e2cbfeeed | 2e599be40c190fb268ad90713cafe862dfd93184 | refs/heads/master | 2020-03-24T07:17:42.163846 | 2018-07-27T10:58:53 | 2018-07-27T10:58:53 | 142,559,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,118 | h | #pragma once
#include "camera.h"
#include "stb_image.h"
#include <glm/glm.hpp>
#include <thread>
#ifndef GLEW_STATIC
#define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#endif
//$ Camera
Camera camera(glm::vec3(0.0f, 0.0f, 3.0f));
float lastX = (float)SCR_WIDTH / 2.0;
float lastY = (float)SCR_HEIGHT / 2.... | [
"ltqsoft@gmail.com"
] | ltqsoft@gmail.com |
ae4ebb7b20a43d854d56d819fbb96722a418515a | cfc1daf5ff111751fe67e188a45bb376d13dd1e9 | /QT/ExerciseClasses/person.cpp | 25433dfcfdc2715bb5c91dea32876925175c64ec | [] | no_license | rafalh26/Cpp | 7a315457daa6e293dab2c8ef6b074709f1856429 | d152ad3163444d0b46a4ea4dd6b8fd1f11eba6e2 | refs/heads/master | 2023-02-24T22:38:54.901340 | 2021-01-31T10:18:59 | 2021-01-31T10:18:59 | 322,566,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104 | cpp | #include "person.h"
Person::Person(QObject *parent) : QObject(parent)
{
qInfo("object created");
}
| [
"rafalh26@gmail.com"
] | rafalh26@gmail.com |
9705ac1b5ca72028f6e2389ca80b2bcec82b2d7e | 284f2e73ce5c4a3274167993fafcdfc18d2d0564 | /system.cpp | ef5762fc8c3c3c257ac4b2f9a161c4c2b1602a6d | [] | no_license | powertab/ptparser | c9b466307e54ca64389749eccdecb79c0c7f2057 | 66dd75676b938f4f238ced4a7d219669e276f162 | refs/heads/master | 2022-11-12T15:31:55.742576 | 2020-06-25T21:35:35 | 2020-06-25T21:35:35 | 275,019,279 | 0 | 0 | null | 2020-06-25T21:32:27 | 2020-06-25T21:32:27 | null | UTF-8 | C++ | false | false | 17,088 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: system.cpp
// Purpose: Stores and renders a system
// Author: Brad Larsen
// Modified by:
// Created: Dec 16, 2004
// RCS-ID:
// Copyright: (c) Brad Larsen
// License: ... | [
"powertab2000@d5aff946-bc2e-0410-8690-abe9dfd6c9e2"
] | powertab2000@d5aff946-bc2e-0410-8690-abe9dfd6c9e2 |
b96dd0f057b9dd5571891f6b9aa9635562c4098c | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/public/mojom/messaging/cloneable_message.mojom-blink-test-utils.cc | 865648ec5386f63f74a70a287bf251af54410372 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,856 | cc | // third_party/blink/public/mojom/messaging/cloneable_message.mojom-blink-test-utils.cc is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#if... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
7bfc12c3b1a4c31612166df474cc9aa40a72925f | 56877f1d26d1f3c8fce3a3b38c6a87eaf3bddc67 | /bash/brut.cpp | 6422345442c57378fb9eb687f968278c9db30295 | [] | no_license | glapul/testowanie_advanced | 869d40c72aa0d4bdaf4eeccd99ad18b549bd4931 | 14c79e9a545ffa261e849ec221a249657d03bc27 | refs/heads/master | 2021-01-22T01:55:04.339317 | 2017-02-06T12:57:01 | 2017-02-06T12:57:01 | 81,018,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp | #include <cstdio>
#include <algorithm>
typedef long long LL;
const LL infty = 1e18;
const int maxn = 1000*1001;
LL sum[maxn];
int main()
{
int TT;
scanf("%d",&TT);
while(TT--)
{
sum[0] = 0;
LL best = -infty;
int n, k;
scanf("%d%d",&n,&k);
for(int i=1; i<=n; i... | [
"michal.glapa@gmail.com"
] | michal.glapa@gmail.com |
8764d4a9b4b71eadf40db07f6a7cf35a5a274abb | cdb13923536fe612ebb3d2e93b9d1de74015ac79 | /Problems/BZOJ/3105.cpp | 597a42c79212b395cc42927f9268780258fd7f09 | [] | no_license | eXceediDeaL/OI | 0acd2beab148d7d7e9548b4f7115e5585ef2153d | 7c1928239136633a73925e914de196bb46c0265d | refs/heads/master | 2021-06-05T19:27:28.668815 | 2016-07-11T01:47:21 | 2016-07-11T01:47:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 788 | cpp | /*
第一次拿完后,要使剩下的火柴中不存在异或和为0的子集,且让子集和最大
求解极大线性无关组。
证明是个拟阵
因此只要从大到小排序,依次贪心的添加到当前集合就可以了,需要动态维护线性基
*/
#include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstdlib>
using namespace std;
const int MAXN=100;
typedef long long LL;
int n,a[MAXN+3],b[33];
LL tot=0,ans=0;
int main(){
scanf("%d",&n);
for(int i=1;i<=n;... | [
"mingliangxing@126.com"
] | mingliangxing@126.com |
b15cfe276b783f403d51062373d167a6cbba2d0b | de1ca77bcd5c0b0d54683b968a5ac13763254652 | /src/views/qtsubclasses/ModelCoverageDelegate.h | 16478c90147a1a877fba42b8d2a591b66847d974 | [] | no_license | kaiyuzhao/ModelCoverage | 6737dd9db480ad3fec837dc04bfc4253bbf231e1 | b11d5fca51cb12e9056aef1952b00e18eb34cdf2 | refs/heads/master | 2021-01-10T09:37:45.251089 | 2015-10-25T00:56:21 | 2015-10-25T00:56:21 | 44,889,285 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | h | #ifndef MODELCOVERAGEDELEGATE_H
#define MODELCOVERAGEDELEGATE_H
#include <QItemDelegate>
#include <QVector>
#include <QColor>
class ModelCoverageDelegate : public QItemDelegate
{
Q_OBJECT
public:
explicit ModelCoverageDelegate(QWidget *parent = 0);
void paint(QPainter *painter, const QStyleOptionViewItem... | [
"kaiyu@dato.com"
] | kaiyu@dato.com |
8ab2243e01373c48e216d79c12ccf5ac15a5262c | 4749b64b52965942f785b4e592392d3ab4fa3cda | /google_apis/gcm/engine/gcm_store.cc | 592b7124aa4c682255c36b48f76c34835507d976 | [
"BSD-3-Clause"
] | permissive | crosswalk-project/chromium-crosswalk-efl | 763f6062679727802adeef009f2fe72905ad5622 | ff1451d8c66df23cdce579e4c6f0065c6cae2729 | refs/heads/efl/crosswalk-10/39.0.2171.19 | 2023-03-23T12:34:43.905665 | 2014-12-23T13:44:34 | 2014-12-23T13:44:34 | 27,142,234 | 2 | 8 | null | 2014-12-23T06:02:24 | 2014-11-25T19:27:37 | C++ | UTF-8 | C++ | false | false | 835 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "google_apis/gcm/engine/gcm_store.h"
namespace gcm {
GCMStore::LoadResult::LoadResult()
: success(false),
device_android_id(0),
... | [
"fgorski@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98"
] | fgorski@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98 |
027e8d177f951d2873bf38d70d99c534b504b90b | 82847a8fa6c8754dbf9fc3d8a731d23280d12660 | /bin/class.cpp | 3dc55aed05f565a046e6ca763938b6153c9bbfbe | [] | no_license | dmtzt/scripts | 3246dc3792b38aa405de7340413b90785216e184 | e14adc01cc4d29d76d116815c7996fb6b885598a | refs/heads/master | 2022-11-15T22:52:36.457482 | 2020-07-13T02:20:27 | 2020-07-13T02:20:27 | 279,165,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,773 | cpp | #include <algorithm>
#include <ctime>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include "Class.h"
#define TYPE 0
#define IDENTIFIER 1
#define ALT_IDENTIFIER 2
using namespace std;
void getWriteVariables(ofstream &outfile, Class &fileclass);
void writeConstructorDec... | [
"34782922+dmtzt@users.noreply.github.com"
] | 34782922+dmtzt@users.noreply.github.com |
6d8de8a9b973c53a8276e3cfb52abe00f1b645dd | 26524fec2231290c65a0bf126943101bb8b8300c | /2DLv0_Enabled/GameProgramming/CBackGround.cpp | 3048c4128e73d2357307c5de0bd1b82aa0a1d797 | [] | no_license | programminggp/2DLV1 | d424a946fe9f92c15c20a76f5986f19a3bf628f5 | fbe8394189431897312e74caf32e500ea2c8cd13 | refs/heads/master | 2023-09-01T13:38:35.309123 | 2023-09-01T11:45:01 | 2023-09-01T11:45:01 | 176,943,495 | 2 | 1 | null | 2022-05-26T09:56:53 | 2019-03-21T12:49:43 | C | UTF-8 | C++ | false | false | 150 | cpp | #include "CBackGround.h"
CBackGround::CBackGround() {
LoadTexture("BackGround.tga");
mPriority = -1;
// Enable();
mTag = EBACKGROUND;
}
| [
"snb.takahashi@gmail.com"
] | snb.takahashi@gmail.com |
2bc5951a92344b15bd9523072c0c498dc7528243 | 93176e72508a8b04769ee55bece71095d814ec38 | /Utilities/BGL/boost/range/detail/implementation_help.hpp | 6acb825b52533be30bfba7f388693c2f7630cab7 | [] | no_license | inglada/OTB | a0171a19be1428c0f3654c48fe5c35442934cf13 | 8b6d8a7df9d54c2b13189e00ba8fcb070e78e916 | refs/heads/master | 2021-01-19T09:23:47.919676 | 2011-06-29T17:29:21 | 2011-06-29T17:29:21 | 1,982,100 | 4 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,973 | hpp | // Boost.Range library
//
// Copyright Thorsten Ottosen 2003-2004. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.boost.org/li... | [
"otmane.lahlou@c-s.fr"
] | otmane.lahlou@c-s.fr |
746652ed8ad8c1fe7b429e4822678b5142a3b989 | 03c7cf7a57a1a26bb21e0184642f0a5c8b0336ae | /Release/gen/webcore/bindings/V8SQLResultSetRowList.cpp | ad123025709eda246b634800fbc5e05d7638a6f3 | [] | no_license | sanyaade-embedded-systems/armhf-node-webkit | eb38a2a34e833310ee477592028905fd00a86e5a | 5bc4509c0e19cce1a64b7cab4f92f91edfa17944 | refs/heads/master | 2020-12-30T19:11:15.189923 | 2013-03-16T14:29:23 | 2013-03-16T14:29:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,324 | cpp | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | [
"marian.such@ackee.cz"
] | marian.such@ackee.cz |
9585d9372a1182708931fef34d132955c0f3d1ee | 523f9eb997e038a3e057f603627e218ad96253e3 | /catena-cpp/catena/src/hash/blake2b.cpp | f8150fd41a7a9164dcbff8cad65c4b14fb5b9c52 | [] | no_license | medsec/catena-cpp | e9c3a49b3332f99ab9a2bc305d66b89121273bd8 | 6a099df57cdc5777c449eef0a784bf10f427c052 | refs/heads/master | 2021-04-15T08:25:27.404122 | 2018-04-17T05:25:51 | 2018-04-17T05:25:51 | 126,825,009 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,925 | cpp | #include "hash/blake2b.h"
#include <iostream>
uint64_t Blake2b::Rotr64(const uint64_t val, const uint8_t bits) {
return (val >> bits) | (val << (64 - bits));
}
void Blake2b::AddToT(uint8_t val) {
uint64_t temp = t_[0];
t_[0] += val;
if (t_[0] < temp) {
++t_[1];
}
}
void Blake2b::Mix(uint64_t *a, uint6... | [
"nicolai@ruckel.de"
] | nicolai@ruckel.de |
8660282e3ad626fd6209457a742bbf92b8324c2c | aed5e6c332ad61c8d4fda1d945cfcbe76a9726d2 | /12_Stack_Queue/StackApp.cpp | 30d5ec351dff8aa3dcc6e8da7eadc2324addf9ae | [] | no_license | helloworldzlg/cpp_programming | 81229ae3e4f6b40e8498376bf411b38077b14b18 | 7f99f0fcef187feb8eb6e7fd1281e874855c1793 | refs/heads/master | 2022-01-12T00:48:31.681367 | 2019-06-13T23:11:40 | 2019-06-13T23:11:40 | 88,691,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp | #include <stack>
#include <iostream>
using namespace std;
int main()
{
stack<int> stackInts;
cout << "push elements into stackInts" << endl;
stackInts.push(25);
stackInts.push(10);
stackInts.push(-1);
stackInts.push(5);
cout << "stack contains " << stackInts.size() << " elements" << endl... | [
"helloworldzlg@163.com"
] | helloworldzlg@163.com |
df3a32c4a5c8a9bd1b123bc97052f9df68ccde54 | 0afa77b44703761fd2efd527f74811042a53cfd3 | /Model/camera.h | 7013fe4c3c600a251724466d7509acf7863825c4 | [] | no_license | lubudubek/qtRubicCube | 5ddeb37c9ef357160f092e7dcbf494aaccc2276d | 37544a1bd7b2101fdbb0f06619df53989de51c03 | refs/heads/master | 2022-11-12T17:04:22.352953 | 2020-06-29T20:54:14 | 2020-06-29T20:54:14 | 266,296,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | h | #ifndef CAMERA_H
#define CAMERA_H
#include <QMatrix4x4>
#include <QObject>
class Camera : public QObject
{
Q_OBJECT
public:
explicit Camera();
QMatrix4x4& getCurrentMatrix();
void setWindowSize(int w, int h);
void setAngleX(float angle);
void setAngleY(float angle);
void setFov(float angle)... | [
"piokleszcz@gmail.com"
] | piokleszcz@gmail.com |
1355301dd397c5eda95900bc18418beb0ad827e9 | f77b9ae9865c2126c31adcce25a50a06796b01f5 | /SPPMSG/Client/GUI.hpp | 136fb49cfdd1a40abdf0f0f236920833f486f1bc | [] | no_license | sppmacd/Noememop | 9cdfb63c3a0fa5e010d532e4473af850898b84d3 | 2f6e9d48dc59c9a71e85f4564a5e26e3263d4a6d | refs/heads/master | 2020-04-03T06:07:27.125877 | 2018-11-13T19:25:22 | 2018-11-13T19:25:22 | 155,066,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,536 | hpp | #pragma once
#include "config.hpp"
using namespace sf;
// Some function defs
typedef void (*LoadFunc)();
typedef void (*CloseFunc)();
typedef void (*MousePressFunc)(Event::MouseButtonEvent);
typedef void (*TextFunc)(Event::TextEvent);
typedef void (*MouseMoveFunc)(Event::MouseMoveEvent);
typedef void (*ButtonFunc)(i... | [
"sppmacd@gmail.com"
] | sppmacd@gmail.com |
5ee959be0f407939c4149fee9832a25376cbae4b | 578f1e3e65c67db94b0abc4967e690004247c3b2 | /harbour/summercamp/lazy_segment_tree/a.cpp | 02736cbae424d0ed80161b5ce24788998a22a3bf | [] | no_license | Farrius/cp | 028146987efaf43be8d8e653014b8fb2d616c288 | 341faf32de77e566a12bc68819b4e81ed94c0030 | refs/heads/master | 2023-08-16T15:01:20.678334 | 2021-09-26T17:17:14 | 2021-09-26T17:17:14 | 298,070,687 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,726 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
const int MX = 2e5 + 5;
vector<ll> seg(4 * MX), lazy(4 * MX), ar(MX);
int n, q;
void merge (int x) {
seg[x] = seg[2 * x] + seg[2 * x + 1];
}
void build (int x, int lx, int rx) {
if (lx == rx) {
seg[x] = ar[l... | [
"oscargarries@gmail.com"
] | oscargarries@gmail.com |
de5db9dc35beb34164118ca6d217822b3335a80e | 712cdb0ab6919f22b220410db86017a978e469c7 | /src/core/include/SBW/sbwSignatureVoid.h | 37bf399a0f75b72bd10f79dc884d2296170d52ad | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | copasi/copasi-dependencies | 9a341f866a245708325dad8e5ef3a43d5c22be65 | f0bc6ac925c0702723e4b37e1a6c2d69c5a11f88 | refs/heads/master | 2023-08-11T08:33:02.459529 | 2023-08-02T16:43:44 | 2023-08-02T16:43:44 | 8,553,488 | 6 | 7 | null | 2020-07-08T07:49:30 | 2013-03-04T10:40:24 | C++ | UTF-8 | C++ | false | false | 3,992 | h | /**
* @file sbwSignatureVoid.h
* @brief sbwSignatureVoid class definition - represents the void type in a signature parse structure
*
* This file is part of SBW. Please visit http://sbw.sf.org for more
* information about SBW, and the latest version of libSBW.
*
* This library is free software; you can redistri... | [
"fbergman@caltech.edu"
] | fbergman@caltech.edu |
51115467d507656780182385fbadb43985afa3ee | b1a90c0197a80fb0f227c81e5485ae8813e3204b | /src/EAVManager/examples/AutoConnectWithStaticIP/AutoConnectWithStaticIP.ino | 60e2e51e5e02c6c73810455e3dd664960fa7f350 | [
"MIT"
] | permissive | mikulas-sychra/thinx-lib-esp8266-arduinoc | 4bd876729e96c0432fa341616aabe399f426a763 | c2b99526700a61de009de61e7225111c9c989df4 | refs/heads/master | 2021-01-21T13:26:45.824058 | 2017-09-13T11:31:17 | 2017-09-13T11:31:17 | 102,126,670 | 0 | 1 | null | 2017-09-13T11:31:18 | 2017-09-01T15:25:27 | C++ | UTF-8 | C++ | false | false | 2,368 | ino | #include <FS.h> //this needs to be first, or it all crashes and burns...
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino
//needed for library
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <EAVManager.h> //https://github.com/tzapu/EAVManager
/********... | [
"suculent@me.com"
] | suculent@me.com |
b7f11286156b90f14234c2166c612d560568da34 | 8c61725c96e3afca116a4f14f1b47d313d1bda1b | /arnStringPacketVisualizer.h | fe49085ff896709824313a1d188e15cf716312ca | [] | no_license | fanakin/arnlib | cbe8a59dc3efbaba140de50ac28f32e84f3d736e | b9f91ddd26e4e6caa19bfd5ab7d6cf0b1c366409 | refs/heads/master | 2016-09-16T09:41:16.088143 | 2012-04-12T13:38:00 | 2012-04-12T13:38:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,426 | h | /***************************************************************************
arnStringPacketVisualizer.h - description
-------------------
begin : gio apr 21 2005
copyright : (C) 2005 by fabio giovagnini
email ... | [
"fabio.giovagnini@aurion-tech.com"
] | fabio.giovagnini@aurion-tech.com |
6f9941baf6e9f381be2b9b8f8c60049e17e17425 | 9ffa2ca03fe2242f260d6984a3d8feda481fce7a | /rbtree_test.cpp | 6bb2333e697bebde2d93520f571190bb48472c24 | [
"BSL-1.0"
] | permissive | jsherer/BoostIntrusiveAnnotatedTrees | 9b16d1cdbc837fd3df698ed7cb5b9e31f163a9f6 | 77e629017bc245cbe7884852cf72157db3e1d602 | refs/heads/master | 2021-01-16T00:31:43.450349 | 2013-02-03T20:06:10 | 2013-02-03T20:06:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,382 | cpp | #include "boost/intrusive/options.hpp"
#include "boost/intrusive/rbtree_algorithms.hpp"
#include "boost/intrusive/monoid_annotation.hpp"
#include "boost/intrusive/semigroup_annotation.hpp"
#include "boost/intrusive/detail/generic_annotation_list.hpp"
#include "boost/intrusive/detail/generic_annotated_node.hpp"
#include... | [
"jeff-github@caffeinated.me.uk"
] | jeff-github@caffeinated.me.uk |
fbff2d5abfad11dc777d5b69e9d6afcf9455de66 | 9550e1f8addb59a3529cd6694d5bac1a779ffc7b | /src/masternode.cpp | cc00ef3e0f1ed0d12d4d7e96b739924c120a8243 | [
"MIT"
] | permissive | CHIPO-Project/CHIPO | 306eb6fa01cf52bd6f584280d13d7f2f93ff42fe | 6ac87e34790ed7e03297e446ec60baba5bc807ad | refs/heads/master | 2020-09-02T17:21:30.316375 | 2020-07-15T01:36:04 | 2020-07-15T01:36:04 | 219,246,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,044 | cpp | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2019- The OmotenashiCoin Project developers
// Copyright (c) 2019 The CHIPO Foundation developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensourc... | [
"dev@chipo.icu"
] | dev@chipo.icu |
2c8d7b8f2662b32c3938085feac96504fc054fe6 | bbba82f21a77f8aaafdc2c20d8ea533b59d44129 | /BezierPatch.h | fa3c136fb82621f4b3728c1eb5c0d8cb28d27dc6 | [] | no_license | klwolfe365/camelride167 | 47ad4df366693e190d1bdbf60878171a9589f711 | 15c209511ca39206616aa46a508987e10ae66f8d | refs/heads/master | 2021-01-19T04:34:49.610379 | 2016-06-23T06:10:14 | 2016-06-23T06:10:14 | 36,532,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | h | //
// BezierPatch.h
// CSE167 Spring 2015 Starter Code
//
// Created by Tim on 6/8/15.
// Copyright (c) 2015 RexWest. All rights reserved.
//
#ifndef __CSE167_Spring_2015_Starter_Code__BezierPatch__
#define __CSE167_Spring_2015_Starter_Code__BezierPatch__
#include <stdio.h>
#include "BezierCurve.h"
class BezierP... | [
"karen@wolfenet.org"
] | karen@wolfenet.org |
5e9c4c7bc8e5e45e9b082724f3c27df996a06026 | 1e8a89c19aac2aa3c96e1e6769ed9fb7e618f20b | /components/autofill_assistant/browser/web/element_finder.cc | 2dc8a3e9f4da2f79625994402ba5c2d260b7d1a6 | [
"BSD-3-Clause"
] | permissive | rshatch/chromium | 51f2b062e74915a81ca1c569cc8c792551e98ffd | 11c73e5dceb07e653808ae91b2905106507b971c | refs/heads/master | 2023-01-01T08:37:12.375201 | 2020-11-04T16:42:37 | 2020-11-04T16:42:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,112 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill_assistant/browser/web/element_finder.h"
#include "components/autofill_assistant/browser/devtools/devtools_client.h"
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f89d1fb944875e61d8c34a49d22a82f7c295ccf4 | ecafd57a7d57b416c497ebc20cdeadd7aed259b1 | /src/test/rpc_tests.cpp | 146d7f45ff63bdbd9c0e204072d96f8356d181ae | [
"MIT"
] | permissive | Ztegritycoin/ZtegrityCoin | 0f86baa2e9240fc6916c325360b74bf7cf663afc | 1e46bae6afb014c3251bef448396cf00976aef20 | refs/heads/main | 2023-03-23T22:07:26.142513 | 2021-03-18T19:35:17 | 2021-03-18T19:35:17 | 349,194,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,040 | cpp | // Copyright (c) 2012-2013 The Bitcoin Core developers
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2018 The ztegritycoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcserver.h"
#inclu... | [
"ztegritycoin@gmail.com"
] | ztegritycoin@gmail.com |
9df21fbd698119a408c779438c15f99cfdd2f1ee | f956dbb991ceca512df6d8f6d20b202f069c5394 | /src/Lethe/Script/Ast/Types/AstVarDeclList.h | f58944afc90a67fb90be6838c31d6c2ba6652cd0 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | ntoskrnl7/lethe | bdda532a1273f683f6a101ee72e7e1863e4c7916 | c1a9bb45063f5148dc6cf681ce907dcbb468f5e6 | refs/heads/master | 2021-03-04T12:38:33.943621 | 2020-03-08T17:32:01 | 2020-03-08T17:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | h | #pragma once
#include "AstCustomType.h"
#include <Lethe/Script/TypeInfo/Attributes.h>
namespace lethe
{
class LETHE_API AstVarDeclList : public AstCustomType
{
LETHE_BUCKET_ALLOC(AstVarDeclList)
public:
LETHE_AST_NODE(AstVarDeclList)
typedef AstCustomType Super;
SharedPtr<Attributes> attributes;
AstVarDeclL... | [
"k_mar@seznam.cz"
] | k_mar@seznam.cz |
d051dc80563b3e6f1143b88fcdda9d03c4178c62 | e1522f45a46820f6ddbfcc699379821e7eb660af | /codeforces.com/Educational Codeforces Rounds/10-C.cpp | 9001fd7558ffb13f30debae6b7ca6326867af249 | [] | no_license | dmkz/competitive-programming | 1b8afa76eefbdfd9d5766d5347e99b1bfc50761b | 8d02a5db78301cf34f5fdffd3fdf399c062961cb | refs/heads/master | 2023-08-21T00:09:21.754596 | 2023-08-13T13:21:48 | 2023-08-13T13:21:48 | 130,999,150 | 21 | 12 | null | 2023-02-16T17:43:53 | 2018-04-25T11:54:48 | C++ | UTF-8 | C++ | false | false | 2,204 | cpp | /*
Problem: 652C. Foe Pairs
Solution: sorting, unique, two pointers, O(n log(n))
Author: Dmitry Kozyrev, https://github.com/dmkz , dmkozyrev@rambler.ru
*/
#include <stdio.h>
#include <vector>
#include <algorithm>
#include <cassert>
#include <iostream>
typedef long long ll;
int main() {
int ... | [
"dmkozyrev@rambler.ru"
] | dmkozyrev@rambler.ru |
e2deed7523383f877729319c4fce7a9ae4dae9f5 | d9c7ad9c91954c3669517945c84d370fbbb6ab1f | /src/FontCache.h | a66593ea587457487c48d241bf030a715913db3e | [] | no_license | RevReese/pioneer | a22f447146ec6ebadc4038ded580ae165b88b4fc | 3fa825c463a7bc08dd91b60a76e876a644bda988 | refs/heads/master | 2021-01-15T12:54:14.254562 | 2015-05-14T02:02:44 | 2015-05-14T02:02:44 | 33,364,600 | 1 | 0 | null | 2015-04-03T13:33:43 | 2015-04-03T13:33:43 | null | UTF-8 | C++ | false | false | 560 | h | // Copyright © 2008-2015 Pioneer Developers. See AUTHORS.txt for details
// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
#ifndef _FONTCACHE_H
#define _FONTCACHE_H
#include <map>
#include <string>
#include "RefCounted.h"
#include "text/TextureFont.h"
class FontCache {
public:
FontCache() {}
RefCo... | [
"rob@eatenbyagrue.org"
] | rob@eatenbyagrue.org |
281d74da8ce0df55d5092418d4e0a0acf74ac288 | d01dc4b327e33816ac2ce2af40945a721f7b5854 | /aws-cpp-sdk-ec2/include/aws/ec2/model/CapacityReservationOptionsRequest.h | a4b8af385183bf7ad3de9615137578adcc88833b | [
"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 | 8,336 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/ec2/model/FleetCapacityReservationUsageStrategy.h>
#include <utility>
namespace Aws
{
n... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
626dba5101780217ffe4f59dc665f198c6b55227 | 2a0e7529c7bcb70f9dc2fafdb0a0a9b8f2b4d789 | /LengthMap.h | 7d1e5b167949247a53d8e938b85dfc4f3936f168 | [] | no_license | rlee32/fi-2-opt | 3e7a7a9995c72bf7a7c1bdf00bf2b70f4ea57ff0 | 72d49ef3e160efb0b6a1ec215b07f9ffc2198476 | refs/heads/master | 2020-04-28T06:12:43.633597 | 2019-03-12T01:36:53 | 2019-03-12T01:36:53 | 175,048,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,300 | h | #pragma once
#include "primitives.h"
#include <algorithm> // min, max
#include <cmath> // sqrt
#include <unordered_map>
#include <vector>
class LengthMap
{
public:
LengthMap(const std::vector<primitives::point_id_t>& ordered_points
, const std::vector<primitives::space_t>& x
, const std::vector<p... | [
"rlee32@gatech.edu"
] | rlee32@gatech.edu |
9492a373e8aa7d29283eb3154f47debac86a4312 | 3bbad6f1f610ad8cc4edec00aae854f27e9abf73 | /cpp/状态压缩DP/蒙德里安的梦想/main.cpp | 47b54131f75e3036799038eae16a74dad8a0184c | [] | no_license | torresng/Algorithms_practice | c765e6e60c4e2a84486a1a88fb6d42503629876a | dae0eaa1dd0663fb428a0002dc5fa8528ff4204f | refs/heads/master | 2021-08-07T08:57:16.690536 | 2020-04-15T06:24:12 | 2020-04-15T06:24:12 | 152,349,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,094 | cpp | #include <algorithm>
#include <cstring>
#include <iostream>
using namespace std;
const int N = 12, M = 1 << N;
int n, m;
long long f[N][M];
bool st[M];
int main() {
int n, m;
while (cin >> n >> m, n || m) {
memset(f, 0, sizeof f);
for (int i = 0; i < 1 << n; i++) {
st[i] = true;... | [
"torresng2684cte@gmail.com"
] | torresng2684cte@gmail.com |
e072d2d4f5811c1eb97862bdbdd1e9e460836184 | 09907daaa32f79743ada4901d5de178932ab117d | /AGENT/LIB/QUEUE/TEST_APP_READ_WRITE/main.cpp | b5e6851f8c580acc4343016fdccf3ae93d2c88f9 | [] | no_license | Ntels-sup/SRC_ATOM_BE | 64c6923d78e1db66cdd87dbf0c6f89d8f35db71e | cd9dc2d92314c20f4840b395761ea610bf28188e | refs/heads/master | 2021-01-19T06:27:42.768707 | 2016-06-14T00:23:05 | 2016-06-14T00:23:05 | 59,884,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,300 | cpp | /*-
* BSD LICENSE
*
* Copyright(c) 2010-2012 Intel Corporation. All rights reserved.
* 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 sourc... | [
"kslee@ntels.com"
] | kslee@ntels.com |
4f6a6b97e30cf87078dd571bbaf5abba7ae9e4f0 | 729a6e2fcc8c25f53c448aa75cd2a03a6282631e | /300/case308/system/blockMeshDict | b5c1da3ff810ce6239591837b67e36f1f190a6e7 | [] | no_license | liqun1981/iceberg_drift | 1803d881d52662a68fa57119f152dabf9563dffc | d57de3ceceea1116141a64a733ae1cc76214a798 | refs/heads/master | 2020-03-16T13:56:30.241043 | 2016-08-31T18:23:56 | 2016-08-31T18:23:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"evankielley@gmail.com"
] | evankielley@gmail.com | |
20ed180b35c49875f083bc420ed4b82ce23a5b02 | 278ab8868495ebfdb934602c67ce070f0d39b1bd | /strategy/model/EntityProperties.cpp | af7e3c3ac1d4f52bbfd85d2e0c5e487d033a7ac7 | [] | no_license | VD42/AI20 | bd8f362635a47debff2da545a0a4616baf9a4806 | 05159ddaae476517f779a3d0d9cc0ea85f99197d | refs/heads/master | 2023-02-02T10:19:15.053245 | 2020-12-14T08:30:31 | 2020-12-14T08:30:31 | 317,112,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,298 | cpp | #include "EntityProperties.hpp"
EntityProperties::EntityProperties() { }
EntityProperties::EntityProperties(int size, int buildScore, int destroyScore, bool canMove, int populationProvide, int populationUse, int maxHealth, int initialCost, int sightRange, int resourcePerHealth, std::optional<BuildProperties> build, st... | [
"vladislav.kochemaev@gmail.com"
] | vladislav.kochemaev@gmail.com |
a274b9b1122a749570484b71bb9792f298170d68 | 23ecef688dc14b88087d3882e554a9fd1fc0f888 | /DirectX11/Tutorials/Tutorial01/Tutorial01.cpp | 8efdf6910e840f67612c734ad7d91122b23ed41b | [] | no_license | BaldrLector/DirectX-CMake-Tutorials | a0fa80745b4775483852ff395b2316ac89742418 | 11ec26dd256cff0a0cb9a427386df3f6261d05bd | refs/heads/master | 2023-07-18T12:37:08.227877 | 2021-09-07T15:03:51 | 2021-09-07T15:03:51 | 402,744,661 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,508 | cpp | //--------------------------------------------------------------------------------------
// File: Tutorial01.cpp
//
// This application demonstrates creating a Direct3D 11 device
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//---------------------------------------------------------------------------... | [
"ygm_baldr@163.com"
] | ygm_baldr@163.com |
6e7f51d49b804330843b7ec2333e2d45bf1eacd4 | 1d730392eebccbce8e03d40fa36568c46b9f4d2a | /ConsoleApplication77/Source.cpp | ff7a00eaa6cbeb6b56ea1c44a03aedfe9d379124 | [] | no_license | kirill240388/urok1-modul2-prakt | e5939c56684bbf8232512998542e24fedea1f8c0 | 6ab7750e36ac13c0c2ca9916e82c1588dfb5f759 | refs/heads/master | 2020-03-19T08:34:53.868885 | 2018-06-05T18:12:55 | 2018-06-05T18:12:55 | 136,216,858 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 7,315 | cpp | #include<stdlib.h>
#include<iostream>
#include<time.h>
using namespace std;
int main()
{
int task;
cin >> task;
srand(time(NULL));
if (task == 1)
{
/*1. Дано целое число А.Проверить истинность высказывания : «Число А является положительным»*/
int a;
cin >> a;
if (a >= 0)
{
cout << "a polozhitelnoe ch... | [
"Админ@LENOVO-PC"
] | Админ@LENOVO-PC |
d667d1be0d5c16597bf8f13170d4b99892e5ad4f | 551f0ba690c05a4c74c6558088d194992bfe2e85 | /DBServer/FishServer.cpp | 144ae37bbea436b905ada373575956d6789730cd | [] | no_license | zwong91/P_Fish | 80f0812d68e22443b0ce4d1ef4343484cf48bd94 | f8c0b0b42e20d7d650162d72ab0e8c15c7958d12 | refs/heads/master | 2020-06-22T09:27:44.456804 | 2018-12-11T06:47:14 | 2018-12-11T06:47:14 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 177,030 | cpp | #include "stdafx.h"
#include "FishServer.h"
#include "..\CommonFile\FishServerConfig.h"
const static char DBErrorSqlFileName[] = "LogSqlError.txt";
const static char DBWaringSqlFileName[] = "LogSqlWaring.txt";
FishServer g_FishServer;
struct Thread3Info
{
void* pPoint;
BYTE Index;
};
struct Thread4nfo
{
void* ... | [
"424247407@qq.com"
] | 424247407@qq.com |
f7be8d203fb98e5de9ea5a6efb7dcd4741c3d2e5 | e4b4d88efa39d2cb99b77a9bf47352941b376d05 | /cpp/huffman_encode.cpp | e5b3137995f8e96c984eb1f213c96f123f6f9542 | [] | no_license | austinglaser/huffman | 82017463f3f2ec5914cb457cf5d7fdd019b46467 | 32c53402622f4bfc1c26dfe5383d37558b4f8058 | refs/heads/master | 2021-01-01T06:27:18.683295 | 2013-03-13T20:02:59 | 2013-03-13T20:02:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,919 | cpp | #include "huffman.h"
#include <string>
#include <sstream>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <stdio.h>
#define ENC_MODE 0
#define DEC_MODE 1
#define MAGIC_NUMBER 0x65717270 // "AGHF"
using namespace std;
// Representing huffman trees as strings:
// supernode_freq(lchild_freq(llchild... | [
"austin.glaser@gmail.com"
] | austin.glaser@gmail.com |
91ce58126dc9e7584af45b4972197c5b4e8d8e4e | 1ce00f8faa4076f30961b252e8338ef908f369a3 | /2015/201512-5.cpp | 7f3dbd080f26565326cc3dead996c5241e97799a | [] | no_license | little-czy/csp | d96ba751ffaca7e86455d4149d8b9d37fa93a354 | 23d7b778e12f4dbfe11f6809d2d887b0cb38bf32 | refs/heads/master | 2022-12-11T17:11:35.304654 | 2020-09-12T14:27:08 | 2020-09-12T14:27:08 | 288,955,421 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,200 | cpp | #include <iostream>
#include <cstdio>
#define MAXM 1005
using namespace std;
int m, n;
long long K;
bool a[MAXM][MAXM];
bool b[MAXM];
bool tmp_a[MAXM][MAXM];
bool tmp_x[MAXM][MAXM];
bool tmp_y[MAXM][MAXM];
bool ans[MAXM][MAXM];
bool res[MAXM];
void mul(bool x[MAXM][MAXM], bool y[MAXM][MAXM])
{
for (int i = 0; i ... | [
"czy000123@qq.com"
] | czy000123@qq.com |
4d16e59876ae59fcc809737c31287778a5a2f67c | 9030708d919add005d222699c80a99206d671c06 | /backend/BackendManager.cpp | 0bacdcdd42e885d13b8bba939e2fb939b1e4e0a9 | [
"Apache-2.0",
"LicenseRef-scancode-dco-1.1"
] | permissive | bvsg363/drm_hwcomposer_master | 69b8d2e2f171683ca265d9906d10d5379c7ecccc | 5376072a7d4e8bf1d7ab466d0c13c318812ade90 | refs/heads/master | 2023-03-18T12:06:37.803014 | 2021-03-17T11:08:28 | 2021-03-17T11:08:28 | 348,676,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,468 | cpp | /*
* Copyright (C) 2020 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 app... | [
"bvsg363@gmail.com"
] | bvsg363@gmail.com |
30153306bc99a9b8adfaf7815ffca957dae1017b | 500362b86cfe4c692dd8a57a0caabe67e0efba79 | /hibike/Arduino-Makefile/examples/WebServer/WebServer.ino | fb2a1b9deda5817c60de68216f8132a4e1ee8d61 | [
"LGPL-2.1-only",
"LGPL-2.1-or-later",
"Apache-2.0"
] | permissive | pioneers/PieCentral | e82c3c3f0ad37de2895dd15caafdad2965d9ff41 | d6437d4ddfa386f44e6f70391c5211c723dde56d | refs/heads/master | 2020-09-20T19:42:19.126190 | 2020-06-05T06:47:14 | 2020-06-05T06:47:14 | 67,092,938 | 18 | 9 | Apache-2.0 | 2020-06-16T01:49:33 | 2016-09-01T03:00:13 | Python | UTF-8 | C++ | false | false | 2,308 | ino | /*
Web Server
A simple web server that shows the value of the analog input pins.
using an Arduino Wiznet Ethernet shield.
Circuit:
* Ethernet shield attached to pins 10, 11, 12, 13
* Analog inputs attached to pins A0 through A5 (optional)
created 18 Dec 2009
by David A. Mellis
modified 4 Sep 2010
by T... | [
"vincentdonato@pioneers.berkeley.edu"
] | vincentdonato@pioneers.berkeley.edu |
6b2c5c5eedb5c9982081c77933daef94da3dc25f | f0b84e3432c02d67b93efeafbbf1a801fa21ded3 | /ziy/Classes/new_ui/ActorTableView.h | 56771d68ab9b9b21bf4c571f2c23678ac075454f | [] | no_license | qwe00921/game-1 | d49a096f096b7de0a2da7764632b20ad929d4926 | 2c7bd14a75ee8cd65528309bca33033f170c813a | refs/heads/master | 2021-05-14T19:10:16.374869 | 2017-05-27T09:18:06 | 2017-05-27T09:18:06 | 116,101,350 | 1 | 0 | null | 2018-01-03T06:38:41 | 2018-01-03T06:38:41 | null | UTF-8 | C++ | false | false | 2,760 | h | #ifndef __TRGame_Actor_TableView__
#define __TRGame_Actor_TableView__
#include <stdio.h>
#include "cocos2d.h"
#include "cocos-ext.h"
#include "Common.h"
#include "main.h"
USING_NS_CC;
USING_NS_CC_EXT;
using namespace std;
class ActorTableView : public BTLayer,TableViewDataSource,TableViewDelegate
{
public:
static... | [
"tangchengyu@bantus.cn"
] | tangchengyu@bantus.cn |
f0596ec5762676fc27bc2a23989acdb0a408b507 | 77170cbcd2c87952763f770d50abd2d8b671f9d2 | /aws-cpp-sdk-ec2/source/model/NatGatewayAddress.cpp | 59d6cbc58d78315aba4f9652f00d4d2eadbbb5b4 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | bittorrent/aws-sdk-cpp | 795f1cdffb92f6fccb4396d8f885f7bf99829ce7 | 3f84fee22a0f4d5926aadf8d3303ea15a76421fd | refs/heads/master | 2020-12-03T00:41:12.194688 | 2016-03-04T01:41:51 | 2016-03-04T01:41:51 | 53,150,048 | 1 | 1 | null | 2016-03-04T16:43:12 | 2016-03-04T16:43:12 | null | UTF-8 | C++ | false | false | 3,868 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
13917c04fbb1f4654f68e1218b9d855f49846e42 | e90e4398cb2236991061a212ffbf39736f4ecf18 | /source/methods/bem/include/boundaryelementmethod.h | c186c61b4d061ac02fc654b06e6e747aacd16338 | [] | no_license | KirillKomarov1993/OpenTuCo | f385881591665db7cb0642050779fa07058380d9 | e6b8fe78fd3afed935537a45ee3fda7a272789f9 | refs/heads/main | 2022-12-19T20:10:54.269830 | 2020-10-15T21:19:45 | 2020-10-15T21:19:45 | 304,383,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | h | #ifndef BOUNDARYELEMENTMETHOD_H
#define BOUNDARYELEMENTMETHOD_H
#include "tunablecrystal.h"
#include "integralequation.h"
#include "homogemiusfield.h"
#include "tucomethod.h"
namespace tuco {
class BoundaryElementMethod : public TuCoMethod
{
protected:
int p, q;
unsigned short coef1, coef2;
int sizeMatri... | [
"kirillkomarov1993@gmail.com"
] | kirillkomarov1993@gmail.com |
90a87a0349535e796393df46faf743b209c8ccaf | 8afb5afd38548c631f6f9536846039ef6cb297b9 | /_REPO/MICROSOFT/cocos2d-x/cocos/2d/CCLabelBMFont.cpp | 7ca74955d5aae78dc69216cba8175807b9ba6d65 | [
"MIT"
] | permissive | bgoonz/UsefulResourceRepo2.0 | d87588ffd668bb498f7787b896cc7b20d83ce0ad | 2cb4b45dd14a230aa0e800042e893f8dfb23beda | refs/heads/master | 2023-03-17T01:22:05.254751 | 2022-08-11T03:18:22 | 2022-08-11T03:18:22 | 382,628,698 | 10 | 12 | MIT | 2022-10-10T14:13:54 | 2021-07-03T13:58:52 | null | UTF-8 | C++ | false | false | 6,696 | cpp | /****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2011 Zynga Inc.
Copyright (c) 2013-2017 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any... | [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
be0b939d6f84033bacf8344cf01873a05e0f596f | f53267d2223a023e1c643a648dd9bed4f1e58c53 | /rtf65002/trunk/software/asm/globals.cpp | c61378f3f04649c5cdd57a6c730acbee3673576d | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | robfinch/Cores | 9eec2c88ba7c2495ed5c1bdde9ff1fd82436a6cd | 0015669674bafdc4eff56e816cf714c975536fc3 | refs/heads/master | 2023-07-06T21:07:31.639981 | 2023-06-28T23:05:20 | 2023-06-28T23:05:20 | 13,174,959 | 58 | 27 | null | 2017-08-12T12:03:51 | 2013-09-28T15:03:00 | C++ | UTF-8 | C++ | false | false | 801 | cpp | #include <stdio.h>
#include "sym.h"
#include "Assembler.h"
/* ===============================================================
(C) 2006 Robert Finch
All rights reserved.
rob@birdcomputer.ca
=============================================================== */
int lineno; // current assembler line
int pass; ... | [
"robfinch@sympatico.ca"
] | robfinch@sympatico.ca |
761d7263dd5a25e16e97a910b86ae182b25ad285 | 0757032a90e634df8fecbf4687cbf30eb60b5092 | /src/libtfhe/lwesamples.cpp | e2f7dcf7bc5bcf6e365f54408caa10386c77fa3b | [
"MIT",
"GPL-1.0-or-later",
"Apache-2.0"
] | permissive | A-Pisani/MK-TFHE | b28ab4847177d9b5a39fe317dfd2bbd536429fc9 | 76d7e658af4bc2343210d4549d07d2743d56a313 | refs/heads/master | 2023-07-15T15:49:04.024892 | 2021-08-29T09:32:47 | 2021-08-29T09:32:47 | 372,584,100 | 1 | 0 | Apache-2.0 | 2021-08-29T15:41:37 | 2021-05-31T17:34:39 | C++ | UTF-8 | C++ | false | false | 229 | cpp | #include "lwesamples.h"
#include "lweparams.h"
LweSample::LweSample(const LweParams* params)
{
this->a = new Torus32[params->n];
this->b = 0;
this->current_variance = 0.;
}
LweSample::~LweSample() {
delete[] a;
}
| [
"ilaria.chillotti@uvsq.fr"
] | ilaria.chillotti@uvsq.fr |
070ba047dc81101fb39320453e813a9c7d380c1c | ea73bdfaa3a6bb28ca788c6f5a6dd9255be453ce | /example/LLVM_CFA/llvm/2/CatPass.cpp | fc912bc5b1673d6c203028afb8d95c16e677d56e | [] | no_license | luckyharryji/Constant-propagation-LLVM | 53ceb534b42ae30356fc10d67171ae6c2be8a94f | 7881fc28e17d55416b7d7a41e54a3889b40b0347 | refs/heads/master | 2021-05-01T09:23:56.704362 | 2016-12-05T00:10:06 | 2016-12-05T00:10:06 | 71,030,259 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,492 | cpp | #include "llvm/Pass.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/Transforms/IPO/PassManagerBuilder.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/I... | [
"xiangyu.ji@outlook.com"
] | xiangyu.ji@outlook.com |
ce19fc5d7c5646719687d746b52ccdb584d97524 | 36511dec9f02e4c42e392c2beb59280e656c6e24 | /018_4Sum.cpp | 1de4ec8f5e73920272975952ad3ef5d80c97bbe2 | [] | no_license | wenmingxing1/leetcode_for_github | e91c192b280c204c2569fda664ec586a274ba2c3 | e5b5178743ab5aa7a0552ad0b1de660b373c6014 | refs/heads/master | 2018-09-18T16:00:28.586018 | 2018-07-28T09:21:55 | 2018-07-28T09:21:55 | 104,232,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,627 | cpp | #include<iostream>
#include<vector>
#include<set>
#include<algorithm>
using namespace std;
class Solution {
public:
vector<vector<int>> fourSum(vector<int>& nums, int target) {
int length = nums.size();
if (length < 4) return vector<vector<int>>();
set<vector<int>> res;
sort(nums.b... | [
"1793701192@qq.com"
] | 1793701192@qq.com |
00605f3f54f86aa88c698e77d650978aa20c064f | 9b153b86f575a2c9c00a0c861c700aa4dfbbeab3 | /src/273.integer_to_english_words/code.cpp | 0331e3b8950c9e35a77e08b20f614220d8f05514 | [
"MIT"
] | permissive | cloudzfy/leetcode | f847bd96ecfd90caebe7c8eb9840126ae6956e9d | 9d32090429ef297e1f62877382bff582d247266a | refs/heads/master | 2020-04-06T03:33:53.283222 | 2016-09-27T05:20:50 | 2016-09-27T05:20:50 | 19,370,689 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,607 | cpp | class Solution {
private:
string word1[11] = {"Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten"};
string word2[9] = {"Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen"};
string word3[8] = {"Twenty", "Thirty", "Forty", "Fi... | [
"cloudzfy@users.noreply.github.com"
] | cloudzfy@users.noreply.github.com |
8a4578ce68b637833991333905ab08715c6111c0 | 73cfd700522885a3fec41127e1f87e1b78acd4d3 | /_Include/boost/graph/detail/edge.hpp | 38ece5fb111aa90bf4bec55c7a5ea771a4b095c8 | [] | no_license | pu2oqa/muServerDeps | 88e8e92fa2053960671f9f57f4c85e062c188319 | 92fcbe082556e11587887ab9d2abc93ec40c41e4 | refs/heads/master | 2023-03-15T12:37:13.995934 | 2019-02-04T10:07:14 | 2019-02-04T10:07:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,968 | hpp | ////////////////////////////////////////////////////////////////////////////////
// edge.hpp
//
//=======================================================================
// Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
// Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek
//
// Distributed unde... | [
"langley.joshua@gmail.com"
] | langley.joshua@gmail.com |
45180f3799cff6bbbf402444a793b66de4d98eb5 | fe4bcdb62fd61a27e93324de636faf2f8a51bb0a | /test_suite/src/json_filter_tests.cpp | 5e4a299253e5dd2e92b75792b3ee64f644159488 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | phillipf/jsoncons | 47926a20b7b160281ca58e30aa818aaeb7656349 | cae3c8bb6a5d2a09b067203ebf2ee025555031f4 | refs/heads/master | 2021-01-22T19:49:50.533289 | 2017-03-09T13:55:33 | 2017-03-09T13:55:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,719 | cpp | // Copyright 2013 Daniel Parker
// Distributed under Boost license
#ifdef __linux__
#define BOOST_TEST_DYN_LINK
#endif
#include <boost/test/unit_test.hpp>
#include <sstream>
#include <vector>
#include <utility>
#include <ctime>
#include <new>
#include <jsoncons/json_serializer.hpp>
#include <jsoncons/json_filter.hpp>... | [
"danielaparker@yahoo.com"
] | danielaparker@yahoo.com |
34ba23219650f9cff7b047db3845efe4015b84ae | 779ec9421f3a9a38688926e9e7f8b777d76d3036 | /GfiRatServer/SpeakerDlg.cpp | e869e0e9be8cb5fd1767d878f196c81f8e5d4437 | [
"MIT"
] | permissive | Obsidian200/GfiRatServer | 9d4297615650e702a391305da9d4e5f9d2e37fb0 | 01ad644acea598cb4083ab091e6e1e54e4de6882 | refs/heads/main | 2023-06-10T00:01:01.985794 | 2021-05-25T14:44:29 | 2021-05-25T14:44:29 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,424 | cpp | // AudioDlg.cpp : 实现文件
//
#include "pch.h"
#include "GfiRatServer.h"
#include "SpeakerDlg.h"
#include "afxdialogex.h"
// CSpeakerDlg 对话框
IMPLEMENT_DYNAMIC(CSpeakerDlg, CDialog)
CSpeakerDlg::CSpeakerDlg(CWnd* pParent, CIOCPServer* IOCPServer, ClientContext* ContextObject)
: CDialog(CSpeakerDlg::IDD, pParent)
, m_... | [
"34831834+iamasbcx@users.noreply.github.com"
] | 34831834+iamasbcx@users.noreply.github.com |
b077e21e7045d0da8b226c8a766d07d4b92653be | 3e7ae0d825853090372e5505f103d8f3f39dce6d | /AutMarine v4.2.0/AutLib/HydroDynamics/CFD/Connectivities/FvConnectivities_Triple.hxx | b827f937b18c1a56f81af4a1f38fea5e467eec37 | [] | no_license | amir5200fx/AutMarine-v4.2.0 | bba1fe1aa1a14605c22a389c1bd3b48d943dc228 | 6beedbac1a3102cd1f212381a9800deec79cb31a | refs/heads/master | 2020-11-27T05:04:27.397790 | 2019-12-20T17:59:03 | 2019-12-20T17:59:03 | 227,961,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | hxx | #pragma once
#ifndef _FvConnectivities_Triple_Header
#define _FvConnectivities_Triple_Header
#include <FvConnectivities.hxx>
namespace AutLib
{
namespace FvLib
{
class FvConnectivities_Triple : public FvConnectivities
{
private:
Label theV0_;
Label theV1_;
Label theV2_;
public:
FvConnectivi... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
9f393ab99be9897ecd8cc586e8c9840a38ddcb80 | 49b65f69aa4d5c8b8efb3f66c175fce3607de061 | /NtupleUtils/src/readJSONFile.cc | f914f862c31ee2698d1c356aa77e6700d11150e1 | [] | no_license | Bicocca/PhysicsTools | 3bbf84ef9fa19483a691d7e6b152201034959486 | 3c9e020083bbfdace3d140802c2f779e011f04d2 | refs/heads/master | 2021-01-25T03:54:57.306951 | 2014-01-27T14:10:15 | 2014-01-27T14:10:15 | 16,279,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,597 | cc | #include "PhysicsTools/NtupleUtils/interface/readJSONFile.h"
std::map<int, std::vector<std::pair<int, int> > >
readJSONFile(const std::string& inFileName)
{
std::ifstream inFile(inFileName.c_str(), std::ios::in);
std::string line;
while(!inFile.eof())
{
std::string buffer;
inFile >> buffer;
... | [
"arabella.martelli@cern.ch"
] | arabella.martelli@cern.ch |
18187dfe1770831821a7033c1218776568202c6d | 0d2467df77cbbae9789f0b38170b169b7b634b2a | /src/neuralnets/MaxPoolingLayer.hxx | e2986654ae317329c4ef5f2de1b29a6c51566a5a | [] | no_license | IshwarKulkarni/NeuralNetworks | 4d1eb0922695de388a5734049be0255620dffbed | 9670497e9d90de52ac6a7dae35da176c56609cf4 | refs/heads/master | 2020-04-16T11:24:10.784228 | 2017-09-11T19:03:22 | 2017-09-11T19:03:22 | 59,400,520 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,871 | hxx | /*
Copyright (c) Ishwar R. Kulkarni
All rights reserved.
This file is part of NeuralNetwork Project by
Ishwar Kulkarni , see https://github.com/IshwarKulkarni/NeuralNetworks
If you so desire, you can copy, redistribute and/or modify this source
along with rest of the project. However any copy/redistribution,
incl... | [
"ishwarvm@localhost.localdomain"
] | ishwarvm@localhost.localdomain |
29d6e127e03447de3560ca472e90a0e532aab9aa | 6bd42a00296bd1f710e52ae890a9abe2e2917d44 | /TNY/vsprintf.cpp | fd09de17bc5b5f40d9352b772a229dc836839a8f | [
"MIT"
] | permissive | AnotherJohnH/Platform | c460f516f3c606280b04aaf1a6c5f4bdc61f8404 | 93043bd6d530e46ed22bd0e9817c3f3cf67d7337 | refs/heads/master | 2023-08-13T23:19:09.768905 | 2023-08-02T15:43:31 | 2023-08-02T15:43:31 | 96,465,068 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,399 | cpp | /*------------------------------------------------------------------------------
// Copyright (c) 2013 John D. Haughton
//
// 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 restricti... | [
"anotherjohnh@gmail.com"
] | anotherjohnh@gmail.com |
767b55232d1b49c377eadc8c1d60676c35d334fe | c5870761c1cce0b72aa6654c612d04b187e5f988 | /demo_1/main.cpp | 1c9236ea8be280260e0e1c34284fe54e30d53092 | [] | no_license | caijw/qtDemo | 26344c96c3e4b32168112b1ed45a73762d86b967 | 9043fa497c3b5487bbe16a2ce0651c5c43d70f50 | refs/heads/master | 2022-10-08T23:38:07.102900 | 2020-05-31T16:20:36 | 2020-05-31T16:20:36 | 266,468,504 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | #include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
auto url = QUrl(QStringLiteral("https://www.youtube.com/"));
MainWindow w(url);
w.show();
return a.exec();
}
| [
"kingweicai@qq.com"
] | kingweicai@qq.com |
dca575e4b1d3212efa8982df2a7b6f8ccf4edfbb | ad9f0d468841a4c1607832b47657e2cefc9fdfcc | /src/CVMIConfigPage.cpp | 5bb4564e5e448e1bfb78193bb920bab1d691f337 | [] | no_license | artemharutyunyan/cernvm-installer | 296cbce3135dcaf943c97dbb14ddb6a32673f053 | ad401e60ece3eed51ef4ba4dabb12265b463b0c3 | refs/heads/master | 2020-05-18T07:44:56.096357 | 2012-07-18T14:30:25 | 2012-07-18T14:30:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,674 | cpp | /****************************************************************************
** Copyright (C) 2010 CERN
** All rights reserved.
** Contact: CernVM project (cernvm-talk@cern.ch)
** Author: Artem Harutyunyan (Artem.Harutyunyan@cern.ch)
****************************************************************************/
#incl... | [
"hartem@gmail.com"
] | hartem@gmail.com |
f09106d07976e42ee3bcd897214c1dba8b7c7f82 | 8b7820d05f983f60d82030cfe210cdaf3e3591f0 | /src/pipeline.cpp | 7da31533eb41e67e0aac3c554442ae33b45fbee5 | [] | no_license | neverlandjt/sheeppl | 381df1bb204f6ae2ad055f7a8ae130ef74f91763 | 8550253f09a7012976ba4b9ca62c879763a995cf | refs/heads/main | 2023-04-25T06:53:14.597746 | 2021-05-20T10:17:00 | 2021-05-20T10:17:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70 | cpp | //
// Created by ytymchenko on 09.05.2021.
//
#include "pipeline.h"
| [
"72450951+yulianna-inv-disco@users.noreply.github.com"
] | 72450951+yulianna-inv-disco@users.noreply.github.com |
05302d60f1d476cafc34e9016b597c7d39d9887c | cf45fad37c2f7cb19b62d04d02e27bc4f85a5ca6 | /Strings/minimumeditdistance.cpp | a0b830cc29e55637b0b5f7687fa30102c58f98fb | [] | no_license | Sid330s/useFullCodes-return-AC- | 0ad275377cc42d4601cf3d887e30c06cf4f37726 | 947742eb50a48e1bb024db988756ddb076d197f5 | refs/heads/master | 2023-07-11T16:03:00.471306 | 2021-08-11T07:13:01 | 2021-08-11T07:13:01 | 251,012,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | #include<bits/stdc++.h>
using namespace std;
long long int t;
string str1;
string str2;
int main(){
cin>>t;
while(t--){
cin>>str1;
cin>>str2;
}
return 0;
}
| [
"52232241+Sid330s@users.noreply.github.com"
] | 52232241+Sid330s@users.noreply.github.com |
fbc8af99f2deb5830b63ff0eac12899497409ef2 | 1f05b81ccaf9d44da8e6e31967f774e119e9e3dd | /DS/linked list/printNthNodeFromBack.cpp | 5e08fa541c722acff83f5789f0a194df8c7fe0f6 | [] | no_license | shivamg11000/DSA | 52920ff277113c6ab83751b3bb5f2bed3048ff25 | d67b29e4e625c16afa318d8f73fe5ad6a52c18e1 | refs/heads/master | 2020-08-12T01:12:03.451379 | 2019-11-12T01:42:12 | 2019-11-12T01:42:12 | 214,661,906 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,383 | cpp | #include <iostream>
using namespace std;
class Node{
public:
int value;
Node *next;
Node(int value){
this->value = value;
next = NULL;
}
};
void printList(Node *root){
while(root!=NULL){
cout<<root->value<<" ";
root = root->next;
}
... | [
"shivamg11000code@gmail.com"
] | shivamg11000code@gmail.com |
c14182a887a82c21ffb7d80ff9c5fa74872121cc | 691eb08121fd5412e8db111a95dee21a6f9759f0 | /calculate_fuzzy_hash.cc | 3266fb3ae70608c373b60bd281359b3f9caf407b | [] | no_license | pararaum/sidabaeus | 5c848309042d35a6509e97226bf58ee32bf4d7d5 | a2b53173245d69448bd40fa277dd7c7176ac0867 | refs/heads/master | 2020-04-05T05:40:49.979794 | 2019-04-26T19:03:00 | 2019-04-26T19:03:00 | 156,606,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,316 | cc | #include <algorithm>
#include <iostream>
#include <boost/format.hpp>
#include <pqxx/pqxx>
#include <set>
#include <vector>
#include <sstream>
#include <cstdlib>
#include <cmath>
#include <cstdio>
#include <bitset>
#include <stdexcept>
#include <tlsh.h>
#include <fuzzy.h>
#include <boost/lexical_cast.hpp>
#include "calc... | [
"pararaum@gmail.com"
] | pararaum@gmail.com |
e8602cf30ee345961eda30754eba3d3ccf487dc2 | c7f3db94cc3d69cd9a2ae24aa3c69cd767b28672 | /must_rma/src/modules/ResourceTracking/Comm/I_Comm.h | 264b4ebfd8dc886e9e3fcce6eba9cc7a882ce53e | [] | no_license | RWTH-HPC/must-rma-correctness22-supplemental | 10683ff20339098a45a35301dbee6b31d74efaec | 04cb9fe5f0dcb05ea67880209accf19c5e0dda25 | refs/heads/main | 2023-04-14T20:48:36.684589 | 2022-08-10T20:28:43 | 2022-11-18T03:33:05 | 523,105,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,856 | h | /* Part of the MUST Project, under BSD-3-Clause License
* See https://hpc.rwth-aachen.de/must/LICENSE for license information.
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @file I_Comm.h
* @see I_Comm.
*
* @date 23.06.2011
* @author Tobias Hilbrich, Joachim Protze, Mathias Korepkat
*/
#include "M... | [
"schwitanski@itc.rwth-aachen.de"
] | schwitanski@itc.rwth-aachen.de |
e67aa7d3d4e466166f9389b175f9736416c6f346 | 4d4822b29e666cea6b2d99d5b9d9c41916b455a9 | /Example/Pods/Headers/Private/GeoFeatures/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40_fwd.hpp | 9bdc1219329c200f845da2ccfd01decf399bf95c | [
"BSL-1.0",
"Apache-2.0"
] | permissive | eswiss/geofeatures | 7346210128358cca5001a04b0e380afc9d19663b | 1ffd5fdc49d859b829bdb8a9147ba6543d8d46c4 | refs/heads/master | 2020-04-05T19:45:33.653377 | 2016-01-28T20:11:44 | 2016-01-28T20:11:44 | 50,859,811 | 0 | 0 | null | 2016-02-01T18:12:28 | 2016-02-01T18:12:28 | null | UTF-8 | C++ | false | false | 118 | hpp | ../../../../../../../../../../../../GeoFeatures/boost/fusion/container/deque/detail/cpp03/preprocessed/deque40_fwd.hpp | [
"hatter24@gmail.com"
] | hatter24@gmail.com |
dd1996c94459b9936be7d380ea6afd16bd7c8805 | c2445b8329c7d6e912cc29ca838f41e4c6df6988 | /modules/boost_math/cover/scalar/ibeta.cpp | e7d88286eccdeb3913afbd6c67f90f8ce7a79171 | [
"BSL-1.0"
] | permissive | francescog/nt2 | b88548a8fb26f905e8b237148effe7a41d00fca8 | 1930097285539d3a3a758ec44061ba3a2f7281d9 | refs/heads/master | 2021-01-18T05:54:29.136634 | 2011-06-18T14:59:32 | 2011-06-18T14:59:32 | 1,914,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,518 | cpp | //////////////////////////////////////////////////////////////////////////////
/// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand
/// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI
///
/// Distributed under the Boost Software License, Version 1.0
/// ... | [
"jtlapreste@gmail.com"
] | jtlapreste@gmail.com |
15708640ee499924fad0ab3bcdda2e2c32c2019f | e4ea3a96905f912d6bbe23d89e953348f3ec2fab | /K_Means_Clustering.cpp | 9d66e4cb8e74de59bcc02f6de1b38d1d49264933 | [] | no_license | abubakr-shafique/K_Means_Clustering_CPP | 233d342b4f8c16970a288224957fd8ec86323a06 | 7b231fccf0a516bdecd3c65a1f14cf312fc6f49d | refs/heads/master | 2020-09-02T02:32:26.122334 | 2019-11-02T06:28:16 | 2019-11-02T06:28:16 | 219,113,494 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,657 | cpp | #include <stdio.h>
#include <iostream>
#include <opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
using namespace std;
using namespace cv;
Mat K_Means(Mat Input, int K);
int main() {
Mat Input_Image = imread("Test_Image.png");
cout << "Height: " << Input_Image.rows << ",... | [
"54443371+abubakr-shafique@users.noreply.github.com"
] | 54443371+abubakr-shafique@users.noreply.github.com |
437c33d803993e640c951862d651b181b3d3ccc9 | bd2c7d8e4728d04115c772f43b878db562e76638 | /Program-2/pointer-to-class.cpp | 1a079cff39b631c4071f7b9d9ed16ffc56e55b59 | [] | no_license | billpwchan/COMP-2012-Programs | c86c92d681cf00d9abca431e3fb915dc7afffaab | 726fc3b0695a28187acc548033b452ad4def3f25 | refs/heads/main | 2023-02-05T02:54:20.869804 | 2020-12-27T20:44:02 | 2020-12-27T20:44:02 | 324,845,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46 | cpp | class Cell
{
int info;
Cell* next;
};
| [
"billpwchan@hotmail.com"
] | billpwchan@hotmail.com |
86e33e2b508dbb2c8579882185ab7eb26aeef121 | d04d81a8581d1cb0dd2f212eac5c762e6293917f | /rapidxml/rapidxml.hpp | fb635bbde13cc9b3fb976dd70f1637f19bea1428 | [] | no_license | NickVoron/third_party | c385d4b2f3fb9d20830fbb5efef5ebb0387bfa0e | 496816bcc3da90ae37c92c36f7bc7d2dbb33e290 | refs/heads/master | 2021-01-15T18:21:42.794943 | 2018-03-28T07:33:08 | 2018-03-28T07:33:08 | 99,780,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118,377 | hpp | #ifndef RAPIDXML_HPP_INCLUDED
#define RAPIDXML_HPP_INCLUDED
// Copyright (C) 2006, 2009 Marcin Kalicinski
// Version 1.13
// Revision $DateTime: 2009/05/13 01:46:17 $
//! \file rapidxml.hpp This file contains rapidxml parser and DOM implementation
// If standard library is disabled, user must provide implementations ... | [
"voronetskiy.nikolay@gmail.com"
] | voronetskiy.nikolay@gmail.com |
9c75999fdaad739fb8720a352692ab34431ec888 | 487e149e94ac6c008e4a350536d81a8e73e5ea44 | /Arduino/libraries/PID/PID.cpp | 15c2eb74527c5144bcd26b11e7d5d61dd10a3f9b | [] | no_license | nicholasmoya/Boat-Drone | 0a79b4b672a10cb40d9f442ae2e9a769272638d4 | b88b8434698537c9c8d78b9a9a4c4b4c22bdbe85 | refs/heads/master | 2021-01-11T18:57:17.855801 | 2017-01-17T23:12:12 | 2017-01-17T23:12:12 | 79,280,974 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include "Arduino.h"
#include "PID.h"
void PID::PIDcalc(double measuredDistance, double *e1, double *e2,
double *e3, double *u1, double *u)
{
// update variables
*e3 = *e2;
*e2 = *e1;
*u1 = *u;
// do PID calculations
*e1 = idealDistance - measuredDistance;
*u = *u1 + k1*(*e1) + k2*(*e2) + k3*(*e... | [
"nicholas.a.moya@gmail.com"
] | nicholas.a.moya@gmail.com |
205ef616fb5ec946dfd72e130f5e139e14a3ca0b | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-ce/source/model/CostCategoryReference.cpp | 3e5a85b6184d81ab3d686a12c202f6bda60759b1 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 4,363 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ce/model/CostCategoryReference.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
name... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
908086cc3f35781a5c457666ccc38039f7fba9e5 | d80c9c6ba63eb1bfe5673c65811f4d64ce9f4782 | /IOTest/STLFileTest.cpp | 5709c4b06c71f0b6f6ab7d46bc1e653fd6cc8c24 | [
"Zlib",
"MIT"
] | permissive | PremiumGraphicsCodes/CGLib | 5d7c1a7d3e9e26b08e8df0adce4748785759e965 | c63839da9d4f87b34ca497a2147a916b8180041f | refs/heads/master | 2022-12-14T21:25:13.413152 | 2022-12-07T00:49:34 | 2022-12-07T00:49:34 | 49,645,980 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,267 | cpp | #include "gtest/gtest.h"
#include "../Math/Vector3d.h"
#include "../Core/PolygonMesh.h"
#include "../IO/STLFile.h"
using namespace Crystal::Math;
using namespace Crystal::IO;
using T = float;
namespace {
std::stringstream getSampleAscii() {
std::stringstream stream;
stream
<< "solid cube-asci... | [
"mabuchi@premiumgraphics.co.jp"
] | mabuchi@premiumgraphics.co.jp |
e2eea2f7fdf5ae1ffb94ff593a3d08595032e191 | 67c5f29c4314f266ae07647f20d7236f07d2e1d0 | /Engine/Code/Engine/Math/Noise.cpp | aa622a8eed216602041f02d85246057feeb2114c | [] | no_license | Sunken-City/Laundry-Squadron | f9ac93a015152f5a5527cb25b8c64a73bc626ca1 | d060211afe86907f5119bdf45fad56df5701f362 | refs/heads/master | 2021-06-01T05:04:32.448935 | 2016-03-01T03:12:51 | 2016-03-01T03:12:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,453 | cpp | #include "Engine/Math/Noise.hpp"
#include "Engine/Math/Vector2.hpp"
#include "Engine/Math/Vector2Int.hpp"
#include "Engine/Math/MathUtils.hpp"
#include <math.h>
//Built from work created by Prof. Brian "Squirrel" Eiserloh
//----------------------------------------------------------------------------------------------... | [
"acloudy@mail.smu.edu"
] | acloudy@mail.smu.edu |
b638fef5503a632bfcc2e7b53526990de4c630f9 | a3a90043a4586a31c5887a65a17c250cb969685c | /DSA-Sheet/Searching-and-Sorting/111-product-array-puzzle.cpp | 84a3b309297d10492b8565a76ef194c5f97e37b3 | [] | no_license | SuryankDixit/Problem-Solving | b400caf5a28ad378339ab823f017a3fe430fc301 | 931e33ad5ec6d4fec587cbffd968872f7785dc58 | refs/heads/master | 2023-08-12T05:11:00.241191 | 2021-10-13T08:11:12 | 2021-10-13T08:11:12 | 207,796,551 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 557 | cpp |
//User function template for C++
// nums: given vector
// return the Product vector P that hold product except self at each index
typedef long long int ll;
vector<long long int> productExceptSelf(vector<long long int>& nums, int n) {
//code here
if(n==1)
return {1};
vector<ll> v(n,1);
... | [
"suryankdixit@gmail.com"
] | suryankdixit@gmail.com |
b95a50f3ec61f0973606d5e41627491273b93471 | a1852f4db10db4aea80e840adca9269b0b1002ed | /CancerModel_1/CellFate.cpp | e0e4b7171aae1cfe1555940caa6535974fe8a1cf | [] | no_license | ding-yt/CancerModel_1 | edb525af4f73f28c6beba40eab568b7b08f24db6 | 6eeef553a5db0aa18203bf7cdf775c48c91d8338 | refs/heads/master | 2020-03-25T18:38:17.881469 | 2013-11-18T17:32:02 | 2013-11-18T17:32:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,449 | cpp | //
// CellFate.cpp
// CancerModel_1
//
// Created by Yuantong Ding on 11/8/13.
// Copyright (c) 2013 Yuantong Ding. All rights reserved.
//
#include "CellFate.h"
#include "Lattic.h"
#include "Cell.h"
#include <string>
#include <math.h>
#include <ctime>
//CellFate::CellFate (Cell::Cell c, Lattic::Lattic l)
//{
//... | [
"yd44@duke.edu"
] | yd44@duke.edu |
0bb5b183cad34f66b325389e6c8ee1e0ccf1fcc7 | 9a02d6a16c90293caf925ee38f7d992254024dda | /day01/ex06/main.cpp | 22952aeece35368f353b60d74b52f29bc3382865 | [] | no_license | blorin948/cpp | d6f998d0c76929b82d336ad8d4036c48fad08aa6 | 120ddc88d49e6527aa368793d1ff7c7bff425f17 | refs/heads/master | 2023-04-15T02:24:20.831068 | 2021-05-03T23:54:37 | 2021-05-03T23:54:37 | 328,274,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | cpp | #include "Weapon.hpp"
#include "HumanA.hpp"
#include "HumanB.hpp"
int main()
{
{
Weapon club("crude spiked club");
HumanA bob("bob", club);
bob.attack();
club.setType("some other type of club");
bob.attack();
}
{
Weapon club("crude spiked club");
HumanB jim("jim");
jim.setWeapon(club);
jim.attack(... | [
"benjaminlorin@yahoo.com"
] | benjaminlorin@yahoo.com |
8b0d01ddd19416a40519a6992b1f9f405d14e57d | e5c219a6647647a1326e7287233a1fa41efa48f1 | /ThePartingOfSarah/HealthDisplay.cpp | fe6afec8e1b2bc2de894a9cb5061cbdc358a605f | [
"MIT"
] | permissive | kriogenia/the-parting-of-sarah | 6c02aece39aa5861013bdca7f35e0f88728a1c8b | 91cdd70f4beb1530652021ebb3a5d81c6e981e1a | refs/heads/master | 2023-06-03T03:22:48.783343 | 2020-12-04T20:28:08 | 2020-12-04T20:28:08 | 304,705,001 | 0 | 0 | null | 2020-12-04T17:23:29 | 2020-10-16T18:13:05 | C++ | UTF-8 | C++ | false | false | 598 | cpp | #include "HealthDisplay.h"
HealthDisplay::HealthDisplay(Game* game)
{
baseHealth = new HealthBar("res/hud/health_empty.png", 10, 10, 3 * HEART_WIDTH, HEART_HEIGHT, game);
currentHealth = new HealthBar("res/hud/health_full.png", 10, 10, 3 * HEART_WIDTH, HEART_HEIGHT, game);
}
HealthDisplay::~HealthDisplay()
{
delet... | [
"uo265710@uniovi.es"
] | uo265710@uniovi.es |
d2890f9646d74848c419fbf01da4d55dcb337bfe | 846473d51eae33d967257c7c2d6e66961062a302 | /test_vector.cc | 51cbd3d5d2adb9eb526157446ea0d2ec0b8cedd0 | [] | no_license | eaglesky/careercup | d025fbd10d2197822706c265ec17889bc666ad14 | 779a501ef758a3f9f0fe4e41893e13a74df6616d | refs/heads/master | 2021-01-22T06:43:56.338579 | 2015-07-04T06:02:26 | 2015-07-04T06:02:26 | 7,771,108 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,392 | cc | #include <iostream>
#include <vector>
void print_vector(std::vector<int>& v)
{
std::cout << "(v.size= " << v.size() << ", v.capacity= " << v.capacity() << "): ";
for (std::vector<int>::iterator it = v.begin(); it != v.end(); it++)
{
std::cout << *it << ", ";
}
}
void print_reverse_vect... | [
"allenchin1990@gmail.com"
] | allenchin1990@gmail.com |
f204d9abb7a7347ec6841bb02c9d6b61304e8e6e | ed444c4a0ed1fe679da64b81ec6aa1ddf885a185 | /Foundation/UI/Display/CtrlFile.h | c590f86bfc692e9c4e18285974c0a1edcbf839f0 | [] | no_license | swaphack/CodeLib | 54e07db129d38be0fd55504ef917bbe522338aa6 | fff8ed54afc334e1ff5e3dd34ec5cfcf6ce7bdc9 | refs/heads/master | 2022-05-16T20:31:45.123321 | 2022-05-12T03:38:45 | 2022-05-12T03:38:45 | 58,099,874 | 1 | 0 | null | 2016-05-11T09:46:07 | 2016-05-05T02:57:24 | C++ | GB18030 | C++ | false | false | 1,683 | h | #pragma once
#include "system.h"
#include "render.h"
#include "Layout/macros.h"
#include "UI/CtrlWidget.h"
namespace ui
{
class Layout;
/**
* 界面显示
*/
class CtrlFile :
public CtrlWidget,
public render::WindowProtocol
{
public:
CtrlFile();
virtual ~CtrlFile();
public:
virtual bool init();
public:
... | [
"809406730@qq.com"
] | 809406730@qq.com |
131213841adcf6aa80737c857f3eed43aff268f2 | efeea74a4fa29d4ee6ffb9178018419eb1e593ad | /rocket_corgi_src/PlyModel.cpp | fa7ae7cd34abc80f4892e02780b8e5fe89fce10f | [
"MIT"
] | permissive | BalestraPatrick/RocketCorgi | eb8b12112464d59994a9b5d1ec25ee62eceb95ae | d28063dc1ab24cab32c4b519a763413e1f0cfdc7 | refs/heads/master | 2021-05-06T21:20:07.718061 | 2021-02-05T22:22:05 | 2021-02-05T22:22:05 | 112,585,025 | 1 | 0 | MIT | 2017-12-19T08:25:35 | 2017-11-30T08:22:59 | null | UTF-8 | C++ | false | false | 6,201 | cpp | #include "PlyModel.h"
#include "Base.h"
#include <math.h>
#include <fstream>
#include "tinyply.h"
PlyModel::PlyModel(const std::string &_path) {
// Read the file and create a std::istringstream suitable
// for the lib -- tinyply does not perform any file i/o.
std::ifstream ss(_path, std::ios::binary);
... | [
"fattolo170@gmail.com"
] | fattolo170@gmail.com |
9c1b06cd4fd9a895a9b445eb17689367ad3215aa | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/oldd/eulerVortex.twitch/eulerVortex.cyclic.twitch.moving/3.83/e | 7bdbc13883be961e8eff15b2c2eaaaf5e929be31 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,434 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
8bba2889ff1aca68ae7a5b8082917fadcec9c63f | 8c8ea797b0821400c3176add36dd59f866b8ac3d | /atcoder/abc/c_ume/abc019.cpp | 6fce710cbb48d0001290076467da7962b70b0e0e | [] | no_license | fushime2/competitive | d3d6d8e095842a97d4cad9ca1246ee120d21789f | b2a0f5957d8ae758330f5450306b629006651ad5 | refs/heads/master | 2021-01-21T16:00:57.337828 | 2017-05-20T06:45:46 | 2017-05-20T06:45:46 | 78,257,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | cpp | #include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for(int i=(a);i<(int)(b);i++)
#define rep(i,n) FOR(i,0,n)
int main() {
set<int> S;
int n;
cin >> n;
rep(i,n){
int a;
scanf("%d", &a);
while(a % 2 == 0) a /= 2;
S.insert(a);
}
cout << S.size() << ... | [
"okmt52@gmail.com"
] | okmt52@gmail.com |
646e3208b810babcb27a4b7ef705c74a93048968 | 91423141e84cb7d4d0b43f41531680eca52ee66d | /String/28/StrStr.cpp | 999713a01a4243df588542c649f39a95d3e40d2c | [] | no_license | yangguodang0502/LeetCodeWithCpp | 6be78123bee274d6013d67be5e6423655756f632 | f92fc234b24203ce641d6c7a87ee465a78dbd371 | refs/heads/master | 2021-08-03T00:17:15.696791 | 2021-07-28T01:26:33 | 2021-07-28T01:26:33 | 223,518,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | #include <string>
class Solution {
public:
int strStr(string haystack, string needle) {
int lenB = needle.length();
if (lenB == 0)
return 0;
int lenA = haystack.length();
for (int i = 0; i < lenA; ++i)
{
int len = lenA - i;
if (len < lenB... | [
"yangguodang@foxmail.com"
] | yangguodang@foxmail.com |
84c67912985e2f533aaadb6452e7fa6b35be4288 | 860e0c5064c51fa1e54e2c8c969a5ad4450519cf | /leetcode/medium_implement_trie.cpp | 35633805f4b023b4843954e03f2a640172da51d7 | [] | no_license | wonghoifung/tips | 827eaa04c55f2b4e7debf5ea0cd4feb00d53e822 | 102784596dc410505c1036d876633b0e063345e7 | refs/heads/master | 2021-01-23T21:11:57.196397 | 2018-06-17T03:16:08 | 2018-06-17T03:16:08 | 46,920,349 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,050 | cpp | #include <string>
#include <vector>
#include <iostream>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <sstream>
#include <algorithm>
#include <bitset>
#include <numeric>
#include <math.h>
#include <assert.h>
#include <time.h>
... | [
"wonghoifung85@gmail.com"
] | wonghoifung85@gmail.com |
8c23650b4b20ab3209884d35632da57cb2a87fb1 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_PrimalItemConsumable_Egg_Tapejara_Fertilized_classes.hpp | f0bd4de52415196ad3e065cd042e76daedbd96c0 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemConsumable_Egg_Tapejara_Fertilized_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//----------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
85ca8a1c0439f3fcadd5253492a2c857eb465de3 | 1e4409c481c9967bac9b783a7d345a65e533ac93 | /Source/bullet.h | c145836e644ee492a261bab7ae127e93b32d3532 | [] | no_license | Bakroner/Resources | f3d2419a6f664b8dceb68f322a68e412ed85c9b2 | 14aa9f2e88984df74285995cdd422600a8f4fe85 | refs/heads/master | 2016-09-01T08:07:35.636735 | 2016-02-22T04:52:10 | 2016-02-22T04:52:10 | 49,602,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | h | #if defined(_WIN32) || (_WIN64)
#include "SDL.h"
#include "SDL_image.h"
#endif
#if defined(__APPLE__)
#include "SDL2/SDL.h"
#include "SDL2_image/SDL_image.h"
#endif
#if defined(__linux__)
#include "SDL2/SDL.h"
#include "SDL2/SDL_image.h"
#endif
#include <stdio.h>
#include <iostream>
using namespace std;
class Bulle... | [
"bakroner@mymail.tstc.edu"
] | bakroner@mymail.tstc.edu |
4020ee231a785d3321651b4d0d37580a12aef8ae | 786cea57a8b0c0a1f1766844e4e6fca6236972fa | /_Assignments 2020/Assignment2/Q1/Q1/stock.h | 8dd83a0175c4888fc2d8493afc02fd45bc30a15b | [] | no_license | Rhdr/C_UNISA | 6a55f83b2ddf5b8716d2681e45c829dfb8278d8b | 52f13c1d8dc48636484e10b0449160c767091402 | refs/heads/master | 2023-08-22T09:23:26.195354 | 2021-09-17T20:47:46 | 2021-09-17T20:47:46 | 407,675,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | h | #ifndef STOCK_H
#define STOCK_H
#include <QString>
class Stock
{
public:
Stock();
Stock(QString itemP, int quantityP);
virtual QString toString() = 0;
QString getItem() const;
void setItem(const QString &value);
int getQuantity() const;
void setQuantity(int value);
protected:
QString... | [
"rhdr0011@gmail.com"
] | rhdr0011@gmail.com |
848954046b2f0e92bb273cdaedbf9deac9f52146 | 0860d7d060fd564ba3caf1ab5dc498800083ae15 | /sketch_feb10a/sketch_feb10a.ino | 6fc572ad1b597daffd57c686062eeaf1dcbfdd10 | [] | no_license | jhabarunk/Arduino-Programs | a392626cbb93781309182bcc3b2629f81da93939 | 7a98254406ddd50e371d35256b29d1e6ab483be3 | refs/heads/master | 2021-01-22T20:02:46.582444 | 2017-03-21T06:48:34 | 2017-03-21T06:48:34 | 85,276,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | ino | int i=0;
void setup() {
// Open serial communications and wait for port to open:
Serial.begin(9600);
}
void loop() {
Serial.print("ON");
delay(500);
i++;
}
| [
"jhabarunk@gmail.com"
] | jhabarunk@gmail.com |
d8c5f792d05d831dfc4b61d426f091056b38ca91 | 29fdbc7ce1225ea0474db03c3f6f711073918eac | /Filterprog/Filterprog.cpp | 224b661281f9098f4c9aa2a17ca86ac7438d5416 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | xianyuMeng/Mesh-processing-library | ddf8378876cfbbaeaca5310df49a87f204564aea | f535502289b809446501a824e2ed3f87aa4ddbcc | refs/heads/master | 2021-01-20T06:51:35.107066 | 2017-05-01T16:12:12 | 2017-05-01T16:12:12 | 89,936,466 | 2 | 1 | null | 2017-05-01T15:33:26 | 2017-05-01T15:33:26 | null | UTF-8 | C++ | false | false | 55,331 | cpp | // -*- C++ -*- Copyright (c) Microsoft Corporation; see license.txt
#include <cctype> // isspace(), isdigit(), etc.
#include <cstdlib> // atoi()
#include <cstring> // strncmp() etc.
#include "Args.h"
#include "PMesh.h" // S_vsplit
#include "GMesh.h"
#include "A3dSt... | [
"hhoppe@gmail.com"
] | hhoppe@gmail.com |
1edd02a78b4fba9473d544750bad41400260cc58 | 46100f3b30a53ae67de024b5e75bf7cf02149cd6 | /cpp/d03/ex03/NinjaTrap.hpp | 8550565d0286cea58d2207ff6fcca9832f43b238 | [] | no_license | cjulliar/home | c23dcb37c1b49cf8f82e06a93566998c2b363d4f | 3674c66edf09002acfd4bd3a0a0e04665517d534 | refs/heads/master | 2021-01-21T11:19:24.358964 | 2019-07-12T00:31:40 | 2019-07-12T00:31:40 | 83,553,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | hpp | #ifndef NINJATRAP_H
# define NINJATRAP_H
#include "ClapTrap.hpp"
class NinjaTrap: public ClapTrap
{
public:
NinjaTrap(void);
NinjaTrap(std::string const enter);
NinjaTrap(NinjaTrap const &src);
~NinjaTrap(void);
NinjaTrap &operator=(NinjaTrap const &rhs);
void ninjaShoebox(std::string const &target);
... | [
"cjulliar@student.42.fr"
] | cjulliar@student.42.fr |
e0a8662f02386b57b6680c548628edf280497094 | 07172f247c8ef8e3009ea7d71b728eb3ca6687b2 | /moniQscheduling/processcontroller.cpp | aacc469dcd30d093e0ddb2f4052ebe89c2d106e9 | [] | no_license | markkun/moniQ | 8bfbd8255b0987b02ca487a69114ee90e52f7d2d | 46f7ff5deb832cf033d4562919f1104202868f01 | refs/heads/master | 2020-09-06T10:49:22.269859 | 2015-11-25T21:46:42 | 2015-11-25T21:46:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,111 | cpp | #include <QDebug>
#include <QTextStream>
#include "processcontroller.h"
ProcessController::ProcessController(QObject *parent) : QObject(parent)
{
}
bool ProcessController::startProcesses()
{
analyzingProcess = new QProcess();
connect(this, &ProcessController::endProcess, analyzingProcess, &QProcess::kill);
con... | [
"aisebouma@gmail.com"
] | aisebouma@gmail.com |
217ffaa716d70a18a03c142182c70d1e388ff6c1 | d3bbc58c1a8bacda4bd31a2aead5791b0460da99 | /native/cpp/sdbc/sdbc.cc | 25f3373e48a992036d5d848d5b149b53d5c946bc | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | logicmoo/hml-km-graniteloom | 9878f0aafdefa9c1943758c5f0e729200bd89f19 | 2191a2123b57e630cc709de6c1304cf83c3d16a7 | refs/heads/master | 2021-05-30T08:42:46.394531 | 2015-12-15T23:39:50 | 2015-12-15T23:39:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 120,203 | cc | // -*- Mode: C++ -*-
// sdbc.cc
/*
+---------------------------- BEGIN LICENSE BLOCK ---------------------------+
| |
| Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| ... | [
"spchamp@users.noreply.github.com"
] | spchamp@users.noreply.github.com |
cf91fa873b914fa3690a9ba138af665a01f9d7bf | 133fdd26615faa69f7438226082793f554a2a5c2 | /HPCSE I/set1/riemansum_parallel.cpp | 3c17c89fac685bacda187deb213d935b62551303 | [
"MIT"
] | permissive | evtodorov/cse-eth | 4296e879e9a0bf3520efabe40da2ae6f806455ba | 4c3bc843e39c01c5662fe87f992710c7f58d786a | refs/heads/main | 2023-01-22T06:04:19.011072 | 2020-11-29T13:18:14 | 2020-11-29T13:18:14 | 316,932,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,886 | cpp | // Mid-point approximation of the integral
// parallel implementation
// author: etodorov
#include <iostream> //cout
#include <cmath> // sqrt, log
#include <algorithm> // max
#include <thread> // thread
#include <functional> //ref
#include "timer.hpp"
using namespace std;
double riemannSum_parallel (double a,
... | [
"evgeni.todorov@tum.de"
] | evgeni.todorov@tum.de |
8f382c0c72c70907edf8269267ef6fe3323fa52e | e39b3fad5b4ee23f926509a7e5fc50e84d9ebdc8 | /AtCoder/ABC/141-150/148/b.cpp | e4baa4a655e3d3718659fad91ae209be0ab8d0b2 | [] | no_license | izumo27/competitive-programming | f755690399c5ad1c58d3db854a0fa21eb8e5f775 | e721fc5ede036ec5456da9a394648233b7bfd0b7 | refs/heads/master | 2021-06-03T05:59:58.460986 | 2021-05-08T14:39:58 | 2021-05-08T14:39:58 | 123,675,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define REP(i, n) for(int i=0; i<(n); ++i)
#define FOR(i, a, b) for(int i=(a); i<(b); ++i)
#define FORR(i, a, b) for... | [
"22386882+izumo27@users.noreply.github.com"
] | 22386882+izumo27@users.noreply.github.com |
c37feeb2f0d569775c053e05c327acca950c3ddb | a938abd70b178405d776821e295a19d40b5b17db | /src/clientversion.h | 504c0c625e13d3c9a25bbf7a05781431f28251ea | [
"MIT"
] | permissive | god-father-xuez/xuez-test-chain | f179ed6c652391be2da82e1f3b99dc2a98861600 | a468ac0ca17b65a16cbd5c24bfe22f158f134d89 | refs/heads/master | 2020-04-11T10:39:41.005771 | 2018-12-14T20:01:36 | 2018-12-14T20:01:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,114 | h | // Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CLIENTVERSION_H
#define BITCOIN_CLIENTVERSION_H
#if defined(HAVE_CONFIG_H)
#include "config/xuez-config.h"
#else
... | [
"dbraford@gmail.com"
] | dbraford@gmail.com |
0a44537d62f130dfe62e9500adcc8efaf473080c | cf009587d955eedf72f7f3f110726682141f9079 | /LED-control/firmware/libraries/WiShield_user_contrib/WiServer.cpp | e9acc7aacc51df249108e40586ab1663c7b0f922 | [
"MIT"
] | permissive | jeremywrnr/life-of-the-party | 432a2d6f07ac2ff17ee0d4c33dda7a603bda5a64 | 8a718d3291b4f5a6996684e6322216343e12e367 | refs/heads/main | 2023-04-07T06:58:08.197834 | 2023-03-16T07:32:54 | 2023-03-16T07:32:54 | 26,779,589 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,142 | cpp | /******************************************************************************
Filename: WiSever.cpp
Description: Main library code for the WiServer library
******************************************************************************
Copyright(c) 2009 Mark A. Patel All rights reserved.
This program is... | [
"jeremy.warner@rochester.edu"
] | jeremy.warner@rochester.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.