blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ce14e9a2c5583d63ff0b6fa954e99b9d5e02d073 | 61e01d54866437963fcb77e7c3f889bf03dea7b9 | /ACODE.cpp | d47c4eada708bbd0272af95fb7db9d9000ba7c2f | [] | no_license | dB2510/SPOJ | c7a8b58d45a3593bc00fee7f78264b23eb34aadb | 7f33e893dac3d13112b4755dd9f583e90e317b41 | refs/heads/master | 2020-04-25T04:23:51.250657 | 2019-12-11T13:40:40 | 2019-12-11T13:40:40 | 172,508,974 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | cpp | #include <bits/stdc++.h>
using namespace std;
#define lli long long int
#define MOD 1000000007
#define f(i,a,n) for(lli i = a; i < n; i++)
#define pb push_back
#define mp make_pair
#define MAX 5000
lli dp[MAX+1];
lli alphaCode(string s,lli n)
{
if(n==1)
return 1;
if(n<=0)
return 0;
if(dp[n]!... | [
"dhruvbodani2510@gmail.com"
] | dhruvbodani2510@gmail.com |
5451d09d633abe52127949294374c961fd05d414 | 265b55ca4d6e84e97792cf55dc0bac3dd82c8e9c | /COSC112_CS1/Source Code/Chapter 17 Source Code/UnorderedLinkedListTestProgB/newClock.h | 8812023f2f8413ed66466a3d351f9910f4567d07 | [] | no_license | Mario-Kart-Felix/CS-Courses | daf8ceb5a29eed6e724c0c6934cd8f5ce36c82a6 | 405c5bfd853da563169958e7daffcc2790306ad5 | refs/heads/master | 2023-03-16T08:46:51.160883 | 2021-03-07T23:37:41 | 2021-03-07T23:37:41 | 344,701,898 | 0 | 0 | null | 2021-03-07T07:39:42 | 2021-03-05T05:13:35 | C++ | UTF-8 | C++ | false | false | 1,955 | h | //Header file newClock.h
#ifndef H_newClock
#define H_newClock
#include <iostream>
using namespace std;
class clockType
{
friend ostream& operator << (ostream&, const clockType&);
friend istream& operator >> (istream&, clockType&);
public:
void setTime(int hours, int minutes, int seconds);
//Fu... | [
"frank.w.xu@gmail.com"
] | frank.w.xu@gmail.com |
9e90b90ee8599d7a453736642d0d572262a3fb26 | e3ac6d1aafff3fdfb95159c54925aded869711ed | /Temp/StagingArea/Data/il2cppOutput/t1054668674.h | f7f21d2ab483b482ba94bfeee2c7dd2da0821aae | [] | no_license | charlantkj/refugeeGame- | 21a80d17cf5c82eed2112f04ac67d8f3b6761c1d | d5ea832a33e652ed7cdbabcf740e599497a99e4d | refs/heads/master | 2021-01-01T05:26:18.635755 | 2016-04-24T22:33:48 | 2016-04-24T22:33:48 | 56,997,457 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
struct t3431720054;
#include "Il2CppObject.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "... | [
"charlotteantschukovkjaer@Charlottes-MacBook-Air.local"
] | charlotteantschukovkjaer@Charlottes-MacBook-Air.local |
4c2ccad1eceb452873a774d0a0453b005e03c3b9 | f3301464110121edbeeeae713d1527e02c349100 | /Commport/CommportNoValidate.h | 63cbbbda8ca4ba0c512bb873925d8a3c557a8a92 | [] | no_license | Muzantip/CommPortTest | 8da314fc0e1e28a3be83bed02c62de2096c3a0e9 | 8a0be561a87f7f74c5c16925568e4f2a85aba995 | refs/heads/master | 2023-08-21T03:01:14.782499 | 2021-11-01T13:01:30 | 2021-11-01T13:01:30 | 419,685,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | h | #pragma once
#include "Commport.h"
#define IN
#define OUT
class CCommPortNoValidate : public CCommPort
{
public:
CCommPortNoValidate(const std::string IN &strPortName, const speed_t IN speed=B921600);
~CCommPortNoValidate();
eResult Write(const std::vector<unsigned char> IN &data);
eResult Read(std::... | [
"mangeti@mail.ru"
] | mangeti@mail.ru |
e73c44fd95744df8b203297f82ec17958451a4ba | 11a0b7761157df2e08cc9c6c5ba70a31396b74b6 | /src/common/shader.cpp | 2cf2bb987a4261076fd6f54d1506c7ffb75f5bac | [
"MIT"
] | permissive | DF4IAH/OpenGL-projects | f37ef724ac38ad780fa65d1e8aa1ddbe9ab15c5f | c6812f268459a2654e9a083733aacd5e3580e50b | refs/heads/master | 2020-04-10T19:08:10.577034 | 2018-12-26T18:59:26 | 2018-12-26T18:59:26 | 161,224,282 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,336 | cpp | #include <stdio.h>
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <sstream>
using namespace std;
#include <stdlib.h>
#include <string.h>
#include <GL/glew.h>
#include "shader.hpp"
GLuint LoadShaders(const char * vertex_file_path,const char * fragment_file_pa... | [
"espero7757@gmx.net"
] | espero7757@gmx.net |
bf4320df8e94ef3d5b3f1d67dc7a4884226e7009 | 5cf356e08e50cf0d4536540f4377e8bfac08cd71 | /include/mcnla/core_gpu/matrix/dense/dense_triangular_matrix_gpu.hh | b0f4879b387d9186e24220d67bb10d5e49cb145b | [
"MIT"
] | permissive | emfomy/mcnla | 3c295882235c38e09ca17da4cea237159d8e66ba | 9f9717f4d6449bbd467c186651856d6212035667 | refs/heads/master | 2021-09-22T18:10:48.569118 | 2017-08-12T07:05:52 | 2017-08-12T07:05:52 | 65,194,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,894 | hh | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file include/mcnla/core_gpu/matrix/dense/dense_triangular_matrix_gpu.hh
/// @brief The definition of GPU triangular dense matrix class.
///
/// @author Mu Yang <<emfomy@gmail.com>>... | [
"emfomy@gmail.com"
] | emfomy@gmail.com |
c3fe483eb6ae16ffb77b47b797b170a45d8aadf0 | 37d1ceacda69f6b904dcd1bf52e2b2242843ee49 | /src/fdm_c130/c130_LandingGear.cpp | 9ca253c9df3e0742a0263d2bb8379d8158937b8c | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | marek-cel/mscsim | 7a85f42eb0b50840d713f87c33a065b4feec7d5c | 04a739e770b04a334da30e09a8cf1c89fae02c34 | refs/heads/master | 2023-04-28T04:40:30.536671 | 2023-04-21T17:33:15 | 2023-04-21T17:33:15 | 164,319,941 | 271 | 38 | NOASSERTION | 2023-09-02T05:39:55 | 2019-01-06T15:27:44 | C++ | UTF-8 | C++ | false | false | 4,648 | cpp | /****************************************************************************//*
* Copyright (C) 2021 Marek M. Cel
*
* 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, ... | [
"46421808+marek-cel@users.noreply.github.com"
] | 46421808+marek-cel@users.noreply.github.com |
148d22c1daa5e68f29c803a8577a0c35b554b23f | 7af9c24bb6cea6e77c74990fbdf061bd03c0e779 | /src/stopwatch_main.cpp | 3e15eed092ccefcf7eb4df70da0a2f7119c45f17 | [] | no_license | dtbinh/sedgewick_cpp | abfca17d774f03cfde912fe5404770fad68a8628 | b488e5df2ad9c855aaaed66397c457dba55a4463 | refs/heads/master | 2023-03-16T09:11:31.240153 | 2017-08-23T23:39:20 | 2017-08-23T23:39:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | #include <cmath>
#include "utility.h"
#include "Stopwatch.h"
#include "Std_out.h"
int main(int argc, char* argv[])
{
auto n = utility::str_to_num(argv[1]);
Stopwatch timer1{};
double sum1 = 0.0;
for (auto i = 1; i <= n; ++i) {
sum1 += std::sqrt(i);
}
double time1 = timer1.elapsed_time(... | [
"timothyshull@gmail.com"
] | timothyshull@gmail.com |
34106aa34530333a594e9f0bbeafa15816c4c902 | f2ea98e60ea78465bdcb3e4324a5db4c95d3ee6a | /Inlab 2/Part 3/cDate.cpp | 6ab29f53913f5bc35f4a38094d904ba0f1c835b6 | [] | no_license | dnulho/School | e66b59e0aa91de129c9127080cf1b52e785ddbf5 | 720f7f3fb3de8f7befd16989938289e966348c55 | refs/heads/master | 2021-01-19T12:12:00.208662 | 2016-04-21T22:19:05 | 2016-04-21T22:19:05 | 50,211,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,316 | cpp | /* Author: Steven Ohlund
* Filename: cDate.cpp
* Created: 4.5.16
*/
#include "cDate.h"
// Overloaded op<< so I can output a cDate object to a stream easier,
// and increase readability
ostream& operator<<(ostream& os, const cDate& obj)
{
os << static_cast<int>(obj.m_month) << "/" << static_cast<int>(obj.m_day)
<< ... | [
"nevet.dnulho@gmail.com"
] | nevet.dnulho@gmail.com |
37dfbb2df25b9dc2b88f8473ed486f1231336522 | 22492834cf45020443261cac46bc91ceb3ba1525 | /Print Middle of List.cpp | 9c7223388f905545c2ace98a79a1729d1f347158 | [] | no_license | cbiituee/Devcpp | 08df64d9153f137a04237876dfa685c880752dbc | ea89a15af7d3083b653523ffd579faa74df9cdcd | refs/heads/master | 2016-09-11T03:24:26.681035 | 2015-05-16T08:51:04 | 2015-05-16T08:51:04 | 35,716,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,880 | cpp | #include<iostream>
using namespace std;
struct Node{
float value;
struct Node*next;
};
class SLL{
private :
Node *head;
public:
SLL(){
head=NULL;}
~SLL(){ };
void displaylist(struct Node**);
void insert(struct Node**,float,int);
void Delete(struct Node**,int);
void Reverse(struct Node**)... | [
"rajatkmr0505@gmail.com"
] | rajatkmr0505@gmail.com |
5ef4cbf8d9748f410c62c10607e67eee3be3678f | aca4f00c884e1d0e6b2978512e4e08e52eebd6e9 | /2017/hackerrank.com/weekofcode/33/prob.cpp | 2676a6a23a3aa2031239b759813e71c93d43ded5 | [] | no_license | jki14/competitive-programming | 2d28f1ac8c7de62e5e82105ae1eac2b62434e2a4 | ba80bee7827521520eb16a2d151fc0c3ca1f7454 | refs/heads/master | 2023-08-07T19:07:22.894480 | 2023-07-30T12:18:36 | 2023-07-30T12:18:36 | 166,743,930 | 2 | 0 | null | 2021-09-04T09:25:40 | 2019-01-21T03:40:47 | C++ | UTF-8 | C++ | false | false | 18,768 | cpp | #include "bits/stdc++.h"
using namespace std;
//HEAD_OF_CONFIG_
static const int MOD=1000000007;
static const long long MODL=1000000000000000003LL;
static const double eps=1e-8;
//TAIL_OF_CONFIG_
//HEAD_OF_JKI'S_HEADER_
//TYPEDEF
typedef long long lld;
typedef unsigned long long u64;
typedef pair<i... | [
"jki14wz@gmail.com"
] | jki14wz@gmail.com |
a562d8fa69d28b66a2700a4a15c2c036873ae4ea | a258fb75b9358774937479cd2913ecb25290f75a | /src/mouse_handler.h | 84eeaab7c93d04da1ab2b70983ee4ed4576ef0a7 | [
"MIT"
] | permissive | mBr001/SteadyHand | a3120cad059cd597ccb9aacd66552dca2c22703f | bceb147b8f2372486c0b6c40b3471cf0c553ff91 | refs/heads/master | 2020-06-28T03:40:10.144432 | 2018-05-03T23:17:45 | 2018-05-03T23:17:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | h | #pragma once
#ifndef M_HANDLER
#define M_HANDLER
#include <Windows.h>
#include <vector>
#include <iostream>
#include <chrono>
#include <fstream>
#include <sstream>
#include <iterator>
#include <string>
#include <tuple>
#include <set>
#include <unordered_map>
#include <thread>
#include <functional>
#include <atomic>
e... | [
"keonp2@illinois.edu"
] | keonp2@illinois.edu |
3bd6964d2e205eaeffa389afb6ea476eb9e17b7a | d5b5abfc75ab4a82d205e43dab03fd78a3db5b9c | /LinkedList/CreateDoublyLinkedList/main.cpp | a487531ce319552929095d98442da0ffe1e5280c | [] | no_license | princ3raj/Data-Structure-Made-Easy | 8e393947e621e92930389779ac9c995adc2f2405 | f988cc04e349f4fe72959cc8a4afb519eb24f4ec | refs/heads/main | 2023-07-24T19:24:09.947817 | 2021-09-11T08:52:59 | 2021-09-11T08:52:59 | 358,852,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,435 | cpp | //
// main.cpp
// CreateDoublyLinkedList
//
// Created by princeraj on 24/04/21.
//
/*
In some operations, I have used more than required pointers, bcz i was not awared of it before that i could achieve the same task with less pointers.
*/
#include <iostream>
using namespace std;
struct Node{
... | [
"princ3raj1999@gmail.com"
] | princ3raj1999@gmail.com |
c5255452151e4eb1c1b070731c626e3a533130b0 | 1b49fac0f0ea40589ecd29d04a6f1ca4d6c3a7eb | /lib/meas/inline/io/default_gauge_field.h | 42aeb8a1c0bed4fa14abb68a1d8cbb0e254d92d3 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | orginos/chroma | cc22c9854e2a0db2d4f17488904671015196c36f | 57ba8783393dd7668c6a45e7f4c9919280c29cd3 | refs/heads/master | 2021-01-16T21:38:32.182916 | 2015-10-18T16:03:54 | 2015-10-18T16:03:54 | 24,952,861 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 952 | h | // -*- C++ -*-
// $Id: default_gauge_field.h,v 3.1 2006-04-11 04:18:24 edwards Exp $
/*! \file
* \brief Functions to set and get default gauge field
*/
#ifndef __default_gauge_field_h__
#define __default_gauge_field_h__
#include "chromabase.h"
namespace Chroma
{
//! Namespace to support default gauge field man... | [
"edwards"
] | edwards |
a82aa7c7c6bdd00648563f134775b40269466c1b | cea3b8da3e8b48962defb2b2be084fc1d4e61008 | /Assignment-3/Assignment-3/Agent.hpp | 8284bc0979e414d81899132a715dde8cc8cacdae | [] | no_license | dtokos/UI | c9309ad7a9502a4b4163a6a35efcf9059ee5ca08 | d640d15fa4c36bdc3bd0914395e291fdbe601795 | refs/heads/master | 2022-07-05T00:46:35.105133 | 2020-05-17T14:20:14 | 2020-05-17T14:20:14 | 245,702,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121 | hpp | #ifndef Agent_hpp
#define Agent_hpp
#include "Program.hpp"
struct Agent {
Program program;
float fitness;
};
#endif
| [
"dtokos@zoznam.sk"
] | dtokos@zoznam.sk |
a8f97eddfe3b4f763eabd526a5cc08a75c656968 | 94e7e6a00f899870433dd2b9e1dc012dfbd7473a | /PRÁCTICAS/Práctica 6/HolaSDL/Font.h | 9ed8d9f57f17a0932b0982871d0e1eaa4d55d62d | [] | no_license | raulfe06/TPV | ed5f163b0573185dd1137bc5505376124d527147 | b1d9cbf444d25ed2333b18dfea00540db696b113 | refs/heads/master | 2021-05-11T20:49:55.963458 | 2018-05-23T14:40:14 | 2018-05-23T14:40:14 | 117,448,207 | 0 | 2 | null | 2018-01-15T10:30:49 | 2018-01-14T16:47:04 | C | UTF-8 | C++ | false | false | 304 | h | #pragma once
#include "sdl_includes.h"
#include <string>
class Font {
public:
Font();
Font(std::string fileName, int size);
virtual ~Font();
bool load(std::string fileName, int size);
void close();
SDL_Surface* renderText(std::string text, SDL_Color color) const;
private:
TTF_Font *font_;
};
| [
"raulfe06@ucm.es"
] | raulfe06@ucm.es |
0ee4daca1b9b42c77e54145e1c75909053503ad4 | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /Demo/Shenmue3SDK/SDK/BP_MiniGame_CC_Input_functions.cpp | 546cf4032027d5e1634e772040e43d2703e1ce2e | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,566 | cpp |
#include "../SDK.h"
// Name: S3Demo, Version: 0.90.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function BP_MiniGame_CC_In... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
423e10d7d51e049cfb7fab7d1eae63ba29d02de9 | d5ea518e7c57ab0eb65628354c75139d9f5ab408 | /calendar.h | accc40a022b789d2dc3881c1e5346e7845c0586e | [] | no_license | GabrieleCosta00/Test_calendario_classi_slot | 9b9c6a0d85163a787bdbfe4bc717cd2900e25c28 | 642df4b32677a6b79cdc5e9bfe4a3378638eb64b | refs/heads/master | 2023-07-26T14:00:29.492885 | 2021-09-07T17:03:01 | 2021-09-07T17:03:01 | 403,102,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | h |
#ifndef TEST_CALENDARIO_CLASSI_SLOT_CALENDARIO_H
#define TEST_CALENDARIO_CLASSI_SLOT_CALENDARIO_H
#include "sessione.h"
class calendar {
private:
vector<sessione> _sessioni;
public:
calendar();
bool set_id_esame_nel_calendario(const string &id_esame, const vector<string> &id_cds, const vector<string... | [
"gabriele.costa.1h@gmail.com"
] | gabriele.costa.1h@gmail.com |
7d16e42797fba5b3f710ccffe14dda7502b12467 | a75bfdb61d2bfa20f71d2a1548188db18a8e5e6d | /leetcode/bestTimeToBuyAndSellStock.cpp | 5a9844ba2793367087ce25a1b999c9dea89e48fb | [] | no_license | Ra1nWarden/Online-Judges | 79bbe269fd35bfb1b4a5b3ea68b806fb39b49e15 | 6d8516bb1560f3620bdc2fc429863a1551d60e6a | refs/heads/master | 2022-05-01T17:50:00.253901 | 2022-04-18T06:55:25 | 2022-04-18T06:55:25 | 18,355,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | cpp | class Solution {
public:
int maxProfit(vector<int>& prices) {
int ans = 0;
if(prices.empty())
return ans;
int prev = prices[0];
for(int i = 1; i < prices.size(); i++) {
ans = max(ans, prices[i] - prev);
prev = min(prices[i], prev);
}
... | [
"wzh19921016@gmail.com"
] | wzh19921016@gmail.com |
c3b2fb642b4406056bf0ebb1037eda4612e7b2df | 8c2551aac6f20b29750d1401f06eb256c71158ff | /prime.cpp | 9c6c6b027113992fd5ba425a52ef9efe6469a8ef | [] | no_license | ailyanlu1/spoj-codechef-codeforces | feb1556c4a0d47cc61dcf76430339e3ba47f279f | 3395fb0930c561a8a1207f3bf586b5bd782bf590 | refs/heads/master | 2020-03-23T09:03:02.679905 | 2015-03-03T10:38:00 | 2015-03-03T10:38:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | cpp | /*
USER: zobayer
TASK: PAGAIN
ALGO: math
*/
#include <stdio.h>
#define MAX 65536
#define LMT 256
unsigned flag[MAX/64];
unsigned primes[MAX/10];
unsigned primelen;
#define ifC(n) (flag[n>>6]&(1<<((n>>1)&31)))
#define isC(n) (flag[n>>6]|=(1<<((n>>1)&31)))
void sieve() {
unsigned i, j, k;
for(i = 3; i < LMT; i += ... | [
"sananthanatarajan12@gmail.com"
] | sananthanatarajan12@gmail.com |
696ecbd48ab7f65310f62b26513e882ffb1747cb | b82750ee166dfde266c828d00ab13d98348ce8ea | /数据结构与算法/code/动态规划/CF1187E Tree Painting.cpp | d57c234b18d9336bc9975fd87dc7b7ce38516281 | [] | no_license | jianghua-chen-666/CS-Note | 66efaa800188873eab2a4ac387fe665c0802d2ec | 48721860f9a3bdc1f52fdf43f4bf1b8d9ae53a3d | refs/heads/master | 2023-03-07T03:17:51.006083 | 2021-02-21T15:43:39 | 2021-02-21T15:43:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long LL;
const int N = 2e6 + 10;
int e[N], ne[N], h[N], inx;
int n;
LL f[N], dep[N], sz[N]; // f[i][0]表示以i为根节点的深度和
void add(int a, int b) {
e[inx] = b, ne[inx] = h[a], h[a] = inx++;
}
void dfs1(int u, int fa) {
sz[u] = 1;
for (int i = h[u]; i != -... | [
"1270728683@qq.com"
] | 1270728683@qq.com |
a222e7f25b0dff5a02a439eea553970940c9e58e | c4e1b2fad57e164b1ec250d7ef58ca6b325be916 | /CSES/movie_festival/movie_festival.cpp | 5a0ab4e86a90a6d745aeeb2118c6d785ba8c0995 | [] | no_license | xSeanliux/CompetitiveProgramming | ab8030fdb0dc9c4e29e4cc8c52e020e6eb564372 | 011c7ad152d7090fa3e9143a27119a2192d68144 | refs/heads/master | 2023-06-08T11:00:48.826892 | 2023-05-25T22:58:43 | 2023-05-25T22:58:43 | 158,057,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <utility>
#define pii pair<int,int>
#define F first
#define S second
using namespace std;
int N, a, b;
vector<pii> vec;
int main(){
cin >> N;
for(int i = 0; i < N; i++){
cin >> a >> b;
vec.emplace_back(a, b);
}
sort(vec.begin(), vec.end(), [... | [
"zhxnliu@yahoo.com.tw"
] | zhxnliu@yahoo.com.tw |
a13cad0ea9cb3e7faee125ad0bc5dc785da93d71 | 5e62e1b653812d8d8d44d96c1f3bce9dc2a08e98 | /tree/0337_house_robber.cpp | a0ab40c9bf8c16e636b9e7cd0ea7bf7413f61a19 | [] | no_license | pingfan108/leetcode | d51106345dd02c6725218e13644fb56361f63921 | 3d84d42c62dc4a163e20693f3a247c5ef960131f | refs/heads/master | 2023-03-27T23:51:20.928830 | 2021-03-27T03:48:09 | 2021-03-27T03:48:09 | 286,020,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,318 | cpp | /*
# 337. 打家劫舍 III
https://leetcode-cn.com/problems/house-robber-iii/
在上次打劫完一条街道之后和一圈房屋后,小偷又发现了一个新的可行窃的地区。
这个地区只有一个入口,我们称之为“根”。 除了“根”之外,每栋房子有且只有一个“父“房子与之相连。
一番侦察之后,聪明的小偷意识到“这个地方的所有房屋的排列类似于一棵二叉树”。
如果两个直接相连的房子在同一天晚上被打劫,房屋将自动报警。
计算在不触动警报的情况下,小偷一晚能够盗取的最高金额。
示例 1:
输入: [3,2,3,null,3,null,1]
3
/ \
2 3
... | [
"tuobaye2006@gmail.com"
] | tuobaye2006@gmail.com |
8917c58a1a07f67780507b088b3bb933392d347d | 656714e48a368aa48ad12a36fd378ab4d2226f5b | /escultura.h | b013d37268a7ddd413d2e651e62215e76657ed08 | [] | no_license | victoreuceda/Lab8_VIctor_Euceda | 5a24580710084c82c4dcbc7b27b9d26b8cc3f375 | 8ecbb21bc2fce4b745f313a357bc8fdfc9cd2680 | refs/heads/master | 2021-01-10T02:13:38.612701 | 2016-03-19T00:23:05 | 2016-03-19T00:23:05 | 54,229,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | h | #pragma once
#include "obra.h"
#include <string>
#include <sstream>
class Escultura: public Obra{
double peso;
string material;
public:
Escultura(string,string,string,double,string);
Escultura(const Escultura&);
virtual~Escultura();
virtual string toString() const;
};
| [
"veuceda03@gmail.com"
] | veuceda03@gmail.com |
9175819b3be63aa88211c52d120cd2db3a3868f3 | d33c6dda0266d0857e38f29c6a0ef72550880bf7 | /src/main.cpp | 01a09fcf96b92e4f99fb996f9cb140a3995de168 | [] | no_license | kuszli/wds | 9d48bcb013d7d642d8dbb9ad138adceccd90258a | dc7b2a7b36ba7307ba6bc1caf954d30247272051 | refs/heads/master | 2020-03-18T02:18:21.925934 | 2018-05-20T20:31:00 | 2018-05-20T20:31:00 | 134,184,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | #include<QApplication>
#include<QWidget>
#include<QLabel>
#include<QPushButton>
#include<QSlider>
#include<QBluetoothSocket>
#include<QString>
#include<inc/mainwindow.h>
int main(int argc, char* argv[]){
QApplication app(argc, argv);
MainWindow* okno = new MainWindow();
okno->show();
return app.exec()... | [
"kuszli@o2.pl"
] | kuszli@o2.pl |
06db8bc92efd65147e60a873ad1e3587531e5899 | 54e2ba2182e0370be7fc02ebbfcef26d089a2b66 | /src/flamingo-4.1/src/topk/src/oldlistmerger/counttable.cc | 7a9669db8ba454b8159bf82138638692347e78b6 | [] | no_license | dgrtwo/BarNone | 86640adbccbef4765bd995f2fc66761bafebc315 | 00af55ffa286509a58f2ea94b111764f0a11352b | refs/heads/master | 2021-05-16T03:00:43.154246 | 2014-10-03T01:34:48 | 2014-10-03T01:34:48 | 11,030,128 | 4 | 4 | null | 2018-07-15T02:05:09 | 2013-06-28T15:31:14 | C++ | UTF-8 | C++ | false | false | 921 | cc | /*
$Id: counttable.cc 5716 2010-09-09 04:27:56Z abehm $
Copyright (C) 2010 by The Regents of the University of California
Redistribution of this file is permitted under the terms of
the BSD license.
Author: Jiaheng Lu and Yiming Lu
Date: 05/21/2007
*/
#include <fstream>
#include <iostream>
#include "co... | [
"dgrtwo@cetus.gen.pvt"
] | dgrtwo@cetus.gen.pvt |
5361fc7e3f4f553cdf22148895eafa8840f8b504 | 27e8b7337fa04d4e814b4cf162a561dac9c8b4f9 | /array_list.h | e18f257c88ad5e98c40cbd973cb1a2ab20675574 | [] | no_license | matt1moore/2020-DataStructures-PA5 | 9404487a8b97012081883ae1389bb131b6a8f17e | 008c8a88499385fcac41e8867f427701619f1f14 | refs/heads/main | 2023-02-16T12:21:41.476872 | 2020-12-23T16:39:18 | 2020-12-23T16:39:18 | 328,014,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,137 | h | //----------------------------------------------------------------------
// FILE: array_list.h
// NAME: Matthew Moore
// DATE: September, 2020
// DESC: Implements a resizable array version of the list
// class. Elements are added by default to the last available
// index in the array.
//--------------------... | [
"mmoore11@zagmail.gonzaga.edu"
] | mmoore11@zagmail.gonzaga.edu |
e67925dc630cff22865936ea015d49d9991a39ab | 6b94ac9fc7b274f8e9ac2f321ac45e9d28bb0545 | /DDCArm.h | 44e7f5b4f3223942526575552f3555f93ef46204 | [] | no_license | TigerTronics/TigerTronics | 34904688e6fac12fcf03bf08001a183a9bc1b2ea | 70660c8f0da088579138fc4c1bb0af962ce52307 | refs/heads/master | 2021-01-01T17:48:17.784176 | 2012-01-09T21:13:26 | 2012-01-09T21:13:26 | 3,138,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,323 | h | #ifndef __DDCArm_h__
#define __DDCArm_h__
#define PotMemory 10
#include "WPILib.h"
#include "HW_Inputs_Outputs.h"
/**
* Utility class handling arm controls for the robot.
*/
class DDCArm
{
public:
enum ArmMode
{
kStow=0,//arm is stowed
kRetrieveTube=1,//get tube off ground
kPickupTube=2,//get tube f... | [
"tigertronics2053@gmail.com"
] | tigertronics2053@gmail.com |
301b56d3f9aaa9d26fc6479190bf7addd69fd76c | c825d7bf327cb62f2aa50ce2115539a4fc18dff4 | /AVL Tree/541_proj1_test_cases/test_cases.cc | 0811e01ddf83a872e4f3e1d06742bb5da53196c8 | [] | no_license | abinav1993/CSC541_Assignments | 5b6fc188fe9ce2a9915386f183121c257a972e76 | 2af251bd0b3429721626c593d64402c345440b72 | refs/heads/master | 2020-12-02T22:44:33.727327 | 2017-05-13T19:19:49 | 2017-05-13T19:19:49 | 96,176,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,743 | cc | #include "gtest/gtest.h"
#include "API.h"
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
// tests empty text
TEST(test_create_text, create_test){
text_t* text = create_text();
ASSERT_NE(text, (text_t*)NULL);
}
// tests if create_text returns length 0
T... | [
"apothug@ncsu.edu"
] | apothug@ncsu.edu |
8d5d8c7879510c9400dc6022a12874d8bc9be241 | c03615f53093643e3c1e323b83cbe77970966575 | /PRT/3rdParty/cgal/cgal/include/CGAL/internal/Intersections_3/Triangle_3_Ray_3_intersection.h | 30f2b83457820b670b2aa963dc1afebfc4136dd8 | [] | no_license | fangguanya/PRT | 0925b28671e756a6e9431fd57149cf2eebc94818 | 77c1b8e5f3a7a149825ad0cc3ef6002816222622 | refs/heads/master | 2021-06-08T20:54:22.954395 | 2016-11-24T07:38:11 | 2016-11-24T07:38:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,979 | h | // Copyright (c) 2009 GeometryFactory (France), INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either vers... | [
"succeed.2009@163.com"
] | succeed.2009@163.com |
79a434e49f1c03d0fa6b80e91fe39abc37302319 | 1b0e3941a628a139dcd38dc22f59c4a9d6e31c3e | /lab5.12.1.cpp | 93120303f02fb1fce9d0863d3a7ccc46525c6872 | [] | no_license | SainDev/AmurSU-Labs-Cpp | 4b5105b98ed202a2432a7a9a51b4082059b21a5a | c897a5a81c7149e505d903daa209a8671d7646df | refs/heads/master | 2021-01-22T02:57:53.604720 | 2012-06-18T14:12:09 | 2012-06-18T14:12:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | cpp | #include <iostream>
#include <iomanip>
#include <time.h>
using namespace std;
int main(void) {
srand((unsigned) time(NULL));
const int n=10, p=10;
int nmaxi = 0, nmini = 0, nmaxj = 0, nminj = 0, mm, m[n][p], i, j;
for (i=0;i<n;i++)
{
for (j=0;j<p;j++)
{
m[i][j]=(rand() %50 - 25);
cout<<setw(5... | [
"nark_devils@mail.ru"
] | nark_devils@mail.ru |
6ad287982044d75a5dfae3936ff0b6db97fe2ece | da65ca32eb0012092901bd1854cb3d6fed4008c9 | /mume-game/mclient/src/plugins/mmapperplugin/MapperManager.h | 41bad63ad1cf7174fac58828e0b5caa8a077164b | [] | no_license | alex-games/a1 | d2371f5588f4efbac8eaad0d49066ae63f293dc6 | 1521abc0092c83fcc79af9647f19bfe69a3707cf | refs/heads/master | 2020-06-04T01:34:09.171971 | 2014-10-26T06:11:32 | 2014-10-26T06:11:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,771 | h | /***************************************************************************
* Copyright (C) 2008 by Nils Schimmelmann *
* nschimme@gmail.com *
* *
* This program is free software; you can redistribute it and/or modify *
* it unde... | [
"alexd@betterfinance.me"
] | alexd@betterfinance.me |
7593b818aaee65b70b5adf08e30387936f0536e2 | 70615fa8f43c903f59b81337386e9e73c4a0c3cd | /components/autofill/core/common/autofill_features.cc | 7f4ca82a5bfd1d9e7dd4346380105a9e99234b9f | [
"BSD-3-Clause"
] | permissive | MinghuiGao/chromium | 28e05be8cafe828da6b2a4b74d46d2fbb357d25b | 7c79100d7f3124e2702a4d4586442912e161df7e | refs/heads/master | 2023-03-03T00:47:05.735666 | 2019-12-03T15:35:35 | 2019-12-03T15:35:35 | 225,664,287 | 1 | 0 | BSD-3-Clause | 2019-12-03T16:18:56 | 2019-12-03T16:18:55 | null | UTF-8 | C++ | false | false | 10,414 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill/core/common/autofill_features.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/metrics/field... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
37b2eb564add0e8cac8f5921e94a5e00b355d49d | 8fb3dc483ff86ca703860e2abba3f76809f6cdcb | /Рабочая версия/Plant.h | 8bbaeff5f8963244888350c5ac70e823c1a4cfee | [] | no_license | Andrey-Morenkov/AutoWater | f1fe0b668569125851cc9dcffb725f0dfb51106b | 962c61eabb013ae51d91ccb0ccd20543836afea5 | refs/heads/master | 2020-04-06T19:40:30.106547 | 2017-01-11T20:55:08 | 2017-01-11T20:55:08 | 68,467,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,558 | h | #pragma once
#include "Sensor.h"
extern const int maxSensors;
extern Sensor* sensor;
extern const int pumpTime;
#define ON LOW
#define OFF HIGH
void LedOn();
void LedOff();
//--------------------------------------------------------------PLANT--------------------------------------------------------------
class P... | [
"jedi-andr@mail.ru"
] | jedi-andr@mail.ru |
27045ef45f3a91dc3c3f55cbeeb57f212670412a | f683b3a268d3e8c532e7f503013cb3984281ffbc | /main.cpp | 4f5a76e4316d5bf703a4a6e0f75d40423d7a4976 | [] | no_license | lpc123lpc/mips_compiler | c6e9ff56b6a7d266a03d043edbd2794c82b35bee | 3bb62d1d72a11f51100f414ba5452c4709cbcddc | refs/heads/master | 2023-04-05T18:16:12.257335 | 2021-04-20T06:19:58 | 2021-04-20T06:19:58 | 359,706,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include"getsym.h"
#include<iostream>
#include<vector>
#include<string>
#include"statement.h"
#include"mips.h"
using namespace std;
extern vector<vector<string>> composition;
int main() {
lexical();
//cout << composition.size();
procedur();
errorPut();
//errorTest();
outputcode();
count_all_var();
generate_mip... | [
"18373358@buaa.edu.cn"
] | 18373358@buaa.edu.cn |
25e0cfc8bc55d33c3f156be87d59e8af47c52e6d | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE134_Uncontrolled_Format_String/s02/CWE134_Uncontrolled_Format_String__char_environment_vfprintf_83_bad.cpp | 75a14219e6a888d10b72d182e5a41e30f8de9ecc | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 2,100 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_environment_vfprintf_83_bad.cpp
Label Definition File: CWE134_Uncontrolled_Format_String.vasinks.label.xml
Template File: sources-vasinks-83_bad.tmpl.cpp
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSourc... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
d1a9cf0713b65aa338995ed1c87198176fcd2d4b | b3fb1c101a00041ed54e6f1dd034770bb2bbc3a4 | /src/FSUtils.h | 38c82cf35e52a65eaec528984ee5085a9280fba7 | [
"MIT"
] | permissive | HaikuArchives/GenesisCommander | f18bba4967418a7d1226d45108509e66b351e251 | 5bef4b84a08437c32e5402e50cb5b1ece1b553cb | refs/heads/master | 2021-01-23T13:47:40.090587 | 2020-04-02T18:19:49 | 2020-04-03T17:25:32 | 33,241,621 | 3 | 7 | MIT | 2020-04-04T17:05:23 | 2015-04-01T10:29:26 | C++ | UTF-8 | C++ | false | false | 818 | h | /*
* Copyright 2002-2020. All rights reserved.
* Distributed under the terms of the MIT license.
*
* 2019-2020, Ondrej Čerman
*/
#ifndef _FSUTILS_H_
#define _FSUTILS_H_
#include <File.h>
#include <fs_attr.h>
#include <Node.h>
#include <NodeInfo.h>
#include <Path.h>
#include <StatusBar.h>
#include <String.h>
#inc... | [
"humdingerb@gmail.com"
] | humdingerb@gmail.com |
c54ea566db49bfe5db955d9ab6db941005708295 | 5d4bbc4ba9ab0ddf8a44034ad1a8f3cf0ee274a3 | /numberOfCornerRectangles.cpp | e98a9a0671b5a9ff3f9484c1a5fbe1fe78ff8d6a | [] | no_license | a5batra/LeetCode-Solutions-in-C-plus-plus | eda25d641859d8da193825cf06fd7db845862224 | 2124763fce4b5f7c150c95578bf972fbba3d3b50 | refs/heads/master | 2021-12-08T21:41:11.234971 | 2021-08-11T20:43:13 | 2021-08-11T20:43:13 | 243,896,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | cpp | //
// Created by Ankit Batra on 5/2/21.
//
/* Given a grid where each entry is only 0 or 1, find the number of corner rectangles.
* A corner rectangle is 4 distinct 1s on the grid that form an axis-aligned rectangle.
* Note that only the corners need to have the value 1. Also, all four 1s used must be distinct. */
... | [
"a5batra@ucsd.edu"
] | a5batra@ucsd.edu |
6651f23cecd025a5e44e33de9a55df8edeedd70a | c02e6a950d0bf2ee8c875c70ad707df8b074bb8e | /build/Android/Preview/bimcast/app/src/main/include/Android.java.lang.CharSequence.h | 6fb7fa3c338d6a9e21630093e286fa685bfc4c6b | [] | no_license | BIMCast/bimcast-landing-ui | 38c51ad5f997348f8c97051386552509ff4e3faf | a9c7ff963d32d625dfb0237a8a5d1933c7009516 | refs/heads/master | 2021-05-03T10:51:50.705052 | 2016-10-04T12:18:22 | 2016-10-04T12:18:22 | 69,959,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,492 | h | // This file was generated based on C:\ProgramData\Uno\Packages\Android\0.35.1\Android\java\lang\$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Android.Base.Wrappers.IJWrapper.h>
#include <Uno.Object.h>
namespace g{namespace Android{namespace java{namespace lang{struct ... | [
"mabu@itechhub.co.za"
] | mabu@itechhub.co.za |
eb5296741f59caac4bec57dee065f71c90449dd0 | ad3f34546afba57daf888798ad2d29db0361dcca | /T3000/T3ModulesOutputDlg.h | 2e957c4a9e3fb739ff973f31f9ed8c8a4a974895 | [
"MIT"
] | permissive | temcocontrols/T3000_Building_Automation_System | b7303be5d447cd8d40b1d2424b32b6c7683c2570 | 5fc9204df43aabfe57ccd1a5183b69940d525e2d | refs/heads/master | 2023-08-31T13:37:39.375528 | 2023-08-29T03:30:48 | 2023-08-29T03:30:48 | 6,994,906 | 66 | 62 | MIT | 2023-08-08T12:38:00 | 2012-12-04T05:29:25 | C++ | UTF-8 | C++ | false | false | 1,166 | h | #pragma once
#include "afxcmn.h"
#include "CM5/ListCtrlEx.h"
// CT3ModulesOutputDlg dialog
class CT3ModulesOutputDlg : public CFormView
{
DECLARE_DYNCREATE(CT3ModulesOutputDlg)
public:
//CT3ModulesOutputDlg(CWnd* pParent = NULL); // standard constructor
//virtual ~CT3ModulesOutputDlg();
CT3ModulesOutputDlg(... | [
"alex@temcocontrols.com"
] | alex@temcocontrols.com |
366a4c9780d407d6f6526383084f4a014f9bbb44 | b0b7551e91b7238adaf6ddaa3d0cb8b0c43d999b | /src/ofxApp.cpp | d657b1f9f8823677ee9b283fb3ab7841b0b4d240 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | eduardfrigola/ofxAppUtils | f3ef2ad7d7e85ab0030fd7d95d227345049a2511 | 32465b7494764c49497bcea35eb80c98db8cfc0f | refs/heads/master | 2020-05-02T16:28:29.821567 | 2015-12-02T06:51:51 | 2015-12-02T06:51:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,963 | cpp | /*
* Copyright (c) 2011-2012 Dan Wilcox <danomatika@gmail.com>
*
* BSD Simplified License.
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
* WARRANTIES, see the file, "LICENSE.txt," in this distribution.
*
* See https://github.com/danomatika/ofxAppUtils for documentation
*
*/
#includ... | [
"danomatika@gmail.com"
] | danomatika@gmail.com |
2b1005e090d5fa0c915b7acf62117753bf1f0068 | 79f866326d015de2204a9dc7666c3c5724c2e8dc | /mid_term_sheet/code/main_roundrobin.cpp | 4b280b21082e78e8f794cdb0bb5cb1f80024a850 | [] | no_license | kapiliitr/sem5 | 027e57fa7106d73ebcf7c09be94fa334b7bf9e4b | 6eff2367afe1b779b7c31a6879bb5b077e576348 | refs/heads/master | 2020-06-02T00:10:50.618162 | 2012-12-06T12:00:03 | 2012-12-06T12:00:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | #include <iostream>
using namespace std;
#include "queue.h"
#include "gantt.h"
#include "process_roundrobin.h"
#include "finishedprocess.h"
void controls()
{
cout<<"New Process: 1\tEvaluate: 2\tShow Gantt Chart: 3\tExit: 4"<<endl;
}
int main()
{
int choice;
controls();
do
{
cout<<"Enter ... | [
"kapil@ubuntu"
] | kapil@ubuntu |
80533894211aad5e4c7b4e16f770e065378aef0d | 6aa06dee2cd5a6ea3d9ecdc1967ee4a05a58f86b | /jxrpp_info.cpp | 211459498f5411242efe30d465ac4713c8a9c153 | [
"BSL-1.0"
] | permissive | mloskot/jxrpp | 1190d36b56ca5077878f6d2e5397d0b79f415ad1 | 29cef9acd4bc787be200279c04eb9e8d17814c65 | refs/heads/master | 2016-08-05T15:30:25.080788 | 2012-07-06T16:49:13 | 2012-07-06T16:49:13 | 4,069,285 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,775 | cpp | //
// Copyright (c) 2012 Mateusz Loskot <mateusz at loskot dot net>
//
// 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)
//
#include "jxrpp.hpp"
#include <exception>
#include <iostream>
#include <vector>
#include <... | [
"mateusz@loskot.net"
] | mateusz@loskot.net |
019d08f441cb8934dd8356a5dd4169f94becca07 | 50d4f99671af7707a9fba9aed5252d5edd9984bc | /ocl_kernels/kernel.hpp | d89cea516523d90b44de4daf6726239b923b9eb2 | [
"MIT"
] | permissive | finalitylabs/snark-challenge-prover-reference | e6b0683a02e8b09c331d1e7a45971d68c898bf30 | d8a25affaa8d883848e3d0a4cc05bf91cc1d2728 | refs/heads/master | 2020-06-23T06:31:50.932681 | 2019-08-15T23:14:12 | 2019-08-15T23:14:12 | 198,544,553 | 1 | 2 | NOASSERTION | 2019-08-15T23:14:13 | 2019-07-24T02:39:12 | C++ | UTF-8 | C++ | false | false | 4,784 | hpp | // #define __CL_ENABLE_EXCEPTIONS
#include <CL/cl.h>
#define DATA_SIZE (131072)
#define limbs_per_elem (12)
#include <chrono>
#include <typeinfo>
#include <unistd.h>
#include <string.h>
#include <errno.h>
class Kernel {
public:
char* program_source_code;
size_t program_source_code_size;
int err; ... | [
"ginneversource@gmail.com"
] | ginneversource@gmail.com |
3167809c47b5d8e1c7a4671d75e2f3bb21fa908a | 75452de12ec9eea346e3b9c7789ac0abf3eb1d73 | /src/developer/forensics/exceptions/handler/minidump.h | 5bb15470aaa9c8f4a9a6cf2d0166a739e7c6301f | [
"BSD-3-Clause"
] | permissive | oshunter/fuchsia | c9285cc8c14be067b80246e701434bbef4d606d1 | 2196fc8c176d01969466b97bba3f31ec55f7767b | refs/heads/master | 2022-12-22T11:30:15.486382 | 2020-08-16T03:41:23 | 2020-08-16T03:41:23 | 287,920,017 | 2 | 2 | BSD-3-Clause | 2022-12-16T03:30:27 | 2020-08-16T10:18:30 | C++ | UTF-8 | C++ | false | false | 925 | h | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#ifndef SRC_DEVELOPER_FORENSICS_EXCEPTIONS_HANDLER_MINIDUMP_H_
#define SRC_DEVELOPER_FORENSICS_EXCEPTIONS_HANDLER_MINIDUMP_H_
#include <lib/zx/exception.h>
#... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ace424a5c57deda8aa373047f650b2fc105f2835 | f076a22678aed9b1a5f5e11663fd8ea1341319cb | /FactoryMethod_Stooge/main.cpp | 54480454a501a1712f2b57cfee3a3ade719adb09 | [] | no_license | happyliubei/Design-Patterns | 5b674a1441a0650ab44a31b0237e5e1a474734b5 | 52115d947dac03935ecec223709cd1dd39634650 | refs/heads/master | 2016-09-05T14:40:47.206284 | 2015-06-06T04:33:38 | 2015-06-06T04:33:38 | 30,285,308 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | cpp | #include <iostream>
#include <vector>
#include "Stooge.h"
using namespace std;
int main()
{
vector<Stooge*> roles;
int choice;
while (true)
{
cout << "Larry(1) Moe(2) Curly(3) Go(0): ";
cin >> choice;
if (choice == 0)
break;
roles.push_back(Stooge::make_stoog... | [
"drenchedsailor@gmail.com"
] | drenchedsailor@gmail.com |
e54008539b9407870952690b6096c61da96159e0 | 9cf90611791f5e52da42089a73810e8c81cb72ae | /Source/Core/Shader.h | a6d5b602e856d7cf4df42271374ea87e7feff981 | [] | no_license | yzysonic/TGS2018 | 48dd0c4904e7e722f4551ddf8b54d2e5a39871ba | b20aa68a2e47f9484813ccd4f4e0b224157ba68d | refs/heads/master | 2020-03-24T07:12:05.742816 | 2018-07-28T08:18:13 | 2018-07-28T08:18:13 | 142,556,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,165 | h | #pragma once
#include "Direct3D.h"
#include <string>
#include <unordered_map>
#include <memory>
constexpr const char* ShaderPath = "Shader/";
class Shader
{
public:
static void UnloadAll(void);
protected:
static std::unordered_map<std::string, std::unique_ptr<Shader>> shader_list;
public:
LPD3DXCONSTANTTABLE pCo... | [
"yzysonic@gmail.com"
] | yzysonic@gmail.com |
30415668a64b3536deb68eccfec5831f060ff90d | bc199d041936e509fad956b582a94de2859f006c | /programus_hash2_phonebook/hash2_sunu_unordered_set.cpp | bf6295225d40499b77e32012dfd97cf308c7c494 | [] | no_license | shkim5164/algorithm | 2841d20c2ec98d2e190b495912a83d6cafc24871 | 6afa6693324b08041b9e48c3cc410f8e7e33e299 | refs/heads/master | 2020-04-15T05:36:28.936706 | 2019-04-02T12:36:52 | 2019-04-02T12:36:52 | 164,430,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | cpp | #include <string>
#include <vector>
#include <unordered_map>
using namespace std;
bool solution(vector<string> phone_book) {
bool answer = true;
unordered_map<string, int> umap;
for(int i = 0; i < phone_book.size(); i++){
umap[phone_book[i]] = phone_book[i].size();
}
int n ... | [
"gk457@naver.com"
] | gk457@naver.com |
9c4bbba61ccc1fac9bd9deab2b8c7ceb10894d56 | 57ed60ed099aa61a278c33b7b7ebb07276b87054 | /source/rendering/Camera.cpp | 12c8baeed90e2c9af25043ac590abe4157a18726 | [] | no_license | SRaimondi/Rabbit | 2353abf7d3082f6df137129ed0cc9ebf0628c3b1 | fdb953816f4342ccba27bf540b1cbb6dbf694319 | refs/heads/master | 2020-04-26T03:35:29.949166 | 2019-03-18T12:43:18 | 2019-03-18T12:43:18 | 173,271,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | cpp | //
// Created by Simon on 2019-03-01.
//
#include "Camera.hpp"
#include "Common.hpp"
namespace Rendering
{
Camera::Camera(const Vector3& eye, const Vector3& at, const Vector3& up,
float fov, unsigned int width, unsigned int height) noexcept
: eye{ eye }, image_width{ width }, image_height{ height ... | [
"simo@cleverit.ch"
] | simo@cleverit.ch |
421b48ab42a1d2c5283ad92d40e2ad2aa506354d | 6d1c143787686870c2bd792b75836c5a707dad3f | /Server/CommonCPlus/CommonCPlus/boost/asio/detail/impl/strand_service.hpp | 8457da7570478e38ede2120a05140d78db7a3ffc | [] | no_license | jakeowner/lastbattle | 66dad639dd0ac43fd46bac7a0005cc157d350cc9 | 22d310f5bca796461678ccf044389ed5f60e03e0 | refs/heads/master | 2021-05-06T18:25:48.932112 | 2017-11-24T08:21:59 | 2017-11-24T08:21:59 | 111,915,246 | 45 | 34 | null | 2017-11-24T12:19:15 | 2017-11-24T12:19:15 | null | UTF-8 | C++ | false | false | 3,631 | hpp | //
// detail/impl/strand_service.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
... | [
"613961636@qq.com"
] | 613961636@qq.com |
8a54923a7facbe316a7fc9a075fcd285b77a66e0 | 4f4ddc396fa1dfc874780895ca9b8ee4f7714222 | /src/xtp/Source/Chart/Diagram/Axis/XTPChartAxis.h | aa9bf5d3aa43daec141c40b65b9d897e2ebb7aa4 | [] | no_license | UtsavChokshiCNU/GenSym-Test2 | 3214145186d032a6b5a7486003cef40787786ba0 | a48c806df56297019cfcb22862dd64609fdd8711 | refs/heads/master | 2021-01-23T23:14:03.559378 | 2017-09-09T14:20:09 | 2017-09-09T14:20:09 | 102,960,203 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 33,805 | h | // XTPChartAxis.h
//
// This file is a part of the XTREME TOOLKIT PRO MFC class library.
// (c)1998-2011 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
// CONSENT OF CODEJ... | [
"utsavchokshi@Utsavs-MacBook-Pro.local"
] | utsavchokshi@Utsavs-MacBook-Pro.local |
fd144142475565e3d05e27db4b5259f67680a7d9 | 2ace08a52db1dac5f173c9bc44453bc4cde731a4 | /Lab_03/Test/LogAnalyzer/LogAnalyzer.h | a7b6d52581149d2e804b02cd17e3af3928c29546 | [] | no_license | peterzsuzsa/Ver-Val | ba135d0ba317bfd32d6c3bf89c827d8a4e26d155 | ef1445c790f974304d65d6609ba9f137f6877114 | refs/heads/master | 2020-12-24T18:51:40.142202 | 2016-05-19T21:57:00 | 2016-05-19T21:57:00 | 57,131,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | h | #include <iostream>
#include <string.h>
#include "FileExtMng.h"
using namespace std;
class LogAnalyzer
{
private:
FakeFileExtMng* logFem;
public:
LogAnalyzer(FakeFileExtMng* fem);
LogAnalyzer();
~LogAnalyzer();
bool endsWith(string s);
bool isValidFileName(string s);
};
class rosszfilenev : public exception {... | [
"peter_zsuzsa94@yahoo.com"
] | peter_zsuzsa94@yahoo.com |
62619ddfec633fc1dcf2189ccf676ad2fbccf499 | 6c4699de64796bde99b9781ce6bcbbde5be4f2a4 | /External/opencv-2.4.6.1/modules/imgproc/src/approx.cpp | c2831ca70d541944cc1ac0b6ea471ec21834217d | [] | no_license | simonct/CoreAstro | 3ea33aea2d9dd3ef1f0fbb990b4036c8ab8c6778 | eafd0aea314c427da616e1707a49aaeaf5ea6991 | refs/heads/master | 2020-05-22T04:03:57.706741 | 2014-10-25T07:30:40 | 2014-10-25T07:30:40 | 5,735,802 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,763 | cpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"simon@makotechnology.com"
] | simon@makotechnology.com |
322ff187432b09ed4ac5a414109652e99eacaa3c | 6226d6aed3629aa4069c46971ffe764bb6c743f6 | /ThirdParty/EMotionFX/Source/JacobianIKData.inl | 2d524b5447019c29500d776fad872dda95521a77 | [] | no_license | Myway3D/Myway3D | 83c30258f1e3eae90e619269406acd0ddeac7887 | 39cf569993f62fc648cbba49ebf74b3f8a64e46a | refs/heads/master | 2020-04-22T20:24:15.817427 | 2014-03-09T14:25:23 | 2014-03-09T14:25:23 | 170,640,096 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,514 | inl | /*
* EMotion FX 2 - Character Animation System
* Copyright (c) 2001-2004 Mystic Game Development - http://www.mysticgd.com
* All Rights Reserved.
*/
#include "JacobianIKData.h"
// get the number of constraints the ik solver has to apply
inline int JacobianIKData::GetNumConstraints() const
{
return m... | [
"Myway3D@Gmail.com@ff49bfeb-f889-bd78-9ae6-4dc862721fa0"
] | Myway3D@Gmail.com@ff49bfeb-f889-bd78-9ae6-4dc862721fa0 |
02f3750cdd335ebecd6f3c7caf1f6552c7c6c7bb | 79015e0dbfa08b48b5b2e8b20127f9545dd8a981 | /Heaps - Interview Problems/MinHeapOrNot.cpp | 3b300344f259728d5878d73f0af5a29046177454 | [
"MIT"
] | permissive | gulatigaurav/Essential-Coding-Problems | 591923f6a02fdde6e85c4398060f4268af26ad6f | 6cba54cb4e20ddc44a49f9e7d07eb293c39aa128 | refs/heads/master | 2022-11-14T23:50:47.815370 | 2020-07-05T06:21:33 | 2020-07-05T06:21:33 | 277,241,875 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | #include <iostream>
using namespace std;
bool checkMinHeap(int arr[], int root, int n)
{
if (2 * root + 2 > n) // confirmed leaf node
{
return true;
}
int left = 2 * root + 1;
int right = 2 * root + 2;
if ((left < n && arr[left] <= arr[root]) || (right <= n && arr[right] <= arr[root]))
... | [
"gaurav@townsquare.co"
] | gaurav@townsquare.co |
dbd6e7c6dc41f5f1a5c583d32df1e2e9c8095caf | 256f8237587a6e4d9ffab7d3101dfde83ccf4a61 | /Source/Framework/Mode2D/FrameworkDesignMode2D.h | e7198daa9a2245bb412edacacaf4b17a3298723a | [] | no_license | harry-z/UE4-Framework | bcba6aa8531c0e9f9dacd11f2b1dec91de9f5d9d | fa59aa952f9d307424cb02cfedbd89425ebefcdf | refs/heads/master | 2022-12-04T03:42:46.289088 | 2020-08-28T10:15:05 | 2020-08-28T10:15:05 | 291,014,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | #pragma once
#include "../DesignMode.h"
#include "../Framework.h"
#include "FrameworkDesignMode2D.generated.h"
UCLASS()
class UFrameworkDesignMode2D final : public UFrameworkDesignMode
{
GENERATED_BODY()
public:
virtual void PostInitProperties() override;
virtual void BeginDestroy() override;
public:
void Callba... | [
"shinji_akari@163.com"
] | shinji_akari@163.com |
96487ce5cf41e6f0a6e3064254a4ad2719447c11 | c5b74b54da48acb554b92d0d09e49978dac56c7f | /COM/COM.cpp | 9920aee9b38de39a1effa6981f6e3724c775b4e5 | [] | no_license | Sachi854/Robocon2018_B | 175e511b01b88ba7eb452c4b7942db4c51ec2d8c | df2c8a1b8ffb2cc9bb41d11fd35cb6ac6da80438 | refs/heads/master | 2021-09-23T21:52:41.700739 | 2018-09-27T02:43:16 | 2018-09-27T02:43:16 | 149,248,302 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,402 | cpp | /*
* vCOM.cpp
*
* Created on: Sep 2, 2018
* Author: Mayoi
*/
#include "COM.h"
/// Public /////////////////////////////////////////////////////////////////
bool COM::comable(){
if( (timer.read_ms() < TIME_OUT) && serFlg_m) return true;
return false;
}
// コンストラクタ //
COM::COM(PinName serTx, PinName serRx) :... | [
"32855472+Agatsuma854@users.noreply.github.com"
] | 32855472+Agatsuma854@users.noreply.github.com |
cf9f397bab9802ed5c666ad156648e1d357e3f6b | 32e05115b9464f4f77c3da960f2a1c26fbfbb4d0 | /ResampleKernels.cpp | 3c38d6aaddf233bde78cbccf659a9ac1ade8d62c | [
"MIT"
] | permissive | dazsfun/XX11Codes | f114a3508ed7d57783d0700b49fbb0f5e099e3db | fd0a847c040e159d5cb8fac03104b4cda07d7510 | refs/heads/master | 2021-01-10T12:48:48.373263 | 2015-10-06T15:46:29 | 2015-10-06T15:46:29 | 43,757,918 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 10,709 | cpp | // ResampleKernels.cpp: implementation of the ResampleKernels class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ResampleKernels.h"
#ifndef PI
#define PI 3.1415926535897932384626433832795
#endif
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FIL... | [
"437230450@qq.com"
] | 437230450@qq.com |
88b986c1d0f506bdfc1deefd3167995d67b05b63 | fc12dde31f918d342c4efa75e6a37f23cbbfc1f3 | /OS_2018_2019/ex4/VirtualMemory.cpp | 3865ddb9171b64eff04b157c2312a8c9045d650b | [] | no_license | DanielMagen/University-exercises | 4f9bbef566b14326d4006f0deae3fd3de2ab303a | c8502459edad916079550bc0704a0b7f69c9df1f | refs/heads/master | 2022-12-03T04:27:37.802675 | 2020-08-15T10:15:05 | 2020-08-15T10:15:05 | 287,717,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,024 | cpp | #include "VirtualMemory.h"
#include "PhysicalMemory.h"
#define SUCCESS 1
#define FAILURE 0
#define START_DEPTH 1
#define ROOT_TABLE_FRAME_NUMBER 0
#define LOWEST_LEVEL_IN_PAGE_TREE 1
#define TYPE_WORD_NOT_AVAILABLE (word_t(-1))
#define TYPE_UNIT_NOT_AVAILABLE (uint64_t(-1))
#define DFS_MET_TYPE_1 2
#define DFS_MET_T... | [
"daniel.magen1@mail.huji.ac.il"
] | daniel.magen1@mail.huji.ac.il |
d5ab3a8bf74a441d6dc7a7e0b6af7030860cf4a8 | a2bb500be76c060e68c3c1806f75829f72673cc2 | /Assignment 4/main.cpp | 3a1e7fd2df403e081467c0bed4610f8c5afdcfea | [
"MIT"
] | permissive | tomy0000000/YZU-Computer-Programming-II | acbf5248f74595d0f120996352a8823071662763 | ec3254bc545581fa91c1efd957cbcef1f76cae21 | refs/heads/master | 2021-04-20T11:37:39.230958 | 2020-04-01T20:57:14 | 2020-04-01T20:57:14 | 249,680,441 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,361 | cpp | //
// main.cpp
// Hw4
// C++ Non-Keyword Identifiers Printer
//
// Created by Tomy Hsieh on 2018/3/18.
// Copyright © 2018年 Tomy Hsieh. All rights reserved.
//
#include <iostream>
using std::cout;
using std::endl;
#include <fstream>
using std::ifstream;
using std::ios;
#include "Identifier.h"
#include "SourceLine... | [
"tomy0000000@gmail.com"
] | tomy0000000@gmail.com |
85e20d24a71b7f6a53f9cdef986904340c4259ed | 0d60761aaa0832c422f12409d8befebf9bcdf162 | /Qt-learning/day.3/4.1.graphicsitem/graphicsitem.cpp | 1631d42c1bc370ca08d9f9586600cfdb3b8405ce | [] | no_license | kingrobotzhou/test-code | d0364307ab0e2fcd6ae53f3668106b0a9474f3e6 | 477e1f9a7742654a65bc1ae4a14a972cc9996566 | refs/heads/master | 2021-09-13T15:39:41.687978 | 2018-05-01T17:08:46 | 2018-05-01T17:08:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | cpp | #include "graphicsitem.h"
#include <QPainter>
// Flash Item
FlashItem::FlashItem()
{
flash = true;
setFlag(ItemIsMovable);
setToolTip("aaaaaaaaaaaaa");
startTimer(50);
}
QRectF FlashItem::boundingRect() const
{
qreal adjust = 2;
return QRectF(-10 - adjust, -10 - adjust,
... | [
"gcm1994g@163.com"
] | gcm1994g@163.com |
82394c717fddc19c543cd120688b4a927c3f8345 | 7391feeb5b8e31f982422bdd74517e954d8c955e | /Foundation/src/UTF32Encoding.cpp | 204ba55b357ef69e288733c62b795249062643cd | [
"BSL-1.0"
] | permissive | AppAnywhere/agent-sdk | 62d762d0424fc2e8d4a98b79fb150e635adedd4d | c5495c4a1d892f2d3bca5b82a7436db7d8adff71 | refs/heads/master | 2021-01-11T15:22:01.406793 | 2016-09-01T16:36:20 | 2016-09-01T16:36:20 | 80,341,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,923 | cpp | //
// UTF32Encoding.cpp
//
// $Id: //poco/1.7/Foundation/src/UTF32Encoding.cpp#1 $
//
// Library: Foundation
// Package: Text
// Module: UTF32Encoding
//
// Copyright (c) 2004-2007, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/UTF32Encod... | [
"guenter.obiltschnig@appinf.com"
] | guenter.obiltschnig@appinf.com |
51972eb86eba91eebfdfe9d4cf9d949d080a755f | 8c915fd5162a13963d9222db8b2babcbd5c91150 | /libc/include/inc/string.inc | a5324fe4775944e56a485d1f62e7ebc32d50aef2 | [] | no_license | GabrielRavier/libc | 26e77a488edeeb616d821ce5dfdca85cc801e5e8 | f946c8af6d9a42fa4eaa9dcd33a3de99ba1c428e | refs/heads/master | 2020-08-04T06:30:19.896627 | 2018-01-31T00:05:54 | 2018-01-31T00:05:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,024 | inc | .NOLIST
IFNDEF _STRING_
_STRING_ EQU <1>
memchr PROTO :PTR BYTE, :BYTE, :PTR BYTE
memcmp PROTO :PTR BYTE, :PTR BYTE, :PTR BYTE
memcpy PROTO :PTR BYTE, :PTR BYTE, :PTR BYTE
memmove PROTO :PTR BYTE, :PTR BYTE, :PTR BYTE
memset PROTO :PTR BYTE, :BYTE, :PTR BYTE
strcat PROTO :PTR BYTE, :PTR BYTE
strchr PROTO :PTR BYTE, :B... | [
"jjriek@verizon.net"
] | jjriek@verizon.net |
1d7bfd5561de9558e13a82b9267647f707dfcc0a | 49022e7430be70ab6880c28b759f9c68e1e2edf8 | /Game/Entities/SpiderBossEgg.h | 5682f9bf875264c249e63361e00d1d16275863ba | [] | no_license | f3db43f4g443/SimpleSample11 | 61a634afa664676f94bf51f58c38640ee7ee1b64 | e6aa0ceb34843defd0433b09f42f2de036d443d7 | refs/heads/master | 2022-03-10T18:21:42.698566 | 2022-02-18T06:42:18 | 2022-02-18T06:42:18 | 68,726,252 | 0 | 1 | null | 2021-04-15T18:51:36 | 2016-09-20T15:30:41 | C++ | UTF-8 | C++ | false | false | 984 | h | #pragma once
#include "FlyingObject.h"
#include "Render/ParticleSystem.h"
#include "Render/Footprint.h"
class CSpiderBossEgg : public CFlyingObject
{
public:
CSpiderBossEgg( CEntity* pOwner, const CVector2& targetPos, float fLifeTime );
virtual void OnAddedToStage() override;
virtual void OnRemovedFromStage() ove... | [
"654656040@qq.com"
] | 654656040@qq.com |
3635a42cd37c46f3f2865e9c00d34a1e10c30e6b | 43538f2febc7bc790cb2d890d76d25e396abe824 | /day01/ex04/ex04.cpp | 854e2c1e1b3b37ff00c1f44c73fb6ace782e1ec4 | [] | no_license | sammyjh30/CPPBootcamp | 3f12bfb6d334bf253373e628874a117077d60820 | ae9b806fcb5c212e7e33a9fb9abf2d05184da94a | refs/heads/master | 2022-01-22T06:33:49.649810 | 2019-06-15T16:11:56 | 2019-06-15T16:11:56 | 189,940,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ex04.cpp :+: :+: :+: ... | [
"shillebr@c1r2s3.wethinkcode.co.za"
] | shillebr@c1r2s3.wethinkcode.co.za |
cca82c15f9f28095e3ea7a383a78a1ccbbf3a2ca | df044ee06065ba51b55323ffea4cc73e721dccca | /src/shared_classes/ketcp_object/ketcp_object.cpp | 0333c2c9cd55b2f6db30ae3e4b19b14d70a2a871 | [] | no_license | trendy-automation/Andon_project | d74825661872a4769998ad0aef84925b6cf4f096 | 37698392be4864fcfdd07c7d855b5d8272e7c11b | refs/heads/master | 2023-06-22T01:00:35.729438 | 2023-06-08T09:42:12 | 2023-06-08T09:42:12 | 71,896,699 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,935 | cpp | #include "ketcp_object.h"
#include <QtCore/QDebug>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QMetaObject>
#include <QMetaProperty>
#include <QApplication>
#include "client_rpcutility.h"
//________KEEPALIVE______
//#include <sys/socket.h>
//#include <netinet/tcp.h>
//#include <... | [
"ilya-kolesnic@yandex.ru"
] | ilya-kolesnic@yandex.ru |
434470894bcf892e2d01e64dd49eb4e113d11f38 | a0182b7f915ef78c14ee5c873f5ed153d9bc1fdc | /PuzzlesN/Puzzles/NumberPath2.cpp | 91de73944a371c09215ec942c3447ebe674a13bc | [] | no_license | zwvista/PSL | cab3a79a5ec6fa033cd35de136140607312a0fa9 | 5e838bb4e6eb88bca54018ffab280998f01a10b5 | refs/heads/master | 2021-06-20T13:37:04.232780 | 2020-11-20T06:36:59 | 2020-11-20T06:36:59 | 89,945,376 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,388 | cpp | #include "stdafx.h"
#include "astar_solver.h"
#include "bfs_move_gen.h"
#include "solve_puzzle.h"
/*
iOS Game: Logic Games/Puzzle Set 15/Number Path
Summary
Tangled, Scrambled Path
Description
1. Connect the top left corner (1) to the bottom right corner (N), including
all the numbers betw... | [
"zwvista@msn.com"
] | zwvista@msn.com |
d58043e1629d564db15f5a4879329af4bd26541d | 42b68e18d6bf4aef0962da5ce58f9d97028eecaf | /upredictor/uPredictor/UBCKinectGUI/KinectSphereRenderer.h | 035001ac647452f7f938da76bacd5bfec2c9577c | [] | no_license | ssheikho/uPredictor | 0f0b4cdea1a30193fce5d6b44307fd1e2cfe76d6 | c95a7923cb5714590496fab571d318674cb2861f | refs/heads/master | 2021-07-11T03:00:39.556540 | 2017-10-06T02:57:48 | 2017-10-06T02:57:48 | 105,960,135 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | h | #ifndef KINECT_SPHERE_RENDERER_H
#define KINECT_SPHERE_RENDERER_H
#ifdef _WIN32
#define NOMINMAX
#include <WinSock2.h>
#include <Windows.h>
#elif __linux__
#include <pthread.h>
#endif
#include "GLRenderInterface.h"
#include "KinectFrame.h"
#include "QuadPack.h"
#include "SimplePool.h"
#include "TypeRecipient.h"
//#i... | [
"sara.sheikholeslami@ubc.ca"
] | sara.sheikholeslami@ubc.ca |
f28751f6f13eea0eda83b9a999ca73b94b4b4896 | ed01ffea6763e72d3adb670722f02274e1700424 | /math/vec2.h | 73add41084931558d5052fff98612bd64a6190e0 | [] | no_license | gfx-debug/opengl | 97744ed239a46ca7616959eb9f58fc30c69d7167 | 2e09ac404cac3fe6744040b2afac22d6baea8b43 | refs/heads/master | 2020-06-04T16:27:15.619338 | 2019-06-15T17:33:01 | 2019-06-15T17:33:01 | 192,101,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,739 | h | /*
* Ork: a small object-oriented OpenGL Rendering Kernel.
* Copyright (c) 2008-2010 INRIA
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
... | [
"gfx@163.com"
] | gfx@163.com |
734a008c0500a1441b4a3f6f86bffabba6654780 | 02a7a13981e8a10e393f86752715df2764389ca1 | /237_Delete_Node_in_a_Linked_List.cpp | 195a149f63e857f274f5e89568916ed3722c759b | [] | no_license | lylalala/leetcode | 7d05f85fa279ffd87632208eb422945ab1e980a5 | 9c647fa9866512195f5d3c4b1e37c9181e209e9a | refs/heads/master | 2021-01-21T04:46:40.958853 | 2016-06-21T06:17:56 | 2016-06-21T06:17:56 | 44,017,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
void deleteNode(ListNode* node) {
node->val=node->next->val;
if(node->next->next==NULL){
delete node->ne... | [
"liuyang070424@163.com"
] | liuyang070424@163.com |
df526db117313a530782984edcf9778b5a56c163 | 579dbb681f772870d692f468322470612fa553aa | /third-party/Eigen/unsupported/src/FFT/ei_fftw_impl.h | 2dbb4fe740cb791759dcefeecb732ecd5ac28cab | [] | no_license | chipbuster/niftyreg | eb69441dc3ee76930da08d580f61550fd448271d | d9bd674a1cdae37688444777cc07862dec366228 | refs/heads/master | 2021-01-11T08:50:14.626799 | 2016-12-16T20:46:28 | 2016-12-16T20:46:28 | 76,684,058 | 0 | 0 | null | 2016-12-16T20:37:50 | 2016-12-16T20:37:50 | null | UTF-8 | C++ | false | false | 8,631 | h | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Mark Borgerding mark a borgerding net
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain ... | [
"m.modat@ucl.ac.uk"
] | m.modat@ucl.ac.uk |
a4605224c673e5cba4fd393c59841e7289401672 | ac3cb2676b557c9baeb0547ab171de5fad51028c | /UI/tabdocs.hpp | 2bde4bcd9423339f7c5c2a9fea93f65e96387434 | [] | no_license | owensss/cminus | 7093b0000123a919e8afd2b03bb7a969e75bee5e | 7530ecab95c1fad628229b077e26d45539ed50bc | refs/heads/master | 2021-01-23T17:30:40.164125 | 2013-06-27T14:08:56 | 2013-06-27T14:08:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | hpp | #ifndef TABDOCS_HPP
#define TABDOCS_HPP
#include <QTabWidget>
#include <QStatusBar>
#include "CMinusFiles.hpp"
#include "TextEditor.hpp"
class TextEditor;
class QListView;
class TabDocs : public QTabWidget
{
Q_OBJECT
public:
explicit TabDocs(QWidget *parent = 0);
void setVie... | [
"ownesss@gmail.com"
] | ownesss@gmail.com |
3f0a2cf94bcc1064373b8c1766ee05d0a06b515f | 7e1410df61aa339afbfa368a5c26179ccb0cc9fe | /src/Server.h | 5849e2c3787b0d86f32978317c030fa4a9aa6716 | [] | no_license | jonatan1024/Battleship | f9f2e48e6675f6585eb3816c431a96d6e4f8a06a | 4ffef955c85132751816b3e98cd661a78e427561 | refs/heads/master | 2016-09-05T12:19:04.465448 | 2015-07-22T13:20:23 | 2015-07-22T13:20:23 | 39,507,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,384 | h | #pragma once
#include <string>
#include "Game.h"
#include "Socket.h"
using namespace std;
/// Server error exception.
class CServerError : public CSocketError {};
/// States in which server can be in.
enum serverstates_t {
SERVER_UNINITED,
SERVER_ACCEPTING,
SERVER_FRESH,
SERVER_INPLACEMENT,
SERVER_INGAME,
SERVE... | [
"jonatan1024@gmail.com"
] | jonatan1024@gmail.com |
d87bd90e00427596704de03f61f11517914f6147 | 759c6913ebc844e031470b2c9309932f0b044e33 | /OOModel/src/elements/Enumerator.cpp | b453a4f1f4b91b270ce73fa674cbe634b5049fb8 | [
"BSD-3-Clause"
] | permissive | patrick-luethi/Envision | 7a1221960ad1adde2e53e83359992d5e6af97574 | 9104d8a77e749a9f00ff5eef52ff4a1ea77eac88 | refs/heads/master | 2021-01-15T11:30:56.335586 | 2013-05-30T08:51:05 | 2013-05-30T08:51:05 | 15,878,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,499 | cpp | /***********************************************************************************************************************
**
** Copyright (c) 2011, 2013 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** follo... | [
"dimitar.asenov@inf.ethz.ch"
] | dimitar.asenov@inf.ethz.ch |
4d52dea2c00812337a21275685a24962388f7366 | fbea5802e660356944a5792bc4ea175d608173b8 | /SDL_draw/SDL_map_moving_width_mouse/User_input.cpp | 72043483b7da1509a4d42c4dde4ac05486506f4e | [] | no_license | greenfox-zerda-sparta/Trioptase | 5ce20eba941b126defa99fb230a93a293ce8f96d | 0ca367d9111894f6ff20ca0aec8b90ef90d3c770 | refs/heads/master | 2021-01-12T00:32:07.395547 | 2017-02-24T13:00:40 | 2017-02-24T13:00:40 | 78,738,749 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,638 | cpp | #include "User_input.hpp"
User_input::User_input() : WINDOW_WIDTH(0), WINDOW_HEIGHT(0) {
this->changing_x = 0;
this->changing_y = 0;
this->changing_mouse_x = 0;
this->changing_mouse_y = 0;
this->step = 20;
}
User_input::User_input(int width, int height, int start_pos_x, int start_pos_y) : WINDOW_WIDTH(width... | [
"korompaidani@gmail.com"
] | korompaidani@gmail.com |
5ee33a7cde06c891096113f41730069900bc94dd | 04230fbf25fdea36a2d473233e45df21b6ff6fff | /max-path-sum-toLeaf.cpp | 7f55d622bfb57892ca22695c1e2f2102c8a33f55 | [
"MIT"
] | permissive | ankiiitraj/questionsSolved | 48074d674bd39fe67da1f1dc7c944b95a3ceac34 | 8452b120935a9c3d808b45f27dcdc05700d902fc | refs/heads/master | 2021-07-22T10:16:13.538256 | 2021-02-12T11:51:47 | 2021-02-12T11:51:47 | 241,689,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp | int helper(Node *node, int *res){
if(node->right == NULL and node->left == NULL){
return node->data;
}else if(node->left == NULL){
int right = helper(node->right, res) + node->data;
return right;
}else if(node->right == NULL){
int left = helper(node->left, res) + node->data;
... | [
"ankitatiiitr@gmail.com"
] | ankitatiiitr@gmail.com |
56da62a1c29972a74284d0f959fb3308000d67b7 | 0d92a9f061ccf47f6380cecaf7e227269f10e511 | /src/qt/OffscreenQmlSurface.h | c72c3ec9466a75ecb11dd9d0923e4241c1172c9d | [] | no_license | oujinhaoai/ShadertoyVR | eaf4a242a051b2bb1a49f64aed7a6c6ac1238ea7 | e88cb5a41824ca5764c9f5cf03524ad0608e2617 | refs/heads/master | 2021-01-18T09:36:12.031135 | 2015-08-24T00:07:57 | 2015-08-24T05:28:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,271 | h | //
// Created by Bradley Austin Davis on 2015-04-04
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#pragma once
#include <QtQml/QQmlEngine>
#include <QtQml/QQmlComponent>
#inc... | [
"bdavis@saintandreas.org"
] | bdavis@saintandreas.org |
c98ebee6cf8eadb02007573f9a1312c66aa38b49 | 634120df190b6262fccf699ac02538360fd9012d | /Develop/Server/GameServerOck/main/GSpawn.h | d07510053e45408a7a5395ff7a46e1dac3838e6e | [] | no_license | ktj007/Raiderz_Public | c906830cca5c644be384e68da205ee8abeb31369 | a71421614ef5711740d154c961cbb3ba2a03f266 | refs/heads/master | 2021-06-08T03:37:10.065320 | 2016-11-28T07:50:57 | 2016-11-28T07:50:57 | 74,959,309 | 6 | 4 | null | 2016-11-28T09:53:49 | 2016-11-28T09:53:49 | null | UHC | C++ | false | false | 2,417 | h | #pragma once
#include "MTime.h" // for MRegulator
#include "CSWorldInfo.h" // for GAME_TIME_TYPE, GAME_WEATHER_TYPE
struct SPAWN_INFO;
class GField;
class GEntityNPC;
class GSpawn : public MTestMemPool<GSpawn>
{
public:
GSpawn();
// 필드가 처음 실행될때 호출
void Init(GField* pField, const SPAWN_INFO* pSpawnInfo);
// 스폰... | [
"espause0703@gmail.com"
] | espause0703@gmail.com |
e85072dbe7bae509501d54f58dd99b6b8f6b56e8 | e818315aa5f30544e4eed281495016dc235c456a | /src/opentrade/main.cc | 88e0c543e0db88ad945c333328537e684532c52d | [
"Apache-2.0"
] | permissive | smoe/opentrade | 51de72e4adc9f3027e48712d0b849440c669569e | 2bfe6aa1b45a6a88a295355029ab102f663ba8b3 | refs/heads/master | 2020-06-01T17:56:14.948335 | 2019-05-31T10:21:27 | 2019-05-31T10:21:27 | 190,873,562 | 0 | 0 | Apache-2.0 | 2019-06-08T10:14:39 | 2019-06-08T10:14:39 | null | UTF-8 | C++ | false | false | 9,580 | cc | #include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
#include <boost/property_tree/ini_parser.hpp>
#include <boost/property_tree/ptree.hpp>
#include <fstream>
#include <iostream>
#include "account.h"
#include "algo.h"
#include "backtest.h"
#include "bar_handler.h"
... | [
"info@opentradesolutions.com"
] | info@opentradesolutions.com |
ab2db48242b285828021a6ddc98d5d860a27053a | 279d71dffeba9805e79e452ddcd94a50ca5181b3 | /Lab1/Lab1/temperature.cpp | 865a78a6a8a2ada4373a3e6f0048c0b1ba3b75d4 | [] | no_license | DBPat/CSC245 | 6cb5530db74f1b7c76f32c45df45fdc94fe31273 | f75aa998392e510558f4682e88891e4630559bd6 | refs/heads/master | 2020-03-27T08:16:17.417688 | 2018-12-04T18:25:06 | 2018-12-04T18:25:06 | 146,238,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | cpp | /*
Name: Dharmesh Patel
Date 2018.08.29
Assignment: Lab 1 - Problem 1
Description: This program asks the user for a temperature in degrees Celsius
and returns the value in degrees Fahrenheit
*/
#include <iostream>
using namespace std;
double convert(double value);
int main() {
double celsiusTemp;
//As... | [
"d.patel5603@gmail.com"
] | d.patel5603@gmail.com |
421ac375798468377f98f459f71385ababff090d | ba6221ed71ee87878d5120162fb923fc6cd9add8 | /renderer/include/RD3D11Device.h | 445fc8da98325997d735d5b5fb4f2617330da890 | [] | no_license | ataulien/RAPI | 93a2f35b1aa2982c86061864d0251744116ffe2f | e80b1a3987e06f05382a19a6f7a918ae1962cb58 | refs/heads/master | 2021-05-30T16:56:31.287821 | 2016-03-03T21:03:03 | 2016-03-03T21:03:03 | 50,867,041 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,294 | h | #pragma once
#include "RBaseDevice.h"
#ifdef RND_D3D11
namespace RAPI
{
class RTexture;
class RD3D11Device :
public RBaseDevice
{
public:
RD3D11Device();
~RD3D11Device();
/**
* Creates the renderingdevice for the set API
*/
bool CreateDeviceAPI();
/**
* Sets the output ... | [
"a.taulien@live.de"
] | a.taulien@live.de |
3859e26dcc2d9129341ed6b61ed151471453927c | f4eb261fa0b99aeaee13aaa51eed34a3ed73b595 | /devel/include/tf2_msgs/LookupTransformResult.h | c69b1c51ebaeb31307abe7a88edb31159b8823cc | [] | no_license | utkarshiam/Don-t-Know-Why-Drone | b3bd2d283ebdce69c69a1235844c6e096720570c | a27fcf034116e8ff4531c4e4a4a4b9f2a0c2c798 | refs/heads/master | 2020-04-05T21:37:30.992779 | 2018-11-12T14:42:04 | 2018-11-12T14:42:04 | 157,227,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,591 | h | // Generated by gencpp from file tf2_msgs/LookupTransformResult.msg
// DO NOT EDIT!
#ifndef TF2_MSGS_MESSAGE_LOOKUPTRANSFORMRESULT_H
#define TF2_MSGS_MESSAGE_LOOKUPTRANSFORMRESULT_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_messag... | [
"utkarshdhy@gmail.com"
] | utkarshdhy@gmail.com |
63d7e09d62d5789660496e8250ba87b32a145f83 | baae76d1843fda509c38d5dc0690762e509e5347 | /src/sockets/TCPSocket.cpp | cded2fe89284a4c321c802c30e5bf78d100df003 | [] | no_license | s4pir44/Multithreaded-Hybrid-P2P-and-client | fd49bf76ef92b8670271de63ab0b20a1276544eb | 2bdd081c5de198312351f286ac82aee3c83e4b77 | refs/heads/master | 2020-04-07T04:48:12.104140 | 2018-11-18T10:29:10 | 2018-11-18T10:29:10 | 158,071,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,674 | cpp | /*
* TCPSocket.cpp
*
* Implements a TCP class to wrap the C TCP socket libraries
*
* Created on: Jan 30, 2016
* Author: Tom Boldan & Gal Schlezinger
*/
#include "TCPSocket.h"
/**
* Constructor to create a secondary server socket to communicate with a remote peer
*/
TCPSocket::TCPSocket(int connected_so... | [
"s4pir44@gmail.com"
] | s4pir44@gmail.com |
9212cad62c9ce9f68e9a1f387d317f01b7cb5402 | 385512c454a43a50684327ca0ee16a68cd551761 | /binary-tree-height-bfs.h | 647b17e94cf32309862ade0d3cec64de306ee9b6 | [] | no_license | aholic/leetcode | 19ea9a1dd5389b4401a20343a91aa0ade0d601f5 | 5ada29df33b057d5183a51b281b93c364348b944 | refs/heads/master | 2021-01-25T03:54:15.944704 | 2015-03-02T07:46:48 | 2015-03-02T07:46:48 | 25,392,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | h | //https://oj.leetcode.com/problems/maximum-depth-of-binary-tree/
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int maxDepth(TreeNode *... | [
"ruochen.xu@gmail.com"
] | ruochen.xu@gmail.com |
08c75c87abdefe40223e4ad2d278854e23ab539a | 3aa8603669f9862c44adf0e96f3a2ccd22ba488a | /Record store/Record store.cpp | 1b8d9ed660aca2a2821c04c3940078458532609f | [] | no_license | antonioscardovi/BootcampIT-2 | d7552c68f20f39a23e34796f354b1c9b247a279b | 3568c2e9bf94a05a5efa5c79e6e883dc43c39474 | refs/heads/master | 2020-05-04T17:12:06.345812 | 2019-04-08T20:27:11 | 2019-04-08T20:27:11 | 179,302,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,984 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
using namespace std;
class Record_store {
protected:
};
class Album {
private:
string artist;
string title;
int year;
string genre;
string format;
public:
Album();
void set_artist(string x);
void set_title(string x);
void set_yea... | [
"antonio.scardovi@gmail.com"
] | antonio.scardovi@gmail.com |
e635102e5bc0beae08927a8bdbb99fdf33071b8f | dc75245d9a793e454a1ab91de99884511272d98f | /cpp-grade1.2/计算智能/18276走迷宫.cpp | 3ac44aaa74b467d294efbc17e3191659709f48d2 | [] | no_license | DumbZarro/SCAU-OJ | b1a66efdeb913cb89ff53c6fc049d98e058258d4 | 50d883adf1f5cbdc12bd44f355f442b018bdafdc | refs/heads/main | 2023-02-05T19:52:35.578472 | 2020-12-25T12:25:48 | 2020-12-25T12:25:48 | 307,070,270 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,374 | cpp | #include<iostream>
#include<algorithm>
#include<queue>//队列的头文件
#include<cstdio>//scanf、printf
using namespace std;
char d[105][105];//迷宫体,1为墙、0为可通过
int por[105][4];//传送门数组,一个传送门由传送起点的行、列和传送终点的行、列
int sr,sc,dr,dc,r,c;//sr、sc为起点行列,dr、dc为终点行列,r、c为迷宫体的行列大小
int dir[4][2]={{1,0},{0,1},{-1,0},{0,-1}};//以一个二维数组定义4个方向
typedef s... | [
"1298707056@qq.com"
] | 1298707056@qq.com |
1cced6b02631464220f89ba8f38ffe51fda5e76f | 3dc20111712e0f58958a4e5131b016d5cde41054 | /Medium_Category_Problems/50_Pow_x_n_M.cpp | 85523784dfd409e60deb7b325ec2014034c1ebf8 | [] | no_license | mishranitesh/LeetCode_Solutions | 4420eae92b9a41ad33db4adfbc849cfb9172dfd4 | f7b25b4890448ad292b2fd9d120d651ccb9f1a20 | refs/heads/master | 2020-03-23T15:25:48.711035 | 2019-05-28T21:10:52 | 2019-05-28T21:10:52 | 141,747,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,337 | cpp | /*
50. Pow(x, n) (MEDIUM)
Implement pow(x, n), which calculates x raised to the power n.
Note:
-100.0 < x < 100.0
n is a 32-bit signed integer, within the range [−231, 231 − 1]
Input: 2.00000, 10 2.10000, 3 2.00000, -2
Output: 1024.00000 9.26100 0.25000
*/
// Includes all standard library (ONLY for GCC... | [
"mishra.nitesh@outlook.com"
] | mishra.nitesh@outlook.com |
af679fe24b31708fa634544840f309c8d273394e | fd2142c27374716fa1d3e17651cff7f1ad1e64cd | /CAT source/Param.cpp | 78c9c46764b92358898b55f6222f00a76a917398 | [] | no_license | kzielonka/evo_ca | a7d2dea4fecd9c959d2ed4fb8636bb3073e3e802 | f5d71265738e7fe79e7d97c98d490182919500f8 | refs/heads/master | 2021-03-12T23:05:47.020186 | 2013-02-05T17:56:39 | 2013-02-05T17:56:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,837 | cpp | // Param.cpp: implementation of the Param class.
//
//////////////////////////////////////////////////////////////////////
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <fstream>
#include <iostream>
#ifndef _WIN32
#include <unistd.h>
#endif
#define max(a,b) (a>b?a:b)
// this must preceed includin... | [
"aknolezik@gmail.com"
] | aknolezik@gmail.com |
fbe7074f7e417b5c54fc57392efd27761eef9310 | ab30d13c16885f6c525fdebe68222b53d76db93f | /examples-SQ/create_threads_threadsafe_queue.cpp | 76da1dc7648642d6c18c9541147dc40bc48eec02 | [] | no_license | shiquansu/ConcurrentPsi-SQ | 2ba4e5a3a393a904baccc9a0c523b54d819d56dc | f635b1e003adf111df2e7af69cebcab0bf97c6ef | refs/heads/master | 2016-09-16T01:36:12.235349 | 2015-02-25T20:23:54 | 2015-02-25T20:23:54 | 25,004,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,870 | cpp | #include <unistd.h> // for usleep(microseconds) call
#include <vector>
#include <queue>
#include <iostream>
#include <pthread.h> //for pthread_t
#include "../src-SQ_c++11/ThreadSafeQueue.h"
#include "../src-SQ/CriticalStorage.h"
void *manipulate(void *p);
class VBlock{
int VIndex;
public:
VBlock(int index): VIn... | [
"shiquansu@hotmail.com"
] | shiquansu@hotmail.com |
6adc9645e0c554d5d1bd5f9c21d39bdfd6bac1dd | 73e3f7dec1a12b2e32efd8ea26dd7db5ae9dc576 | /main.cpp | 9c8513ef419f97b26bef4ae7aef1b69db08a666b | [] | no_license | nadoo13/sum_test | d94aaf0b4cd8e54364f1871569060d1d8581a866 | ae2c68de82a26ce3b680783447a378d40c209aae | refs/heads/master | 2021-01-23T09:25:37.234007 | 2017-09-06T08:00:38 | 2017-09-06T08:00:38 | 102,577,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106 | cpp | #include<stdio.h>
#include"sum.h"
int main() {
int n;
scanf("%d",&n);
printf("%d\n",sum(n));
return 0;
} | [
"nadoo1313@naver.com"
] | nadoo1313@naver.com |
a753473969ccc3c25bf013506e70def7be427620 | 5baa0f22bc65408a0ab21493d2e4d4c3e3b8f22a | /main/.build/uno/src/sketch.cpp | 59ffac96a4921026b7a30318884762223fa5b1f9 | [] | no_license | eg0rmeister/repo | 2581c36536e3d8c79d8a04ef8cfd08cc8623870e | 0486c28cbb6a827f076aec1930c36e4313e404dc | refs/heads/master | 2020-12-04T10:22:49.291324 | 2020-02-14T15:32:01 | 2020-02-14T15:32:01 | 231,721,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | cpp | #include <Arduino.h>
void setup();
void loop();
#line 1 "src/sketch.ino"
void setup() {
// put your setup code here, to run once:
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
pinMode(1, INPUT);
pinMode(0, INPUT);
Serial.begin(9600);
}
char s[200];
int k = 0... | [
"karpuhin.egor@gmail.com"
] | karpuhin.egor@gmail.com |
06f69624dcc6ca3d7d7f8d0cc49033bf5972a904 | 9dc1571734cc1da70668a31f86bfd1dd9bc1320b | /zlibrary/core/src/filesystem/ZLInputStream.h | 7ac09c7254c9fe3c358fb604ea476f49c3066070 | [] | no_license | vSlipenchuk/fbreader_touch_dic | e3868b0175e6677393cc34fb6429d5e102735ed7 | 4ae38d0cad34138b1819045d90d06b7631fe5e66 | refs/heads/master | 2022-08-20T13:11:10.387521 | 2020-05-30T18:30:43 | 2020-05-30T18:30:43 | 268,138,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,948 | h | /*
* Copyright (C) 2004-2012 Geometer Plus <contact@geometerplus.com>
*
* 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 the License, or
* (at your option) any later ver... | [
"vslipenchuk@gmail.com"
] | vslipenchuk@gmail.com |
354f9bec71a3a948e43d01cd7afbc76b3ac122b2 | be30b1c05f10baae1a522d23170c84187b43d707 | /core/jni/android_util_AssetManager.cpp | 4518c7e66a5af134431f733ccdc2dcda94045955 | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | IPSBHANGU/wtf | f20b9312aaa5757545cba23090eb13e1f583ec3d | 265042be7a0d158661d270f99e56d7f8db27f412 | refs/heads/master | 2022-03-11T02:59:58.123438 | 2019-12-04T10:02:26 | 2019-12-04T10:02:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63,699 | cpp | /*
* Copyright 2006, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | [
"inderpreetbhangu2@gmail.com"
] | inderpreetbhangu2@gmail.com |
ca1645e307eb98a9a44c278f378d3955d67ab138 | 1f6ed9835203531918dc1e2e78d6b9c15ca090c4 | /Arduino-ServoRamp.ino | c44f3540fe18a267a1700e1f0e5e9a7b8bed8ed4 | [
"Apache-2.0"
] | permissive | saulc/Arduino-ServoRamp | e4edcfd790b5e1421f3f1465cb071ad72e6a335e | 562418e496effbf7357fb579ba5f041f596530f5 | refs/heads/master | 2021-01-13T03:32:46.898080 | 2017-03-17T11:19:50 | 2017-03-17T11:19:50 | 77,527,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | ino | /*
*
* Copyright [2016] [Saul Castro]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... | [
"saulc89@gmail.com"
] | saulc89@gmail.com |
8aecbc3a5e270064445bc9f9252967e66944943d | d0e1263b0e76b0a8e0219c1202296bd372c3eabc | /MediaPortal-1-master/DirectShowFilters/MPAudioRenderer/source/VolumeHandler.cpp | 4e2a975cbf00200157ea33cfe1af3fbfde11ea70 | [] | no_license | juancollsoler/ex.tv.player.app.v2 | d431427e44eb731b7d958624885236bd90b0643f | b9db15ed171b5df03843e8d884f159c4e264c226 | refs/heads/master | 2020-05-19T03:10:21.872002 | 2019-05-03T17:15:15 | 2019-05-03T17:15:15 | 184,790,805 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,779 | cpp | // Copyright (C) 2005-2012 Team MediaPortal
// http://www.team-mediaportal.com
//
// MediaPortal 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 the License, or
// (at your option) any l... | [
"juan.coll@nexcode.io"
] | juan.coll@nexcode.io |
89ff2c24c7a12e597b3c742e4b1c0c05e43dcea7 | 5dec0ce2f42bf05efd531a70c7d8b4d1d27c112a | /iOS/example/lantern-example/cpp/LanternExample.h | 70df968864f8bedb3e6310d3eb5277cdfd73ae91 | [] | no_license | terribleben/lantern-engine | a6535ee59095a0b080cfa66b7cd80bf43cb1fdd5 | bddb78ae3abb94517a13202169690b8df0197394 | refs/heads/master | 2021-01-10T02:27:35.545959 | 2014-11-09T20:03:02 | 2014-11-09T20:03:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 219 | h | //
// LanternExample.h
// lantern-example
//
#ifndef __LANTERN_EXAMPLE_H__
#define __LANTERN_EXAMPLE_H__
#include "Lantern.h"
class LanternExample : public Lantern {
protected:
void gameWillBegin();
};
#endif
| [
"spongebucket@gmail.com"
] | spongebucket@gmail.com |
8e66ecda1bc2062adfd898c4b29dd2b925d7641c | 3507a8231f247fe3f95f462f0ee93d64f57853b2 | /Tests/Swap/Swap/Swap.cpp | 8aaecd52354e0b892a5b79613194bb9c7977b0ae | [] | no_license | Tomerder/C | cb9f9843c3d723b988d08ec12457415dedc395a6 | 992fb791c3cc45f3033cd226f3a3ddfbbfe56278 | refs/heads/master | 2020-04-13T20:22:14.797915 | 2019-01-18T14:58:17 | 2019-01-18T14:58:17 | 163,427,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,263 | cpp | // Swap.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#define SWAP(X,Y,TYPE) {TYPE tmp = X; X = Y; Y = tmp;}
/* &int* => will swap ptrs... | [
"tomerder@gmail.com"
] | tomerder@gmail.com |
b758eb6ca83f99f1c2a42506861f4b9acf4c3ec9 | 2dd3b36f9c8f4f9f5244418bf9886f7d8f059845 | /src/ting/debug.hpp | 988a9b1756e8c4009d49f022aa4f7b1dcd2b1b5a | [] | no_license | trailblazing/ting | fb00d40cb657b586aaaed10d875edc6943a0f764 | 0f784e6bbf62206bae911dfea79fefde58909e45 | refs/heads/master | 2021-05-28T02:04:30.678210 | 2014-12-08T02:51:17 | 2014-12-08T02:51:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,592 | hpp | /* The MIT License:
Copyright (c) 2008-2012 Ivan Gagis <igagis@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
to use, copy... | [
"liangfu.chen@nlpr.ia.ac.cn"
] | liangfu.chen@nlpr.ia.ac.cn |
0cebdfe6722c5b4de692704ceceb969c132af439 | 3b6054a8c8447ad7b658c3ad98d95aa2d5277008 | /start_project/Laghaim_Client/ControlLottery.h | b66d0b65a5637cbdd396c5cd6c37ab1b0c9d17cd | [] | no_license | Topstack-first/20210521_directx_laghaim | 80261e1d25ade898ab18c878e46f8f922d62031f | 7f92bd76fb5e10af43cd26f6e23ae8781a29632c | refs/heads/main | 2023-05-09T14:19:52.082370 | 2021-05-25T22:22:16 | 2021-05-25T22:22:16 | 369,423,057 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,659 | h | #ifndef _CONTROL_LOTTERY_H_
#define _CONTROL_LOTTERY_H_
#include "BaseInterface.h"
#include "BasicStatic.h"
#include "basicbutton.h"
#include "TextOutBox.h"
#define MAX_LOTTERY_SCRATCH_FRAME 4
#define MAX_LOTTERY_GRADE 11
enum eLotteryState
{
eLotteryState_Idle = 0,
eLotteryState_Scratch,
eLotteryState_WaitResult... | [
"topstack2020+first@gmail.com"
] | topstack2020+first@gmail.com |
da4c0a39137f48aec04bb213c00f5ea044cf6e3c | 2c6da87ba68f5ec9292f4f62233eb1f498950306 | /modules/gpulegacy/src/precomp.hpp | 85e6f88e73430fce189c95dc8c5943e1ba8db280 | [] | no_license | davyw/opencv | 437bb7058374ae303a2ae67fb2853946ff0bf77b | 616dbd53f02069834d224a518459ebb5efb1425c | refs/heads/master | 2020-04-06T07:09:50.873024 | 2013-07-12T07:40:33 | 2013-07-12T07:40:33 | 11,368,155 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,573 | hpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"vlad.vinogradov@itseez.com"
] | vlad.vinogradov@itseez.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.