blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7a0b8c7de24990a9445cd1ae22fcaa01652be7e8 | b8376621d63394958a7e9535fc7741ac8b5c3bdc | /lib/lib_mech/src/tool/tool_SrcBackup/jSrcBackup.cpp | dde8f64de97b1f17d879ff018d39579a361fd2e9 | [] | no_license | 15831944/job_mobile | 4f1b9dad21cb7866a35a86d2d86e79b080fb8102 | ebdf33d006025a682e9f2dbb670b23d5e3acb285 | refs/heads/master | 2021-12-02T10:58:20.932641 | 2013-01-09T05:20:33 | 2013-01-09T05:20:33 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,465 | cpp | // jSrcBackup.cpp : 응용 프로그램에 대한 클래스 동작을 정의합니다.
//
#include "stdafx.h"
#include "jSrcBackup.h"
#include "jSrcBackupDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CjSrcBackupApp
BEGIN_MESSAGE_MAP(CjSrcBackupApp, CWinApp)
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()
// CjSrcBackupApp 생성
CjSrcBacku... | [
"whdnrfo@gmail.com"
] | whdnrfo@gmail.com |
33f68aa4091926a6834f18a3d5571412fa130287 | 3496c0182ce7727654b273c59f464600e7478d43 | /ch07/ex7_26(隐式内联).h | 89d23f9c146c3ab5b50384c59d9899224bee6789 | [] | no_license | luqilinok/Cpp-primer-Personal | 47f54ef405053d3abd5f7536d88cd77cd1096b7c | 31ffdfa34c4cecb81051205505350e3abc4bb955 | refs/heads/master | 2018-10-22T16:39:42.639036 | 2018-08-29T07:02:49 | 2018-08-29T07:02:49 | 116,896,816 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | h | #include<iostream>
#include<string>
class Sales_data
{
public:
double avg_price() const
{
if (units_sold)
{
return revenue / units_sold;
}
else
{
return 0;
}
}
private:
std::string bookNo;
unsigned units_sold = 0;
double revenue = 0.0;
};
| [
"noreply@github.com"
] | noreply@github.com |
49a82bcd6ff12500e3923077d96db934903d2a1d | 12efddb38fd5bd1c2b2b3bb1b672714b694d5602 | /websocket/httpheader.h | 768965b0f3dcbec5d13c10d4982632ad972595b8 | [] | no_license | chenxp-github/SmallToolsV2 | 884d61200f556379551477030aa06c64593ce9d4 | 1a8aa863d0bc3744d376284ace85c7503b871f45 | refs/heads/master | 2022-06-01T05:19:25.417439 | 2022-04-30T05:31:53 | 2022-04-30T05:31:53 | 210,530,450 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,622 | h | #ifndef __HTTPHEADER_H
#define __HTTPHEADER_H
#include "cruntime.h"
#include "commonarray.h"
#include "httppair.h"
class CHttpHeader{
public:
CCommonArray<CHttpPair> *mParis;
CMem *mMethod;
CMem *mRequestUrl;
CMem *mHttpVersion;
int mRetCode;
public:
status_t GetContentRange(fsi... | [
"xiangpeng_chen@126.com"
] | xiangpeng_chen@126.com |
73a374a8b4a49219d2de194a9a077a5ff6e608c2 | 955129b4b7bcb4264be57cedc0c8898aeccae1ca | /python/mof/cpp/RoleTpltCfg.h | 91a994a4f78309a73c3883d9c032a426f88512b7 | [] | no_license | PenpenLi/Demos | cf270b92c7cbd1e5db204f5915a4365a08d65c44 | ec90ebea62861850c087f32944786657bd4bf3c2 | refs/heads/master | 2022-03-27T07:33:10.945741 | 2019-12-12T08:19:15 | 2019-12-12T08:19:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | #ifndef MOF_ROLETPLTCFG_H
#define MOF_ROLETPLTCFG_H
class RoleTpltCfg{
public:
void ~RoleTpltCfg();
void stringToObjJob(std::string);
void getMaxAnger(void);
void setMaxAnger(int);
void load(std::string);
void stringToObjSex(std::string);
}
#endif | [
"xiaobin0860@gmail.com"
] | xiaobin0860@gmail.com |
985f1664317326bbad7a32e037deef7d07634065 | 2c3245916133aad0b707abde5e3236caf58404d8 | /libbulletc/src/btOverlappingPairCache_wrap.cpp | 245501354121d8f00f7f7742ec122175d2e0a7ef | [
"Zlib"
] | permissive | ValtoLibraries/BulletSharp | 3ac2dc389b4c0f6ba1d31a7ac8ca87fe27395e94 | 079846c1663f9d6323df1e97083f091070ad6f52 | refs/heads/master | 2021-09-11T20:31:40.886634 | 2018-04-12T00:46:49 | 2018-04-12T00:46:49 | 81,493,381 | 2 | 0 | null | 2018-04-12T00:46:50 | 2017-02-09T20:47:00 | C# | UTF-8 | C++ | false | false | 4,350 | cpp | #include <BulletCollision/BroadphaseCollision/btDispatcher.h>
#include <BulletCollision/BroadphaseCollision/btOverlappingPairCache.h>
#include "btOverlappingPairCache_wrap.h"
bool btOverlapCallback_processOverlap(btOverlapCallback* obj, btBroadphasePair* pair)
{
return obj->processOverlap(*pair);
}
void b... | [
"andres.traks@gmail.com"
] | andres.traks@gmail.com |
226c75a44c5a49dc14340cbf70e94d422482701d | c5e26167d000f9d52db0a1491c7995d0714f8714 | /洛谷/P1516 青蛙的约会.cpp | 336bbd09ace01140e115372875e03a73d2a7fed7 | [] | no_license | memset0/OI-Code | 48d0970685a62912409d75e1183080ec0c243e21 | 237e66d21520651a87764c385345e250f73b245c | refs/heads/master | 2020-03-24T21:23:04.692539 | 2019-01-05T12:38:28 | 2019-01-05T12:38:28 | 143,029,281 | 18 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,240 | cpp | #include <bits/stdc++.h>
#define il inline
#define rg register
#define ll long long
#define getc getchar
#define putc putchar
#define rep(i, l, r) for (int i = l; i <= r; ++i)
namespace ringo {
template < class T > il void read(T &x) {
x = 0; rg char c = getc(); rg bool f = 0;
while (!isdigit(c)) f ^= c == '-', c = ... | [
"memset0@outlook.com"
] | memset0@outlook.com |
d0e68543d50daee42704db3b104882644ad6d299 | 42a360a941b26e4ff8c3ab2a2516e9f712fba718 | /Sistemas Operativos (SO)/Procesos/fork3.cpp | c9e7c5aeb60ebe6ffbdd5a30fa3bf1dd6876fd6b | [] | no_license | ianshalaga/UNL-FICH-II | 997b401192e0b53afd6fba3d33f5143a25579f7c | 75552dc84016b81b44ec95773f08c17f29859cbf | refs/heads/master | 2021-01-20T13:18:21.014192 | 2019-08-08T14:43:54 | 2019-08-08T14:43:54 | 90,471,950 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 230 | cpp | #include <iostream>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
using namespace std;
int main(int argc, char *argv[]) {
int a=5,p;
cout<<a<<endl;
p=fork();
if (p==0)
++a;
cout<<(++a)<<endl;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
04f2bf868de9b8f3e12988c11b4f518fc2346e11 | 30bc33c36074f2e104099f3a553226d8a19b3b8d | /inheritance/ispark/Trust_account.cpp | 12bb100b8006a9ff4917e3a078690178ee8e0653 | [] | no_license | ParkInsoo/cplusplusProject | 00c3578cb7fafd62f6d70b0229168645304c654a | db7977172c511d7986d315db91d50f27d4bd48d6 | refs/heads/master | 2021-04-20T19:40:48.128981 | 2020-03-24T14:37:52 | 2020-03-24T14:37:52 | 249,713,376 | 0 | 0 | null | 2020-03-24T13:19:38 | 2020-03-24T13:19:38 | null | UTF-8 | C++ | false | false | 512 | cpp | #include "Trust_account.h"
TrustAccount::TrustAccount(string name, double balance, double int_rate)
: Account { name, balance}, int_rate{int_rate}
{
}
bool TrustAccount::deposit(double amount)
{
amount += amount * (int_rate/100);
if (5000 <= amount)
{
amount += 50;
}
return Account::deposit(amount);
}
os... | [
"noreply@github.com"
] | noreply@github.com |
34a54e829cec48ae982319e0f82a7fa684e0306c | affd7dc26a0f4580454a9af1dfc4be601141892a | /src/qt/bitcoinunits.cpp | a66e2b91fa6bbcc77c5330fa347d2ab1d883bca2 | [
"MIT"
] | permissive | hendo420/Grdtcoin | 6d9410a5c3d2e2a8d38489542e4b5e67ac281f60 | 59262e398eb9dbef8bcf85713eae03fe6e7e953d | refs/heads/master | 2021-01-25T09:00:26.330968 | 2013-12-28T23:57:17 | 2013-12-28T23:57:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,341 | cpp | #include "bitcoinunits.h"
#include <QStringList>
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(parent),
unitlist(availableUnits())
{
}
QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits()
{
QList<BitcoinUnits::Unit> unitlist;
unitlist.append(BTC);
unitlist.append(mBT... | [
"root@d1stkfactory"
] | root@d1stkfactory |
2b38e7b823a2397d12e88bef63d9eb930184693c | cced65a21d5d99399a8fe216a36f3f5a613fa976 | /rockbot/character/classplayer.h | 40a5df52b79625fbea8f9ab68ce7f8529cc8089f | [] | no_license | JackD83/gh_retrogame_emulator | b347a047bf3e36e08fced2af58e14b14aafc8b5d | a8f11b7658cb897d345350868b93cba0bbfdcf2a | refs/heads/master | 2021-04-29T00:46:50.746947 | 2018-02-15T05:49:57 | 2018-02-15T05:49:57 | 121,837,122 | 1 | 2 | null | 2018-02-17T07:47:34 | 2018-02-17T07:47:34 | null | UTF-8 | C++ | false | false | 6,667 | h | #ifndef CLASSPLAYER_H
#define CLASSPLAYER_H
#include "character/character.h"
#include "character/classnpc.h"
class classnpc; // advance declaration
/**
* @brief child of character, this class is used to store data for a player (human controlled character)
*/
class classPlayer : public character
{
public:
/**
... | [
"steward.fu@gmail.com"
] | steward.fu@gmail.com |
ced9a550e804764427e90acd8d425e771ff10f1a | 5a52ebe89a4cc08154ac6c37ad8eaa980ca205be | /MyTuple.cpp | 37d431959ae55f74dff5c382ddf061c34b2b9605 | [] | no_license | seeman1978/c__20 | 1bdd358481712bc979ba5f8799eff542146f2c59 | 14023f0d7029733c440f53cfa044ef680677bc23 | refs/heads/master | 2022-10-30T21:20:52.444068 | 2022-10-13T11:52:06 | 2022-10-13T11:52:06 | 242,280,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | cpp | //
// Created by 王强 on 2020/2/24.
//
// tuple.cpp
// compile with: /EHsc
#include <vector>
#include <iomanip>
#include <iostream>
#include <tuple>
#include <string>
using namespace std;
typedef tuple <int, double, string> ids;
void print_ids(const ids& i)
{
cout << "( "
<< get<0>(i) << ", "
<... | [
"seeman1978@163.com"
] | seeman1978@163.com |
49299200bd45174ce1b7c1aec7d8dbc388d136df | 759838e85a8c98b5c35f3086a30a353d549a3016 | /cme/pacmensl/src/StateSet/StateSetBase.cpp | 71cba956a31a395b83c95b0205a8e2c6bd1c6fdb | [] | no_license | voduchuy/StMcmcCme | 82fa2fc6aaa282a1a7d146245e8dde787c2380a7 | 4950cbb8aecff33d6ba5c7fb41785f9e43ae44f7 | refs/heads/master | 2023-06-24T14:55:15.518677 | 2021-07-28T17:07:18 | 2021-07-28T17:07:18 | 271,329,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,382 | cpp | //
// Created by Huy Vo on 12/4/18.
//
#include "StateSetBase.h"
namespace pacmensl {
StateSetBase::StateSetBase(MPI_Comm new_comm) : partitioner_(new_comm) {
int ierr;
comm_ = new_comm;
ierr = MPI_Comm_size(comm_, &comm_size_);
PACMENSLCHKERRTHROW(ierr);
ierr = MPI_Comm_rank(comm_, &my_rank_);
PACMENSLCHK... | [
"vdhuy91@gmail.com"
] | vdhuy91@gmail.com |
34502113da5892483bbc55e9d282d2fa2a8543e0 | 444df7dac40df615fc0068e25dcd56c6fa3f5399 | /src/libs/data/type/Enumeration.cpp | f1f28d7315ac49105469f266ec190435af822eac | [
"MIT"
] | permissive | eirTony/eirTasker | f4642cb4f1893271d20c5811d4797672fd99e04b | 65550a4faf6a53d853d39285d94291f07271b07a | refs/heads/develop | 2020-04-18T12:09:23.585884 | 2017-01-29T00:05:41 | 2017-01-29T00:05:41 | 67,777,386 | 0 | 0 | null | 2017-01-10T04:11:47 | 2016-09-09T07:37:00 | C++ | UTF-8 | C++ | false | false | 6,882 | cpp | /*! @file Enumeration.cpp Definitions for Enumeration base class
*/
#include "Enumeration.h"
//#include "BaseLog.h"
#include <QStringList>
/*! Enumeration Construct an empty, invalid item */
Enumeration::Enumeration(void)
: value_i(0)
, name_s("[null]")
, name_map(0)
{
}
/*! Construct an item from a val... | [
"noreply@github.com"
] | noreply@github.com |
928725bf8a95a8bbfa437422aa0e83b38468a3f8 | 7a2425190626dd2e75dd6cbca9fe47727afbad42 | /cxxrt-source/testsuite/cxxrt.conformance/io-27-6-2-2.exp | 7bbcbee246dce97678d22a258e25385414a89212 | [] | no_license | dietmarkuehl/kuhllib | fadd4073c9b09992479e92112ef34c367cb90fad | 482ddc2b910870398a9a2bcaa0a77a145e081f78 | refs/heads/main | 2023-08-31T22:13:02.079530 | 2023-08-21T22:14:14 | 2023-08-21T22:14:14 | 3,148,966 | 71 | 7 | null | 2023-08-21T22:14:15 | 2012-01-10T21:49:09 | C++ | UTF-8 | C++ | false | false | 2,200 | exp | #!/usr/local/bin/expect
# -*-C++-*- io-27-6-2-2.exp -- C++ is actually a lie but it helps
# --------------------------------------------------------------------------
# Copyright (c) 2002 Dietmar Kuehl
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated doc... | [
"dietmar.kuehl@me.com"
] | dietmar.kuehl@me.com |
d94a2c84556d19e8e846e7bfa901b19c8b334787 | d900eaef32972ada6e49a7ff3e58c98f2d55c9fb | /Project/RRMProjectR/RRMProject/UIManager.cpp | 58c3a5b7812da8824b527da8352a043557633791 | [] | no_license | hanakita114514/RRMProject | 97a1973aa2f1cb305cf602e3bf93952a24e72acd | bcc366c6479752417858fd6be5fe02aa920bd15d | refs/heads/master | 2021-01-21T19:13:16.861695 | 2017-10-06T04:28:14 | 2017-10-06T04:28:14 | 92,117,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | #include "UIManager.h"
UIManager::UIManager()
{
}
UIManager::~UIManager()
{
}
void
UIManager::Create()
{
_uiFactory.Create();
}
void
UIManager::Draw()
{
for (auto& ui : _uiList)
{
ui->Draw();
}
} | [
"ryota889@yahoo.co.jp"
] | ryota889@yahoo.co.jp |
024bfbdbb4b480ce808a089071ed968600c566a3 | 35d6d1029feff7dd6b757b93baa89ca75aa7c5d9 | /Light OJ/1066 - Gathering Food.cpp | 58ef49bc2101a8009984b2f2597768568f2daaec | [] | no_license | SbrTa/Online-Judge | 3709f496ebfb23155270c4ba37ada202dae0aef4 | b190d27d19140faef58218a611bf38ab7e2398d3 | refs/heads/master | 2021-04-28T08:12:48.785378 | 2019-01-15T14:27:24 | 2019-01-15T14:27:24 | 122,243,679 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,423 | cpp | #include<cstdio>
#include<iostream>
#include<vector>
#include<map>
#include<algorithm>
#include<string>
#include<cstring>
#include<cmath>
#include<cstdlib>
#include<queue>
#define inInt(n) scanf("%d",&n)
#define inLong(n) scanf("%ld",&n)
#define inLong2(n,m) scanf("%ld%ld",&n,&m)
#define inLL(n) scanf("%lld",&n)
#defi... | [
"subrataxon@gmail.com"
] | subrataxon@gmail.com |
cf2c500ea4a8e668870223656a8b3062137c555e | 8c5054be017ac21e1aedfa433ab6c910206fe6aa | /Vault/DSA_NMS_18/HomePractice3/F.cpp | c61afd227363441e3f999b5d26edb9d4d16deb72 | [] | no_license | liv1n9/AkikazeCP | a3348a37d4151c0579f23ea21a1f0f84bb4f8862 | 9db7ee0398eaebfeb0efc4a2bfddffed9f43b8f9 | refs/heads/master | 2020-08-12T16:05:15.884390 | 2019-10-13T08:52:12 | 2019-10-13T08:52:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,415 | cpp | /**
Template by Akikaze (秋風) - formerly proptit_4t41.
Code written by a random fan of momocashew and Chiho.
H△G x Mili - November 27th, 2013
Mag Mell (Mili) - Sep 17th, 2014
H△G x Mili Vol.2 - May 9th, 2015
Miracle Milk (Mili) - Oct 12th, 2016
青色フィルム (H△G) - February 14th, 2018
Millennium Mother (Mili) - Apri... | [
"duybach.224575@gmail.com"
] | duybach.224575@gmail.com |
b2e27730521a78b07cc00c4b5db039a9f8f35fec | 6ced41da926682548df646099662e79d7a6022c5 | /aws-cpp-sdk-wafv2/include/aws/wafv2/model/AllQueryArguments.h | dfbeef6d80de1d50ff74c3bf0eb8a8694ae2df86 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | irods/aws-sdk-cpp | 139104843de529f615defa4f6b8e20bc95a6be05 | 2c7fb1a048c96713a28b730e1f48096bd231e932 | refs/heads/main | 2023-07-25T12:12:04.363757 | 2022-08-26T15:33:31 | 2022-08-26T15:33:31 | 141,315,346 | 0 | 1 | Apache-2.0 | 2022-08-26T17:45:09 | 2018-07-17T16:24:06 | C++ | UTF-8 | C++ | false | false | 1,069 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/wafv2/WAFV2_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace WAFV2
{
na... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
c45dfb42ef7ff1bb7dab578cd2e46c50d370b242 | b7a451237b0bd17285cb62a1027c5833d4113049 | /Protocolo/Comandos/EnviarPosiciones.h | 38f1651cacd422a80d21dabacb9b14ceb5a0c8e5 | [] | no_license | diegobalestieri/MicroMachines | 422ae10239810a8b579e0ee2f3698d1e6cefea03 | 5dfce6270da1625f6699091eb5bc0539ab6bd281 | refs/heads/master | 2023-04-22T19:35:21.407078 | 2020-08-07T01:48:23 | 2020-08-07T01:48:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | //
// Created by manfer on 2/11/19.
//
#ifndef PROTOCOLO_ENVIARPOSICIONES_H
#define PROTOCOLO_ENVIARPOSICIONES_H
#include "Comando.h"
#include "../Protocolo.h"
class EnviarPosiciones: public Comando {
Protocolo& protocolo;
std::vector<std::string>& extras; //ESTO LUEGO SERA ALGUN CONTENEDOR DE LOS OBJETOS
... | [
"manuelsturla@gmail.com"
] | manuelsturla@gmail.com |
092889ead22eb5bbaf5adc3a56d87adcd9d00d2d | dd50d1a5a3c7e96e83e75f68c7a940f91275f206 | /source/tnn/device/x86/acc/x86_relu_layer_acc.cc | 372704063b5cf9b90f918a6850a8fffbcfd5bdfa | [
"BSD-3-Clause"
] | permissive | bluaxe/TNN | 2bfdecc85ac4684e82032a86703eacaed5419ad6 | cafdb8792dc779236ec06dbeb65710073d27ebcd | refs/heads/master | 2023-03-19T02:55:39.007321 | 2021-03-04T02:59:18 | 2021-03-04T02:59:18 | 272,395,487 | 3 | 0 | NOASSERTION | 2020-12-30T08:10:31 | 2020-06-15T09:23:31 | C++ | UTF-8 | C++ | false | false | 1,442 | cc | // Tencent is pleased to support the open source community by making TNN available.
//
// Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy o... | [
"noreply@github.com"
] | noreply@github.com |
dc0feaf5fef66f0d153fa97ba23c9d1b5ab66f22 | 475bc45697b8ab6ee5864da1a88fd221ae59b64a | /number_theory/中国剩余定理.cpp | fa4d967bad2c77b3149b45c041526dadec62d715 | [] | no_license | foreignbill/ACM-ICPC_Template | 321089fba72c179b48555ce7c9ba8d23b0dab1de | 305b3a1d68261c984efb488872ee8a7d4dd4bf30 | refs/heads/master | 2020-03-20T04:36:33.410451 | 2018-09-30T09:48:09 | 2018-09-30T09:48:09 | 137,188,832 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | /*
$n$个同余方程,第$i$个为$x\equiv a[i] (\mod m[i])$,且$a[i]$两两互质,那么可以通过中国剩余定理合并。
*/
#include <cstdio>
typedef long long ll;
const int maxn = 5;
ll a[maxn],m[maxn];
ll exgcd(ll a,ll b,ll&x,ll&y){
if(!b)return x=1,y=0,a;
ll d=exgcd(b,a%b,x,y),t=x;
return x=y,y=t-a/b*y,d;
}
ll CRT(ll *a,ll *m,ll n) {
ll ans = 0;
... | [
"foreignbill@guohengkangdeMacBook-Pro.local"
] | foreignbill@guohengkangdeMacBook-Pro.local |
32b0e1c772f5d135a18746a3b0ad4789ae7e2720 | 38c10c01007624cd2056884f25e0d6ab85442194 | /v8/src/ic/handler-compiler.cc | 077a3a9a6d7e2d0043291a7ee7d890e7d2079263 | [
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 22,919 | cc | // Copyright 2014 the V8 project 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 "src/ic/handler-compiler.h"
#include "src/ic/call-optimization.h"
#include "src/ic/ic.h"
#include "src/ic/ic-inl.h"
#include "src/isolate-inl.... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
5512122985e5a18823b008dd595a5e8ad4b01006 | 8667e20de8a682e807fb2a04ea0ec86aaad71313 | /cgo.h | b62586f5dd74619259071ceff51e2382ea12c21f | [
"MIT"
] | permissive | cfh88888/xmly-downloader-qt5 | 30cc06c941a460a7a89f9f5acf4e7df5c2083af5 | 84f0dc50c1ff2196cd51284593f3220e3b31d7dc | refs/heads/master | 2022-11-09T01:49:42.610770 | 2020-06-23T01:22:17 | 2020-06-23T01:22:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,911 | h | #ifndef CGO_H
#define CGO_H
#include <QMetaType>
struct AlbumInfo {
const char* title;
int audioCount;
int pageCount;
const char* error;
~AlbumInfo() {
delete[] title;
delete[] error;
}
};
struct CgoAudioItem {
int id;
const char* title;
const char* url;
~CgoAudioItem() {
delete tit... | [
"3033784236@qq.com"
] | 3033784236@qq.com |
3dfffc749aabbe621b35a60cf7cecefac6bf973f | 43c4187cce8cb51988b3e36067f22c226271c384 | /genCpp/Data_Array_ST_Iterator/Data_Array_ST_Iterator.h | 49dff89aa64bc7194ed2d0ef56e3c072613b3faa | [] | no_license | iomeone/ss | db068a5b56000df322c86d30cdf53e39cb4e3313 | fded51bc7bdd1337ec6596bf47c1f3ae6ca4f369 | refs/heads/master | 2020-05-20T23:00:53.518351 | 2020-01-01T03:06:08 | 2020-01-01T03:06:08 | 185,790,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | // Generated by pscpp compiler
#ifndef Data_Array_ST_Iterator_H
#define Data_Array_ST_Iterator_H
#include "purescript.h"
namespace Data_Array_ST_Iterator {
using namespace purescript;
auto Iterator() -> const boxed&;
auto _peek_() -> const boxed&;
auto next() -> const boxed&;
auto pushWhile() -> const boxed&;
auto... | [
"iomeonee@gmail.com"
] | iomeonee@gmail.com |
93758facd91841354073dfb9304467bddcf8e5bc | f84ca67574f050afa08014f1eb64478ee600f395 | /A06/clock.cpp | 926086f723428aa6227768ee0859c4f9473cffa6 | [] | no_license | brysonb24/Assignments | 3425d8bbb3bd6d0deeddde9ada5a7384166dda92 | 28f279dc4432414ab172335e6f7298f208d1ffc3 | refs/heads/master | 2020-03-28T01:57:07.838790 | 2018-12-13T16:57:43 | 2018-12-13T16:57:43 | 147,535,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,982 | cpp | #include "counter.h"
////////////////////////////
// //
// counter Class //
// Implementation //
// *Extends Group* //
// //
////////////////////////////
/*
* Method Name: counter()
* @param: None
* This is our default constructor for our counter... | [
"noreply@github.com"
] | noreply@github.com |
da560c23bfb0c8273aedf6c101fc55e1d7a3ba51 | 84c91987dbeb1c689daec83645b07341dec096b1 | /AE/collision.cpp | a629a8a6f473295804c74e3904d0699193cfeebd | [] | no_license | MetropoliaPeliohj/Peliohjelmointi_Juha | 12c00e4f2a81904d56ea89f53e45814392712e9b | aa15875455a124747d1a77f4d7cb6b077078ee88 | refs/heads/master | 2020-05-27T14:18:22.322500 | 2015-05-18T15:15:07 | 2015-05-18T15:15:07 | 35,672,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,224 | cpp | #include "ae.h"
#include "bullet.h"
#include "deletion_list.h"
#include "duck.h"
#include "log.h"
#include "render_list.h"
#include "collision.h"
Contact_Listener* Contact_Listener::m_instance = 0;
boolean Contact_Listener::contactState;
/*
Collision (begin).
*/
void Contact_Listener::BeginContact(b2Contact *contact... | [
"landoflos@gmail.com"
] | landoflos@gmail.com |
2cd295f88cd636d07e4187c0e0dd8052eb92d0b6 | a744e0478a002f4d4a6ff98db797d59c4ef3cbd6 | /Source/IslandBattle/Private/IBShipAIController.cpp | 491724b21b160e28603b6e1d7ed0c5a5b36577db | [] | no_license | HWH222/IslandBattle | b6fe954273f04294485fd36f8eedb117480bd657 | ba0d70cd9c1469308f0897a0d05d26ad3a2b00e0 | refs/heads/master | 2020-05-15T10:43:10.807830 | 2019-05-12T10:13:31 | 2019-05-12T10:13:31 | 182,199,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "IBShipAIController.h"
#include "NavigationSystem.h"
TArray<FVector> AIBShipAIController::SearchPath(const FVector & location)
{
TArray<FVector> Result;
FPathFindingQuery Query;
FAIMoveRequest MoveRequest(location);
MoveReque... | [
"767373506@qq.com"
] | 767373506@qq.com |
8bb974e79fff2c99f4d01d36e5fc5c5a6d4b0926 | 48c2686017a882ce4ece2226ea4eda76ee21c06f | /shortWordsView.cpp | ac6eef71a2470c43b77a7d11c711c54bb57216a9 | [] | no_license | jack-dinsmore/Vokdh | 3a3b1e7ee32103f49c6646619d26cb289cbb96f2 | 7127c6e5c7be7e1e7394b58401a0419b53f71131 | refs/heads/master | 2023-05-13T10:54:55.900603 | 2021-06-09T01:35:34 | 2021-06-09T01:35:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,721 | cpp | #include "shortWordsView.h"
void ShortWordsView::extraDraw(ID2D1HwndRenderTarget* renderTarget) const {
renderTarget->FillRectangle({ SUB_MENU_LR_BUFFER, SUB_MENU_TB_BUFFER, screenWidth - SUB_MENU_LR_BUFFER, screenHeight - SUB_MENU_TB_BUFFER }, backBrush);
FLOAT ypos = SUB_MENU_TB_BUFFER + TEXT_BUF... | [
"jtdinsmo@mit.edu"
] | jtdinsmo@mit.edu |
bcb54b327bbec1247bcb4eab71a9edf61143b3bd | 2f60a2285c5f58e9cfe56cfc4a203860a6d9331e | /Groupe.h | 08aed182f7530a139a1757a9063842e88e52e0ba | [] | no_license | Hjok/MeetingUT | dd4611a8c9b0dcc2badc16c3bd7b93ce00b15e67 | b893aa90c0cbae1a805e063b9c4affc2e29d40c7 | refs/heads/master | 2021-01-21T04:33:24.998556 | 2016-06-22T15:40:51 | 2016-06-22T15:40:51 | 55,008,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 444 | h | #ifndef GROUPE
#define GROUPE
#include <QString>
/*!
* \brief La classe Groupe stocke les données d'un groupe
*/
class Groupe {
// Attributes
private:
/*! Le nom du groupe */
QString nom;
/*! Et son id */
int id;
// Operations
public:
QString obtenirNom () const {return nom;};
int obtenirId() cons... | [
"jean.courbe@gmx.com"
] | jean.courbe@gmx.com |
cf8c7d7f44bf91156f737358305c2986e98bbbdd | 0c15a952cfe1ae2c5ad2af09203ca4e559e6564c | /decrQualDeaminatedDoubleStranded.cpp | abca5a8a26a81474c5d6f4fcbf0156cdb55f8e66 | [] | no_license | grenaud/libbam | b37fe3d0c2907fc0b351c6579b65b35da658426b | c210c1ce1d4f0e1fe07fcbb4a438f9a7a2e3cf9b | refs/heads/master | 2022-07-07T11:58:15.193167 | 2022-06-24T09:00:06 | 2022-06-24T09:00:06 | 6,300,708 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,127 | cpp | #include <iostream>
#include <string>
#include <cstring>
#include "api/BamMultiReader.h"
#include "api/BamReader.h"
#include "api/BamWriter.h"
#include "api/BamAux.h"
#include "libgab.h"
#include "PutProgramInHeader.h"
using namespace std;
using namespace BamTools;
const int baseQualForDeam=2;
const int offset=33;... | [
"gabriel.reno@gmail.com"
] | gabriel.reno@gmail.com |
8edaf70f4e9a416f8748d21a379581d56c6a1023 | c570aff1f3e2238ee4361dcbba6e47869f4cde99 | /ecuacion_onda.cpp | 6142c4298d8a011359f5db0ed2f0ec12cf1847d3 | [] | no_license | dg2000/DanielMelo_Ejercicio23 | 0bfec0518465933454739ba2c3dab76715eab39c | c4f0fa40c8ae819e4c1caf18e9289af1db585722 | refs/heads/master | 2020-03-13T13:52:42.268479 | 2018-04-26T13:25:55 | 2018-04-26T13:25:55 | 131,147,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,008 | cpp | #include <iostream>
#include <ctime>
#include <cstdlib>
#include <math.h>
using namespace std;
int main()
{
double c = 1.0;
double T = 5.0;
double dt = 0.0001;
double dx = 0.0001;//pow(D*dt, 0.5);
double L = 1.0 ;
int nx = (L/dx) +1 ;
double numerador = dt*dt*c*c/(dx*dx);
int n1 = nx/4.0;
... | [
"dg.melo@uniandes.edu.co"
] | dg.melo@uniandes.edu.co |
25b7d0eb5269fd165c94859cbc6a3107a9de0900 | 08509d1d559f3f7eab7495cd4e072f229488166a | /PhysX/Include/particles/PxParticleCreationData.h | b7f8e5c6befd27d233326e6c7711bd08e30a5c70 | [] | no_license | LastVision/DistortionGamesFPS | 8a9da37990c68bb6ba193a289633f91ffa47bd6b | e26bd778b3ce16e01e6c9d67ad8e0ce7d1f0f6e0 | refs/heads/master | 2021-06-01T08:32:46.430309 | 2016-04-28T10:34:38 | 2016-04-28T10:34:38 | 51,527,472 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,875 | h | // This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related document... | [
"anderssonniklas@outlook.com"
] | anderssonniklas@outlook.com |
69d33619c31337633a02c88662ebe8b8ae4a9bb9 | a4fa50c7af93f09b2ddf463ddacd82ed404615f9 | /src/ast/IndexExpression.cpp | e96507df84b78814288a8ce7ed84699db6c2ba95 | [] | no_license | hadley-siqueira/hdc | 4cd0ab8b98afbc6ee207fc963443e5b89aa0a458 | 4df9e3f8d4070139de292fd98de93d8afbd659b2 | refs/heads/master | 2021-07-08T12:04:59.211561 | 2020-12-28T02:20:46 | 2020-12-28T02:20:46 | 136,125,618 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | #include "ast/IndexExpression.h"
using namespace hdc;
/* Constructors */
IndexExpression::IndexExpression() {
setKind(AST_INDEX);
}
IndexExpression::IndexExpression(Expression* left, Expression* right) : BinaryOperator(left, right) {
setKind(AST_INDEX);
}
IndexExpression::IndexExpression(Token& oper, Expres... | [
"hadley.siqueira@gmail.com"
] | hadley.siqueira@gmail.com |
a3684f57cd70da9e97c0f861ff3d3d322e4fc547 | 6565182c28637e21087007f09d480a70b387382e | /code/503.下一个更大元素-ii.cpp | 1e91277a8760a98039ab3623e76655603714b89a | [] | no_license | liu-jianhao/leetcode | 08c070f0f140b2dd56cffbbaf25868364addfe53 | 7cbbe0585778517c88aa6ac1d2f2f8478cc931e5 | refs/heads/master | 2021-07-17T05:54:58.228956 | 2020-08-17T07:03:52 | 2020-08-17T07:03:52 | 188,854,718 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | /*
* @lc app=leetcode.cn id=503 lang=cpp
*
* [503] 下一个更大元素 II
*/
class Solution {
public:
vector<int> nextGreaterElements(vector<int>& nums) {
vector<int> res(nums.size(), -1);
stack<int> st;
for(int i = 0; i < 2*nums.size(); ++i)
{
int n = nums[i%nums.size()];
... | [
"jianhaoliu17@gmail.com"
] | jianhaoliu17@gmail.com |
87862e261f89ff32c7c5dc3f94ddf93ea876f244 | 38c10c01007624cd2056884f25e0d6ab85442194 | /mojo/services/network/network_service_impl.h | b349cda1656077d1475179514306f5344ae03048 | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 1,849 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_
#define MOJO_SERVICES_NETWORK_NETWORK_SERVICE_IMPL_H_
#include "base/compiler_specific.h"
#include ... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
3054b4911a63fb3ad6ae9c95ddffb96ae23c1d1a | 0019f0af5518efe2144b6c0e63a89e3bd2bdb597 | /antares/src/apps/mediaplayer/media_node_framework/NodeManager.cpp | e92311fc1c1d2957e9c2e77a26938aed733784b4 | [] | no_license | mmanley/Antares | 5ededcbdf09ef725e6800c45bafd982b269137b1 | d35f39c12a0a62336040efad7540c8c5bce9678a | refs/heads/master | 2020-06-02T22:28:26.722064 | 2010-03-08T21:51:31 | 2010-03-08T21:51:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,605 | cpp | /*
* Copyright (c) 2000-2008, Ingo Weinhold <ingo_weinhold@gmx.de>,
* Copyright (c) 2000-2008, Stephan Aßmus <superstippi@gmx.de>,
* All Rights Reserved. Distributed under the terms of the MIT license.
*/
#include "NodeManager.h"
#include <stdio.h>
#include <string.h>
#include <MediaRoster.h>
#include <scheduler... | [
"michael@Inferno.(none)"
] | michael@Inferno.(none) |
51742a8f0da0601cac77ddc3a6f28f489001dadf | f1472061b35c37ed684128baf62b5ba5d95f0aa4 | /THP+Ui/LinkedList.h | 2cba4a64856f65d41f4d8874a50e5f2dcdf079bb | [] | no_license | Geymerson/CodingDirectory | e00a7ed791e6ec1dbf0c7183082a34c379499c54 | e715ee1c6078a2c00aa6de94732f717abda45184 | refs/heads/master | 2020-12-24T17:18:00.921333 | 2014-12-14T11:42:58 | 2014-12-14T11:42:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,885 | h | #ifndef LINKEDLIST_H
#define LINKEDLIST_H
#include "ListADT.h"
#include "Node.h"
template<class E>
class LinkedList : public List<E>
{
private:
Node<E> *m_cursor;
Node<E> *m_head;
Node<E> *m_tail;
int m_position;
int m_listSize;
public:
LinkedList() {
m_cursor = 0;
m_head = 0;
... | [
"geymerson.r@gmail.com"
] | geymerson.r@gmail.com |
01bcb40f064a8863a060acfdfea1816d6c3a6474 | 553e05ae32b4a2ad15c2b4dcca419773bc86e069 | /Math05_CanMeasureWater/CanMeasureWater.cpp | 9b3bf6172876e31d41d8d642693330c4133444d6 | [] | no_license | MaggieLee01/Coding | 52d825647aa3190bac28d7e9528a74e169ea25f6 | 6369b38fc01c0f7f8920c0d3f6188f5a91211caa | refs/heads/master | 2020-11-28T02:55:15.248215 | 2020-08-29T00:47:24 | 2020-08-29T00:47:24 | 229,686,797 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,932 | cpp | /* 有两个容量分别为 x升 和 y升 的水壶以及无限多的水。请判断能否通过使用这两个水壶,从而可以得到恰好 z升 的水?
如果可以,最后请用以上水壶中的一或两个来盛放取得的 z升 水。
你允许:
装满任意一个水壶
清空任意一个水壶
从一个水壶向另外一个水壶倒水,直到装满或者倒空
输入: x = 3, y = 5, z = 4;输出: True
输入: x = 2, y = 6, z = 5;输出: False
*/
//该题目,没思路,看题解
//#include<bits/stdc++.h>
#include<utility>
#include<unordered_set>
#include<stack>
#i... | [
"1136053360@qq.com"
] | 1136053360@qq.com |
4e6e49ed6f70d65106ee0bf3c3159f1c17b18dda | 0bcde4a29be0a18d9961a0335056c15a7662157b | /src/mesh/poisson/Geometry.h | 5d03508b493d5b5b4ecef1db4cae1bd92779be86 | [] | no_license | tiagodc/3DTK | b8d66299b7b51b1ff63c0edbf8c008859948fd69 | 4fe2d3465fd50bbd253e5fff4c4744ed675dce29 | refs/heads/master | 2020-03-24T00:03:31.322841 | 2018-07-20T13:41:28 | 2018-07-20T13:41:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,893 | h | /*
Copyright (c) 2006, Michael Kazhdan and Matthew Bolitho
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of
con... | [
"hsia.sun@gmail.com"
] | hsia.sun@gmail.com |
f95a65d9423dd25de5f1255ce0125d955822f1f4 | f005dc8b8f9bec19bec73c070331a533e9cd3851 | /mk_dir.h | 94e575da42d696b8b1bbc438c26fe937250f11e9 | [] | no_license | upadhyay-p/OS_Assignment_1 | 3e4e16858d6b1507f283660c0420c0a4c55c8899 | 3d90bc9d36cb0bfaa8d3784fae60d314873d751a | refs/heads/master | 2020-03-27T07:54:04.250390 | 2018-09-03T17:38:22 | 2018-09-03T17:38:22 | 146,202,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,652 | h | //Priya Upadhyay
//2018202012
#include <sys/stat.h>
#include <stdio.h>
#include <iostream>
#include <cstring>
using namespace std;
void create_dir(string dest, string dir, string home, string currdir){
string newdir;
//cout<<dest<<" "<<dir;
/* cout<<(dest.substr(0,2));*/
if((dest.substr(0,1)).compare("~")==0 || (de... | [
"priya.upadhyay@students.iiit.ac.in"
] | priya.upadhyay@students.iiit.ac.in |
346dd0af4907b30ed9c72c8b3134f459e7085767 | 5b8008908f6c752b50e04f05a92cd4b45d254f3e | /Problem 5.cpp | f49e2a805b476914f0083fbbdaf909d412442b61 | [] | no_license | yunusemreozturk/Project-Euler | 534ff07c842a74d2fa056a195f95e175d20fbfdf | e83c6656a0b0b5a3031b74ee89187c5876bde40a | refs/heads/master | 2022-04-25T18:46:07.522452 | 2020-05-02T11:40:55 | 2020-05-02T11:40:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
long long lcm(int n)
{
long long ans = 1;
for (long long i = 1; i <= n; i++)
{
ans = (ans * i)/(__gcd(ans, i));
}
return ans;
}
int main()
{
int n = 20;
cout << lcm(n);
}
| [
"oz2rkk@hotmail.com"
] | oz2rkk@hotmail.com |
7661885ad0f6a774c1032092aedeeb145207bcf2 | 0e5bd9ec1a8006d117f969042287ea2b45ae1ff4 | /lib/Ndt/ndt_map/src/lazy_grid.cpp | 70f7c0caee8824ef3ce6491a646d17404df78223 | [] | no_license | sven-glory/backup | 22b9dc20d13f9ca2d30ba4eb0a5c4c1a516c1c73 | f079f76872cda72c2d2bc6a01958bf044efe4930 | refs/heads/master | 2023-02-25T13:08:08.891726 | 2020-06-17T01:44:01 | 2020-06-17T01:44:01 | 334,567,040 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 19,198 | cpp | #include <cstring>
#include <cstdio>
#include <ndt_map/lazy_grid.h>
namespace perception_oru
{
// 构建立方体栅格
LazyGrid::LazyGrid(double cellSize) : protoType(NULL)
{
initialized = false;
centerIsSet = false;
sizeIsSet = false;
cellSizeX = cellSizeY = cellSizeZ = cellSize;
m_rect.Clear();
}
// 构建长方体栅格
Lazy... | [
"lvxiangren@siasun.com"
] | lvxiangren@siasun.com |
62d01780bc6057e9082fa17dcf36e12a32341298 | 6e6c87775dc84f74a4c25e9b403259bba75e6013 | /Bomberman/include/GameRules.hpp | b7e47b8e1af81116bb953c45e07fa360baf3febc | [] | no_license | Sybilai/SybLib | 9a545b67f42fd608e6a2931a69efac19504a2e48 | eb62726de04f9b1d1be648a8fb19deb7293f033d | refs/heads/master | 2020-12-25T19:15:22.194033 | 2014-07-29T07:25:18 | 2014-07-29T07:25:18 | 20,766,263 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,621 | hpp | #ifndef BOOM_RULES_HPP
#define BOOM_RULES_HPP
namespace boom
{
/// Avoid hard-coded rules on the client side. The authority may pick and choose and set all sorts of crazy settings.
/// And that's okay.
class GameRules
{
friend class BombermanGame;
public:
const unsigned int& MapWidth() const;
const unsign... | [
"cogloch@outlook.com"
] | cogloch@outlook.com |
72675371604fd65c7f73eb891453f2ed8c758502 | df95fbf220cc908cd50c3b7afb3845e1878a56f4 | /Excel Sheet Column Title.cpp | 0ab1d8ce22d0b7310dab61f0265621acd81a31ff | [] | no_license | shifou/leetcode | 83f5d5ddb14a61e8bf32ef9cfafce523acf0df94 | 6d1e024fe79881944fedcc8ebc7ffd432e45e6a9 | refs/heads/master | 2021-01-15T13:11:24.479238 | 2015-06-12T19:25:45 | 2015-06-12T19:25:45 | 31,827,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | class Solution {
public:
// AAC
string convertToTitle(int n) {
string ans="";
int hold=26;
while(n)
{
int r=(n-1)%hold;
ans+=('A'+r);
n=(n-1)/26;
}
reverse(ans.begin(),ans.end());
return ans;
}
}... | [
"maolixun@gmail.com"
] | maolixun@gmail.com |
cb6deca0d612af3ae7a63fee8e1fff55d26f9f49 | be48e2c5e5a6a0e25869cf466a87e2da9238a3ae | /Testing/vtkVisualize2DLevelSetImageBaseTest.cxx | 6b5bfd713844b1f7107dc07d55d1ce598cb6f0e5 | [] | no_license | ITKv4-LevelSets/LevelSetVisualization | 22586e741f9c68f0d12c89690372831bdc5bd4b8 | b2cd102fe102f80822ee091979be68cd7f5b6e77 | refs/heads/master | 2021-01-10T19:01:44.015221 | 2011-09-15T19:45:09 | 2011-09-15T19:45:09 | 1,672,140 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,168 | cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | [
"arnaud_gelas@hms.harvard.edu"
] | arnaud_gelas@hms.harvard.edu |
245b699dc2aaa5cf85b779ef156055d0c9e610dd | fd15aaab4922ebd09dff21abea8daf86c7a91d9c | /4/char4-9.cpp | d36c7d2cecaa32a276d2827968276ed57782d687 | [] | no_license | zhweiwei/apue | ca2970d80c2cf36b60d3ed773a70a6060b236331 | b719bbf766feb87b3275d7ca1f4784c2626c9997 | refs/heads/master | 2020-03-30T16:23:21.781994 | 2018-10-03T20:05:56 | 2018-10-03T20:05:56 | 151,406,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include "apue.h"
#define RWRWRW (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
int main(){
umask(0);
if(creat("f00",RWRWRW)< 0){
std::cout << "create f00 file error"<< std::endl;
return -1;
}else{
umask(S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
}
if(creat("f11",RWRWRW) <0){
std::cout << "create f... | [
"1239218305@qq.com"
] | 1239218305@qq.com |
d8c9bb68c7309a10cf89fc96c6259786f8e098f2 | 3b8a94b65010d62ac73caca48c0fed30ddcf34e3 | /nontemplate.cpp | f795d2bfe40610eca8b78d94b23e8cc1b11ae8a8 | [] | no_license | patilkap/Assignment1 | 578d0efa3d517101bea0bb6b05bdc312745b16a7 | f1f8b30b67a1d78763a938452a3447e6ff80e4e6 | refs/heads/master | 2020-03-15T01:14:38.762088 | 2018-05-07T21:44:25 | 2018-05-07T21:44:25 | 131,889,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,947 | cpp | //NONTEMPLATED VERSION
#include <iostream> // std::ostream, std::cout
namespace Pic10b{
class vector{
private:
double* the_data;
size_t the_size;
size_t the_capacity;
static const int INIT_CAP = 10;
public:
// The big 4
vector();
vector( co... | [
"noreply@github.com"
] | noreply@github.com |
220302a611a38e62d538d088dfc5629cf8f6377d | 9f2a8ff62a83fe1919fe2754ce84114e48202929 | /Sources/Wireless_Follower_Counter.ino | c31a2d57829fdd8e7681fe8dbc707a57817cd43b | [
"MIT"
] | permissive | Eltech008/FollowersCounter | 7a947b7916358041c3cde8eab001153d9d0cec66 | 0bfafb3602a44907b1dfcc28b9e1242aa9223583 | refs/heads/master | 2020-03-25T02:41:06.631528 | 2018-07-18T11:03:19 | 2018-07-18T11:03:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,614 | ino | #include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
#include <ESP8266WebServer.h>
#include <EEPROM.h>
#include <ESP8266HTTPClient.h>
#include <ArduinoJson.h>
#include <YoutubeApi.h>
#include <FacebookApi.h>
#include <Adafruit_NeoPixel.h>
#include "Config.h"
#define mediaCount... | [
"fardenco@live.fr"
] | fardenco@live.fr |
5db92478b1b38aaab19f91c306f64f13068a1bd8 | eb49b8eb7994ff7c7eda8b568072b96cd8bc0c2c | /src/harlequin/DialogManager.hpp | 8985e0a3e5d2e672bc67696862c9ccf0b450c49a | [] | no_license | ProjectAras/TrefusisEngine | a04ade3858955e273f7423296933653cd518887a | 400f6ce5fab8e7ef450d24f0c7631bd1e92dd59b | refs/heads/master | 2022-11-27T23:08:45.021282 | 2020-07-12T00:14:32 | 2020-07-12T00:14:32 | 255,276,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | hpp | #ifndef TREFUSISENGINE_DIALOGMANAGER_HPP
#define TREFUSISENGINE_DIALOGMANAGER_HPP
#include <queue>
#include <string>
struct Dialog {
std::string owner;
std::string text;
};
class DialogManager
{
private:
static std::queue<Dialog> dialogs;
static DialogManager* instance;
static bool isInitialised... | [
"egeemirozkan24@gmail.com"
] | egeemirozkan24@gmail.com |
5f708f4d2c2b92f772694c21b94b709fbbcb7502 | f0ee987789f5a6fe8f104890e95ee56e53f5b9b2 | /pythia-0.8/packages/acis/acismodule/meshing.cc | de887fbd9875a8a572e39ac2bf814da056277868 | [] | no_license | echoi/Coupling_SNAC_CHILD | 457c01adc439e6beb257ac8a33915d5db9a5591b | b888c668084a3172ffccdcc5c4b8e7fff7c503f2 | refs/heads/master | 2021-01-01T18:34:00.403660 | 2015-10-26T13:48:18 | 2015-10-26T13:48:18 | 19,891,618 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,294 | cc | // -*- C++ -*-
//
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Michael A.G. Aivazis
// California Institute of Technology
// (C) 1998-2005 All Rights Reserved
//
// <LicenseText>
//
// ~~~~~~~~... | [
"echoi2@memphis.edu"
] | echoi2@memphis.edu |
b1dd05887cdfe7aaeb7adcc6ae444f2f8cdc772b | bc8c075b1eb7628f88dedd2c1acf221ed2ed12f8 | /backup/OrderedArray.cpp | 3a288147593b9a74cb4dcef73ab2cae2db3b0679 | [] | no_license | HyperGamingSandbox/Seed | 4b896f649adf41f4e965b1b0ad6a0850df55bac6 | 0dcecabb33bcbff5435311724a51904d41c7de03 | refs/heads/master | 2021-09-13T21:24:31.089275 | 2018-05-04T10:47:41 | 2018-05-04T10:47:41 | 111,595,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,756 | cpp | #include "OrderedArray.h"
#include "DD\DrawMachine.h"
#include "RenderObject.h"
OrderedArray::OrderedArray() : LuaBaseClass() {
_count = _exists = _dcount = 0;
_size = 8;
_data = new PLuaBaseClass[_size];
_deleted = new PIndex[_size];
_sortType = 0;
setmt();
}
OrderedArray::~OrderedArray() {
auto p = _data;
... | [
"dessoya@gmail.com"
] | dessoya@gmail.com |
d97013b0f6eb862ae1e3bccdecd27c966cff7aa5 | d106ecb5f5526d265fd435ed4e1fb02c48a4bed7 | /1. 算法部分/第9章 动态规划/第三节 动态规划经典题/2.演讲大厅安排/hall2.cpp | b05bf6cd19e5522529db66030ed9b10c8ae9e5d4 | [] | no_license | Lucifer-ww/NOIP_ReC | acd53ccd6fc8a845f8fdba87ed12ec6811154d6c | ed20057f68bd7151c9d9e7067290b7cb0e637a9a | refs/heads/main | 2023-01-07T14:52:51.502799 | 2020-11-04T06:32:27 | 2020-11-04T06:32:27 | 309,902,344 | 43 | 19 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include<cstdio>
#define MAXN 100000
int next[MAXN],bgn[MAXN],first[MAXN],f[MAXN];
int ans,maxn,tot;
int max(int a,int b)
{
return a>b?a:b;
}
void add_edge(int a,int b)
{
tot++;
next[tot]=first[a];
first[a]=tot;
bgn[tot]=b;
}
int main(void)
{
int n;
scanf("%d",&n);
for (int i=0;i<n;i++)
{
... | [
"thomaswang1h@gmail.com"
] | thomaswang1h@gmail.com |
5122069d21daed08759bbbeeeb536569edb9e839 | e90437391895d0d798278571826a93ce415506c8 | /src/core/lib/iomgr/event_engine/iomgr.cc | eb067b1eb4c0a94a73a1057d394443d08b04f420 | [
"Apache-2.0"
] | permissive | donnadionne/grpc | ecca6a14a2bb0a24eb760bf8df478c4551c93c16 | 001c497c230fa94e8baec78fa0c83839c0e79103 | refs/heads/master | 2022-06-24T03:13:34.565857 | 2021-09-07T21:16:02 | 2021-09-07T21:16:02 | 31,379,498 | 2 | 0 | Apache-2.0 | 2022-05-13T08:04:02 | 2015-02-26T17:33:37 | C++ | UTF-8 | C++ | false | false | 3,788 | cc | // Copyright 2021 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | [
"noreply@github.com"
] | noreply@github.com |
d049e548d61d3d27ae36bc513807c7c71a61f4f3 | 7c3cf1e21c2430778a119c6f8125a4ad7ba57cbe | /Engine/Engine/MenuStuff/TableEntry/EntryTextBox.hpp | e125f272d59ff1ede5ccafedc2c0c015c653429e | [
"MIT"
] | permissive | yougren/Engine | f7d2c9144463268e5b10421bdace91923bce30dd | 154b8fd5bb419a751031eaad4235cd8f18063161 | refs/heads/master | 2021-06-06T18:24:04.755690 | 2016-04-21T21:24:26 | 2016-04-21T21:24:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | hpp | #pragma once
#include <SFML/Graphics.hpp>
#include "..\..\Utility\Utilities.hpp"
#include <iostream>
#include "..\SingleTextBox.hpp"
#include "..\MenuSprite.hpp"
class EntryTextBox : public MenuElement
{
public:
EntryTextBox();
EntryTextBox( sf::Font * const ffont, const unsigned int& ffontsize, const sf::Color &fco... | [
"riley.d.waugh@gmail.com"
] | riley.d.waugh@gmail.com |
92c5165b997008fd3731e6162955105e3fe2a1f2 | 1ca1418e6f431c2f544f4bcc9a3c921395d56c95 | /src/UnitTests/c11_test.cc | ddf336f599f0ecc8299a7ca53787048f79a624b5 | [] | no_license | TIHan/TEngine | 079daba4e70f468c65bcd8b5c69f30dce3cd8a77 | ba64debd54cd0478bb34d2ea5c07c1958b0a6a56 | refs/heads/master | 2020-05-30T05:26:13.920405 | 2013-02-13T10:41:50 | 2013-02-13T10:41:50 | 5,486,955 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cc | #include <engine_lib.h>
#include <gtest/gtest.h>
class C11Test : public ::testing::Test {
};
TEST_F(C11Test, MoveSemantics) {
std::vector<uint8_t> v;
auto i = std::move(1);
v.push_back(i); // lvalue
v.push_back(std::move(i)); // rvalue
v.push_back(1); // rvalue
v.push_back(std::mo... | [
"lol.tihan@gmail.com"
] | lol.tihan@gmail.com |
7cd48de8ad2b36ca190e7dc1fcb2ef1a9d2e9539 | a5b13fc4bb25b1418296b540ca1f5d272fba8926 | /while_and_for/8.cpp | 1901affa0dc0da79b075b38829b5cf12690465cc | [] | no_license | M2nzy/C | da1e0517820ed34171112e02d1cd7372e478e23e | c8b8d8d44c47c9c2ac98d373f7e5f38013e17c38 | refs/heads/master | 2021-04-06T21:29:35.711180 | 2018-03-29T12:40:04 | 2018-03-29T12:40:04 | 125,405,308 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 323 | cpp | #include <stdio.h>
void main()
{
int n,i,j;
while (1) {
printf("1 ~ 26 정수 입력 : ");
scanf_s("%d", &n);
if (1 <= n && n <= 26) {
for (i = 1; i <= n; i++)
{
for (j = 0; j < i; j++)
printf("%c ", 'A' + j);
printf("\n");
}
break;
}
else
printf("다시 입력하세요.\n");
}
} | [
"yequrz@naver.com"
] | yequrz@naver.com |
2c6ee10891d9716d623cfe1d67c700841db58db4 | 02099155d15b3d65330abc7276b13c8deff68e94 | /A/A. Panoramix's Prediction/main.cpp | cf0f3ea353ad564775151b61f23bd354238b9f7d | [] | no_license | xUser5000/competitive-programming | d7c760fa6db58956e472dd80e24def0358bbb5a8 | 90337c982dd3663a69f2d19021e692f1edb1b3a5 | refs/heads/master | 2023-06-26T21:56:02.452867 | 2021-07-23T22:39:49 | 2021-07-23T22:39:49 | 288,557,139 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main()
{
int n, m; cin >> n >> m;
vector<int> vc;
for (int i = 2; i <= 50; i++) {
bool f = false;
for (int j = 0; j < vc.size(); j++) {
if (i % vc[j] == 0) f = true;
}
if (!f) vc.push_back(i);... | [
"abdallahar1974@gmail.com"
] | abdallahar1974@gmail.com |
85e408518dd3e6c7a1a734c3d5c8cb68022b3b2d | 4f235fe33bfc43580187b27fe488eccf4162fc33 | /tests/ok/libiconv.cpp | c8b6cd06ddb4154869a0141ba084c642660a628b | [] | no_license | cppan/tests | 405a9239460a441e6405a0a812a98fb889e24796 | 18735da4271f22ee0760d8c473bfbe0e7cf8fce8 | refs/heads/master | 2020-04-18T01:17:36.874469 | 2017-03-23T12:56:31 | 2017-03-23T12:56:31 | 67,119,306 | 1 | 2 | null | 2017-07-04T17:44:24 | 2016-09-01T09:50:26 | C++ | UTF-8 | C++ | false | false | 118 | cpp | /*
dependencies:
- pvt.cppan.demo.gnu.iconv.libiconv
*/
#include <iconv.h>
int main(int argc, char* argv[])
{
}
| [
"egor.pugin@gmail.com"
] | egor.pugin@gmail.com |
b86b0ef51cdbbe0fc3db9f94f26c33d7871ba150 | 3677628dab6aad030dd94d48215298478e2aaebf | /srt_editor/src/main.h | 93bd793bae7547b1146e25e07b4cf562fe843a81 | [
"MIT"
] | permissive | R-CO/srt_editor | 436cd0d921d2d28719b7a29b2c33453051b35230 | 17abf133b0d69b28b8bd2f92bf44cc2fbf102684 | refs/heads/master | 2021-01-10T16:11:11.978761 | 2016-01-31T16:46:17 | 2016-01-31T16:46:17 | 50,594,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,389 | h | //The MIT License(MIT)
//
//Copyright(c) 2016 R-CO
//
//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, merg... | [
"daniel1820kobe@gmail.com"
] | daniel1820kobe@gmail.com |
6251938ccd82712b05451054c35e25ad60e67821 | 45364deefe009a0df9e745a4dd4b680dcedea42b | /SDK/FSD_ENUM_CarbonTypeFace_functions.cpp | 57acbefbdc70e67629db3fef222c879e837296fc | [] | no_license | RussellJerome/DeepRockGalacticSDK | 5ae9b59c7324f2a97035f28545f92773526ed99e | f13d9d8879a645c3de89ad7dc6756f4a7a94607e | refs/heads/master | 2022-11-26T17:55:08.185666 | 2020-07-26T21:39:30 | 2020-07-26T21:39:30 | 277,796,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | cpp | // DeepRockGalactic SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "FSD_ENUM_CarbonTypeFace_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
}
#ifdef ... | [
"darkmanvoo@gmail.com"
] | darkmanvoo@gmail.com |
bb479f5ce512679c4cc23951c03097c865248d4d | 0e42587e8fac434a0565a13851cb338ca1103120 | /Noise.hpp | eeafa91abb5f4a6d04280fbc99fe15c2812dd87c | [] | no_license | returnEdo/Minecrap | b4adb5b298369a76a79424775b3e3da2fa72c26d | cc5a0153d5a0ba0ffefa3bbf867c361c3bf99d89 | refs/heads/main | 2023-09-04T12:40:48.022129 | 2021-10-13T13:37:29 | 2021-10-13T13:37:29 | 416,757,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | hpp | #pragma once
#include <cstdint>
#include <vector>
#include <array>
#include "INoise.hpp"
namespace Noise
{
struct NoiseSetup
{
uint32_t m_octaveCount { 4 };
float m_damping { 0.5f };
int32_t m_seed { 123456 };
float m_periodCountx { 10 };
float m_periodCounty { 10 };
};
class CubicNoise: public... | [
"fraccaroedo@gmail.com"
] | fraccaroedo@gmail.com |
2ab912189a1cad0dcbad8c43213c65ce9a6fc1f3 | 0f2f893893431fb16ab42b19b704200f2aad3176 | /Functions/Pass by Address/main.cpp | 2d7ca25ff49bd48e2dc3e4942537c5411ff74126 | [] | no_license | Snehanko/Basic-Cpp-Programs | 081e30ba8fc9779ec9d2451fff38c78dbe4f259f | e4b949bdd3bc9e6489baac0bdf43391abf615581 | refs/heads/main | 2023-06-26T07:38:24.894215 | 2021-07-28T15:03:56 | 2021-07-28T15:03:56 | 390,393,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | cpp | #include <iostream>
using namespace std;
void swap(int *a,int *b){
int temp;
temp=*a;
*a=*b;
*b=temp;
cout<<*a<<" "<<*b<<endl;
cout<<a<<" "<<b<<endl;
}
int main()
{
int x=10,y=20;
swap(&x,&y);
cout<<x<<" "<<y;
return 0;
}
| [
"snehankobose31@gmail.com"
] | snehankobose31@gmail.com |
bcbdb5660fce3c647f01ac145e0484184565d92a | 58d7c7d0552bcb34e320283c2c0ddcae3444c38f | /project/Tom And Jerry/Position.h | 989ecb34f4a14aa3730136b972f80c70fedff490 | [] | no_license | DarkoDanchev/Data_Structures | 120d5170d66b46fb3bde72840fe48c693fed90a7 | 48d106e8c3cb80f3a78b77690471adb0c1e0233f | refs/heads/master | 2021-01-18T22:13:19.725561 | 2017-02-10T19:01:48 | 2017-02-10T19:01:48 | 72,298,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | h | #pragma once
#include "Furniture.h"
using namespace std;
class Position
{
private:
int x,y;
Furniture furniture;
bool paintable;
public:
Position();
Position(int x,int y);
Position(int x,int y,Furniture);
Position(int x,int y,Furniture,bool);
void setPaintable(bool);
void setFurni... | [
"dancevdarko@gmail.com"
] | dancevdarko@gmail.com |
ca591de42c16f0cc1c4374d17f7eb7647b17870a | 6abb92d99ff4218866eafab64390653addbf0d64 | /AtCoder/abc/abc062/b.cpp | 2e6436773c75887f1f90589494e32efe09ce4e53 | [] | no_license | Johannyjm/c-pro | 38a7b81aff872b2246e5c63d6e49ef3dfb0789ae | 770f2ac419b31bb0d47c4ee93c717c0c98c1d97d | refs/heads/main | 2023-08-18T01:02:23.761499 | 2023-08-07T15:13:58 | 2023-08-07T15:13:58 | 217,938,272 | 0 | 0 | null | 2023-06-25T15:11:37 | 2019-10-28T00:51:09 | C++ | UTF-8 | C++ | false | false | 504 | cpp | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;
int main() {
cin.tie(nullptr);
ios::sync_with_stdio(false);
int h, w;
cin >> h >> w;
char a[h][w];
rep(i, h){
rep(j, w){
cin >> a[i][j];
}
}
... | [
"meetpastarts@gmail.com"
] | meetpastarts@gmail.com |
6a3ed24f68ed745edf992dacfdfcd63487f3d6f3 | 2095af306a0eb2e10c78aa6047f85a7dcdc7c47d | /include/Control/UIText.h | 6cc1cbdb76bd6eb3b8b8798556ddf4d0e93085ee | [
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-scintilla"
] | permissive | grimtraveller/LongUI | ff4e5f565a44c266a8aede6925b75de711e5ea41 | d4fed468217312cb77e99b7f1ead45bdab9223b6 | refs/heads/master | 2020-12-11T03:25:13.373234 | 2016-03-12T12:13:36 | 2016-03-12T12:13:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,418 | h | #pragma once
/**
* Copyright (c) 2014-2016 dustpg mailto:dustpg@gmail.com
*
* 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 t... | [
"dustpg@gmail.com"
] | dustpg@gmail.com |
06a492cd10591fac2c8fb272dc0dd5f9bb3344cf | c788fdb6af5a078c80a360c1e675872ed8747787 | /Example7_Texture/main.cpp | 28e8e6310e4b1e73d932baee2230c3c800c7143d | [] | no_license | ysern/directXPres | 7c674f51cb06bf30ba3ef3fb3ca978bc1c6e8275 | d863bb08e5731605cc004b130859b52db5c2b8f7 | refs/heads/master | 2020-03-18T20:23:35.854545 | 2018-05-28T22:04:09 | 2018-05-28T22:04:09 | 135,212,727 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,557 | cpp | //Include necessary Headers//
#include <windows.h>
#include <d3d9.h>
#include "d3dx9.h"
//Include the Direct3D library
#pragma comment (lib, "d3d9.lib")
//Define variables/constants//
LPCTSTR WndClassName = "firstwindow"; //Define our window class name
HWND hwnd = NULL; //Sets our windows handle to NULL
const ... | [
"sernivka@gmail.com"
] | sernivka@gmail.com |
8aa9addea3242d668c283b884abc86be947bfaa2 | 2c05eb4a1ae4a1a1af2658aa2f4a7ee7c9a16b37 | /p126_1_whileLoop.cpp | f44a444ec619cdc74d96e5afd5b85ae8034db1c4 | [] | no_license | philippds-learn/Programming-Principles-and-Practice-Using-Cpp_Bjarne-Stroustrup_Chapter-02-11 | e668ec437d0e2c55998f332a2c1cf14899964c90 | ae64cce29b8ab56e02c7b7d0d7ad2192d8746cf5 | refs/heads/master | 2021-10-26T04:54:13.149956 | 2019-04-10T18:02:51 | 2019-04-10T18:02:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | cpp | // Philipp Siedler
// Bjarne Stroustrup's PP
// Chapter 4 Drill 1
#include "std_lib_facilities.h"
int main()
{
cout << "type in two integers or a '|' to terminate the program:\n";
int x1;
int x2;
while (cin >> x1 >> x2)
{
if (x1 == '|')
{
return 0;
}
else
cout << x1 << ", " << x2 << "\n";
}
k... | [
"p.d.siedler@gmail.com"
] | p.d.siedler@gmail.com |
4a7bfea2e4d21c41297a797fc0e982437b8208a6 | a76fc4b155b155bb59a14a82b5939a30a9f74eca | /Atelier Courrier/JFCControls/JFCTitle.cpp | 1a84d08d4b8c44907c88ce92c11f313c7bca3203 | [] | no_license | isliulin/JFC-Tools | aade33337153d7cc1b5cfcd33744d89fe2d56b79 | 98b715b78ae5c01472ef595b1faa5531f356e794 | refs/heads/master | 2023-06-01T12:10:51.383944 | 2021-06-17T14:41:07 | 2021-06-17T14:41:07 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,902 | cpp | // on inclut les défintions nécessaires
#include "stdafx.h"
#include "JFCTitle.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// le constructeur
//////////////////////////////////////////... | [
"alain.chambard@kantarmedia.com"
] | alain.chambard@kantarmedia.com |
bd066d2ee11ced282900765f5a9b6befea717213 | 6ce049ad0073d7d5e14efde081c94d9432a15d35 | /Gi/codeforces/557C.cpp | d9f814ff4d9817a01c7747a82e89bc9897cf937d | [] | no_license | yancouto/maratona-sua-mae | 0f1377c2902375dc3157e6895624e198f52151e0 | 75f5788f981b3baeb6488bbf3483062fa355c394 | refs/heads/master | 2020-05-31T03:26:21.233601 | 2016-08-19T03:28:22 | 2016-08-19T03:28:37 | 38,175,020 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | cpp | //#include <bits/stdc++.h>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
#define fst first
#define snd second
typedef pair<int, int> pii;
typedef unsigned long long ull;
typedef long long ll;
typedef long double ld;
#define pb push_back
#define for_tests(t, tt) int t; scanf("%d", &t); f... | [
"giovana.delfino@gmail.com"
] | giovana.delfino@gmail.com |
91be64827639f8bbba0d9d43cb2a446f1484fef8 | 786de89be635eb21295070a6a3452f3a7fe6712c | /pypdsdata/tags/V00-00-19/pyext/types/cspad/ConfigV2.cpp | 3a9bbf0349c0f754922b3601cfdf55f45f4bea37 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,189 | cpp | //--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class ConfigV2...
//
// Author List:
// Andrei Salnikov
//
//------------------------------------------------------------------------
#include "SITConfig/SITConfig.h"
//----... | [
"salnikov@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@b967ad99-d558-0410-b138-e0f6c56caec7 |
113d5b4583348453afa1499baa68ab7ee1395832 | 601aeee679de7a54c1ee66a24f1b0c194625b810 | /Arduino/StepperEnvironment/ArdoErr.ino | 629137cb7629efae70513a303e8f2eade19166e8 | [] | no_license | 15831944/cnc-2 | 6ea422f2d68702fae66782397ca8a7bc3880137d | 52e1f1ae59c60898293891d0fcc3fef0b61bc0d1 | refs/heads/master | 2022-11-13T12:29:13.812735 | 2020-07-10T18:42:24 | 2020-07-10T18:42:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | ino | #include <SoftwareSerial.h>
#include "ArdoErr.h"
#include "MainLoop.h"
///////////////////////////////////////////////////////
// static initialization:
const char* LastErrorCodes::messageText = "";
unsigned char LastErrorCodes::register1Byte_A = '\0';
int32_t LastErrorCodes::register4Byte_A = ... | [
"stefan.hoelzer@fplusp.de"
] | stefan.hoelzer@fplusp.de |
60cf1a43908e886edcb30a275c81c3a06b30bf95 | 6d91631491a7bfa6ee3a3958dab2d5868364fe0c | /Project/CubeBox.cpp | 967cf82da91a6366775c19884aafa963b5970c10 | [
"MIT"
] | permissive | recter/D3DXTest | 0ebf45eeb18a5e427865103ae8ac111a7fec7ff7 | 396b1ad1cb64072f320190cc35419b2d882a9ea2 | refs/heads/master | 2020-06-05T15:44:11.368011 | 2015-04-19T16:12:54 | 2015-04-19T16:12:54 | 34,198,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,559 | cpp | #include "CubeBox.h"
const DWORD VertexBox::FVF = (D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1);
CCubeBox::CCubeBox(void)
{
m_Tex = 0;
m_VB = 0;
m_IB = 0;
}
//-------------------------------------------------------------------------
CCubeBox::~CCubeBox(void)
{
}
//---------------------------------------... | [
"rectvv@gmail.com"
] | rectvv@gmail.com |
7cbbe8873f1aacbcdc2e9c77d38933be136f1de6 | dd3d11771fd5affedf06f9fcf174bc83a3f2b139 | /BotCore/DofusProtocol/CharacterFirstSelectionMessage.h | 87b701c0528cf921da261159f85aa2f442ccfd03 | [] | no_license | Arkwell9112/arkwBot | d3f77ad3874e831594bd5712705983618e94f258 | 859f78dd5c777077b3005870800cb62eec1a9587 | refs/heads/master | 2023-03-17T12:45:07.560436 | 2021-03-16T11:22:35 | 2021-03-16T11:22:35 | 338,042,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | h | #ifndef CHARACTERFIRSTSELECTIONMESSAGE
#define CHARACTERFIRSTSELECTIONMESSAGE
#include "../IO/ICustomDataInput.h"
#include "CharacterSelectionMessage.h"
class CharacterFirstSelectionMessage : public CharacterSelectionMessage {
public:
bool doTutorial = false;
unsigned int protocolId = 3197;
void deserial... | [
"arkwell9112@nowhere.com"
] | arkwell9112@nowhere.com |
e724e80de45bda01b160d545f806320bed46ea27 | 3d3bc4fac7cf86641a7a005c3f1cd3d74d28b080 | /WxGenGraph/WxGenGraph/unittree.h | f6ce6a8a35e04f0a77d6da17d6b309b8736173af | [] | no_license | altimosk/testgeom | 025884f9a15c52c50aba50f882c6dd68bf8cab89 | 5c6d9ea41b0f54c02d5b5748a64c0b4f620c2691 | refs/heads/master | 2021-01-10T14:28:15.705703 | 2016-02-11T19:40:53 | 2016-02-11T19:40:53 | 45,563,927 | 0 | 0 | null | 2015-11-09T09:45:07 | 2015-11-04T19:59:19 | C++ | UTF-8 | C++ | false | false | 667 | h | #ifndef UNITTREE_H
#define UNITTREE_H
#include "gentree.h"
#include <iostream>
class UnitTreeNode : public TreeNode
{
public:
unsigned long id;
UnitTreeNode(char* nm) : TreeNode(nm), id(0) {
}
UnitTreeNode* AddChild(char* nm)
{
UnitTreeNode* c = new UnitTreeNode(nm);
c->parent = this;
children.push_back(... | [
"altimosk@gmail.com"
] | altimosk@gmail.com |
de5bad9647e1346b074c05aca5a1e3e10c7e16be | 02747fefd5dc1d821afa7b2d8606c55c976b9730 | /MISPELL.cpp | 4fd60c22d5de3dd0c0a506c9f0b13071352ded3f | [] | no_license | fdoom/algospot-study | 03a014eafca4d8da3b4caae6051a883ce1ab60fb | 0de66db908258cb73bf293132c5ee2b8f753267b | refs/heads/main | 2023-08-01T22:41:22.955228 | 2021-09-14T04:25:36 | 2021-09-14T04:25:36 | 311,276,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include <iostream>
#include <string>
using namespace std;
int main(void)
{
int t;
cin >> t;
for(int j = 0; j < t; j++)
{
int n;
string arr;
cin >> n >> arr;
cout << j + 1 << " ";
for (int i = 0; i < arr.length(); i++)
{
if (n == i + 1) continue;
cout << arr[i];
}
cout << endl;
}
} | [
"11jjklol@naver.com"
] | 11jjklol@naver.com |
06df508ef9f454b27af7e221123348140d61e628 | e0fd392395cfb9c4651ce2eb46f25f62193b46d4 | /test/cxx/Core/UnionStationTest.cpp | 55a10778be32138c62007db5e014f15a0fdee141 | [
"MIT"
] | permissive | nelyj/passenger | fcc51d668c72003db7f719efc779855b2ba15aec | ce8138442e74acc83c4fa996c52692ea57d61bc6 | refs/heads/master | 2021-05-31T18:02:36.532786 | 2016-06-17T17:47:09 | 2016-06-17T18:07:09 | 61,965,975 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,852 | cpp | #include <TestSupport.h>
#include <Core/UnionStation/Context.h>
#include <Core/UnionStation/Transaction.h>
#include <MessageClient.h>
#include <UstRouter/Controller.h>
#include <Utils/MessageIO.h>
#include <Utils/ScopeGuard.h>
#include <boost/bind.hpp>
#include <boost/shared_ptr.hpp>
#include <oxt/thread.hpp>
#include... | [
"hongli@phusion.nl"
] | hongli@phusion.nl |
a16f3252db2aecfb78fce710617bc71479a2ec53 | e4d619f21b867337d34e32922240e47f87125954 | /2assign/pinatrace.cpp | 56e0604dda5f8c4d2e7395b5bb64d9629104ec54 | [] | no_license | sidmutha/csdlab | c88f596e848904f3376a7bf831218ed9c28dea58 | be11a0b7d976f2cf411708f61742f6c5c7097159 | refs/heads/master | 2021-01-15T10:47:18.017301 | 2014-10-02T11:40:05 | 2014-10-02T11:40:05 | 23,510,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,999 | cpp | /*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2014 Intel Corporation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above co... | [
"sidmutha@gmail.com"
] | sidmutha@gmail.com |
cc296a38c091c5e763f25c97531f0a680a4465ec | c2caa58960859fff7294e390e9e536d436ba6c8d | /ch04/MFCApplication1/MFCApplication1/MFCApplication1.cpp | dc04205b326443be68da273bbb60ae8e0530a3d3 | [] | no_license | stuckat1/CPP_Design_Patterns_and_Derivatives_Pricing | 0c65a2853eb53a2d5404e770795252dbb61c7ffe | 3fb60fdde68540aee267e4e8e27492ad9c7ae68b | refs/heads/master | 2021-01-17T08:58:32.091029 | 2016-05-13T00:37:14 | 2016-05-13T00:37:23 | 32,754,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,046 | cpp |
// MFCApplication1.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "afxwinappex.h"
#include "afxdialogex.h"
#include "MFCApplication1.h"
#include "MainFrm.h"
#include "ChildFrm.h"
#include "MFCApplication1Doc.h"
#include "MFCApplication1View.h"
#ifdef _DEBUG
#define new DEBUG_... | [
"keweima@yahoo.com"
] | keweima@yahoo.com |
de5a24a86513cf3fc55373108036e832c860d68e | 804e45b0ecc2108f52d6a1a95700ed471a80cae5 | /ppt/Unit3/3-5-3.cpp | adf50f89359d89cabee1c255a662a3a55e775ad9 | [] | no_license | ThinBuffalo/Cpp-study | 61fca18eec85bed537855317b44d2a410ad3f7ef | 88e3ce5373dc1d677999a37c98874c08e3bdf2ee | refs/heads/master | 2023-03-16T07:50:11.159315 | 2021-03-03T05:33:39 | 2021-03-03T05:33:39 | 322,501,215 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 224 | cpp | //ͬ3-2-5.cpp
#include <bits/stdc++.h>
using namespace std;
int main()
{
int x;
scanf("%d", &x);
printf("%s", (x % 4 == 0) && (x % 100 != 0) || (x % 400 == 0) ? "YES" : "NO");
system("pause");
return 0;
} | [
"mcluozc@163.com"
] | mcluozc@163.com |
4f808a6900b53d08dae38ce5ab6f04400a67eba8 | 0b15c7a046d703e153b6e6054cb57a0664a2d4df | /RobWork/src/sandbox/algorithms/PointConstraint.hpp | 3db95e8c2bab7df86a235e5d0c29cdd209e16da8 | [
"Apache-2.0"
] | permissive | skyellen/robwork-mirror | bf5d97ce19775c2928432854a93fb87ab2f7cd26 | 5a74a49d9ef98eff7c75f48fe48c2e655480e9b3 | refs/heads/master | 2020-04-16T06:10:11.359979 | 2018-09-06T09:26:01 | 2018-09-06T09:26:01 | 165,335,340 | 4 | 0 | null | 2019-01-12T02:01:40 | 2019-01-12T02:01:40 | null | UTF-8 | C++ | false | false | 2,431 | hpp | /********************************************************************************
* Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute,
* Faculty of Engineering, University of Southern Denmark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... | [
"adwol@mmmi.sdu.dk"
] | adwol@mmmi.sdu.dk |
892d8de1f4f0a09376a98e489a4dd7c3fb3d3eb8 | 6de45fa6316f471e08ba89c716763721007c8a0e | /Shooter.h | 32d41b306e8f0bb7b973a6ce8e3cbaf7cad4eb9a | [] | no_license | TejasSayankar/TPS-Prototype | 587d097464fdac036b795bf30f299e77003b2252 | 013e9e4faeff15aa4dfd69aae2e4847e71bba489 | refs/heads/main | 2023-01-15T00:24:31.564681 | 2020-11-24T06:59:05 | 2020-11-24T06:59:05 | 315,544,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "EnemyCharacter.h"
#include "Shooter.generated.h"
/**
*
*/
UCLASS()
class TPSPROTOTYPE_API AShooter : public AEnemyCharacter
{
GENERATED_BODY()
public:
//class AEnem... | [
"noreply@github.com"
] | noreply@github.com |
fc64be456bb12648b8ae1f14e73f0d22478d49cc | 30479151ee24c009881f0c2f1960efb76ffa11fe | /hikyuu_cpp/hikyuu/indicator/imp/SaftyLoss.cpp | e9eeb6d63d7a7b1aa4e61540d80f5dc3f694fd4f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | archya/hikyuu | 9832ec713bef400d8887dd107d64806e9d8a9541 | 2305a977a78bab832bf8fcb4d66482dfef442c9d | refs/heads/master | 2021-01-01T06:28:25.858204 | 2019-04-16T03:22:44 | 2019-04-16T03:22:44 | 97,430,935 | 0 | 0 | MIT | 2019-04-16T03:22:45 | 2017-07-17T03:19:27 | C++ | UTF-8 | C++ | false | false | 2,297 | cpp | /*
* SaftyLoss.cpp
*
* Created on: 2013-4-12
* Author: fasiondog
*/
#include "SaftyLoss.h"
#if HKU_SUPPORT_SERIALIZATION
BOOST_CLASS_EXPORT(hku::SaftyLoss)
#endif
namespace hku {
SaftyLoss::SaftyLoss():IndicatorImp("SAFTYLOSS", 1) {
setParam<int>("n1", 10);
setParam<int>("n2", 3);
setParam<d... | [
"fasiondog@163.com"
] | fasiondog@163.com |
c0bbfe01ad477a033ce93850236512cdc8fa5138 | 51ef482d0a4705e9231efeb3835b45f3f7d6647e | /SEM 4/OS_lab/roundrobin.cpp | 48be133c986992a6d95cee911a182aad4ac6d622 | [] | no_license | devmukul44/VIT-University-Vellore-Lab-Assignment | 40c4b941371a1261878e2041f55a922d2ea4d08a | 761c2a58b40f8cf9f7f07d3c35b95df850e90b93 | refs/heads/master | 2022-01-10T21:35:10.152193 | 2019-05-01T10:48:31 | 2019-05-01T10:48:31 | 77,526,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | cpp | #include<stdio.h>
struct p
{
int at,bt,wt,tt,pn,st,ft;
}pr[10];
int main()
{
int n,tq,i,flag=0,f=0,twt=0,ttt=0;
float awt,att;
printf("\nEnter the number of processes:- ");
scanf("%d",&n);
for(i=0;i<n;i++)
{
printf("\nEnter the arrival time of process P%d :-",(i+1));
scanf("%d",&pr[i].at);
pr[i].pn=(i+1);
... | [
"devmukul44@gmail.com"
] | devmukul44@gmail.com |
ac71edf6e3cce37799a6c02f43ee3470306de821 | b3b73a21030e565636073187fa09a33b6c8a0db7 | /Problems/Caesar Cipher.cpp | 24c3968852f52364b8e33edc0f5f78e79265b4ab | [] | no_license | ch05/Exercise | c54e376e13bf52eb1f8601b05159d079dd80227b | 265b527805e1f30fc94d6c57bb6eb41e71372e48 | refs/heads/master | 2021-01-18T23:41:11.219646 | 2016-04-19T03:14:12 | 2016-04-19T03:14:12 | 33,741,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
string plain, cipher;
int length, shift, diff, curr;
cin >> length;
cin >> plain;
cin >> shift;
cipher = plain;
while(shift > 26){
shift -= 26;
}
... | [
"sichen5@illinois.edu"
] | sichen5@illinois.edu |
2439e50aca5d0dc08ed177f36369374044d36b86 | a4f9e159fd976daa151a3cb2635e6bdc70d7b733 | /esmath/EsMathFitConstraint.h | 86671569b89600cd2edc8309d9a7b63ac7dc05a5 | [] | no_license | vgromov/esfwx | 6d77f9303de3b8391a26bbbc41d117de851bf64d | c727752378cad36d32cb344f916d87cd84ea0830 | refs/heads/master | 2021-07-08T03:08:17.442342 | 2020-07-30T10:01:58 | 2020-07-30T10:01:58 | 166,006,433 | 0 | 0 | null | 2020-07-30T10:01:59 | 2019-01-16T08:51:10 | C++ | UTF-8 | C++ | false | false | 2,357 | h | #ifndef _es_math_fit_constraint_h_
#define _es_math_fit_constraint_h_
enum class EsMathFitInfo : ulong
{
None,
Success,
Inconvergence,
ConstraintInconsistent,
Fail
};
enum class EsMathFitConstraintKind : ulong
{
Value,
FirstDerivative
};
class ESMATH_CLASS EsMathFitConstraint
{
publ... | [
"gromov.vsevolod@yandex.ru"
] | gromov.vsevolod@yandex.ru |
580303593048e1f6ab1742cc3dcfc04b140afdf4 | 1dfcd7de98e5384cce5d2f41d2c263befc7a4d5d | /Day66/Longest Harmonic Subsequence.cpp | cc0e2f903ed727fa3887927174aff2e699cc4011 | [] | no_license | krishna-NIT/100DaysCodingChallenege | 6a3bc1c49131e17cdd77dd24ae286bb1dc3f9e6f | 769c2cd6ddcdee7aa629fd092d4e2d13324b7070 | refs/heads/main | 2023-03-19T09:46:36.312000 | 2021-03-11T15:32:29 | 2021-03-11T15:32:29 | 346,909,151 | 3 | 0 | null | 2021-03-12T02:29:32 | 2021-03-12T02:29:32 | null | UTF-8 | C++ | false | false | 608 | cpp | /*
Platform:- Leetcode
Problem :- Longest Harmonic Subsequence
Event :- February Daily challenge
*/
class Solution {
public:
int findLHS(vector<int>& nums) {
vector<int>P;
int tot=0;
map<int,int>Q;
for(auto x:nums){
Q[x]++;
if(Q[x]==1){
P.push... | [
"noreply@github.com"
] | noreply@github.com |
09dbf840e293a508c481a804174f8f962fa7bb26 | 688a51f4072cc7816ab1beba6252f037cff1bf55 | /Overload/SSSEngine/Include/ShaderManager.h | d196cf48332551909ea81bdf673920a49e92675d | [] | no_license | wognl0439/D3D_Overload | f0c19c2c7a4ab2c950d3a97adb6195738c67280a | 7af41388591f2f60aa124d215084c72e9797eb86 | refs/heads/master | 2023-07-17T17:29:25.754980 | 2021-09-01T10:07:27 | 2021-09-01T10:07:27 | 401,966,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,400 | h | #pragma once
#include "Engine.h"
SSS_BEGIN
typedef struct SSS_DLL _tagConstantBuffer
{
ID3D11Buffer* pBuffer;
int iSize;
int iRegister;
}CONSTANTBUFFER, *PCONSTANTBUFFER;
class SSS_DLL CShaderManager
{
DECLARE_SINGLE(CShaderManager)
private:
unordered_map<string, class CShader*> m_mapShader;
unordere... | [
"wognl0439@gmail.com"
] | wognl0439@gmail.com |
73a4bd12ff62f0163be56fec7c31c4b7c3a7c10d | ba0cbdae81c171bd4be7b12c0594de72bd6d625a | /MyToontown/Panda3D-1.9.0/include/bulletVehicle.h | 4e1e8e1676eca6ae6cd64f95c83d45fd5cd1c842 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | sweep41/Toontown-2016 | 65985f198fa32a832e762fa9c59e59606d6a40a3 | 7732fb2c27001264e6dd652c057b3dc41f9c8a7d | refs/heads/master | 2021-01-23T16:04:45.264205 | 2017-06-04T02:47:34 | 2017-06-04T02:47:34 | 93,279,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,059 | h | // Filename: bulletVehicle.h
// Created by: enn0x (16Feb10)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. ... | [
"sweep14@gmail.com"
] | sweep14@gmail.com |
069ec6c6dddbbb0a56961b2148aec03fc21bf574 | b0dd7779c225971e71ae12c1093dc75ed9889921 | /boost/spirit/home/phoenix/core/detail/compose.hpp | 359bd1964ed9bddd3be0b068c4b897d6a5b6d192 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSL-1.0"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 1,800 | hpp | /*=============================================================================
Copyright (c) 2001-2007 Joel de Guzman
Distributed under 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)
===================================... | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
53c33b1bb1db9b11c06a8f087dcb337a70fb15bf | 90e66232f6d02811acf1d9123dd1b7b5d19ed35a | /a1paper.cpp | 4169a12788f819ad0e7ee610a0559a544ec13862 | [] | no_license | lukevand/kattis-submissions | 8396fb2dbc4d5550c47eae7525bf9482d5155955 | fc61a5117e507ef283241dec1dd3caa242df8934 | refs/heads/master | 2021-07-12T16:42:43.582376 | 2020-03-13T05:57:51 | 2021-05-27T19:40:12 | 246,996,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,028 | cpp | #include <bits/stdc++.h>
using namespace std;
#define debugp(X) for(auto const& CCC:X) std::cerr<<CCC<<' '; cerr<<'\n'
#define debugvii(X) for(auto const& CCC:X) std::cerr<<CCC.first<<', '<<CC.second << '\n'
#define debug(XXX) cerr << #XXX << ": " << XXX << '\n'
#define debuga(X, _a, _b) cerr << #X << ": "; for (int _... | [
"lvanduuren@protonmail.com"
] | lvanduuren@protonmail.com |
25ab0027c0f1def39cf07e7b404cb00b750b8066 | 02e6a51bd283d518c85cd461d23a5352bc539250 | /Source/BlackJack/PlayerWinState.cpp | a6619011661291696c6865e4c34596f1985c3596 | [
"MIT"
] | permissive | VictorLeach96/BlackJack | 050d55517b44d7f8a6f1f7b29d420c6f81639442 | fb93b607bec38138b4afe21fe97171e039c6752f | refs/heads/master | 2016-08-12T10:03:11.615136 | 2016-01-06T12:23:19 | 2016-01-06T12:23:19 | 48,953,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | #include "Header.h"
string PlayerWinState::stateName(){
return "PlayerWinState";
}
GameState* PlayerWinState::gameLoop(Player *player, Dealer *dealer, Screen* screen){
GameState* nextState = NULL;
//Update screen with win message
screen->message = "PLAYER WINS!, Press Enter for a rematch or Escape to qui... | [
"victor96@mac.com"
] | victor96@mac.com |
273a909d5c634b0394b125a541f1f4fe4eafeb59 | d80c3fb3d79c38c77d695459fa6a68ab227ee8ec | /Week 2/SearchInsertPosition.cpp | 75046f418fd507baaacef8607c4cdb46af31fe5b | [] | no_license | keerthisree-raghu/June-LeetCoding-Challenge | df0802d1d464ef055c1919b4556ea7133a3a31e9 | c00aed9dd01eadeac72df8a5add9d578446f808a | refs/heads/master | 2023-01-05T11:02:49.760158 | 2020-10-20T17:03:43 | 2020-10-20T17:03:43 | 268,586,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,360 | cpp | // SEARCH INSERT POSITION
/* PROBLEM:
Given a sorted array and a target value, return the index if the target is found.
If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array.
*/
/* EXAMPLES:
Input: [1,3,5,6], 5
Output: 2
Input: ... | [
"raghu.keerthisree@gmail.com"
] | raghu.keerthisree@gmail.com |
1bf2ee159ce0a3a1f89fa30d96caed4f52a18a09 | 75d3d3a64350f42de3685f4a32c330ccd643da76 | /Post/Post/Post.cpp | bf053bdd37f1272547aa571c4978fc640afe1ab8 | [] | no_license | Phaysik/School-CPP-Projects | 560830706a00cb2b2ce6f783e557950dec9c1aa8 | fee320dfe7787124db599124e6bc738c9f71a3f6 | refs/heads/master | 2020-04-27T01:14:03.912405 | 2019-03-11T18:33:18 | 2019-03-11T18:33:18 | 173,959,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | /*Programmer: Matthew Moore
Description: Post-Test Loop
Date: 1-9-19
*/
#include <iostream>
#include <string>
#include <regex>
using namespace std;
void RegNum(string num) //Validate Num
{
while (true)
{
if (!regex_match(num, regex("[-+]?[0-9]*\\.?[0-9]+")))
{
cout << "Please re-enter in your number: ";
ci... | [
"710866@sths.ssd.k12.mo.us"
] | 710866@sths.ssd.k12.mo.us |
84ab2aa16985c967f720abaa413b4e8790fafbff | 61e6710132ac14b9a8a318576f11132fd48bd9c0 | /unityLibrary/src/main/Il2CppOutputProject/Source/il2cppOutput/UnityEngine.AnimationModule.cpp | 3cf151793a6e1dd64195b14dea3f8aef73b2821d | [] | no_license | gundarsv/FlyIt-Android | 3863976aac1fd9824a965669b4ec5437054d7ceb | 0669e7e8dbe502158eb6c8e8a17ec9e3aab1da73 | refs/heads/master | 2023-02-05T09:03:09.807679 | 2020-12-16T16:21:58 | 2020-12-16T16:21:58 | 296,871,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242,284 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj... | [
"ionutputinicabz@gmail.com"
] | ionutputinicabz@gmail.com |
316448e2f7d80cdf2157848add5df50b63cb69d9 | 560659d09dbc09eadbac35ce42e4653bfddb7df8 | /BSDSBench/source/Random.hh | cfce766c0b3c6be56366746819d4d3d292e28ecc | [] | no_license | bygreencn/FLIC | 44a941a44f5eb44b86aa95ed3aa65f868a8e8c2d | 8d01146fe0a405c68ca80e53f6d9c5f37f892d13 | refs/heads/master | 2020-03-25T09:19:10.289530 | 2018-04-14T11:47:52 | 2018-04-14T11:47:52 | 143,659,341 | 1 | 0 | null | 2018-08-06T00:57:57 | 2018-08-06T00:57:57 | null | UTF-8 | C++ | false | false | 4,015 | hh |
#ifndef __Random_hh__
#define __Random_hh__
// Copyright (C) 2002 David R. Martin <dmartin@eecs.berkeley.edu>
//
// 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 2 of ... | [
"zhaojiaxing@mail.nankai.edu.cn"
] | zhaojiaxing@mail.nankai.edu.cn |
952b303da1e61d38c2510224419ac400f0722f07 | 140c46f234796da28bc91ea23055754a02d47ab8 | /ui/UtilityWidgets.cpp | c5e182d02f42f317184539f01a3cfa71ee8a6742 | [] | no_license | songjin321/QEstimator | 282b5389ef24a3f1d973eb373175d438b25e55a2 | 50fff7e4c84104f6b32e758825ad9feafb7a5cf6 | refs/heads/master | 2021-01-01T03:57:07.179275 | 2018-09-29T05:09:26 | 2018-09-29T05:09:26 | 58,736,127 | 5 | 3 | null | 2016-05-13T15:06:26 | 2016-05-13T12:00:55 | C++ | UTF-8 | C++ | false | false | 2,143 | cpp | #include "UtilityWidgets.h"
//
RangeDialog::RangeDialog(float *lowVal, float *highVal, QDialog *parent, QString title, QString discribe)
:QDialog(parent),
_lowVal(lowVal),
_highVal(highVal)
{
ledtLow = new QLineEdit(tr("-1"));
ledtHigh = new QLineEdit(tr("-1"));
QPushButton* btnOK =... | [
"sjinfeixue@Gmail.com"
] | sjinfeixue@Gmail.com |
90f3744f0f12ce583c24e257f4746765842dbb43 | 41499f73e807ac9fee5e2ff96a8894d08d967293 | /FORKS/C++/OpenPGP/tree/Encryptions/SymAlg.cpp | a24e5d989a21ff4b312dd04b444660638091aa71 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"WTFPL",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | lordnynex/CLEANUP | c9f3058ec96674696339e7e936170a8645ddc09b | 77e8e3cad25ce740fefb42859d9945cc482e009a | refs/heads/master | 2021-01-10T07:35:08.071207 | 2016-04-10T22:02:57 | 2016-04-10T22:02:57 | 55,870,021 | 5 | 1 | WTFPL | 2023-03-20T11:55:51 | 2016-04-09T22:36:23 | C++ | UTF-8 | C++ | false | false | 82 | cpp | #include "SymAlg.h"
SymAlg::SymAlg() :
keyset(false)
{}
SymAlg::~SymAlg(){}
| [
"lordnynex@gmail.com"
] | lordnynex@gmail.com |
534b6d5c025e5103767537db698af1259da71c0e | 1e3c820783301b104b8a9004d77d1c104d6ea58b | /bin/tribin.cpp | b7fe6d088f3d214b606283d7fd5d5019f852987e | [] | no_license | fscr3am/tribalpress | 029c7c5d5ee54b7502bbefb9f3b4fbdc6083742f | 5627e27210699012f47158b308bfda831898a072 | refs/heads/master | 2020-07-31T14:15:27.967163 | 2019-09-24T16:18:55 | 2019-09-24T16:18:55 | 210,630,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,490 | cpp | #include <iostream>
#include <windows.h>
#include <conio.h>
#include <locale>
using namespace std;
void sendKeyDown(unsigned char keyCode)
{
INPUT input;
input.type = INPUT_KEYBOARD;
input.ki.wVk = keyCode;
input.ki.dwFlags = 0;
input.ki.time = 0;
input.ki.dwExtraInfo = 0;
SendInput(1, ... | [
"noreply@github.com"
] | noreply@github.com |
2f962a99d554fb9801cf6da77747828158c6e427 | 974d04d2ea27b1bba1c01015a98112d2afb78fe5 | /paddle/phi/kernels/elementwise_divide_grad_kernel.h | c764f05c3983fb093c38f6329a69d00f6aed1360 | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle | b3d2583119082c8e4b74331dacc4d39ed4d7cff0 | 22a11a60e0e3d10a3cf610077a3d9942a6f964cb | refs/heads/develop | 2023-08-17T21:27:30.568889 | 2023-08-17T12:38:22 | 2023-08-17T12:38:22 | 65,711,522 | 20,414 | 5,891 | Apache-2.0 | 2023-09-14T19:20:51 | 2016-08-15T06:59:08 | C++ | UTF-8 | C++ | false | false | 1,667 | h | /* Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | [
"noreply@github.com"
] | noreply@github.com |
d58de5a98808ba83f4adb971ef14e28838935d58 | 667fd9708e38e78331d16a58634bee468c26ec0c | /kernel/mem/intel_page_mapper.h | 76f4bc0bcc3f2cec59a5c20b9434fdd85d2e40de | [] | no_license | jcredland/fos | 16ffb9ec5122994628e1503728b250662f815795 | 23030d095d7c917380a2533d6b690cdf0ab30890 | refs/heads/master | 2020-05-05T02:22:21.594508 | 2015-03-18T08:38:06 | 2015-03-18T08:38:06 | 31,543,774 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,853 | h | #pragma once
#include <klibrary/klibrary.h>
#include <mem/mem_layout.h>
#include <mem/physical.h>
/*
* From the intel documentation:
*
All three paging modes translate linear addresses use hierarchical paging structures.
This section provides an overview of their operation. Section 4.3, Section 4.4,
and Section ... | [
"jim@cernproductions.com"
] | jim@cernproductions.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.