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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
281df526b66aad069700c271d10d71cbedc4c26f | c2713198bbe246e697ac2a92c367f1c3ed50a447 | /src/content/common/widget_messages.h | 97ac51c185413f4673e3daee62317a175e5d4562 | [
"BSD-3-Clause"
] | permissive | Igalia/chromium72 | 4f5fed7b0b2e820281128fb21d82cf18e8117970 | ed2a6d143dfd2fc5af50e0c2720c80e9717f465c | refs/heads/master | 2022-11-06T01:48:57.727914 | 2019-09-09T19:24:17 | 2019-09-09T22:26:51 | 210,885,925 | 0 | 0 | null | 2019-09-25T16:01:48 | 2019-09-25T16:01:47 | null | UTF-8 | C++ | false | false | 15,302 | h | // Copyright 2018 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 CONTENT_COMMON_WIDGET_MESSAGES_H_
#define CONTENT_COMMON_WIDGET_MESSAGES_H_
// IPC messages for controlling painting and input events.
#include ... | [
"lokeshkumar.goel@lge.com"
] | lokeshkumar.goel@lge.com |
f6f0f6b24fce23c67579e6708966a01cc75962bb | a40605d0c5040a6052fc0d3756ce9df6c8ba63f7 | /main.cpp | 2f120310fd670cf972fe74514fe1b3848d336ac9 | [] | no_license | zhonglisun/pointInPolygon | fd88786559853d276ac7d6d9ec6a6f44252ab2d4 | 50b287c5ca56aef40a63e634d624e7a3fd8e6fbd | refs/heads/main | 2023-05-02T01:10:30.698745 | 2021-05-25T07:42:09 | 2021-05-25T07:42:09 | 370,606,853 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | #include "widget.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Widget w;
w.show();
return a.exec();
}
| [
"noreply@github.com"
] | zhonglisun.noreply@github.com |
cff4074f42eb7dfb2d9bea0e41169c94c6bb40ee | 987a81599ff1cee5f4e3ba6e2b5dd03cce51b150 | /3-4-spanning-trees/B/solve.cpp | b8a98476d40c655235a1e46b2092b90d7f98ff2c | [] | no_license | free0u/discrete-labs | 19748f289f9a3f3f0dfdb806c8a1e19932cec887 | 0cf4fc94b032e518c6e29aef44db25b7b2da7176 | refs/heads/master | 2021-03-12T23:18:44.741783 | 2014-06-20T10:21:57 | 2014-06-20T10:21:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,411 | cpp | #include <cstdio>
#include <cstdlib>
#include <cmath>
#include <vector>
#include <string>
#include <iostream>
#include <algorithm>
using namespace std;
#define task_name "spantree2"
class DSU {
public:
DSU() {}
DSU(int n) {
par.resize(n);
for (int i = 0; i < n; ++i) {
par[i] = i;
}
}
int find(int v) {
... | [
"free0u@gmail.com"
] | free0u@gmail.com |
c2b771fb61ba79db8d37ebda6ae625ec82a4a81a | a1c6c3e5dbee5e8ca705700f0a626d7c9a040e1b | /Linked List/142 Linked List Cycle II/main.cpp | 6623402b2d94e02942fbbcc982e1a482f482ff67 | [] | no_license | Novak666/leetcode | 00370458c3931eb2f29158232b8a397b5386a852 | aac04bdfb38794e6b9007a7a72ae0d50b459601d | refs/heads/master | 2021-07-05T17:56:19.309548 | 2019-03-13T02:07:12 | 2019-03-13T02:07:12 | 145,187,953 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cpp | #include <iostream>
using namespace std;
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
ListNode *detectCycle(ListNode *head) {
ListNode *fast = head, *slow = head;
... | [
"huweiyu2008@163.com"
] | huweiyu2008@163.com |
e29a8f9c18a10c99811b3d842d8491821d05089e | ffe8b00c01428086ec5dc3f5269ef0125c04ee7f | /test/entt/entity/helper.cpp | d9311d6c310b5a235b745ee92beac5e4fecf13bb | [
"MIT",
"CC-BY-4.0",
"CC-BY-SA-4.0"
] | permissive | m-waka/entt | d689507b78f9571b6fd5ae1d5df63b6f4f29bf25 | 4913c9e6ecde672ed69182aa8a33c78f10c475ea | refs/heads/master | 2021-07-13T04:38:06.635153 | 2018-12-11T11:41:15 | 2018-12-11T11:41:15 | 131,844,781 | 0 | 0 | MIT | 2018-12-10T12:54:17 | 2018-05-02T12:04:19 | C++ | UTF-8 | C++ | false | false | 2,846 | cpp | #include <gtest/gtest.h>
#include <entt/core/hashed_string.hpp>
#include <entt/entity/helper.hpp>
#include <entt/entity/registry.hpp>
TEST(Helper, AsView) {
using entity_type = typename entt::registry<>::entity_type;
entt::registry<> registry;
const entt::registry<> cregistry;
([](entt::view<entity_t... | [
"michele.caini@gmail.com"
] | michele.caini@gmail.com |
0726774fe1052a35fb4ac106e885c9642c4b6eb8 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_log_1301.cpp | fb1ba33a5942c2fcf3374d364106d972e1b18da9 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | ap_log_cerror(APLOG_MARK, APLOG_INFO, rc, c,
"SSL library error %d in handshake "
"(server %s)", ssl_err,
ssl_util_vhostid(c->pool, c->base_server)); | [
"993273596@qq.com"
] | 993273596@qq.com |
5446516e03a5bcec2e179361abe5bfa7728e7d32 | 921e4370943fa7e20d464c2cd67ac6bbedbd9723 | /TopCoder/NumericalSequence.cc | 70da01b8caa2d51a24e49d94fb9430e733a73e07 | [] | no_license | kokay/CodingPractice | 7504cfbf049cbff5c8b4e56e36329f70b2774dda | da51603dad0617fb70e41ee6b5404d974d72d69f | refs/heads/master | 2021-01-18T20:46:36.082137 | 2016-10-25T06:44:10 | 2016-10-25T06:44:10 | 69,950,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | cc | #include <iostream>
#include <vector>
using namespace std;
class NumericalSequence {
public:
int makePalindrome(vector<int> sequence) {
int idx, operation = 0;
while ((idx = findIdxForChange(sequence)) != -1) {
if (idx < sequence.size() / 2)
sequence[idx + 1] += sequence[idx];
else
... | [
"a.cz0512@gmail.com"
] | a.cz0512@gmail.com |
a955548a5f4d7ae832cfdf47759947b21efc7a8e | b4145c423da8e47e2c3daf66cfbf51084ffe0edd | /MeshWork/table.h | 08af637999db478f634c35ddf4ef419d8464d268 | [] | no_license | yfguo91/remesh | 7cf21938b4d39ee9746e15d2f5867c0a7bf0f331 | 31d020402b9cb826b0ab570e9642d17e615152e1 | refs/heads/master | 2023-01-06T07:11:58.015907 | 2023-01-03T09:51:42 | 2023-01-03T09:51:42 | 277,212,308 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,162 | h | #ifndef FILE_TABLE
#define FILE_TABLE
/**************************************************************************/
/* File: table.hpp */
/* Date: 15. April. 2016 */
/*********************************************... | [
"1501111591@pku.edu.cn"
] | 1501111591@pku.edu.cn |
2817bead0e23b0367991e19fdef34335b1f586b5 | 075efbf57e719cb86c215ff88c68bacc74add673 | /v2_hashTable/hash.cpp | db6c24e40565a048d2f770ad945d457cf78237f9 | [
"MIT"
] | permissive | salmanfs815/English-Klingon-Translator | 4841bf548cdf776b2605d23c785438ed8a62fbdb | 6b6a4030759642f9a7e2c5a004636e915ff67fb7 | refs/heads/master | 2021-04-29T06:51:49.420523 | 2017-01-04T07:08:16 | 2017-01-04T07:08:16 | 72,976,563 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,797 | cpp | //Hash table class
//Author Raj Mahey
//Date of creation: June 30, 2016
#include "hash.h"
#include <iostream>
#include <string>
#include <cmath>
using namespace std;
//constructor for when size is sent
hashTable::hashTable(int sentSize):
MAX_SIZE(sentSize)
{
size = 0;
table = new hashList[MAX_S... | [
"noreply@github.com"
] | salmanfs815.noreply@github.com |
3d478c812af5813c03eeed99d3125afabc2bc4c3 | db00f801f91c0e5f0937b37981fcdf9bdf5463da | /src/merkleblock.h | ee67c76e22c01a33e56f788e754d264558bbef1a | [
"MIT"
] | permissive | kitkatty/bitcoinrandom | bb3aef4fb008c85d2b2eba78912f0212ed294518 | 290e9e5c48f12b89147cf59220449ce92e2ab892 | refs/heads/master | 2020-03-20T12:22:19.282998 | 2018-06-24T18:33:52 | 2018-06-24T18:33:52 | 137,427,908 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,874 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOINRANDOM_MERKLEBLOCK_H
#define BITCOINRANDOM_MERKLEBLOCK_H
#include... | [
"34012208+kitkatty@users.noreply.github.com"
] | 34012208+kitkatty@users.noreply.github.com |
c33bb66c8e4d1145070057dd69a6930a06a31c1e | 7be58743f4cb4b58d10122edf5fe9fb1a4a78f7d | /stack.cpp | 82de15216677e650652a9a8f90a2cd4d4ae8e15b | [] | no_license | 10kaa/lab5 | e7934d2013d891e14f8a67ac237ce175755d5e4e | f6a7b7e61649dc1b394913c8e817b26b2fd7b77e | refs/heads/main | 2023-04-03T05:32:03.639146 | 2021-04-11T20:52:58 | 2021-04-11T20:52:58 | 356,976,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,727 | cpp | #include "Stack.h"
Stack::Stack(int capacity)
{
this->capacity = capacity;
this->count = -1;
data = new int[capacity];
}
Stack::Stack(const Stack ©)
{
data = new int[copy.capacity];
capacity = copy.capacity;
count = copy.count;
for (int i = 0; i <= count; ++i)
data[i] = copy.data[i];
}
... | [
"noreply@github.com"
] | 10kaa.noreply@github.com |
bcc0e95b1b341b390ae9f3d63908bc0987506cf0 | 27633b77b013d04ba957d63dab06c5b561fee2a9 | /d4122/code/security_probe/flux_control/source/FCSleepAndDoThread.h | 84b204a1e07cf6acf8f5fb65c2fd46981bde166b | [] | no_license | Barrnett/web_replace_shell | 6828fb1de3a0ba914d8536e2c66c2901c9eb7bcf | 60eb3d0e086617827c1db9b6cd5ec428c52c99ad | refs/heads/master | 2020-06-18T23:22:54.008226 | 2019-07-12T02:00:44 | 2019-07-12T02:00:44 | 196,490,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | h | //////////////////////////////////////////////////////////////////////////
//FCSleepAndDoThread.h
#pragma once
#include "cpf/SleepAndDoThread.h"
class CFCSleepAndDoThread : public CSleepAndDoThread
{
public:
CFCSleepAndDoThread(int type,int reason);
virtual ~CFCSleepAndDoThread(void);
protected:
virtual int DoFu... | [
"877584721@qq.com"
] | 877584721@qq.com |
7a7ff239daccea2a22173213d5b2a9a1c3a662d5 | 77170cbcd2c87952763f770d50abd2d8b671f9d2 | /aws-cpp-sdk-iam/source/model/DeleteSigningCertificateRequest.cpp | d0dac44cce4de13dbfcf611fe7de15f1b2f1ce90 | [
"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 | 1,363 | 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 |
7d9b161788280d9daaff38e7f8232391ed581b20 | f2c3250674d484b91dd9385d7fac50017b034e4b | /bzoj/1076.cpp | c4daa3e59443f2516a63052b51baf4bcc2a40e2b | [] | no_license | DQSSSSS/Algorithm-Competition-Code | a01d4e8b3a9b9da02a400eb5bb4e063eaade33c9 | 574a0806fadf1433fcb4fac4489a237c58daab3c | refs/heads/master | 2023-01-06T06:17:12.295671 | 2020-11-11T22:44:41 | 2020-11-11T22:44:41 | 309,434,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<LL,LL> pii;
const int SZ = 40010;
const int INF = 1e9 + 10;
LL read()
{
LL n = 0;
char a = getchar();
bool flag = 0;
while(a < '0' || a > '9') { if(a == '-') flag = 1; a = getchar(); }
while(a >= '0' && a <= '9') n = ... | [
"1053181679@qq.com"
] | 1053181679@qq.com |
bfbab99dbbea8d4cbd4e1434bd4aa2269145282c | f9b7dcbd841a0b3dd0fcd2f0941d498346f88599 | /chrome/browser/previews/previews_lite_page_redirect_url_loader.h | 9aeb9723cb9c707e551a8811db432129ab383d5d | [
"BSD-3-Clause"
] | permissive | browser-auto/chromium | 58bace4173da259625cb3c4725f9d7ec6a4d2e03 | 36d524c252b60b059deaf7849fb6b082bee3018d | refs/heads/master | 2022-11-16T12:38:05.031058 | 2019-11-18T12:28:56 | 2019-11-18T12:28:56 | 222,449,220 | 1 | 0 | BSD-3-Clause | 2019-11-18T12:55:08 | 2019-11-18T12:55:07 | null | UTF-8 | C++ | false | false | 7,671 | h | // 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.
#ifndef CHROME_BROWSER_PREVIEWS_PREVIEWS_LITE_PAGE_REDIRECT_URL_LOADER_H_
#define CHROME_BROWSER_PREVIEWS_PREVIEWS_LITE_PAGE_REDIRECT_URL_LOADER_H_
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
9c59746fe70467526f55e963d0a3003cc4dfce42 | 1ea4c630f96531f184cf17a7873f44c4ff2530b7 | /src/common/ColladaLoader.hh | 6aaba719c9fd82c39474288acadccd41796d17cd | [
"Apache-2.0"
] | permissive | pinkedge/gazebo | 90e5a223b0b3e028e8a8050f116ae070d0be3e45 | fff0aa30b4b5748e43c2b0aa54ffcd366e9f042a | refs/heads/master | 2022-04-03T09:49:13.953676 | 2012-05-24T13:23:36 | 2012-05-24T13:23:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,377 | hh | /*
* Copyright 2011 Nate Koenig & Andrew Howard
*
* 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 l... | [
"natekoenig@gmail.com"
] | natekoenig@gmail.com |
b4b77d84221dc578c3036e7583cf7128f74a3173 | 33eaafc0b1b10e1ae97a67981fe740234bc5d592 | /tests/RandomSAT/z3-master/src/util/mpq_inf.h | b041b6d4fc9d0e955e57ff5e08438eba385aa533 | [
"MIT"
] | permissive | akinanop/mvl-solver | 6c21bec03422bb2366f146cb02e6bf916eea6dd0 | bfcc5b243e43bddcc34aba9c34e67d820fc708c8 | refs/heads/master | 2021-01-16T23:30:46.413902 | 2021-01-10T16:53:23 | 2021-01-10T16:53:23 | 48,694,935 | 6 | 2 | null | 2016-08-30T10:47:25 | 2015-12-28T13:55:32 | C++ | UTF-8 | C++ | false | false | 7,461 | h | /*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
mpq_inf.h
Abstract:
MPQ numbers with infinitesimals
Author:
Leonardo de Moura (leonardo) 2011-06-28
Revision History:
--*/
#ifndef MPQ_INF_H_
#define MPQ_INF_H_
#include"mpq.h"
#include"hash.h"
typedef std::pair<mpq, mpq> mpq_inf;
templat... | [
"nikaponens@gmail.com"
] | nikaponens@gmail.com |
a8c99b58a11c506282e67f01727091104e416d96 | bd641e0ac3c355217cdac5d319bb84fead9f0d61 | /source/KingKong.WidescreenFix/dllmain.cpp | b77d40682a4201edcfae2c4b80cf6250d129679c | [
"MIT"
] | permissive | Ivalaostia/WidescreenFixesPack | 672a02bfe954cc2b31511f7291e395b273c84dce | 4644660e99f097cc3f74e3e75129dbed1b3ffc29 | refs/heads/master | 2020-05-18T14:31:39.674845 | 2017-03-07T18:39:59 | 2017-03-07T18:39:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,728 | cpp | #include "stdafx.h"
#include <string>
HWND hWnd;
bool bDelay;
bool bSettingsApp;
uintptr_t pBarsPtr;
uintptr_t pBarsJmp;
struct Screen
{
int32_t Width;
int32_t Height;
float fWidth;
float fHeight;
float fFieldOfView;
float fAspectRatio;
float fCustomAspectRatioHor;
float fCustomAspectRatioVer;
int32_t Width4... | [
"thirteenag@gmail.com"
] | thirteenag@gmail.com |
f86ad96e153e3354b3f96657a91d9d5036bfe71a | f7f27a6d4c17ed5ab6a15d0d69e937bdabd79120 | /myclass.cxx | 18a532b609fa1940e9c1611b23c1e4714a183708 | [] | no_license | YannCobigo/Test | 857b5a25157bcf105bf55f3b784e846842a9657c | dfe17648627c577718b99c755216c61dd119f2bb | refs/heads/master | 2023-04-06T17:05:54.572519 | 2023-03-28T05:07:27 | 2023-03-28T05:07:27 | 6,343,957 | 0 | 0 | null | 2023-02-16T02:07:07 | 2012-10-22T23:24:31 | TeX | UTF-8 | C++ | false | false | 1,434 | cxx | // MIT License
//
// Copyright (c) [year] [author]
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, ... | [
"noreply@github.com"
] | YannCobigo.noreply@github.com |
dddfc98d3e8430a581b747935903969adc90ea05 | 4fb25547bf7e7723725c36557e5aafefe7daa9a4 | /src/Point2Point.cpp | 0c4292890835ad3ef9dc7a6ec8c87a94412ee741 | [] | no_license | FabioRob/ROS-projects | d86602bf2262ec72c1fb3abc469a14fafd918c1c | 5f923f4fb685a34c0a014c898db00b06a503a478 | refs/heads/master | 2020-12-27T17:18:59.509971 | 2020-02-03T15:04:58 | 2020-02-03T15:04:58 | 237,985,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,826 | cpp | // Ex. 2 : Point to point control
#include "ros/ros.h"
#include "turtlesim/Pose.h"
#include "geometry_msgs/Twist.h"
#include <cmath>
#include "ros_ex/position_error.h" // custom message with position error in respect to final target
/*
methods of position_error(except for header):
double Elin; // linear ... | [
"noreply@github.com"
] | FabioRob.noreply@github.com |
026dab0f53b5961d4ef9de779f070c1735f820c9 | 93cdf00e1dc718851d96fe9bbc51d972b72c26bd | /src/Protocol/DataPackageFactory.cpp | f2e230a5604c3f616285547997a5981dccc57c14 | [] | no_license | ptryfon/loxim-stats | 74e3310b46c7d61d01cc2ace9fee05a1287faf5b | d1048f3b348052186a962b9ab03596684024b7a9 | refs/heads/master | 2016-08-04T14:39:13.645024 | 2010-03-11T22:48:12 | 2010-03-11T22:48:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,568 | cpp | /* This file is generated by lw_protogen. DO NOT EDIT.*/
#include <memory>
#include <Protocol/Exceptions.h>
#include <Protocol/DataPackageFactory.h>
#include <Protocol/Enums/Enums.h>
#include <Protocol/Packages/Data/BagPackage.h>
#include <Protocol/Packages/Data/BindingPackage.h>
#include <Protocol/Packages/Data/BobPac... | [
"siersciu@5ea2a027-5d39-4ba5-8bbd-4152af6b93f1"
] | siersciu@5ea2a027-5d39-4ba5-8bbd-4152af6b93f1 |
1f329be30720a9eeea6f68ba3ac47ba7437e0b48 | fbd889ee87d8b078198660f1340010c182b10a3a | /atcoder/abc149_a.cpp | 906a9cf382222c32e037264a5c1adb56ef6a3cd9 | [] | no_license | en30/online-judge | 66760ad982d2437c0c15b7d5b1db87c8c86acee0 | 20443311f5a94dbfd468ef91c3383008e6f85a84 | refs/heads/master | 2022-04-09T18:41:50.015048 | 2020-04-01T17:04:25 | 2020-04-01T17:15:28 | 190,676,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | cpp | #include <bits/stdc++.h>
#include "../include/template"
string S, T;
int main() {
cin >> S >> T;
cout << T << S << endl;
return 0;
}
| [
"en30.git@gmail.com"
] | en30.git@gmail.com |
3a319b97a02183163424f7d80534190f85e711cf | 83377f3f59e04003563a003d23c4279d59f377e0 | /Project/MainWindow/cell.cpp | 636532cb4a794bd3fd240d8cf56f5b2375e4e32b | [] | no_license | lingdan2008/Qt | 5b934ba72032bea0b6521f27f64a17383501287b | eb45fac59b5b2c8ce78fc69e715739fd5d5a162e | refs/heads/master | 2022-01-06T12:05:38.966965 | 2018-09-08T07:22:49 | 2018-09-08T07:22:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,007 | cpp | #include "cell.h"
Cell::Cell() { setDirty(); }
QTableWidgetItem* Cell::clone() const { return new Cell(*this); }
void Cell::setData(int role, const QVariant& value) {
QTableWidgetItem::setData(role, value);
if (role == Qt::EditRole) {
this->setDirty();
}
}
QVariant Cell::data(int role) const {
if (role ... | [
"xiaohaijin@outlook.com"
] | xiaohaijin@outlook.com |
2100045869c25ae18d7713e58bb93adefdb6cdd8 | 51dfa01dc557abe17e4c2e3e5950a5212d82df1a | /PL0/PL0.h | da24a1b267dcf0a5e499be4eb0f5a60be8d5e7de | [] | no_license | asdlei99/PL0-Cpp | 000d0f2d3c746b796f7a2c6686cb92228acc54d1 | f41f0ecd28da09133901f822674679af013a90e8 | refs/heads/master | 2021-01-03T00:17:02.986996 | 2019-12-26T03:07:01 | 2019-12-26T03:07:01 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 495 | h | #pragma once
#include "PL0_WordParser.h"
#include "PL0_ProgramParser.h"
#include "PL0_VirtualMachine.h"
#include "PL0_ErrorMsg.h"
#ifdef _WIN64
#error "x64 is unsupported! Switch back to x86."
#endif
namespace PL0
{
// 输出错误信息
void OutputErrorInfos(const std::string& content, const std::vector<ErrorInfo>& errorInf... | [
"757919340@qq.com"
] | 757919340@qq.com |
41e0bcbc1750b96b3efedffcd32c240269f569d5 | d500e53d6dfe169dce965945bae5dc482eb0b0b8 | /LexAnalizer/LexAnalizer/Functions.cpp | b2431c4efd8642760cfb401c84bfcd9aa4624e69 | [] | no_license | grishasht/C-C-projects | a292cdb71eeffd282cf30c6f0eeb86dab6e49ad8 | e564aac3df6ad3bff8d9530da5e51d99b5e7e281 | refs/heads/master | 2020-03-31T00:14:24.724852 | 2018-10-16T18:24:46 | 2018-10-16T18:24:46 | 151,731,755 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 15,756 | cpp | #include "Functions.h"
/*База даних з усіми можливими лексемами, які використовуються у завданні*/
vector <string> lex_directive{ "SEGMENT", "ENDS", "END", "DD", "DQ" };
vector <string> lex_command{ "FTST", "FSUB", "FSUBP", "FXCH"};
vector <string> lex_symb{ "(", ")", ",", "[", "]", "*", ":" };
vector <str... | [
"noreply@github.com"
] | grishasht.noreply@github.com |
1502bed2ec4b9e878ad27503f99d3c7eeac6c54c | 1d3aeb778082aefdb800a4bb134e838b90e26d21 | /z/152_maximum_product_subarray.cc | 2568b744b7400daa9da500bf025fb85289f98c57 | [] | no_license | Uranusz/leetcode | 56b7942a5740cd37c5befe0fd10fd22b0bb7c808 | 52123452c64855b91a1fa222187a90e1edc86efc | refs/heads/master | 2020-12-24T15:49:55.625399 | 2016-04-16T02:46:44 | 2016-04-16T02:46:44 | 42,388,221 | 0 | 1 | null | 2016-01-13T03:10:37 | 2015-09-13T07:59:49 | C++ | UTF-8 | C++ | false | false | 2,471 | cc | /*
* =====================================================================================
*
* Filename: 152_maximum_prodect_subarray.cc
*
* Description:
*
* Version: 1.0
* Created: 01/05/2016 09:53:27 PM
* Revision: none
* Compiler: gcc
*
* Author: YOUR NAME... | [
"uranus.superz@outlook.com"
] | uranus.superz@outlook.com |
7d67da31271a81b7d498a2c270d965269d1234db | b1d5623c2c2b1a748c05b133629b2f8167531ba1 | /hardware_interface/include/hardware_interface/system.hpp | 9c238053da1f0929ddf1912a76210d3d0aefe896 | [
"Apache-2.0"
] | permissive | OUXT-Polaris/ros2_control | 8b407084c7dd0316f33108d64a67f2952201d6b8 | a508024357451a3c24921dfc6884af54c31ff8dc | refs/heads/master | 2023-07-18T22:41:01.153556 | 2021-09-10T10:21:57 | 2021-09-10T10:21:57 | 404,793,355 | 0 | 0 | Apache-2.0 | 2021-09-09T16:26:53 | 2021-09-09T16:26:52 | null | UTF-8 | C++ | false | false | 2,368 | hpp | // Copyright 2020 ros2_control Development Team
//
// 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 la... | [
"noreply@github.com"
] | OUXT-Polaris.noreply@github.com |
9fe3a1fcd4d4ff3b4631a9ab571435d364115803 | fe9d8bfa9ac64f321c3815f32b216710d42f5d94 | /Src/DebugPage/UdpDebug/SAKUdpDeviceController.hh | 09b1ab04ed6e86124ddbc0d9890a156c88aa4d03 | [] | no_license | xibeilang524/QtSwissArmyKnife | 4f42cd6d0f006fbbb61d64a1ae6f40b31d06b3c6 | e0b6481c29548eff369e2e584bdd6796f628bf26 | refs/heads/master | 2020-08-19T15:09:27.352621 | 2019-10-15T17:00:23 | 2019-10-15T17:00:23 | 215,929,703 | 1 | 0 | null | 2019-10-18T02:58:32 | 2019-10-18T02:58:32 | null | UTF-8 | C++ | false | false | 1,395 | hh | /*
* Copyright (C) 2018-2019 wuuhii. All rights reserved.
*
* The file is encoding with utf-8 (with BOM). It is a part of QtSwissArmyKnife
* project. The project is a open source project, you can get the source from:
* https://github.com/wuuhii/QtSwissArmyKnife
* https://gitee.com/wuuhii/QtSwissArmyKnife... | [
"wuuhii@outlook.com"
] | wuuhii@outlook.com |
05ac006cd46e56b5da8f94b9605cd01994222780 | 1edef7d16cac066fdd84857db7deb42d5ef62f05 | /teos_lib/command/teos_wallet_commands.cpp | b8f12bc1210261456e8d369debcf33d59fd8dd3f | [] | no_license | eosasia/eosfactory | 2af3fcf81d5487b157c675f382f48907df7d2078 | 8b7e9e0559a958b09bc026e021fba23b1894e12f | refs/heads/master | 2020-03-16T21:39:51.110022 | 2018-05-11T07:32:01 | 2018-05-11T07:32:01 | 133,009,009 | 3 | 2 | null | 2018-05-11T08:01:12 | 2018-05-11T08:01:12 | null | UTF-8 | C++ | false | false | 669 | cpp | #include <teoslib/command/wallet_commands.hpp>
const char* walletSubcommands = R"(
ERROR: RequiredError: Subcommand required
Interact with local wallet
Usage : . / teos [OPTIONS] wallet SUBCOMMAND [OPTIONS]
Subcommands:
create Create a new wallet locally
open Open an existing wallet
lo... | [
"stefan.zarembinski@gmail.com"
] | stefan.zarembinski@gmail.com |
a261f13616feb92295f18499e44b63d954e5e1b8 | dc94fe3a0770730dafd8cae7abf855f092155446 | /StringToIntConverter.cpp | d60bb37f9b3657c4b835b7bfdaaec6f5ae12537b | [] | no_license | bartekw2213/B-Tree | 9e1803a48ad059720b500a8911076a60a2fef4c8 | 24d6e8763633a33877ce84e4a4858a8d098cf12b | refs/heads/main | 2023-06-06T13:14:20.434013 | 2021-06-24T12:54:53 | 2021-06-24T12:54:53 | 363,127,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cpp | #include "StringToIntConvereter.h"
void StringToIntConverter::AddInt(const char newInt) {
if(length == capacity)
Resize();
string[length++] = newInt;
string[length] = '\0';
}
int StringToIntConverter::GetInt() {
length = 0;
return atoi(string);
}
void StringToIntConverter::Resize() {
... | [
"bartekw2213@gmail.com"
] | bartekw2213@gmail.com |
661fc00aff48774f862bf93d1a270662ab7aaf0c | bb2e62cdd1c59ab68b0797b206df70ba4ec1465d | /binary_tree/mirrorTree.cpp | b56f15597e6edc1e5158b079fde16d10da17fd01 | [] | no_license | Muzain187/level3 | 4bc2058cb124d0b31f7e42eaa7109d017c0444de | 68cd66ca4d9931af3ae83220fe6ec5f3fe2d2b5e | refs/heads/main | 2023-08-04T18:24:03.376536 | 2021-09-20T16:50:37 | 2021-09-20T16:50:37 | 405,149,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | /**********************************************************
Following is the Binary Tree Node class structure
template <typename T>
class BinaryTreeNode {
public :
T data;
BinaryTreeNode<T> *left;
BinaryTreeNode<T> *right;
BinaryTreeNode(T data) {
this -> data = data;
le... | [
"muzain.ashraf@gmail.com"
] | muzain.ashraf@gmail.com |
710d987383283d2e50dd4166f60ba23b3b8fe51c | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /ash/system/hotspot/hotspot_info_cache.h | cd9a386e2a8fa013d8ec1376225919999f47bb47 | [
"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,001 | h | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_SYSTEM_HOTSPOT_HOTSPOT_INFO_CACHE_H_
#define ASH_SYSTEM_HOTSPOT_HOTSPOT_INFO_CACHE_H_
#include "ash/ash_export.h"
#include "chromeos/ash/services/hotspot_config/pu... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
e0ad7ea7ef6cb336b33e2f6ad28633d3bbb3a8a8 | cbfa94df8e2fe50d63cc68f0539bcdb72f38f0e3 | /Freivalds_algorithm/ofApp.h | a9455e8747710c416cca47e495d396fac56387e6 | [] | no_license | shino53/myProjects | bd384c8ca07ef4a316d7f96b8c7a09f5ed1deef5 | 6ee5935ad9f76da650a1c63a9d2d81ad2d7ba0f8 | refs/heads/main | 2023-01-12T15:50:57.189393 | 2020-11-16T13:18:47 | 2020-11-16T13:18:47 | 313,281,810 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,409 | h | #pragma once
#include "ofMain.h"
#include "ofxGui.h"
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
#define N_MAX 8
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mou... | [
"noreply@github.com"
] | shino53.noreply@github.com |
1e8b594e770e1c274ed2e20c37b1e0728d4514d4 | f08b7dc508ff0d2b844c8380b7a33cf14bedb2ab | /crucesemaforos.ino | 275e4d89a81c9751888c459bd69c0a413f5834eb | [] | no_license | SynysterGrowly/crucedesemaforo | 023acb416d7f990120ad6ffd447364f012a0bba5 | 0ad7c71cdf4b664e13e67fa99dd3cd18dbf05bb7 | refs/heads/master | 2021-01-21T11:23:27.601145 | 2017-03-01T14:50:00 | 2017-03-01T14:50:00 | 83,565,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,662 | ino | /*
Programa para un par de semaforos que cambian de uno
a otro, y la implementacin de un boton para terminar
el tiempo de la luz verde y pasar al otro.
******************************************************************
***ALUMNOS DE 8VO CARRERA INGENIERIA EN SISTEMAS COMPUTACIONALES*****
*************UNIVERSI... | [
"carlos1204mex@gmail.com"
] | carlos1204mex@gmail.com |
5a42b7acf9c7859fc9fe91bd2462d5163932ba11 | 277b58437c5060fa1f442ecf73ac02d9c5e2bc95 | /NtupleProducer/include/NtupleProducer.h | fe2f1b0348a8ccf4f63225272a225cbfc659bdcc | [] | no_license | cirkovic/tHFCNC | 753db081a13778d5d08fddb6935145d246dc24e9 | dbe353ee942701180bc34059e4ba1d2beca78c24 | refs/heads/master | 2020-07-26T02:40:14.483385 | 2017-01-31T10:02:47 | 2017-01-31T10:02:47 | 73,637,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | h | #ifndef NTUPLEPRODUCER_H
#define NTUPLEPRODUCER_H
#include "Tree.h"
#include "Electron.h"
#include "Muon.h"
#include "Event.h"
#include "Jet.h"
#include "Truth.h"
#include "Ntuple.h"
#include "BTagCalibrationStandalone.h"
extern Tree *ntP;
extern TChain *ch;
extern Ntuple *nt;
extern std::vector<int> *evdebug;
exter... | [
"Kirill.Skovpen@cern.ch"
] | Kirill.Skovpen@cern.ch |
bf76c32ff386189547446c8bae0a98e1ffd0308f | 76a6de92f225c0ed8c552d280647b8289d556f8b | /Twitter_by_Andre/twiteng.cpp | 1a0f2d83a4f408f936362f9e9c397f87947f2dd8 | [] | no_license | apirjani/Exercises | 21e48b3c003ea7e5e781659a88ed4862c8bb1fd4 | 75ce7821a55daf5102db69fd5826ca9f1be6a9d2 | refs/heads/main | 2023-09-04T19:29:23.836165 | 2021-11-10T03:27:59 | 2021-11-10T03:27:59 | 426,454,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,463 | cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include <stdexcept>
#include "twiteng.h"
// Add other header files
#include <string>
#include <map>
#include <set>
#include "tweet.h"
#include <algorithm>
#include "util.h"
using namespace std;
// Update as needed
TwitEng::TwitEng()
{
}
// Update as needed
... | [
"noreply@github.com"
] | apirjani.noreply@github.com |
99914ada19eb257762c77e1e7585397e9061727a | 2e035c3648ff09b3c8d0ecdf994970c560712baf | /tvshow2.gui/AUWMHDR.CPP | 9b4803e111da395a343c1058a25eb24e2349d2e7 | [] | no_license | OS2World/MM-TV-TVShow | 678cb258349d561e9f037e882eb5f813cbda570a | 46045fe55ab7c689e53c107362177f0ff8447e87 | refs/heads/master | 2021-01-22T09:41:59.710212 | 2013-07-04T17:10:17 | 2013-07-04T17:10:17 | 11,182,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | cpp |
#ifndef _IBASE_ //Make sure ibase.hpp is included
#include <ibase.hpp> // since that is where IC_<environ>
#endif // is defined.
#include "auwmhdr.hpp"
/******************************************************************************/
/* AUse... | [
"martiniturbide@gmail.com"
] | martiniturbide@gmail.com |
09a02bfb3f35d50b4a6b3e654d23d43e288e1ab3 | 4f4d3ec9bca4e2acb085a0c77e5cd3ed1b43b98d | /Implementation/1168.cpp | bc8a8fa21416b803c927e01f22272344c4552f64 | [] | no_license | Jeonghwan-Yoo/BOJ | 5293c181e17ea3bcd7f15e3a9e1df08d3a885447 | 5f2018106a188ce36b15b9ae09cf68da4566ec99 | refs/heads/master | 2021-03-05T02:36:45.338480 | 2021-01-20T12:43:40 | 2021-01-20T12:43:40 | 246,088,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int N, K;
int main()
{
freopen("in.txt", "r", stdin);
cin >> N >> K;
cout << "<";
vector<int> people;
for (int i = 1; i <= N; ++i)
{
people.push_back(i);
}
int pos = 0;
for (int i = 0; i < N; ++i)... | [
"dwgbjdhks2@gmail.com"
] | dwgbjdhks2@gmail.com |
dd30e06d80e171077e57662c6138a2fb5b1237e9 | 0a007177fd16bd4930ef5d188a5a73f188bb4c8d | /mapnik_filegdb/filegdb_featureset.cpp | d2c7022c5c9fac807ceccd3a0a6a6fde6ed60fbf | [] | no_license | lozpeng/mapnik_filegdb | a9690a92dfd1fddfbdfdaebb170259e6a67e6289 | 587444813be4dabd4b6ac80180a830a737b2cc88 | refs/heads/master | 2021-01-23T18:21:51.672274 | 2013-08-26T05:04:19 | 2013-08-26T05:04:19 | 11,996,668 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,450 | cpp | #include <iostream>
// mapnik
#include <mapnik/debug.hpp>
#include <mapnik/feature_factory.hpp>
#include <mapnik/unicode.hpp>
#include <mapnik/geometry.hpp>
// boost
#include <boost/make_shared.hpp>
// file gdb plugin
#include "filegdb_featureset.hpp"
#include "shape_buffer_io.hpp"
using mapnik::geometry_type;
usin... | [
"lozpeng@gmail.com"
] | lozpeng@gmail.com |
49b635f050fd537cc9dcf73b3712a7ec248a1976 | 18814825f89fda6637258a02454850c738465ee3 | /ex09/ex09_34.cpp | 4222ba96ed37d70b6de3fc4e088e452300049ebc | [] | no_license | rcocco/Cpp_Primer_5th | ce3f961c47f10d6e23524bba9f7772816cc304d8 | ae5b5d064acb353d8e1789066258c7673c1d9ad5 | refs/heads/master | 2020-04-18T18:39:47.635248 | 2019-02-21T15:09:28 | 2019-02-21T15:09:28 | 167,691,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | #include <iostream>
#include <vector>
using std::vector;
using std::cout;
using std::endl;
int main() {
vector<int> vi = { 0,1,2,3,4,5,6,7,8,9 };
auto iter = vi.begin();
while (iter != vi.end()) {
if (*iter % 2) {
iter = vi.insert(iter, *iter);
//++iter;
}
++iter;
cout << (iter-vi.begin()) << " "<< (vi... | [
"araia@qq.com"
] | araia@qq.com |
e6c32bbea3b2305945455f85936208148aaf8fa5 | 21d8be0e44fef51f610d47ac163bea99c5c3e013 | /arduino_6502.ino | 831261d469dfedfbf531b4c1cd55b8d83551518b | [] | no_license | pingumacpenguin/STM32duino-6502-Emulator | 078c68e304a6101607c95addb3731ee7de705942 | 742ad35eb7e04555029d2c933ff6bf07ed913251 | refs/heads/master | 2021-01-10T22:06:42.198338 | 2015-08-07T08:27:00 | 2015-08-07T08:27:00 | 39,225,227 | 10 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,214 | ino | #define BLINK_PIN PB0
uint8_t curkey = 0;
// Create USB serial_debug port
USBSerial serial_debug;
extern "C" {
uint16_t getpc();
uint8_t getop();
void exec6502(int32_t tickcount);
void reset6502();
void serout(uint8_t val) {
serial_debug.write(val);
}
uint8_t getkey() {
//DEBUG
// serial_d... | [
"ahull@ibahn.com"
] | ahull@ibahn.com |
6b92e446906af4ab3ff9a04c3e9a7ca8c37ccced | f4e3c6a36d3bf47edeab4c83d32033cd8b5e63e9 | /src/simple_layer.h | 6b876d59c01457a04a8ee1227be7230d264627ed | [] | no_license | rozoalex/Simple_Layer | aaa8c13b2a30981c8fe001934b32038ec5809004 | d8bb4df8e37722651c7b8aaa04eb6ed34fdca727 | refs/heads/master | 2021-08-30T11:46:04.668406 | 2017-12-17T20:21:55 | 2017-12-17T20:21:55 | 114,565,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | h | //from http://wiki.ros.org/costmap_2d/Tutorials/Creating%20a%20New%20Layer
#ifndef SIMPLE_LAYER_H_
#define SIMPLE_LAYER_H_
#include <ros/ros.h>
#include <costmap_2d/layer.h>
#include <costmap_2d/layered_costmap.h>
#include <costmap_2d/GenericPluginConfig.h>
#include <dynamic_reconfigure/server.h>
namespace simple_layer... | [
"alexhubnds@icloud.com"
] | alexhubnds@icloud.com |
0ad1f1fffe93ba990de94fb3cded83432709f842 | 747238767e0520645687cf1af64a91081904c6d9 | /ESPWiFiServer/Source/Client/Builders/ClientBuilderBase.h | 2289f2af67e2302606e72b42a4ae549600b68ebd | [] | no_license | MaxGarden/ESPWiFiServer | 5a66c9fa68dc7c5e53b34c03c3c6a76c4a6c0a48 | e88154c2d091d65e25e714333f68d771f6b17d73 | refs/heads/master | 2020-04-09T05:02:17.174362 | 2019-02-24T16:54:23 | 2019-02-24T16:55:09 | 160,048,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | h | #if !defined(__CLIENT_BUILDER_BASE_H__)
#define __CLIENT_BUILDER_BASE_H__
#pragma once
#include "Client/ClientBuilder.h"
#include "Client/ClientController.h"
class CClientBuilderBase : public IClientBuilder
{
public:
CClientBuilderBase() = default;
virtual ~CClientBuilderBase() override = default;
virtua... | [
"mserkies@artifexmundi.com"
] | mserkies@artifexmundi.com |
1cd7649e412efd3202c0837c0f3227bf101b2356 | 9655c1a76de83187abaafe13c5f0ae0d38746a93 | /Com/Programing technique/Programing technique 3/Valley of the kings.cpp | 3f79102deae8446179cbad9cad9431bdc1ee3c2d | [] | no_license | PunnyOz2/POSN-Programming | 26a2df48e4f4c164b3c364d00ebef85b5df78ccd | c89cf7765354f8b5ff1f6f95b8382251f5ca734c | refs/heads/main | 2023-05-25T09:04:23.802021 | 2021-06-13T05:43:15 | 2021-06-13T05:43:15 | 376,192,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cpp | /*
TASK:
LANG: CPP
AUTHOR: Pun
SCHOOL: CRU
*/
#include<bits/stdc++.h>
using namespace std;
int a[1010],b[1010];
int main()
{
int q,i,n,j,ans;
scanf("%d",&q);
while(q--){
scanf("%d",&n);
for(i=0;i<n;i++)
scanf("%d",&a[i]);
sort(a,a+n);
for(i=0,j=0,a... | [
"punnyoz1103@gmail.com"
] | punnyoz1103@gmail.com |
4e23edb6c372d5cb6ec9328fded692f89cbf9f65 | 621917bd5fa4c2853d1dbc99170e728d7e8c75d8 | /数据结构教程上机指导/数据结构上机指导-源程序/实验题10/exp10-7.cpp | c8561f504be5348c8d07235b03121432fd619a01 | [] | no_license | mexbo/DataStruct_LiChunbao | cca5d86b82bdd4f9da9f02d35adaa032ef3fcfcf | 85d037383abb4b7fe3ee6cf3ba6bcb78b000db28 | refs/heads/master | 2020-06-30T21:29:56.419711 | 2019-08-07T02:24:32 | 2019-08-07T02:24:32 | 200,956,159 | 11 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,230 | cpp | //文件名:exp10-7.cpp
#include <stdio.h>
#include <malloc.h>
#define MAXE 20 //线性表中最多元素个数
typedef int KeyType;
typedef char InfoType[10];
typedef struct //记录类型
{
KeyType key; //关键字项
InfoType data; //其他数据项,类型为InfoType
} RecType;
void Merge(RecType R[],int low,int mid,int high)
//将两个有序表R[low..mid]和R[mid... | [
"mexbochen@foxmail.com"
] | mexbochen@foxmail.com |
e5d55f239292c2a988054150405c467786dbbf78 | 2fde7d8e325536d231c0de7f8fd6ee2b17c05bc5 | /62.unique-paths.cpp | 2ea8976580d04d62bb2f2c608e071afd486df471 | [] | no_license | Sahanduiuc/leetcode-solutions | 41326a43f5993dbc04f603cac1befb36849e8816 | fecb9e13d81eafd284be7e9a8b89824cec85e0d6 | refs/heads/master | 2020-09-20T11:48:48.851581 | 2018-04-17T13:15:30 | 2018-04-17T13:15:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 394 | cpp | class Solution {
public:
const int N = 200;
int uniquePaths(int m, int n) {
--m, --n;
int dp[N][N];
for (int i = 0; i < N; ++i)
for (int j = 0; j < N; ++j) dp[i][j] = 0;
for (int i = 0; i < N; ++i) dp[i][0] = dp[i][i] = 1;
for (int i = 1; i < N; ++i)
for (int j = 1; j < i; ++j) dp[... | [
"gantheory@gantheorys-MacBook-Pro.local"
] | gantheory@gantheorys-MacBook-Pro.local |
31942d699cef5ac2051007f4d78d44a25c2d361f | 2d42a50f7f3b4a864ee19a42ea88a79be4320069 | /source/application/application_config.h | 443f2a94db1a7b97cc4ac508980d581c128985cc | [] | no_license | Mikalai/punk_project_a | 8a4f55e49e2ad478fdeefa68293012af4b64f5d4 | 8829eb077f84d4fd7b476fd951c93377a3073e48 | refs/heads/master | 2016-09-06T05:58:53.039941 | 2015-01-24T11:56:49 | 2015-01-24T11:56:49 | 14,536,431 | 1 | 0 | null | 2014-06-26T06:40:50 | 2013-11-19T20:03:46 | C | UTF-8 | C++ | false | false | 435 | h | #ifndef _H_PUNK_APPLICATION_CONFIG
#define _H_PUNK_APPLICATION_CONFIG
#include "../gpu/gpu_config.h"
#include "../render/render_config.h"
#include "../audio/audio_config.h"
#include "../physics/physics_config.h"
namespace Punk
{
struct Config
{
/* Gpu::Config gpu_config;
LowLevelRender::Config render_config;
A... | [
"nickolaib2004@gmail.com"
] | nickolaib2004@gmail.com |
743e3fb50bc782c7d71bef02b897aa30e6bfb372 | 64269bd40e79dc7b56b2268aa5ce5a8fcc9e19eb | /ANN/Library.h | 1c33a6da8e24d4674d6894884891d8527dcb0103 | [] | no_license | ArakelMkrtchyan/BolzmANN | 543160982586771343199c1cf514ceed196c890f | 0483d3b628c90ebc737b0535c184dea8b08b3297 | refs/heads/master | 2020-05-23T11:16:51.559206 | 2015-12-14T17:25:54 | 2015-12-14T17:25:54 | 47,017,365 | 0 | 0 | null | 2015-11-28T09:13:07 | 2015-11-28T09:13:05 | C++ | UTF-8 | C++ | false | false | 1,264 | h | #ifndef LIBRARY_H
#define LIBRARY_H
#include <vector>
#include <list>
#include <map>
#include <set>
#include <stack>
#include <queue>
template<typename T>
struct Vector : std::vector<T>
{
using My = Vector;
bool contains(const T& x) const
{
return (std::find(My::begin(), My::end(), x) != My::end(... | [
"davittevanian@gmail.com"
] | davittevanian@gmail.com |
6859ecfe86160d63ce81ecac5d64c1a51790dfc9 | 175390199ca6c8d6ba09c4828d9e0527d95efc85 | /Chuong 13 - Cay nhi phan/bai862.cpp | c9da94dcb5c730baab904407819b5a23fe79c529 | [] | no_license | DuyTran1234/1000ExerciseC- | 4d8627eb2dedf25038557d5fdd07a17ff52fbd00 | 5b6c63aef3c060a49bf0556e7c4a02074f8a977e | refs/heads/master | 2020-08-06T10:19:47.245586 | 2019-10-05T03:55:20 | 2019-10-05T03:55:20 | 212,940,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | #include <iostream>
using namespace std;
struct PHANSO
{
double tuSo;
double mauSo;
};
struct node
{
PHANSO data;
node *pLeft;
node *pRight;
};
int main()
{
}
void KhoiTaoCay(node * &tree)
{
tree = NULL;
}
void ThemNodeVaoCay(node * &tree, PHANSO x)
{
} | [
"0985919093dd@gmail.com"
] | 0985919093dd@gmail.com |
fb5225a4b53c18b5ce932562734eab0560895b4b | c6499a4ae3a297948b259a81d95ba1f220f93cee | /PingPong/Entity.cpp | f559e5ffc46fa00486936df3b0546f0e0dcf743c | [] | no_license | adajoh/PingPong | 3e6b9628e48580e9d0efe1323e2afca8b289af26 | 85d90a6e7ef39ecf9cf791b397056e7d495eb6dc | refs/heads/master | 2021-07-19T16:01:43.080448 | 2017-10-26T15:15:07 | 2017-10-26T15:15:07 | 108,427,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | #include "Entity.h"
Entity::Entity(int x, int y, int width, int height)
{
rect.x = x;
rect.y = y;
rect.w = width;
rect.h = height;
}
const void Entity::render(SDL_Renderer * renderer)
{
SDL_SetRenderDrawColor(renderer, 255, 255, 255, 255);
renderRect.x = rect.x;
renderRect.y = rect.y;
renderRect.w = rect.w;... | [
"adam.johansson00@gmail.com"
] | adam.johansson00@gmail.com |
bca5445c038b0802a8a6073fa58d3ded2ae6407e | 16cbe0227d0b1e28e228a9c61780be470e11090d | /base/include/ncs/sim/DataSpace.h | 20f1bd2c2d064738abf8898631dc927dbed59e2b | [
"BSD-2-Clause"
] | permissive | hjc19951212/ncs | e3bc4ae31b93cec4b15e87dd65ad02dbd87971eb | 0ae53ad7bf378675161e23a25e09468d6b383ab0 | refs/heads/master | 2021-08-17T07:20:40.247968 | 2016-01-25T22:44:11 | 2016-01-25T22:44:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | h | #pragma once
namespace ncs {
namespace sim {
class DataSpace {
public:
enum Space {
Unknown = 0,
Global = 1,
Machine = 2,
Device = 3,
Plugin = 4
};
};
} // namespace sim
} // namespace ncs
| [
"rvhoang@gmail.com"
] | rvhoang@gmail.com |
2912c64f536f9518ae82b9f652a707595fa78979 | 310166831ca6811dc2ad11fcf134fb35e7b8f7c5 | /samples/05_modern_rt/main.cpp | fa1392ed1a4dee6a385fc0bb4c88688c15c58412 | [
"MIT"
] | permissive | giordi91/SirMetal | 1be0d10026ec0fb43ba2ed4c0ebbe22811b662d5 | 394b973a78faec2fec54479f895802ddb1e580c1 | refs/heads/master | 2023-04-17T07:58:58.226010 | 2021-04-28T10:56:53 | 2021-04-28T10:56:53 | 279,854,659 | 32 | 3 | null | 2021-04-28T10:56:54 | 2020-07-15T11:51:05 | C++ | UTF-8 | C++ | false | false | 235 | cpp |
#include "sandbox.h"
#include <iostream>
#if ! __has_feature(objc_arc)
#error "ARC is off"
#endif
int main(int argc, char *args[]) {
std::cout<<args[0]<<std::endl;
Sandbox::SandboxApplication sand;
sand.run();
return 0;
}
| [
"marco.giordano.work@gmail.com"
] | marco.giordano.work@gmail.com |
1ae7b8410b8a511f372ba1988217b2cb37600f3b | 720d5e92b631cbcca07c7c074ebf9ec832765af7 | /dashboard/serial.h | bcbe1aaf6ae5c9cef6c410a8fa166545e8a90522 | [
"BSD-2-Clause"
] | permissive | comran/miranda-dashboard | e1d3dd1ca3c4738b0ed92224bc60cdac4f160f47 | 54079cb276ef4ee149e931d618b445a618c7c1c0 | refs/heads/master | 2021-01-12T04:06:24.676407 | 2017-01-06T01:41:36 | 2017-01-06T01:41:36 | 77,504,455 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | h | #ifndef _SERIAL_H_
#define _SERIAL_H_
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
#include <inttypes.h>
#include <string.h>
namespace dashboard {
namespace sensor_reader {
namespace serial {
class Serial {
public:
void Init();
void Write(char const*);
voi... | [
"comranmorsh@gmail.com"
] | comranmorsh@gmail.com |
e8272b6779bd12dffa6ddb7c2678eb92699c8ccc | 3e4fd5153015d03f147e0f105db08e4cf6589d36 | /Cpp/SDK/MediaCompositing_classes.h | 4af2ad8ecceb93e42c2ddb367fd0e05baed4f3e2 | [] | no_license | zH4x-SDK/zTorchlight3-SDK | a96f50b84e6b59ccc351634c5cea48caa0d74075 | 24135ee60874de5fd3f412e60ddc9018de32a95c | refs/heads/main | 2023-07-20T12:17:14.732705 | 2021-08-27T13:59:21 | 2021-08-27T13:59:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,109 | h | #pragma once
// Name: Torchlight3, Version: 4.26.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
afd72e69ed0e40f118b00c385b0f6c5de2acaabe | 2ee81cbf0bcd323e5094137bb4a9efd45c5580fd | /TestGame/source/game.cpp | 1ced26cdd0c708863cf1f2350c32254d249c55e0 | [] | no_license | Phariax/Frankly | c528c4c4779aa23f878ddad2e4652f115b5db014 | 00355cc214f048c407f3dd9129e365f42fc3166f | refs/heads/master | 2020-07-11T11:00:40.371783 | 2019-08-26T16:50:25 | 2019-08-26T16:50:25 | 204,519,242 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,302 | cpp | ////////////////////////////////////////////////////////////////////////////////////////
/*
Startup for Frank Engine
Copyright 2013 - Frank Force
*/
////////////////////////////////////////////////////////////////////////////////////////
#include "gameGlobals.h"
/////////////////////////////////////////////////////... | [
"30328936+Phariax@users.noreply.github.com"
] | 30328936+Phariax@users.noreply.github.com |
7814b591549d69d8a14c6801bc11ae4058513455 | e37bdad8eee22cf859d74c4a841011910c106f70 | /709/B - Checkpoints.cpp | 17b3b8ac392027faa4ba18e1d730f35656feda9c | [] | no_license | ashlamp08/Codeforces | be61c84afe78f0e349ca8793ba7e7e248dd2843f | bf310c2cf36402483517bf312a03b85669c5c4b6 | refs/heads/master | 2021-01-12T17:22:16.613992 | 2016-10-21T10:02:29 | 2016-10-21T10:02:29 | 71,550,410 | 0 | 1 | null | 2016-10-31T20:08:58 | 2016-10-21T09:21:43 | C++ | UTF-8 | C++ | false | false | 806 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
long long a;
cin>>n>>a;
long long arr[n+1];
long long sumL = 0;
long long sumR = 0;
for(int i=0;i<n;i++)
cin>>arr[i];
if(n==1)
{
cout<<0;
return 0;
}
if(n==2)
{
cout<<min(abs(arr[0]-a),abs(arr[1]-a));... | [
"dhungana.ashok08@gmail.com"
] | dhungana.ashok08@gmail.com |
d554e1807b914dcfba904c5f96eeb8a43190aa74 | 5f975169aeb67c7cd0a08683e6b9eee253f84183 | /algorithms/medium/1110. Delete Nodes And Return Forest.h | 453d41b90055bacf85912d478755274dd277ef77 | [
"MIT"
] | permissive | MultivacX/leetcode2020 | 6b743ffb0d731eea436d203ccb221be14f2346d3 | 83bfd675052de169ae9612d88378a704c80a50f1 | refs/heads/master | 2023-03-17T23:19:45.996836 | 2023-03-16T07:54:45 | 2023-03-16T07:54:45 | 231,091,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,512 | h | // 1110. Delete Nodes And Return Forest
// Runtime: 32 ms, faster than 65.59% of C++ online submissions for Delete Nodes And Return Forest.
// Memory Usage: 20.5 MB, less than 100.00% of C++ online submissions for Delete Nodes And Return Forest.
/**
* Definition for a binary tree node.
* struct TreeNode {
* in... | [
"MultivacX@2020.china"
] | MultivacX@2020.china |
919606bf6a956ebff9d72e94058053eec60dadf3 | 34a61f441b3502d95570a538baf0735cd568b2e9 | /Codechef/SNCKQL19/QUALPREL.cpp | fea0713d941660d858dbd345c3ebe9fc27e7df59 | [
"MIT"
] | permissive | vishalpolley/Competitive-Programming | a68049f71ddbf1421ef433edec43dd0e17bbc0d4 | da872198ad73538e244310e923e336b6ee148bc5 | refs/heads/master | 2021-06-29T15:24:34.110495 | 2019-10-17T06:22:04 | 2019-10-17T06:22:04 | 152,064,751 | 1 | 1 | MIT | 2023-03-11T12:09:56 | 2018-10-08T10:55:15 | C++ | UTF-8 | C++ | false | false | 516 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
// freopen("../../in.in", "r", stdin);
ios_base::sync_with_stdio(false);
int t; cin >> t;
while(t--)
{
int n, k, c; cin >> n >> k;
uint64_t *arr = new uint64_t[n];
for(int i = 0; i < n; ++i)
cin >> arr[i];... | [
"vishalpolley290996@gmail.com"
] | vishalpolley290996@gmail.com |
225e79b3bc78124c8f655d7654ce491eae860719 | 7a470e92e5c0fb5e097988092bf5384d781995b4 | /include/Renderer/Camera.h | 8215a52d0e769ced1043284e79ba1d05c6d66911 | [] | no_license | game-works/OpenGL | 98212c42933d41455da678f3ad8fc7fb160187df | d41c1497ef33cfb6f21a1e642bc060bdb4dfcdf5 | refs/heads/master | 2020-05-29T11:29:30.127016 | 2016-09-06T23:53:06 | 2016-09-06T23:53:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,227 | h | #ifndef CAMERA_H
#define CAMERA_H
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <glm/detail/type_mat.hpp>
#include "EventDispatcher.h"
class Camera {
public:
Camera(EventDispatcher &dispatcher);
void update(double deltaTime);
glm::mat4 getViewMatrix();
glm::mat4 getProje... | [
"git@keringar.xyz"
] | git@keringar.xyz |
d85ca1ba7e9f973fdc03656e0360cd0152611199 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/BlockStatisticsManifest/UNIX_BlockStatisticsManifest_LINUX.hpp | bd6cd1a6f60e06217558fad4a7bf0350ad7f01ff | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,178 | hpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
43a42f2eae6d10c1bc0f26a42a4702315737683f | 26e57f984d31b303c4aa1c67f47035a6799a0d84 | /Lesson_3/task_1/main.cpp | a1085fb1981af143463759a18073782a29c05abc | [] | no_license | danilglinianiy/NG_2020_Danil_Glinianiy | 4cb30955d602c2d1de20dfc9b9c8f20c230ad68c | 12ea6e0154954dccff24d16cc20163718ee47680 | refs/heads/master | 2023-02-23T21:22:16.156252 | 2021-01-30T15:31:46 | 2021-01-30T15:31:46 | 334,214,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | #include <iostream>
using namespace std;
int main()
{
char str[1000];
unsigned int word = 0;
unsigned int i = 1;
bool condition1 = false, condition2 = false;
cout << "Enter string: ";
cin.getline(str,1000);
while(str[i] !='\0'){
condition1 = ((str[i] >= 'A') && (str[i]<='Z')) || ... | [
"danil_grant@danil.grant"
] | danil_grant@danil.grant |
03096034bd175926d3bc19030fdffbc95da20ef4 | 6c21d920b233c0b735fa0eba8aebe8634eb85632 | /src/governance-vote.h | f7f76ebd085dd7abd17548d98d8276ea18425a4c | [
"MIT"
] | permissive | chickendinnerpay/chickendinnerpay | f73f9730cc7d710c3b67f1b0a0538b519c91971c | 338d6a230e8d7600090655bf690fc4d61be1dc1e | refs/heads/master | 2021-05-09T02:56:56.860071 | 2018-01-28T21:05:18 | 2018-01-28T21:05:18 | 119,225,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,807 | h | // Copyright (c) 2014-2017 The chickendinner Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef GOVERNANCE_VOTE_H
#define GOVERNANCE_VOTE_H
#include "key.h"
#include "primitives/transaction.h"
#include... | [
"skywalk819@gmail.com"
] | skywalk819@gmail.com |
b846855bf5952e85503891784618a69c97bc8303 | 944079085751d03a9013d75060515c04aed9fff9 | /src/Block.cpp | dd1b11fdee43ccf003c2fc41d5acab6ae8510f80 | [] | no_license | EnterCheery/RCCT-1 | fee4485c26f8415aee22a94307909a05230cec06 | 147cc05ba3ba4454c86f9b429f09df6c3bde5c0c | refs/heads/main | 2023-02-25T22:53:35.016194 | 2021-01-29T05:10:50 | 2021-01-29T05:10:50 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,045 | cpp | #include "Block.h"
#include <iostream>
#include <string>
#include <regex>
string Block::getTitle()
{
return title;
}
string Block::getType()
{
return type;
}
string Block::getNextTrue()
{
return next_true_block;
}
string Block::getNextFalse()
{
return next_false_block;
}
string Block::getPreds1()
{
return pr... | [
"leibo@hust.edu.cn"
] | leibo@hust.edu.cn |
698080e8049f5e773644f7af4ce0008f66159405 | f1ad981bd1eb2f2193af8a6b2b598372e11a78c3 | /name_grad.cpp | 233c45a758daef81d70696924edfc984469a9521 | [
"MIT"
] | permissive | enochlev/TBB-MergeSort | 170fdbe804a2da7bc55ecdc5db5d7f912d6884f6 | 8619408bfa679b71dd21b35c7b83606bec1f2732 | refs/heads/main | 2023-01-24T04:16:12.808448 | 2020-11-23T17:03:07 | 2020-11-23T17:03:07 | 315,382,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | cpp | //
// Created by Nathan Teeter on 2019-04-27.
//
#include <string>
#include "csv_data.h"
class name_grad : public csv_data {
public:
bool operator <=(name_grad data) {
if (this->getName() == data.getName()) {
return this->getGradDate() <= data.getGradDate();
} else {
return this->getName() <= data.getName(... | [
"noreply@github.com"
] | enochlev.noreply@github.com |
283446a367c3867a77e8dc2e5d8b863491ce4643 | 547a0e37998c836be10ee00f13b1cf201a381de5 | /3.6小节——入门模拟->字符串处理/ProblemH.cpp | 4af89c1349a53b8c6f2b5e968acd3284463eda62 | [] | no_license | hegongshan/algorithm-notes | 7232c3b3868f1a6ca4603756adc92edb3facbf6d | 59e1ab7146858e5a4b4b11c9b7459289e2a93f16 | refs/heads/master | 2020-04-29T11:41:02.881872 | 2019-08-06T15:35:39 | 2019-08-06T15:35:39 | 176,108,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | #include <cstdio>
int main() {
int m;
scanf("%d", &m);
char str[m][21];
for (int i = 0; i < m; i++) {
scanf("%s", str[i]);
int start = i >= 3 ? i - 3 : 0;
// 逆序输出
for (int j = i; j >= start; j--) {
printf("%d=%s", (i - j + 1), str[j]);
if (j > 0) {
printf(" ");
}
}
printf("\n");
}
return... | [
"hegongshan@qq.com"
] | hegongshan@qq.com |
6e96d669a8abb5ef818fedc886810691bc2b1c81 | 5354bf62bc7dcb890634a3cd0ed04ce3d8effca4 | /0811/test1.cpp | 32440913e1c6242f701e83feb943f7b486e3170f | [
"MIT"
] | permissive | xierensong/cppPGround | ad88dcbc5a8430ddac6f467e8a8c421c70ad7ad2 | 35fe41eb53269357452c59a536c17edace3424da | refs/heads/master | 2020-07-02T23:12:03.932360 | 2019-10-09T01:22:23 | 2019-10-09T01:22:23 | 201,700,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
cout << "hello, my vs code!" << endl;
vector<string> strings{"hello", " ", "world", "!"};
for (auto str:strings) {
cout << str << ' ';
}
cout << endl;
return 0;
} | [
"283318608@qq.com"
] | 283318608@qq.com |
e69b3a4dffa706abc9547ab52e076401c6c1c5df | 0150d34d5ced4266b6606c87fbc389f23ed19a45 | /Cpp/SDK/UMG_Compass_Player_classes.h | 511887781171eab43eab4dacd5fdce502626fd67 | [
"Apache-2.0"
] | permissive | joey00186/Squad-SDK | 9aa1b6424d4e5b0a743e105407934edea87cbfeb | 742feb5991ae43d6f0cedd2d6b32b949923ca4f9 | refs/heads/master | 2023-02-05T19:00:05.452463 | 2021-01-03T19:03:34 | 2021-01-03T19:03:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,546 | h | #pragma once
// Name: S, Version: b
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
/*!!HELPER_DEF!!*/
/*!!DEFINE!!*/
namespace UFT
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// WidgetBl... | [
"tahmaniak@gmail.com"
] | tahmaniak@gmail.com |
0d69198e5c7f471ab27aada07945a7946f067635 | 6cba33d72856fd459cbb472f42ef1bd829984304 | /05_signal_solt/mainwindow.cpp | 6008992611282f8956266eeecee41716c8c72ed9 | [
"MIT"
] | permissive | silence0201/audio-video-learn | e97a4c7792d1b07793e98aca666e38ebaf48ae50 | 2f8a6dc50bf9307ebc5ba0ead44e3bdcdb274ba0 | refs/heads/main | 2023-07-15T07:06:09.857818 | 2021-08-15T08:41:20 | 2021-08-15T08:41:20 | 378,644,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cpp | #include "mainwindow.h"
#include <QPushButton>
#include "sender.h"
#include "receiver.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
QPushButton *btn = new QPushButton;
btn->setText("关闭");
btn->setFixedSize(100,30);
btn->setParent(this);
connect(btn, &QPushButton::clicked,t... | [
"374619540@qq.com"
] | 374619540@qq.com |
bdd47518ca74d519688ba204a52937e466700eeb | 300f1d03176e83785deea8d704fd86fcbcb0e1b2 | /Assignment 3/Assignment 3/Problem 2/Problem 2.cpp | 505350b597873d0d7defb29d667d36750dd52fb0 | [] | no_license | csci-1730-group-7/Logans-Codes | 96332dc03ef024fb4165a72f44b20cea12153b2d | 18e340e86f2569674dccc7f4ed1c71fc572c87e9 | refs/heads/master | 2020-04-21T09:28:31.565585 | 2019-05-14T03:03:22 | 2019-05-14T03:03:22 | 169,449,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,540 | cpp | //Need to overload operators here for the arthimatic operations
#include "pch.h"
#include <iostream>
#include <cmath>
#include <windows.h>
void sleep_seconds(const int sleepMSs) { Sleep(sleepMSs); }
using namespace std;
class Complex
{
public:
//default constructor
Complex();
Complex(double a, double b);
Complex(... | [
"lkreun@oaala.com"
] | lkreun@oaala.com |
68be9f7d5991e0548cdabfbc74da222850e4de4a | b03e4ee8cdf74e9da36d1e5dbf80fcce95e14dec | /output/name-mangler.cpp | 5cd156d3867fff785ed3cbc90ede6dfab1ce96e4 | [] | no_license | zheplusplus/stekin | 5e60b2761ec91721c257b14f3df88874e2379f03 | 6578e45d78b0840564e9c3feeb2f2eb1722ce6b7 | refs/heads/master | 2022-10-04T18:22:10.663671 | 2012-09-27T09:18:39 | 2012-09-27T09:18:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | #include <util/string.h>
#include "name-mangler.h"
std::string output::formFuncName(util::serial_num func_sn)
{
return "_stk_func_template_" + util::str(func_sn.n);
}
std::string output::formType(std::string const& type_name)
{
return "_stk_type_" + type_name;
}
std::string output::formListType(std::string ... | [
"Lene13@gmail.com"
] | Lene13@gmail.com |
8f30cf69e420324441a0c5e3be7e7111cb6a0aff | c70d0f437bf7fdd0539bbb61b89e0a922b36e4a8 | /Sound Tool/AudioLib/Audio_Save_BGM.cpp | ee632a8268663dc109e1c499a32f38742f9c159e | [] | no_license | OriginofJustice/Game_Portfolio | 5bfac7116310558599787ebf7323b35c4ec25089 | d7df0a6c17b8fc3732283163b72eb7fd24a1913f | refs/heads/master | 2021-01-01T18:27:46.097469 | 2013-10-20T13:05:35 | 2013-10-20T13:05:35 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 676 | cpp | #include "StdAfx.h"
#include "Audio_Save.h"
/**
* \par 메소드 데이터
로드할 OGG 데이터들에 관한 정보를 출력하는 함수
* \param szName
* \param OggData
* \return
*/
bool Audio_Save::FileBgmExport(char* szName, vector<OggData> OggData)
{
FileOpen(szName);
fprintf( m_pStream, "#Luade_BGM_Script_0.01\n");
fprintf( m_pStream, "%s\n","... | [
"euiweon@euiweonjeong.com"
] | euiweon@euiweonjeong.com |
a96350e50c22c58a7ef711fa972372aed4986cb7 | 327aaf871302aa9a725b5f6abded9477e46976ac | /external_tests/normal_dist_functions_et.h | 2d26837a046370b4d5a61ad33b71a10f0452649d | [] | no_license | MichalSara99/sse_vectorised_functions_x64_tests | 904f1f45968f2fbd050e5637e18ac9a40c2aeb08 | 6dca8b211fcdbd3de8acf3b6e15bd94b27bb3197 | refs/heads/master | 2023-04-17T03:32:53.793091 | 2021-05-03T16:20:12 | 2021-05-03T16:20:12 | 363,983,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,455 | h | #pragma once
#if !defined(_NORMAL_DIST_FUNCTIONS_ET)
#define _NORMAL_DIST_FUNCTIONS_ET
#include <chrono>
#include <iomanip>
#include <iostream>
#include <random>
#include <sse_math_x64_lib.h>
#include "macros/sse_macros.h"
using namespace sse_normal_distribution;
float norm_cdf(float x)
{
const float pi = sse_c... | [
"michal.sara99@gmail.com"
] | michal.sara99@gmail.com |
1121424017c4f2246abaa5437c619e579d0a6bc0 | 485303ba578e154b2c0c110f8e0fec758d921ed0 | /week-03/day-03/LineInTheMiddle/main.cpp | 43ef7ed49313ad8292574e29fcddf3491221a72b | [] | no_license | green-fox-academy/mazurgab | 0b6e3c3a7fe0a4940ff80c4e25f9f386b408ab7b | 1eae9aae0338122a3d1536fecd2eb15dc7871a3e | refs/heads/master | 2020-04-02T17:22:07.998691 | 2019-04-28T21:52:14 | 2019-04-28T21:52:14 | 154,655,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,750 | cpp | #include <iostream>
#include <SDL.h>
//Screen dimension constants
const int SCREEN_WIDTH = 640;
const int SCREEN_HEIGHT = 480;
//Draws geometry on the canvas
void draw();
//Starts up SDL and creates window
bool init();
//Frees media and shuts down SDL
void close();
//The window we'll be rendering to
SDL_Window* g... | [
"mazurgab@gmail.com"
] | mazurgab@gmail.com |
05dd2f47fc5202129523b83fafbdf6edc670e8aa | 08e1773590911eb45d40069534b89b1ada94a2d0 | /sparse_table/sq.cpp | af943681781a87a823217c0ad1b35803f1257bd6 | [] | no_license | YagaoLiu/WeightedSuffixArray | 22d2d2781af26b69c5fe780a0b593cb9108b7b12 | 70284e505c50668e6d3bbfcd49cc3f09f4cdd3cc | refs/heads/master | 2022-01-09T02:33:23.237984 | 2019-05-27T19:39:42 | 2019-05-27T19:39:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,817 | cpp | /**
Weighted Index
Copyright (C) 2016 Carl Barton, Tomasz Kociumak, Chang Liu, Solon P. Pissis and Jakub Radoszewski.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version... | [
"chang.liu.kcl@gmail.com"
] | chang.liu.kcl@gmail.com |
53866aef876202275cd235238e939a54437a90fb | cc13bdb0f445b8acf6bec24946fcfb5e854989b6 | /Pods/Realm/include/core/realm/mixed.hpp | 7584f469c7608994891c1d43b56be779e4a3fd99 | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-generic-export-compliance",
"LicenseRef-scancode-realm-platform-extension-2017"
] | permissive | devMEremenko/XcodeBenchmark | 59eaf0f7d6cdaead6338511431489d9d2bf0bbb5 | 3aaaa6aa4400a20513dd4b6fdb372c48b8c9e772 | refs/heads/master | 2023-09-04T08:37:51.014081 | 2023-07-25T23:37:37 | 2023-07-25T23:37:37 | 288,524,849 | 2,335 | 346 | MIT | 2023-09-08T16:52:16 | 2020-08-18T17:47:47 | Swift | UTF-8 | C++ | false | false | 10,226 | hpp | /*************************************************************************
*
* Copyright 2016 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | [
"devMEremenko@gmail.com"
] | devMEremenko@gmail.com |
3bbbcd3c04d1986900310ff985bb12873c1e8b43 | fd2f432d8ba520cdbf4f95e95a1c89a2972171c7 | /deps/fbjni/cxx/fbjni/detail/Registration.h | 126d1cf08d8008a369cd04ccf75551c6992fc096 | [
"Apache-2.0"
] | permissive | KazuCocoa/profilo | bebdd60f7e8c5b470ae2a4920d021ea03725f571 | 29831cd73e7933a72914d96a20814a285608c539 | refs/heads/master | 2020-04-02T04:11:30.787036 | 2018-10-19T23:00:30 | 2018-10-19T23:03:33 | 154,004,489 | 1 | 0 | Apache-2.0 | 2018-10-21T12:12:31 | 2018-10-21T12:12:31 | null | UTF-8 | C++ | false | false | 5,063 | h | /**
* Copyright 2018-present, Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
b4f87ae0ae9b8faabd2f8a55f82d91b33e6a26d6 | 5700384db9467ebe3f08550d8bb1d42a4100f72c | /include/Configuration.h | ab026dc95acb14c0c33cec48441ccbde5db7a521 | [
"MIT"
] | permissive | Poler2000/MarketSimulation | 7757df606d608fc6d0e6411bdd23b77c005e3113 | 0ffbda1c68315da98e6def963a9ad9ac93cdaaa6 | refs/heads/main | 2023-06-18T13:05:03.275360 | 2021-07-24T12:29:49 | 2021-07-24T12:29:49 | 385,942,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,749 | h | #ifndef MARKETSIMULATION_CONFIGURATION_H
#define MARKETSIMULATION_CONFIGURATION_H
#include <vector>
#include <array>
#include <string_view>
namespace poler::market {
using namespace std::chrono_literals;
static constexpr struct CustomerConfig {
static constexpr int defaultNeedIncrease = 8;
st... | [
"p.polerowicz@gmail.com"
] | p.polerowicz@gmail.com |
8c540a81c0c4b73a40f377329ad30f298b3a920f | 34d0bad8a2849447925fef0c752406122baae3f2 | /ti_tools/linux_devkit/arm-arago-linux-gnueabi/usr/bin/qtopia/demos/qtdemo/examplecontent.cpp | 206eb59761345d4807e665e891af2f82cca656e3 | [] | no_license | pamsimochen/hardwork | 5e05154fac35a0aacc0f8b64c21b2ca767fd4a3d | 1e0a4cafdd1722eb58c4261bad68e602352f2079 | refs/heads/master | 2021-09-07T22:44:16.620515 | 2018-03-02T09:48:40 | 2018-03-02T09:48:40 | 103,899,662 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,183 | cpp | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LIC... | [
"82425509@qq.com"
] | 82425509@qq.com |
bfa1ba203aeb0c1e7af317ecf7d82310bcbed9f4 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/blink/renderer/platform/network/form_data_encoder.cc | b2cf3241467710d745dd86ba1917028251059df8 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 9,188 | cc | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
* (C) 2006 Alexey Proskuryakov (ap@nypop.com)
* Copyright (C) 2008 To... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
19c08c861f5a73a74c8ea4e07277aacf731bad7b | c7512b7d589fd3cef72c85f9cda6370335c7d2fd | /HW06/StackInterface.h | cd3376fdc6f71c3ed3e88684eaf2186c5a2e16d2 | [
"Apache-2.0"
] | permissive | fitsenegn/CSCI2421 | b42b7a891aefdd509f40a9a32a20adceeab71bc9 | 8896330c15316e8dcd1b9476fd3e68ce230e1f36 | refs/heads/master | 2020-05-14T11:52:09.195182 | 2018-05-08T05:46:04 | 2018-05-08T05:46:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,129 | h | #ifndef STACKINTERFACE_H_
#define STACKINTERFACE_H_
template <class ItemType>
class StackInterface {
public:
/** Sees wether this stack is is empty
\@return True if the stack is empty, or false if note */
virtual bool isEmpty() const = 0;
/** Adds a new entry to the top of this stack.
\@post If the ope... | [
"baby.hughee@gmail.com"
] | baby.hughee@gmail.com |
51c1ba09ec95a64c82dc2031cfc605ae87722542 | 8c5fd6d091a13637959939e880149c0927a27645 | /Engine/AudioSystem/TremoloDSP.h | 6009ba4c799c02335726721e3af0f527795aaba0 | [
"MIT"
] | permissive | hulcyp/GuildhallProjects | f1223f0f83a947b256fbfad02c3591083c93bdaa | 2c5c558992daa505867c4b37b73cec61e1c8d2d0 | refs/heads/master | 2021-01-17T17:06:31.480272 | 2014-03-13T16:00:21 | 2014-03-13T16:00:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,037 | h | #pragma once
#include "DSP.h"
#include <XMLParser.h>
namespace Monky
{
class TremoloDSP : public DSP
{
public:
TremoloDSP();
TremoloDSP( XMLParser& parser, XMLNode* tremoloNode );
/* Frq in hz. Range: 0.1 - 20.0 */
void setFrequency( float frequency );
float getFrequency() const;
/* Range: 0.0 - 1.0 */... | [
"prestonhulcy@gmail.com"
] | prestonhulcy@gmail.com |
296173911fae870607dffcc958a4d11f834b3d3b | 6e4076f5b26b774f0fc7fd69bc936f6a80141b38 | /http_tcpserver.h | 17741ebb77201e12f05e0ed30e63015e6363afad | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Light-City/http-server | e2ae14d95d920cce01aec3745f56935c4ad08419 | 2c728d4f1a46f45aa534bb32e60c20ea631b1d37 | refs/heads/main | 2023-08-23T05:45:41.768466 | 2021-10-17T18:15:00 | 2021-10-17T18:15:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | h | #ifndef INCLUDED_HTTP_TCPSERVER
#define INCLUDED_HTTP_TCPSERVER
#include <stdio.h>
#include <winsock.h>
#include <stdlib.h>
#include <string>
namespace http
{
class TcpServer
{
public:
TcpServer(std::string ip_address, int port);
~TcpServer();
void startListen();
private:
... | [
"osas.azamegbe@gmail.com"
] | osas.azamegbe@gmail.com |
89c33260a468556b3ad2b93e6ea60abd2de96922 | fdb963647dc9317947943874a51f58c1240f994c | /project/Framework/Transition/MistTransitionMask.cpp | 945c01ec16cdc43b6bdf7378f9c30106e0319c69 | [
"MIT"
] | permissive | SomeTake/HF21MisotenH206 | 0f2e5e92a71ef4c89b43c4ebd8d3a0bf632f03b4 | 821d8d4ec8b40c236ac6b0e6e7ba5f89c06b950d | refs/heads/master | 2020-07-25T07:44:09.728095 | 2020-01-17T10:15:03 | 2020-01-17T10:15:03 | 208,212,885 | 0 | 2 | MIT | 2020-01-17T08:00:14 | 2019-09-13T07:02:16 | C++ | SHIFT_JIS | C++ | false | false | 2,606 | cpp | //=====================================
//
//ミストトランジションマスク処理[MistTransitionMask.cpp]
//Author:GP12A332 21 立花雄太
//
//=====================================
#include "MistTransitionMask.h"
#include "../Renderer2D/Polygon2D.h"
/**************************************
マクロ定義
***************************************/
#define M... | [
"yuta.tachibana0310@gmail.com"
] | yuta.tachibana0310@gmail.com |
dd4e410e32a7ccd51bc6764b782761dbd987d6cb | fddab5bb9e1fc9bba86f2e572f458763655b7861 | /GameServer/src/Country/CountryOverlordCarbonLoader.cpp | 37c7acee8ae682dba84fed679657e2a5ef686178 | [] | no_license | hackerlank/Test-3 | 0d6484db857ebd4649362e64fe77d33d0b125d85 | bfd5c332a09e0f6cf7a47abc89208e527bcb1ee8 | refs/heads/master | 2021-01-15T14:54:29.278366 | 2017-06-26T18:23:37 | 2017-06-26T18:23:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,863 | cpp | /*
* CountryOverlordCarbonLoader.cpp
*
* Created on: 2016年10月28日
* Author: root
*/
#include "CountryOverlordCarbonLoader.h"
#include "CSVLoader.h"
#include "StrArgPkg.h"
#include "util.h"
#include <math.h>
CountryOverlordCarbonLoader::CountryOverlordCarbonLoader():m_nKillPlayer(0),m_nKillBoss(0),m_nAttackB... | [
"cl_chenzhiyong@163.com"
] | cl_chenzhiyong@163.com |
0c1320448d612d2657b432e0316959a8f15c843c | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/src/httpgateway/FabricOrchestrationUpgradeProgress.cpp | cf6e15e826e018cc9a18f9f06c08d875cb719cf0 | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 1,036 | cpp | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | [
"noreply-sfteam@microsoft.com"
] | noreply-sfteam@microsoft.com |
05ee8f420e71dddf15f60e118ccfdb9c078e96db | fb7960d4abcf79c96d2c5671607393fecba79bd3 | /IncomeManager.cpp | 91f7791c0eb44c41b884da5a0a5807f8daa43dec | [] | no_license | Adamall123/console-financial-app | 39ce99baa74858b36edb8c4d3ed3239dcba80f8a | c1ef551800e58fdc1484a2ccd31c39aef8f4d1b6 | refs/heads/master | 2023-03-03T01:25:22.503661 | 2020-12-15T13:33:04 | 2020-12-15T13:33:04 | 321,360,399 | 0 | 0 | null | 2023-02-28T02:29:22 | 2020-12-14T13:44:16 | C++ | UTF-8 | C++ | false | false | 2,653 | cpp | #include "IncomeManager.h"
void IncomeManager::addIncome() {
system("cls");
cout << "Adding Income" << endl;
cout << "--------------------------------" << endl;
string givenDate = giveDateToNewIncome();
string dateWithoutDashes = DateMethods::disposeOfDashesInDate(givenDate);
int date = Aux... | [
"adam.wojdylo1234@gmail.com"
] | adam.wojdylo1234@gmail.com |
ad8d15fe9ad345af93fa0ca8c9f8ab1d18e8f32f | c4c4d7fa797fc4da4c0557effe20fffb7c3a2fed | /src/in_xsf_framework/XSFConfigDialog.h | fd705477c1a7ee42411136dd6ba2e89c2e58640c | [
"BSD-3-Clause"
] | permissive | bauxite69/in_xsf | 61addc63e9a55ceb1eb9729d53e5f719f017c52e | 6d78469746b17bf1a9356c7a26ecd2850ba46eb3 | refs/heads/master | 2023-04-04T22:08:02.382396 | 2021-04-20T01:20:36 | 2021-04-20T01:20:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | h | /*
* xSF - Core configuration dialog
* By Naram Qashat (CyberBotX) [cyberbotx@cyberbotx.com]
*
* Partially based on the vio*sf framework
*/
#pragma once
#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wold-style-cast"
#elif defined(__clang__)
# pragma clang diagnostic push
# pragma... | [
"cyberbotx@cyberbotx.com"
] | cyberbotx@cyberbotx.com |
951e9d003fb7a6755dc685a08846ca575456f847 | 157608821099c1837bb6bd2030aff54f7adb7074 | /Zork_C++/QT-The King Of Fish(Liangyue Yu Yusen Wang)/thirdWidge/thirdWidge/mainwindow.cpp | d09f46971077326822829b02d4f0fd651ab27ebf | [] | no_license | Liangyue-1998/Event-Driven-Programming-2018 | ac5d02e70b49d6b22054ea0e9d497c203479d3d7 | fe3e8e35ba981522d529afc9d48a606f9de98e31 | refs/heads/master | 2023-02-10T15:31:56.722482 | 2021-01-10T00:09:47 | 2021-01-10T00:09:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,458 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "Room.h"
#include <QLinkedList>
#include <QHash>
#include <QQueue>
#include <QPointF>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
zorkUL.printWelcome();
updateR... | [
"774389574@qq.com"
] | 774389574@qq.com |
6e46246e0cffdbab2dfb52c9047501f6cefdc0c7 | 388a2c6aa8cd0d6c15df8e8dae419a746f0ed7cc | /src/var/derived/multi_sum_var_node.hpp | ba05d533a21d928f1d67e8159b0799c71c7bea4f | [
"BSD-3-Clause"
] | permissive | standardgalactic/nomad | 013b486ed9be3f3d512cc1ba8f76a61844f0371e | a21149ef9f4d53a198e6fdb06cfd0363d3df69e7 | refs/heads/master | 2022-02-28T21:16:21.863458 | 2015-01-29T11:30:45 | 2015-01-29T11:30:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,119 | hpp | #ifndef nomad__src__var__derived__multi_sum_var_node_hpp
#define nomad__src__var__derived__multi_sum_var_node_hpp
#include <src/var/var_node.hpp>
namespace nomad {
template<short AutodiffOrder>
class multi_sum_var_node: public var_node_base {
public:
static inline void* operator new(size_t /* ignore *... | [
"betanalpha@gmail.com"
] | betanalpha@gmail.com |
9de650ad08f44b84dcf654a182b7a5eab9d848ca | 4fbded7beb2c71911b6ca8abfd1783967b75e10c | /LAb 2.cpp | e8ce87f2d862b7c3e41ed4cc9770a2916479387d | [] | no_license | Shubham4723/DSA-algo-codes | e70bdfae0bc170b6c948315722618a1fa58b59c1 | f8ec408408cbbb9fc8c7999913173d54c9aaddf7 | refs/heads/main | 2023-06-27T13:18:50.875537 | 2021-07-27T15:30:58 | 2021-07-27T15:30:58 | 389,724,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cpp |
#include "bits/stdc++.h"
using namespace std;
struct interval {
int start, end;
};
bool compareinterval(interval i1, interval i2)
{
return (i1.start < i2.start);
}
void findFreeinterval(interval arr[], int N)
{
if (N <= 0) {
return;
}
... | [
"noreply@github.com"
] | Shubham4723.noreply@github.com |
fbe1c919ab602028e2a0529a365578d14ead8c40 | 64178ab5958c36c4582e69b6689359f169dc6f0d | /vscode/wg/sdk/UItem_Legs_C_03_C.hpp | bd018fbfcc2d52c26ffc81d7d75499a83b26f915 | [] | no_license | c-ber/cber | 47bc1362f180c9e8f0638e40bf716d8ec582e074 | 3cb5c85abd8a6be09e0283d136c87761925072de | refs/heads/master | 2023-06-07T20:07:44.813723 | 2023-02-28T07:43:29 | 2023-02-28T07:43:29 | 40,457,301 | 5 | 5 | null | 2023-05-30T19:14:51 | 2015-08-10T01:37:22 | C++ | UTF-8 | C++ | false | false | 847 | hpp | #pragma once
#include "UEquipableItem.hpp"
#ifdef _MSC_VER
#pragma pack(push, 1)
#endif
namespace PUBGSDK {
struct alignas(1) UItem_Legs_C_03_C // Size: 0x2A8
: public UEquipableItem // Size: 0x2A8
{
private:
typedef UItem_Legs_C_03_C t_struct;
typedef ExternalPtr<t_struct> t_structHelper;
publi... | [
"1395329153@qq.com"
] | 1395329153@qq.com |
1c56bf5541bfdf2074af6b30e5c36128fa82e69d | 937cbf2d0d90ab901cc3ed8d97948bb9b4c73460 | /SimpleFramework/ClientDesign.h | f06ff6d79ee9a968089578684af3440977fe7143 | [] | no_license | tkorays/wxWidgetsDemo | 73029663d197d26e0ad0fbed87f4d6ba0181036c | efc49fe2e039b16535194fe37b6ab1375ff66a0b | refs/heads/master | 2021-01-16T19:02:45.083884 | 2014-07-08T10:50:24 | 2014-07-08T10:50:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | h | #ifndef _TK_CLIENTDESIGN_H_
#define _TK_CLIENTDESIGN_H_
class ClientDesign{
private:
public:
ClientDesign();
};
#endif // _TK_CLIENTDESIGN_H_ | [
"tkorays@hotmail.com"
] | tkorays@hotmail.com |
04ad300499e02b366b54a55b95e1176627af6224 | 3af8b24f33fecaa9c890bf77e4710fd437ac9445 | /Phase_1/3_Proposed_Solution/Source_Code/mem/cache/tags/lru.cc | 848051e698332ba75146d413f449acefd9e5b785 | [] | no_license | swethasiva/cacheEnhancement | 9327ab4e09fecfc7125228cb8eca6d27dcdd72c0 | d0e74b7621b308a6586108a1d7cd1eb29e14bbf0 | refs/heads/master | 2020-03-23T12:54:50.904860 | 2018-07-23T09:52:24 | 2018-07-23T09:52:24 | 141,589,601 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 11,163 | cc | /*
* Copyright (c) 2012-2013 ARM Limited
* All rights reserved.
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the... | [
"swethadav@gmail.com"
] | swethadav@gmail.com |
2cbef3b3238da1f303387d26aba27fd908f529dd | ac5fff82f5e0481b6d5db6433a75328e06371496 | /СП_6/CopyFileApp/CopyFileApp/Source.cpp | 40aa367a0f6ace2f584b3b42a0e1147c6c56d91b | [] | no_license | siedex/WinAPI | 2e517c9de9a404bc60a80916d86edfcef4803a75 | 1b1fd544fcd54e884d00b9d8b522fb3a2a80f090 | refs/heads/master | 2021-01-21T05:15:17.876735 | 2017-05-01T20:55:36 | 2017-05-01T20:55:36 | 83,159,160 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 400 | cpp |
#include <windows.h>
#include "iostream"
using namespace std;
int main()
{
// копируем файл
if (!CopyFile(TEXT("D:\\demo_file.dat"), TEXT("D:\\new_file.dat"), FALSE))
{
cerr << "Copy file failed." << endl
<< "The last error code: " << GetLastError() << endl;
cout << "Press any key to finish.";
cin.get();
... | [
"siedex@outlook.com"
] | siedex@outlook.com |
fbaf6eeae39203efa805b073ccbb4e6fe33250ba | 1c72b609dc0e8fbeafad4c46d0d9c757abc238da | /source/SMPPBindTransceiver.cpp | f22f529e8016b02ce634ec11eae074ff2c91f2e6 | [
"Apache-2.0"
] | permissive | ict-project/libsmpp | 100c1d8a7f04292b5afbf3a092d5b61399643fa7 | c4f4045a62d3de90d96ccf5db8792d6753493561 | refs/heads/master | 2021-01-19T23:24:58.550325 | 2017-05-16T10:57:47 | 2017-05-16T10:57:47 | 88,975,511 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | cpp | /*
Copyright 2007 Majoron.com (developers@majoron.com)
Original sources are available at www.majoron.com
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.apa... | [
"mariusz.ornowski@ict-project.pl"
] | mariusz.ornowski@ict-project.pl |
5c40396bbc9c3cd4051c2328dc2a0a7572c9ebef | 6a11aa0bb2eaba51354149322172ee6cefb29ed6 | /lemoneditor/src/main.cpp | 7af1e4e14eba5b53c04e9292693b0e9d7b433556 | [
"Apache-2.0"
] | permissive | ra2u18/lemon | 59dd19e14702aea3b836492fbc6749523d292498 | f5ea85c3d30367f9d14df5c9385bc57870ed515a | refs/heads/main | 2023-07-17T20:48:20.969869 | 2021-08-25T10:00:31 | 2021-08-25T10:00:31 | 399,194,651 | 0 | 0 | Apache-2.0 | 2021-08-25T10:00:32 | 2021-08-23T17:38:12 | Lua | UTF-8 | C++ | false | false | 220 | cpp | #include "lemon/engine.h"
#include <iostream>
int main()
{
lemon::Engine& engine = lemon::Engine::Instance();
engine.Run();
std::cout << "Press ENTER to continue...";
std::cin.ignore();
return 0;
} | [
"riccardo.andronache14@gmail.com"
] | riccardo.andronache14@gmail.com |
b5d0d1ac988c2035f5f3e7ffb7070cc715fd5d04 | a7fd3ffe2257dd8bdb9977c2ff38833d52455555 | /src/main.cpp | 5737c990fbe9d51e88513fb416f7ce195cbc7baa | [] | no_license | Edward-Elric233/MEA | 66b498b20a93f826cb5004f0e3283a9581f46a0d | 93238d067c6c9761d0d1911bba0b38a07062b13c | refs/heads/master | 2023-08-10T01:24:24.833316 | 2021-09-16T16:49:44 | 2021-09-16T16:49:44 | 406,364,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | #include "data.h"
#include "work.h"
#include "Solution.h"
#include <iostream>
#include <fstream>
#include <cstring>
#include <iterator>
#include <ctime>
#include <queue>
using namespace std;
int main(int argc, char *argv[]) {
ios::sync_with_stdio(false);
// clock_t start = clock();
data::time = atoi(argv[1... | [
"2511136711@qq.com"
] | 2511136711@qq.com |
d1d8cc3cc3e285ddb4e51385e1e92efde4eebe5b | 5e589788298de2adef7e0119b650885f0ee703c6 | /BridgePattern/BridgePattern/main.cpp | badf369d137d4cf306aeb588bc663385ce71a64a | [] | no_license | dy0314/designpattern_study | 8f2394dcf09cba442943e77975d7af4389e142e3 | cd7929b61dd01c339b162005b0c4de3d236a31e4 | refs/heads/master | 2020-12-14T17:18:53.016263 | 2020-01-19T01:41:10 | 2020-01-19T01:41:10 | 234,822,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,462 | cpp | //
// main.cpp
// BridgePattern
//
// Created by daeyong Lee on 13/10/2019.
// Copyright © 2019 daeyong Lee. All rights reserved.
//
#include <iostream>
using namespace std;
class DisplayImpl { //Implementor
public:
virtual void showDisplay() = 0;
virtual void setHeight() = 0;
virtual void setWidth() ... | [
"dy0314@gmail.com"
] | dy0314@gmail.com |
148d6556ed132fa9019dca1e1d973575e1cc935c | 16cce1bbe1a6c5171bd473299c78a4f4a8fda939 | /snippets/segment_trees.cpp | ee44267a105cbbbe29e60688b382e649360e544f | [] | no_license | jscslg/Competitive-Programming | 2922f3d875527db2f165a4d44d51e79aa006fab5 | 2a04009d897b89ac39506a5790eda5ebde65abaa | refs/heads/master | 2023-07-17T00:43:39.607029 | 2021-09-06T09:54:20 | 2021-09-06T09:54:20 | 280,100,176 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,160 | cpp | template<class T>
class SegTree{
vector<T> seg;
int n;
T build(const vector<T>&,int,int,int=0);
T (*combine)(T,T);
public:
SegTree(vector<T> a,T (*combine)(T,T)){
n=a.size();
this->combine=combine;
seg.assign(pow(2,ceil(log2(n))+1)-1,0);
build(a,0,n-1);
}
... | [
"jscslg27@gmail.com"
] | jscslg27@gmail.com |
bd1d5c3e3cb2566af33acc23f9fce3e821fe025d | d184027d0fd8eed8e319800698491dfbc1f285b7 | /src/my_robot_tutorials/src/number_counter.cpp | f107728cbab1c2bea1c4ca6de9d41af6a4715e0a | [] | no_license | davidsonic/ros-template | d983161fa2704add67a1de089377a5374f5a6a4a | 8c08cbb035cfc08cc9c1dd945e7285c7ee171252 | refs/heads/master | 2020-05-23T18:02:48.035256 | 2019-05-18T06:04:39 | 2019-05-18T06:04:39 | 186,879,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,003 | cpp | #include <ros/ros.h>
#include <std_msgs/Int64.h>
#include <std_srvs/SetBool.h>
int counter =0;
ros::Publisher pub;
void callback_number(const std_msgs::Int64&msg){
counter += msg.data;
std_msgs::Int64 new_msg;
new_msg.data = counter;
pub.publish(new_msg);
}
bool callback_reset_counter(std_srvs::Set... | [
"davidsonic@163.com"
] | davidsonic@163.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.