hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3c4d485b8d037c6db1a13c41aead2be4e41f4172 | 1,300 | cc | C++ | below2.1/okviri.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | below2.1/okviri.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | below2.1/okviri.cc | danzel-py/Kattis-Problem-Archive | bce1929d654b1bceb104f96d68c74349273dd1ff | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
string str;
cin>>str;
for (int i = 0; i < str.length(); i++)
{
if(i % 3 == 2){
cout<<"..*.";
}else{
cout<<"..#.";
}
}
cout<<".\n";
for (int i = 0; i < str.length(); i++)
{
if(i %... | 18.309859 | 42 | 0.264615 | danzel-py |
3c4f392ac7bef2878ac80d7395a328678389d6f1 | 4,065 | cpp | C++ | index.cpp | travc/vt | 20ba6b7a313aebf2162eb877c38a5c818322bafe | [
"MIT"
] | 166 | 2015-01-14T23:14:05.000Z | 2022-03-31T14:15:56.000Z | index.cpp | travc/vt | 20ba6b7a313aebf2162eb877c38a5c818322bafe | [
"MIT"
] | 108 | 2015-01-16T13:21:07.000Z | 2022-01-26T22:47:55.000Z | index.cpp | travc/vt | 20ba6b7a313aebf2162eb877c38a5c818322bafe | [
"MIT"
] | 48 | 2015-01-16T23:35:18.000Z | 2022-03-01T12:14:53.000Z | /* The MIT License
Copyright (c) 2013 Adrian Tan <atks@umich.edu>
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 us... | 28.229167 | 130 | 0.566052 | travc |
3c4f3bc1c91e31be87122fea0d5e67ba119b3d43 | 2,983 | cpp | C++ | Chapter03/LibraryBasic/Book.cpp | linuxemb/datastructure | efc9e2ef897bf1f626b67d08c3892c8f41a008f9 | [
"MIT"
] | 25 | 2018-04-04T15:36:26.000Z | 2021-11-08T13:12:21.000Z | Chapter03/LibraryBasic/Book.cpp | linuxemb/datastructure | efc9e2ef897bf1f626b67d08c3892c8f41a008f9 | [
"MIT"
] | 1 | 2021-06-29T04:14:07.000Z | 2021-07-05T19:48:36.000Z | Chapter03/LibraryBasic/Book.cpp | linuxemb/datastructure | efc9e2ef897bf1f626b67d08c3892c8f41a008f9 | [
"MIT"
] | 16 | 2018-04-04T15:36:42.000Z | 2022-02-07T08:31:16.000Z | #include <Set>
#include <Map>
#include <List>
#include <String>
#include <FStream>
using namespace std;
#include "Book.h"
#include "Customer.h"
#include "Library.h"
int Book::MaxBookId = 0;
Book::Book(void) {
// Empty.
}
Book::Book(const string& author, const string& title)
:m_bookId(++MaxBookId),
m_author(aut... | 23.304688 | 65 | 0.663091 | linuxemb |
3c50d0e01474815b4c2160695d4db8a48f26b07a | 1,107 | hpp | C++ | Server/Server.hpp | Stun3R/Epitech-R-Type | 3d6ef3bd5a937f50de996de2395c43c5115f0776 | [
"MIT"
] | null | null | null | Server/Server.hpp | Stun3R/Epitech-R-Type | 3d6ef3bd5a937f50de996de2395c43c5115f0776 | [
"MIT"
] | null | null | null | Server/Server.hpp | Stun3R/Epitech-R-Type | 3d6ef3bd5a937f50de996de2395c43c5115f0776 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2021
** R-TYPE
** File description:
** Created by stun3r,
*/
#ifndef SERVER_HPP
#define SERVER_HPP
#include "Room/Room.hpp"
class Server {
public:
Server();
~Server();
void run();
void startReceive();
void refresh();
private:
void handleReceive(const boost::system::error_code &, ... | 20.5 | 95 | 0.709124 | Stun3R |
3c56201c97620297be4a3b9555938a16194ee4b0 | 860 | hpp | C++ | Config.hpp | Krozark/2D-infinite-map | a9d23b937ea89d34a4f793899cea7276caf7adc9 | [
"BSD-2-Clause"
] | 1 | 2018-06-25T08:49:37.000Z | 2018-06-25T08:49:37.000Z | Config.hpp | Krozark/2D-infinite-map | a9d23b937ea89d34a4f793899cea7276caf7adc9 | [
"BSD-2-Clause"
] | 1 | 2015-03-12T10:22:54.000Z | 2017-11-24T14:36:07.000Z | Config.hpp | Krozark/2D-infinite-map | a9d23b937ea89d34a4f793899cea7276caf7adc9 | [
"BSD-2-Clause"
] | 1 | 2018-06-25T08:50:12.000Z | 2018-06-25T08:50:12.000Z | #ifndef CONFIG_HPP
#define CONFIG_HPP
#include <string>
#include <SFML/Graphics.hpp>
#include <ResourceManager/ResourceManager.hpp>
#include <Map/TileIsoHexa.hpp>
namespace cfg
{
class Config
{
Config() = delete;
Config(const Config&) = delete;
Config& operator=(const Config&) = dele... | 23.888889 | 109 | 0.660465 | Krozark |
3c594b0eb36a7306dbd96c581c3e8e92eb371ce0 | 3,421 | cpp | C++ | src/core/tree/double_property.cpp | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | 4 | 2018-09-11T14:27:57.000Z | 2019-12-16T21:06:26.000Z | src/core/tree/double_property.cpp | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | null | null | null | src/core/tree/double_property.cpp | lii-enac/djnn-cpp | f27c5ba3186186ee22c93ae91c16063556e929b6 | [
"BSD-2-Clause"
] | 2 | 2018-06-11T14:15:30.000Z | 2019-01-09T12:23:35.000Z | /*
* djnn v2
*
* The copyright holders for the contents of this file are:
* Ecole Nationale de l'Aviation Civile, France (2018-2019)
* See file "license.terms" for the rights and conditions
* defined by copyright holders.
*
*
* Contributors:
* Mathieu Magnaudet <mathieu.magnaudet@enac.fr>
* ... | 25.529851 | 124 | 0.665303 | lii-enac |
3c596be6e3144042d1bed3be644e4c3d00aa4b60 | 1,224 | cpp | C++ | exploringBB/chp10/cgicc/LED.cpp | chaicko/ExploringBeagleBone | 56528557e7d9a328602c65f1b2d837906cb08952 | [
"Apache-2.0"
] | 1 | 2019-05-28T18:38:29.000Z | 2019-05-28T18:38:29.000Z | exploringBB/chp10/cgicc/LED.cpp | chaicko/ExploringBeagleBone | 56528557e7d9a328602c65f1b2d837906cb08952 | [
"Apache-2.0"
] | null | null | null | exploringBB/chp10/cgicc/LED.cpp | chaicko/ExploringBeagleBone | 56528557e7d9a328602c65f1b2d837906cb08952 | [
"Apache-2.0"
] | null | null | null | #include "LED.h"
LED::LED(int number){
this->number = number;
// much easier with C++11 using to_string(number)
ostringstream s; // using a stream to contruct the path
s << LED_PATH << number; //append LED number to LED_PATH
path = string(s.str()); //convert back from stream to string
}
void LE... | 23.538462 | 66 | 0.601307 | chaicko |
3c5dc6e14cd0646e8e635c18c53db42bb6a9169d | 3,351 | hpp | C++ | third_party/omr/jitbuilder/ilgen/JBIlGeneratorMethodDetails.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/jitbuilder/ilgen/JBIlGeneratorMethodDetails.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | third_party/omr/jitbuilder/ilgen/JBIlGeneratorMethodDetails.hpp | xiacijie/omr-wala-linkage | a1aff7aef9ed131a45555451abde4615a04412c1 | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2014, 2016 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
* distribution and is available at https://w... | 36.423913 | 135 | 0.693524 | xiacijie |
3c5f504f277e4122e1395f9e39f9dd30f9e43831 | 1,587 | cc | C++ | test/h265_sps_scc_extension_parser_unittest.cc | sivapatibandla/h265nal | d128722c717e0656ae64a9fc386c9725bcd26da3 | [
"BSD-3-Clause"
] | 6 | 2020-10-05T21:55:52.000Z | 2022-03-20T13:28:21.000Z | test/h265_sps_scc_extension_parser_unittest.cc | sivapatibandla/h265nal | d128722c717e0656ae64a9fc386c9725bcd26da3 | [
"BSD-3-Clause"
] | 5 | 2020-10-26T13:48:11.000Z | 2022-01-28T01:47:19.000Z | test/h265_sps_scc_extension_parser_unittest.cc | sivapatibandla/h265nal | d128722c717e0656ae64a9fc386c9725bcd26da3 | [
"BSD-3-Clause"
] | 4 | 2020-10-06T21:08:59.000Z | 2022-03-21T06:05:55.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*/
#include "h265_sps_scc_extension_parser.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "h265_common.h"
#include "rtc_base/arraysize.h"
#include "rtc_base/bit_buffer.h"
namespace h265nal {
class H265SpsSccExtensionParserTest : public ::testi... | 33.0625 | 80 | 0.768746 | sivapatibandla |
3c5fd1faeca10f416993a5918c9aae8c43a9495e | 21,541 | hpp | C++ | mpi/abstract_comm.hpp | mnakao/graph500 | 74275945ae6be87ad9f65655ca7af919e04d3c6a | [
"Apache-1.1"
] | 1 | 2022-02-14T19:25:41.000Z | 2022-02-14T19:25:41.000Z | mpi/abstract_comm.hpp | mnakao/graph500 | 74275945ae6be87ad9f65655ca7af919e04d3c6a | [
"Apache-1.1"
] | null | null | null | mpi/abstract_comm.hpp | mnakao/graph500 | 74275945ae6be87ad9f65655ca7af919e04d3c6a | [
"Apache-1.1"
] | 1 | 2020-07-31T06:22:13.000Z | 2020-07-31T06:22:13.000Z | /*
* abstract_comm.hpp
*
* Created on: 2014/05/17
* Author: ueno
*/
#ifndef ABSTRACT_COMM_HPP_
#define ABSTRACT_COMM_HPP_
#ifdef PROFILE_REGIONS
extern int current_fold;
#endif
#include <limits.h>
#include "utils.hpp"
#include "fiber.hpp"
#define debug(...) debug_print(ABSCO, __VA_ARGS__)
class AlltoallBu... | 26.463145 | 130 | 0.671835 | mnakao |
3c615cb4b0825c7d7b453fe6ec7bf630d9ab6f7e | 11,797 | cpp | C++ | test/test_pool.cpp | twam/etl | a332a8ab336c4bea97579e4c5aa2fdaf216ce9d9 | [
"MIT"
] | 1 | 2020-04-09T03:08:56.000Z | 2020-04-09T03:08:56.000Z | test/test_pool.cpp | ProgmaticProgrammer/etl | 9d8eafe16d46c0db49d8d705a7352e5b67ef8d18 | [
"MIT"
] | null | null | null | test/test_pool.cpp | ProgmaticProgrammer/etl | 9d8eafe16d46c0db49d8d705a7352e5b67ef8d18 | [
"MIT"
] | null | null | null | /******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
http://www.etlcpp.com
Copyright(c) 2014 jwellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associate... | 24.577083 | 98 | 0.535645 | twam |
3c6523550f9e948f6130c60fbdaeed277dbce5a3 | 1,353 | hpp | C++ | sdk/structs.hpp | Nixer1337/gmod-sdk | 482c66989e0f55bd7b52bb0bee48b0b0b2bb893f | [
"MIT"
] | 6 | 2020-03-30T05:11:50.000Z | 2021-02-08T02:26:29.000Z | sdk/structs.hpp | Nixer1337/gmod-sdk | 482c66989e0f55bd7b52bb0bee48b0b0b2bb893f | [
"MIT"
] | 1 | 2020-12-05T11:18:51.000Z | 2020-12-27T18:34:22.000Z | sdk/structs.hpp | Nixer1337/gmod-sdk | 482c66989e0f55bd7b52bb0bee48b0b0b2bb893f | [
"MIT"
] | 2 | 2020-03-24T15:27:38.000Z | 2022-03-03T17:32:31.000Z | #pragma once
#include "vfunc.hpp"
#include "../utilities/utilities.hpp"
#include "../utilities/math.hpp"
#include "../utilities/netvars.hpp"
#define NETVAR(type, name, table, netvar) \
type& name##() const { \
static const auto _##name = Netvars::GetOffset(hash::fnv1a_32(table), hash::fnv1a_32(netvar)); \
return... | 23.327586 | 98 | 0.716925 | Nixer1337 |
3c652c2ed79d4044f0bf8180c6246000adb12d5a | 476 | hpp | C++ | src/core/lib/core_qt_common/qt_resource_system.hpp | wgsyd/wgtf | d8cacb43e2c5d40080d33c18a8c2f5bd27d21bed | [
"BSD-3-Clause"
] | 28 | 2016-06-03T05:28:25.000Z | 2019-02-14T12:04:31.000Z | src/core/lib/core_qt_common/qt_resource_system.hpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | null | null | null | src/core/lib/core_qt_common/qt_resource_system.hpp | karajensen/wgtf | 740397bcfdbc02bc574231579d57d7c9cd5cc26d | [
"BSD-3-Clause"
] | 14 | 2016-06-03T05:52:27.000Z | 2019-03-21T09:56:03.000Z | #ifndef QT_RESOURCE_SYSTEM_HPP
#define QT_RESOURCE_SYSTEM_HPP
#include "core_dependency_system/i_interface.hpp"
#include "core_serialization/i_resource_system.hpp"
namespace wgt
{
class QtResourceSystem : public Implements<IResourceSystem>
{
public:
QtResourceSystem();
virtual ~QtResourceSystem();
virtual bool ex... | 23.8 | 79 | 0.815126 | wgsyd |
3c657086cadbc5031299384fa1eb3e70c24b4038 | 560 | hpp | C++ | Siv3D/include/Siv3D/InputDevice.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 709 | 2016-03-19T07:55:58.000Z | 2022-03-31T08:02:22.000Z | Siv3D/include/Siv3D/InputDevice.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 415 | 2017-05-21T05:05:02.000Z | 2022-03-29T16:08:27.000Z | Siv3D/include/Siv3D/InputDevice.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 123 | 2016-03-19T12:47:08.000Z | 2022-03-25T03:47:51.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2021 Ryo Suzuki
// Copyright (c) 2016-2021 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include "Common.hpp"
namespac... | 15.555556 | 50 | 0.523214 | emadurandal |
3c664286581b4bceda140fe32248da790b15559b | 269 | cpp | C++ | 12-coding-practice-problems/12.40-functions-number-to-words/main.cpp | trangnart/cis22a | 498a7b37d12a13efa7749849dc95d9892d1786be | [
"MIT"
] | 2 | 2020-09-04T22:06:06.000Z | 2020-09-09T04:00:25.000Z | 12-coding-practice-problems/12.40-functions-number-to-words/main.cpp | trangnart/cis22a | 498a7b37d12a13efa7749849dc95d9892d1786be | [
"MIT"
] | 14 | 2020-08-24T01:44:36.000Z | 2021-01-01T08:44:17.000Z | 12-coding-practice-problems/12.40-functions-number-to-words/main.cpp | trangnart/cis22a | 498a7b37d12a13efa7749849dc95d9892d1786be | [
"MIT"
] | 1 | 2020-09-04T22:13:13.000Z | 2020-09-04T22:13:13.000Z | #include <iostream>
#include <string>
using namespace std;
string DigitToWord(int digitIn) {
// FINISH
}
string TensDigitToWord(int digitIn) {
// FINISH
}
string TwoDigitNumToWords(int numIn) {
// FINISH
}
int main() {
// FINISH
return 0;
} | 8.966667 | 38 | 0.643123 | trangnart |
3c69914c1a2306008d9e2f042155d8a0ddae948a | 6,599 | hpp | C++ | ql/models/shortrate/twofactormodels/g2.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | ql/models/shortrate/twofactormodels/g2.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | ql/models/shortrate/twofactormodels/g2.hpp | SoftwareIngenieur/QuantLib | 7a59dd749869f7a679536df322482bf9c6531d38 | [
"BSD-3-Clause"
] | null | null | null | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2001, 2002, 2003 Sadruddin Rejeb
Copyright (C) 2004 Mike Parker
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib i... | 34.19171 | 95 | 0.537203 | SoftwareIngenieur |
3c6c6344c979d9380ecd68baee34ced672ac3cf7 | 957 | hpp | C++ | include/blackhole/config/json.hpp | JakariaBlaine/blackhole | e340329c6e2e3166858d8466656ad12300b686bd | [
"MIT"
] | 193 | 2015-01-05T08:48:05.000Z | 2022-01-31T22:04:01.000Z | include/blackhole/config/json.hpp | JakariaBlaine/blackhole | e340329c6e2e3166858d8466656ad12300b686bd | [
"MIT"
] | 135 | 2015-01-13T13:02:49.000Z | 2022-01-12T15:06:48.000Z | include/blackhole/config/json.hpp | JakariaBlaine/blackhole | e340329c6e2e3166858d8466656ad12300b686bd | [
"MIT"
] | 40 | 2015-01-21T16:37:30.000Z | 2022-01-25T15:54:04.000Z | #pragma once
#include <memory>
#include "factory.hpp"
namespace blackhole {
inline namespace v1 {
namespace config {
class json_t;
template<>
class factory_traits<json_t> {
public:
/// Constructs and initializes the JSON config factory by reading the given stream reference
/// until EOF and parsing its con... | 25.864865 | 97 | 0.684431 | JakariaBlaine |
3c6c86b19599f0796b26798ce8f6030d24436cc9 | 1,725 | cpp | C++ | Day_18/03_Diameter.cpp | premnaaath/SDE-180 | 6d7cc2404d310600a81adaa652049172f2e10ed8 | [
"MIT"
] | null | null | null | Day_18/03_Diameter.cpp | premnaaath/SDE-180 | 6d7cc2404d310600a81adaa652049172f2e10ed8 | [
"MIT"
] | null | null | null | Day_18/03_Diameter.cpp | premnaaath/SDE-180 | 6d7cc2404d310600a81adaa652049172f2e10ed8 | [
"MIT"
] | null | null | null | // Problem Link:
// https://leetcode.com/problems/diameter-of-binary-tree/
// Approach 1
// TC: O(n^2)
// SC: O(n)
// Approach 2
// TC: O(n)
// SC: O(n)
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define deb(x) cout << #x << ": " << x << "\n"
class TreeNode
{
public:
TreeNode *left;
... | 19.166667 | 70 | 0.602899 | premnaaath |
3c6dbf6181ebfd729aace0f3fa9fdde3177e7939 | 704 | cc | C++ | CPP/No744.cc | hxz1998/funny_leetcode | 1d2c425af09b57a030fc018ddc1e1a5ffb966cd0 | [
"Apache-2.0"
] | null | null | null | CPP/No744.cc | hxz1998/funny_leetcode | 1d2c425af09b57a030fc018ddc1e1a5ffb966cd0 | [
"Apache-2.0"
] | null | null | null | CPP/No744.cc | hxz1998/funny_leetcode | 1d2c425af09b57a030fc018ddc1e1a5ffb966cd0 | [
"Apache-2.0"
] | null | null | null | /**
* Created by Xiaozhong on 2020/11/27.
* Copyright (c) 2020/11/27 Xiaozhong. All rights reserved.
*/
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
class Solution {
public:
char nextGreatestLetter(vector<char> &letters, char target) {
vector<char>::iterator iter = up... | 27.076923 | 90 | 0.632102 | hxz1998 |
3c70d93e4c7540924f3bec69553882eead15655f | 4,164 | cpp | C++ | ImportantExample/cuteReportView/cutereport/src/thirdparty/propertyeditor/plugins/stringlist/stringlist.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 3 | 2018-12-24T19:35:52.000Z | 2022-02-04T14:45:59.000Z | ImportantExample/CuteReport/src/thirdparty/propertyeditor/plugins/stringlist/stringlist.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | null | null | null | ImportantExample/CuteReport/src/thirdparty/propertyeditor/plugins/stringlist/stringlist.cpp | xiaohaijin/Qt | 54d961c6a8123d8e4daf405b7996aba4be9ab7ed | [
"MIT"
] | 1 | 2019-05-09T02:42:40.000Z | 2019-05-09T02:42:40.000Z | /***************************************************************************
* This file is part of the propertyEditor project *
* Copyright (C) 2008 by BogDan Vatra *
* bog_dan_ro@yahoo.com *
** ... | 36.849558 | 167 | 0.568924 | xiaohaijin |
3c71ba99bd1635633681209b7552b93ae1c90c87 | 18,068 | cpp | C++ | ksp_plugin_test/plugin_compatibility_test.cpp | net-lisias-ksp/Principia | 9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a | [
"MIT"
] | 2 | 2016-02-14T21:18:48.000Z | 2017-02-11T23:23:20.000Z | ksp_plugin_test/plugin_compatibility_test.cpp | net-lisias-ksp/Principia | 9292ea1fc2e4b4f0ce7a717e2f507168519f5f8a | [
"MIT"
] | 1 | 2015-07-27T21:27:46.000Z | 2015-07-27T21:27:46.000Z | ksp_plugin_test/plugin_compatibility_test.cpp | pleroy/Principia | 64c4c6c124f4744381b6489e39e6b53e2a440ce9 | [
"MIT"
] | null | null | null |
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "astronomy/time_scales.hpp"
#include "astronomy/mercury_orbiter.hpp"
#include "base/array.hpp"
#include "base/file.hpp"
#include "base/not_null.hpp"
#include "base/pull_serializer.hpp"
#include "base/push_deserializer.hpp"
#include "ba... | 42.713948 | 80 | 0.615176 | net-lisias-ksp |
3c72d81813c24325c2bfd0bd6d81a1d1889a6ef8 | 1,661 | cpp | C++ | ql/time/calendars/bespokecalendar.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 76 | 2017-06-28T21:24:38.000Z | 2021-12-19T18:07:37.000Z | ql/time/calendars/bespokecalendar.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 2 | 2017-07-05T09:20:13.000Z | 2019-10-31T12:06:51.000Z | ql/time/calendars/bespokecalendar.cpp | haozhangphd/QuantLib-noBoost | ddded069868161099843c04840454f00816113ad | [
"BSD-3-Clause"
] | 34 | 2017-07-02T14:49:21.000Z | 2021-11-26T15:32:04.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2008 StatPro Italia srl
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it ... | 29.660714 | 79 | 0.698374 | haozhangphd |
3c77896cc5a1449d7de88e0d115c51d3bf8c6c49 | 2,524 | cpp | C++ | dbi_clients_src/pin/pin-3.6-97554-g31f0a167d-gcc-linux/source/tools/ImageTests/gnu_hash_app.cpp | DigitalAlchemist/fuzzwatch | 32517e7b80b680dd658e833ed2dfdd88744e6694 | [
"Apache-2.0"
] | 326 | 2019-08-10T21:17:22.000Z | 2022-03-22T08:40:47.000Z | dbi_clients_src/pin/pin-3.6-97554-g31f0a167d-gcc-linux/source/tools/ImageTests/gnu_hash_app.cpp | DigitalAlchemist/fuzzwatch | 32517e7b80b680dd658e833ed2dfdd88744e6694 | [
"Apache-2.0"
] | 42 | 2019-08-13T12:48:19.000Z | 2021-11-03T12:57:59.000Z | dbi_clients_src/pin/pin-3.6-97554-g31f0a167d-gcc-linux/source/tools/ImageTests/gnu_hash_app.cpp | DigitalAlchemist/fuzzwatch | 32517e7b80b680dd658e833ed2dfdd88744e6694 | [
"Apache-2.0"
] | 66 | 2019-08-10T21:41:38.000Z | 2022-03-17T13:03:42.000Z | /*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2017 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 copyright noti... | 31.55 | 100 | 0.745246 | DigitalAlchemist |
3c79c64fef31c1470dd78139d88b29c7c6498fd7 | 1,344 | cpp | C++ | artifact/storm/src/storm/builder/jit/JitModelBuilderInterface.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/builder/jit/JitModelBuilderInterface.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/builder/jit/JitModelBuilderInterface.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | 1 | 2022-02-05T12:39:53.000Z | 2022-02-05T12:39:53.000Z | #include "storm/builder/jit/JitModelBuilderInterface.h"
#include "storm/adapters/RationalFunctionAdapter.h"
namespace storm {
namespace builder {
namespace jit {
template <typename IndexType, typename ValueType>
JitModelBuilderInterface<IndexType, ValueType>::JitModelB... | 43.354839 | 205 | 0.671131 | glatteis |
3c7ac66de72e373f825c48bbd2d02ef16fa6706d | 1,565 | cxx | C++ | smtk/extension/vtk/io/testing/cxx/UnitTestMeshIOVTK.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 40 | 2015-02-21T19:55:54.000Z | 2022-01-06T13:13:05.000Z | smtk/extension/vtk/io/testing/cxx/UnitTestMeshIOVTK.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 127 | 2015-01-15T20:55:45.000Z | 2021-08-19T17:34:15.000Z | smtk/extension/vtk/io/testing/cxx/UnitTestMeshIOVTK.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 27 | 2015-03-04T14:17:51.000Z | 2021-12-23T01:05:42.000Z | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 27.946429 | 97 | 0.673482 | jcfr |
3c7bbe87cadb94597644da05b31063719b764295 | 5,965 | cpp | C++ | tests/simple/test_model_cereal.cpp | GasparQ/Cerealization | 42ed8e78fc42f7e032633eb5c06635cb92980c59 | [
"MIT"
] | 1 | 2018-03-16T08:51:35.000Z | 2018-03-16T08:51:35.000Z | tests/simple/test_model_cereal.cpp | GasparQ/Cerealization | 42ed8e78fc42f7e032633eb5c06635cb92980c59 | [
"MIT"
] | null | null | null | tests/simple/test_model_cereal.cpp | GasparQ/Cerealization | 42ed8e78fc42f7e032633eb5c06635cb92980c59 | [
"MIT"
] | null | null | null | //
// Created by GasparQ on 03/04/2018.
//
#include <cassert>
#include <iostream>
#include <typeinfo>
#include "Cerealizable/Scalar.hpp"
#include "Cerealizable/List.hpp"
#include "Cerealizable/Tuple.hpp"
#include "Cerealizable/Object.hpp"
#include "Cerealizer/Binary/Binary.hpp"
#include "Cerealizer/JSON/JSON.hpp"
u... | 40.578231 | 192 | 0.652473 | GasparQ |
3c7f3b3fa4d64d06e0af48646a0fc92560c34a5c | 257 | cpp | C++ | sources/common/_VS/FatFS/ff_gen_drv.cpp | Sasha7b9Work/S8-57M | 24531cf6d285a400e8be20a939acb842a775a989 | [
"MIT"
] | null | null | null | sources/common/_VS/FatFS/ff_gen_drv.cpp | Sasha7b9Work/S8-57M | 24531cf6d285a400e8be20a939acb842a775a989 | [
"MIT"
] | null | null | null | sources/common/_VS/FatFS/ff_gen_drv.cpp | Sasha7b9Work/S8-57M | 24531cf6d285a400e8be20a939acb842a775a989 | [
"MIT"
] | null | null | null | #include "defines.h"
#include "ff_gen_drv.h"
const Diskio_drvTypeDef USBH_Driver{ 0, 0, 0 };
uint8_t FATFS_LinkDriver(const Diskio_drvTypeDef * /*drv*/, char * /*path*/)
{
return 0;
}
uint8_t FATFS_UnLinkDriver(char * /*path*/)
{
return 0;
}
| 13.526316 | 76 | 0.669261 | Sasha7b9Work |
3c80a17cc34ff0f0e8ae6a866398c3b1785ea714 | 9,367 | cxx | C++ | src/Recon.cxx | fermi-lat/AncillaryDataEvent | 4f8f9677971b36628b0949e3ccd8b708e4932c38 | [
"BSD-3-Clause"
] | null | null | null | src/Recon.cxx | fermi-lat/AncillaryDataEvent | 4f8f9677971b36628b0949e3ccd8b708e4932c38 | [
"BSD-3-Clause"
] | null | null | null | src/Recon.cxx | fermi-lat/AncillaryDataEvent | 4f8f9677971b36628b0949e3ccd8b708e4932c38 | [
"BSD-3-Clause"
] | null | null | null | #include "AncillaryDataEvent/Recon.h"
#include <algorithm>
//using namespace AncillaryData;
namespace AncillaryData {
Recon::Recon(AncillaryData::Digi *digiEvent)
{
setEventNumber(digiEvent->getEventNumber());
setSpillNumber(digiEvent->getSpillNumber());
setQdcHitCol(digiEvent->getQdcHitCol());
setScal... | 33.938406 | 131 | 0.610761 | fermi-lat |
3c815e863e22a09ba29c0a09896d2983aaa9a55e | 153 | cpp | C++ | lib/src/public.cpp | nontan-rh/cpp-template | b0b618307b54a432c3a18af308f887a21a57dccd | [
"Unlicense"
] | 1 | 2020-11-18T08:43:11.000Z | 2020-11-18T08:43:11.000Z | lib/src/public.cpp | nontan-rh/cpp-template | b0b618307b54a432c3a18af308f887a21a57dccd | [
"Unlicense"
] | null | null | null | lib/src/public.cpp | nontan-rh/cpp-template | b0b618307b54a432c3a18af308f887a21a57dccd | [
"Unlicense"
] | null | null | null | #include <sample/public.hpp>
#include "internal.hpp"
namespace sample {
int add(int a, int b) { return internal::sub(a, -b); }
} // namespace sample
| 15.3 | 54 | 0.673203 | nontan-rh |
3c81f7b2ab6b966b25164ffec35a7906edcc381c | 24,092 | cpp | C++ | dev/Code/Sandbox/Editor/EntityPanel.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 8 | 2019-10-07T16:33:47.000Z | 2020-12-07T03:59:58.000Z | dev/Code/Sandbox/Editor/EntityPanel.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Code/Sandbox/Editor/EntityPanel.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 5 | 2020-08-27T20:44:18.000Z | 2021-08-21T22:54:11.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 30.729592 | 139 | 0.567118 | jeikabu |
3c8416e8d972c5e20dd3215b9755f9271cb4f4e4 | 618 | hpp | C++ | sdl1/TicTacToe/BoardInputComponent.hpp | pdpdds/sdldualsystem | d74ea84cbea705fef62868ba8c693bf7d2555636 | [
"BSD-2-Clause"
] | null | null | null | sdl1/TicTacToe/BoardInputComponent.hpp | pdpdds/sdldualsystem | d74ea84cbea705fef62868ba8c693bf7d2555636 | [
"BSD-2-Clause"
] | null | null | null | sdl1/TicTacToe/BoardInputComponent.hpp | pdpdds/sdldualsystem | d74ea84cbea705fef62868ba8c693bf7d2555636 | [
"BSD-2-Clause"
] | null | null | null | #ifndef __BOARDINPUTCOMPONENT_H
#define __BOARDINPUTCOMPONENT_H
#include "InputComponent.hpp"
#include "SDL.h"
class BoardInputComponent : public InputComponent {
public:
virtual void update( GameState *obj, GameEngine *engine );
BoardInputComponent( GameBoard *board, SDL_Event *event );
~BoardInputComponent... | 20.6 | 60 | 0.749191 | pdpdds |
3c898ce133d81b6a3813845c6ebac9b33717451f | 9,472 | cpp | C++ | GazeboFluidSimulator/FluidSimulator.cpp | ManosAgelidis/SPlisHSPlasH | c206ce867c15104a70e05e4e8792072ca9b364a3 | [
"MIT"
] | null | null | null | GazeboFluidSimulator/FluidSimulator.cpp | ManosAgelidis/SPlisHSPlasH | c206ce867c15104a70e05e4e8792072ca9b364a3 | [
"MIT"
] | null | null | null | GazeboFluidSimulator/FluidSimulator.cpp | ManosAgelidis/SPlisHSPlasH | c206ce867c15104a70e05e4e8792072ca9b364a3 | [
"MIT"
] | null | null | null | #include "SPlisHSPlasH/Common.h"
#include "SPlisHSPlasH/TimeManager.h"
#include "Utilities/OBJLoader.h"
#include "SPlisHSPlasH/Utilities/SurfaceSampling.h"
#include "SPlisHSPlasH/Viscosity/ViscosityBase.h"
#include <fstream>
#include "SPlisHSPlasH/Simulation.h"
#include "FluidSimulator.h"
#include "Utilities/Timing.h"
... | 34.823529 | 194 | 0.694785 | ManosAgelidis |
3c8aa450c85ee35f33e7ec707c374146b4c4a929 | 792 | cpp | C++ | Leetcode/construct_binary_search_tree.cpp | amrfahmyy/Problem-Solving | 4c7540a1df3c4be206fc6dc6c77d754b513b314f | [
"Apache-2.0"
] | null | null | null | Leetcode/construct_binary_search_tree.cpp | amrfahmyy/Problem-Solving | 4c7540a1df3c4be206fc6dc6c77d754b513b314f | [
"Apache-2.0"
] | null | null | null | Leetcode/construct_binary_search_tree.cpp | amrfahmyy/Problem-Solving | 4c7540a1df3c4be206fc6dc6c77d754b513b314f | [
"Apache-2.0"
] | 1 | 2021-04-02T14:20:11.000Z | 2021-04-02T14:20:11.000Z | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int id;
TreeNode* solve(vector<int>& preorder , int limit ){
if(id >= preorder.size(... | 20.842105 | 59 | 0.525253 | amrfahmyy |
3c91660a1a83bf1f254ed3c383b561cd43f2cbf8 | 292 | cpp | C++ | BlueprintToRSTDoc/Source/BlueprintToRSTDoc/Private/Commands.cpp | kant/UE4-BlueprintToRSTDoc | 68353d924c24ab28fbe142503102413a2658adb4 | [
"MIT"
] | 1 | 2020-10-04T13:02:29.000Z | 2020-10-04T13:02:29.000Z | BlueprintToRSTDoc/Source/BlueprintToRSTDoc/Private/Commands.cpp | kant/UE4-BlueprintToRSTDoc | 68353d924c24ab28fbe142503102413a2658adb4 | [
"MIT"
] | null | null | null | BlueprintToRSTDoc/Source/BlueprintToRSTDoc/Private/Commands.cpp | kant/UE4-BlueprintToRSTDoc | 68353d924c24ab28fbe142503102413a2658adb4 | [
"MIT"
] | 1 | 2021-06-19T19:53:09.000Z | 2021-06-19T19:53:09.000Z | #include "Commands.h"
#define LOCTEXT_NAMESPACE "FBlueprintToRSTDocModule"
void FBlueprintToRSTDocCommands::RegisterCommands()
{
UI_COMMAND(Action, "BlueprintToRSTDoc", "Execute BlueprintToRSTDoc action", EUserInterfaceActionType::Button, FInputGesture());
}
#undef LOCTEXT_NAMESPACE
| 24.333333 | 131 | 0.811644 | kant |
3c937dfd6c6cbc326643346943b5242e24a5697f | 3,170 | cpp | C++ | RedneckEngine/TestCube.cpp | TheHolyBell/RedneckEngine | 3534b24de3ef5336bec9f7b04c31cbb4a5b8cc6e | [
"MIT"
] | null | null | null | RedneckEngine/TestCube.cpp | TheHolyBell/RedneckEngine | 3534b24de3ef5336bec9f7b04c31cbb4a5b8cc6e | [
"MIT"
] | null | null | null | RedneckEngine/TestCube.cpp | TheHolyBell/RedneckEngine | 3534b24de3ef5336bec9f7b04c31cbb4a5b8cc6e | [
"MIT"
] | null | null | null | #include "TestCube.h"
#include "Cube.h"
#include "BindableCodex.h"
#include "ImGui\imgui.h"
#include "BindableCommon.h"
#include "Texture.h"
#include "Sampler.h"
#include "TransformCbufDoubleBoi.h"
#include "DepthStencil.h"
using namespace DirectX;
TestCube::TestCube(Graphics& gfx, float size)
{
using namespace Bind... | 27.327586 | 87 | 0.714196 | TheHolyBell |
3c9440e837a8092f0aa831c54ba9f3b65900d62e | 2,969 | cpp | C++ | Behaviour/Source/Behaviour/BehaviourModifier.cpp | DeLaMercedRichard/AIbs_Demo | e5a1d2e870c1d0919d456df31f34fe0520b6975d | [
"MIT"
] | 1 | 2020-04-05T22:10:34.000Z | 2020-04-05T22:10:34.000Z | Behaviour/Source/Behaviour/BehaviourModifier.cpp | DeLaMercedRichard/AIbs_Demo | e5a1d2e870c1d0919d456df31f34fe0520b6975d | [
"MIT"
] | null | null | null | Behaviour/Source/Behaviour/BehaviourModifier.cpp | DeLaMercedRichard/AIbs_Demo | e5a1d2e870c1d0919d456df31f34fe0520b6975d | [
"MIT"
] | 1 | 2020-02-04T11:36:54.000Z | 2020-02-04T11:36:54.000Z |
#include "BehaviourModifier.h"
BehaviourModifier::BehaviourModifier()
{
}
BehaviourModifier::~BehaviourModifier()
{
//Do I still Delete ID?
//Or just set it to nullptr
delete ID;
ID = nullptr;
}
void BehaviourModifier::AttachID(std::string &ID_)
{
*ID = ID_;
}
void BehaviourModifier::GenerateGenderTrait(boo... | 17.993939 | 114 | 0.748063 | DeLaMercedRichard |
3c961b08ca4de85f011a68851f48edffdc14be40 | 4,332 | cpp | C++ | utils/Utils.cpp | turol/smaaDemo | d6e02955b1b5396162d2ba67b78798e43cebfc57 | [
"MIT"
] | 64 | 2015-10-30T10:06:24.000Z | 2022-03-10T01:47:25.000Z | utils/Utils.cpp | turol/smaaDemo | d6e02955b1b5396162d2ba67b78798e43cebfc57 | [
"MIT"
] | 7 | 2015-11-29T09:52:37.000Z | 2020-12-14T11:00:33.000Z | utils/Utils.cpp | turol/smaaDemo | d6e02955b1b5396162d2ba67b78798e43cebfc57 | [
"MIT"
] | 5 | 2015-12-28T21:07:20.000Z | 2021-01-28T09:25:36.000Z | /*
Copyright (c) 2015-2021 Alternative Games Ltd / Turo Lamminen
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, ... | 23.416216 | 80 | 0.695522 | turol |
3c9675a5b03d019456953620329634d31e6c657b | 5,188 | hpp | C++ | domain/include/cstone/util/util.hpp | j-piccinali/SPH-EXA_mini-app | c3ba4d37f2edf433710d5c0bc2362ec35e75df32 | [
"MIT"
] | 14 | 2019-03-18T12:51:43.000Z | 2021-11-09T14:40:36.000Z | domain/include/cstone/util/util.hpp | j-piccinali/SPH-EXA_mini-app | c3ba4d37f2edf433710d5c0bc2362ec35e75df32 | [
"MIT"
] | 41 | 2019-10-08T19:53:55.000Z | 2021-11-23T06:56:03.000Z | domain/include/cstone/util/util.hpp | j-piccinali/SPH-EXA_mini-app | c3ba4d37f2edf433710d5c0bc2362ec35e75df32 | [
"MIT"
] | 8 | 2019-06-20T07:11:52.000Z | 2021-10-05T13:44:07.000Z | /*
* MIT License
*
* Copyright (c) 2021 CSCS, ETH Zurich
* 2021 University of Basel
*
* 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 with... | 32.223602 | 102 | 0.707016 | j-piccinali |
3c977fa0b4aff05ed2221cfc9967e8e5ed81746e | 5,583 | hpp | C++ | core/KVMESC.hpp | Domaman202/DmNKVM | e867f5369426954ad7836aba47cc86f9b657d5b2 | [
"MIT"
] | 1 | 2021-07-24T14:33:54.000Z | 2021-07-24T14:33:54.000Z | core/KVMESC.hpp | Domaman202/DmNKVM | e867f5369426954ad7836aba47cc86f9b657d5b2 | [
"MIT"
] | null | null | null | core/KVMESC.hpp | Domaman202/DmNKVM | e867f5369426954ad7836aba47cc86f9b657d5b2 | [
"MIT"
] | null | null | null | #ifndef DMN_KVM_NO_USE_PRAGMA
#pragma once
#endif /* DMN_KVM_NO_USE_PRAGMA */
#ifndef DMN_KVM_ESC_HPP
#define DMN_KVM_ESC_HPP
#include "KVMTypes.hpp"
#include <cstdint>
namespace DmN::KVM {
/// Объект (нет) который может быть инстансирован
struct Instanceble_t {
virtual Object_t *newInstance(Value_t *... | 36.253247 | 113 | 0.475551 | Domaman202 |
3c9a4725911773f54a598f628eee18203143752a | 955 | cpp | C++ | binary-search-tree-iterator/binary-search-tree-iterator.cpp | itzpankajpanwar/Leetcode | bf933bc8a16f4b9d7a0e8b82f01684e60b544bed | [
"MIT"
] | 2 | 2021-08-29T12:51:09.000Z | 2021-10-18T23:24:41.000Z | binary-search-tree-iterator/binary-search-tree-iterator.cpp | itzpankajpanwar/Leetcode | bf933bc8a16f4b9d7a0e8b82f01684e60b544bed | [
"MIT"
] | null | null | null | binary-search-tree-iterator/binary-search-tree-iterator.cpp | itzpankajpanwar/Leetcode | bf933bc8a16f4b9d7a0e8b82f01684e60b544bed | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | 22.738095 | 93 | 0.543455 | itzpankajpanwar |
3c9a649771c9a9087e5c623efd774c7e68b059bc | 6,747 | cpp | C++ | firmware/examples/4_temp_logger.cpp | monkbroc/makerkit | e6924eee209da662a47df9a5da1bf97d07ee599d | [
"BSD-3-Clause"
] | 3 | 2019-03-20T01:23:22.000Z | 2020-09-17T20:04:48.000Z | firmware/examples/4_temp_logger.cpp | monkbroc/makerkit | e6924eee209da662a47df9a5da1bf97d07ee599d | [
"BSD-3-Clause"
] | null | null | null | firmware/examples/4_temp_logger.cpp | monkbroc/makerkit | e6924eee209da662a47df9a5da1bf97d07ee599d | [
"BSD-3-Clause"
] | null | null | null | /************************************************************************
This sketch reads the temperature from a OneWire device and then publishes
to the Particle cloud. From there, IFTTT can be used to log the date,
time, and temperature to a Google Spreadsheet. Read more in our tutorial
here: http://docs.particle.i... | 31.528037 | 98 | 0.625019 | monkbroc |
3c9a7c548c0ee4a27e8807207146ef45e767a93b | 2,030 | cpp | C++ | src/126.word_ladder_ii/code.cpp | cloudzfy/leetcode | 9d32090429ef297e1f62877382bff582d247266a | [
"MIT"
] | 1 | 2016-07-02T17:44:10.000Z | 2016-07-02T17:44:10.000Z | src/126.word_ladder_ii/code.cpp | cloudzfy/leetcode | 9d32090429ef297e1f62877382bff582d247266a | [
"MIT"
] | null | null | null | src/126.word_ladder_ii/code.cpp | cloudzfy/leetcode | 9d32090429ef297e1f62877382bff582d247266a | [
"MIT"
] | 1 | 2019-12-21T04:57:15.000Z | 2019-12-21T04:57:15.000Z | class Solution {
private:
unordered_map<string, int> pathLevel;
unordered_map<string, vector<string>> nextNode;
vector<vector<string>> ans;
public:
vector<vector<string>> findLadders(string beginWord, string endWord, unordered_set<string> &wordList) {
bfs(wordList, beginWord, endWord);
v... | 35.614035 | 107 | 0.519704 | cloudzfy |
3c9df28370629a72fd052162faba89972dee0c8d | 17,105 | cxx | C++ | logger/dnk_biphasic_offset_cli.cxx | trotill/11parts_CPP | 53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b | [
"MIT"
] | null | null | null | logger/dnk_biphasic_offset_cli.cxx | trotill/11parts_CPP | 53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b | [
"MIT"
] | null | null | null | logger/dnk_biphasic_offset_cli.cxx | trotill/11parts_CPP | 53a69d516fdcb5c92b591b5dadc49dfdd2a3b26b | [
"MIT"
] | null | null | null | /*
* dnk_biphasic_offset_cli.cxx
*
* Created on: 30 сент. 2019 г.
* Author: root
*/
#include "dnk_biphasic_offset_cli.h"
#ifdef _HIREDIS
eErrorTp dnk_biphasic_offset_cli::make_selection_by_interval(u64 ts_start_ms,u64 ts_stop_ms,u32 limit,rapidjson::Document & result_root){
if (fault==ERROR){
GPRINT... | 33.27821 | 203 | 0.676878 | trotill |
3c9e8d9a4280c66a313fd5fa0ffdc6e0ce66bd2b | 8,008 | cpp | C++ | 3rdparty/optee/optee_os/external/RIoT/Sample/Barnacle/Shared/Tool/BarT/helper.cpp | mrragava/ragava_openenclave_6 | 78ffbd4ce16ec698576c432ca1fa8340663ca229 | [
"MIT"
] | null | null | null | 3rdparty/optee/optee_os/external/RIoT/Sample/Barnacle/Shared/Tool/BarT/helper.cpp | mrragava/ragava_openenclave_6 | 78ffbd4ce16ec698576c432ca1fa8340663ca229 | [
"MIT"
] | null | null | null | 3rdparty/optee/optee_os/external/RIoT/Sample/Barnacle/Shared/Tool/BarT/helper.cpp | mrragava/ragava_openenclave_6 | 78ffbd4ce16ec698576c432ca1fa8340663ca229 | [
"MIT"
] | null | null | null | #include "stdafx.h"
std::vector<BYTE> ReadHex(std::wstring strIn)
{
std::vector<BYTE> dataOut(strIn.size() / 2);
for (uint32_t cursor = 0; cursor < dataOut.size(); cursor++)
{
dataOut[cursor] = (BYTE)std::stoul(strIn.substr(cursor * 2, 2), NULL, 16);
//if (swscanf_s(strIn.substr(cursor * 2... | 37.074074 | 211 | 0.657717 | mrragava |
3ca0e624176ab8a4a10b23fa0108f3877cfd1cf1 | 1,966 | cpp | C++ | tests/ttl_cache/ttl_cache.cpp | alessandrolenzi/cpp-cachetools | d978d43e61f36cb1a9b5ed6e76b16203e9982cbe | [
"MIT"
] | null | null | null | tests/ttl_cache/ttl_cache.cpp | alessandrolenzi/cpp-cachetools | d978d43e61f36cb1a9b5ed6e76b16203e9982cbe | [
"MIT"
] | null | null | null | tests/ttl_cache/ttl_cache.cpp | alessandrolenzi/cpp-cachetools | d978d43e61f36cb1a9b5ed6e76b16203e9982cbe | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "cpp_cachetools/policies.hpp"
#include "cpp_cachetools/indexes.hpp"
#include "cpp_cachetools/cache.hpp"
#include "../fake_clock/fake_clock.hh"
struct TTLTestCache: Cache<policies::Builder<policies::TTL<testing::fake_clock>::Class>::with_index<indexes::HashedIndex>::Class> {};
using na... | 37.09434 | 133 | 0.696338 | alessandrolenzi |
3ca184777beb7651871edcf251a7f82895ca4ce2 | 3,520 | cpp | C++ | frameworks/core/src/common_event_listener.cpp | chaoyangcui/notification_ces_standard | 7689176a838b62d498ce9c645f34b0be3376ce06 | [
"Apache-2.0"
] | null | null | null | frameworks/core/src/common_event_listener.cpp | chaoyangcui/notification_ces_standard | 7689176a838b62d498ce9c645f34b0be3376ce06 | [
"Apache-2.0"
] | null | null | null | frameworks/core/src/common_event_listener.cpp | chaoyangcui/notification_ces_standard | 7689176a838b62d498ce9c645f34b0be3376ce06 | [
"Apache-2.0"
] | 1 | 2021-09-13T12:06:55.000Z | 2021-09-13T12:06:55.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | 29.830508 | 118 | 0.678977 | chaoyangcui |
3ca325f5fe2483cd02853e038b800d780fda921b | 508 | cpp | C++ | src/SvgLib/OpenCommand.cpp | steneva/svg-lib | 47a754f71be923bd75bfef35ab529c61702b93ae | [
"MIT"
] | 2 | 2020-08-11T20:46:31.000Z | 2020-08-14T09:51:02.000Z | src/SvgLib/OpenCommand.cpp | steneva/svg-lib | 47a754f71be923bd75bfef35ab529c61702b93ae | [
"MIT"
] | null | null | null | src/SvgLib/OpenCommand.cpp | steneva/svg-lib | 47a754f71be923bd75bfef35ab529c61702b93ae | [
"MIT"
] | null | null | null | #include "OpenCommand.h"
bool OpenCommand::can_execute(const CommandContext& context) const
{
return !context.is_file_open();
}
void OpenCommand::execute(const CommandContext& context) const
{
if (context.args_count() != 2)
{
throw CommandParamsException();
}
const std::string path = context.arg(PATH_INDEX);... | 22.086957 | 89 | 0.724409 | steneva |
3ca34061241a85dd87de2277bb950e72848cbef7 | 4,249 | cpp | C++ | llvm/lib/MC/MCTargetOptionsCommandFlags.cpp | AnthonyLatsis/llvm-project | 2acd6cdb9a4bfb2c34b701527e04dd4ffe791d74 | [
"Apache-2.0"
] | null | null | null | llvm/lib/MC/MCTargetOptionsCommandFlags.cpp | AnthonyLatsis/llvm-project | 2acd6cdb9a4bfb2c34b701527e04dd4ffe791d74 | [
"Apache-2.0"
] | 9 | 2020-04-24T21:51:04.000Z | 2020-11-06T01:04:09.000Z | llvm/lib/MC/MCTargetOptionsCommandFlags.cpp | AnthonyLatsis/llvm-project | 2acd6cdb9a4bfb2c34b701527e04dd4ffe791d74 | [
"Apache-2.0"
] | null | null | null | //===-- MCTargetOptionsCommandFlags.cpp --------------------------*- C++
//-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===------------------------... | 40.084906 | 80 | 0.513062 | AnthonyLatsis |
3ca45d491eaec4429e7b0512ea9978f7d7750935 | 8,685 | cpp | C++ | 3rd_party_libs/chai3d_a4/src/system/CString.cpp | atp42/jks-ros-pkg | 367fc00f2a9699f33d05c7957d319a80337f1ed4 | [
"FTL"
] | 3 | 2017-02-02T13:27:45.000Z | 2018-06-17T11:52:13.000Z | 3rd_party_libs/chai3d_a4/src/system/CString.cpp | salisbury-robotics/jks-ros-pkg | 367fc00f2a9699f33d05c7957d319a80337f1ed4 | [
"FTL"
] | null | null | null | 3rd_party_libs/chai3d_a4/src/system/CString.cpp | salisbury-robotics/jks-ros-pkg | 367fc00f2a9699f33d05c7957d319a80337f1ed4 | [
"FTL"
] | null | null | null | //===========================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2012, CHAI3D.
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitt... | 34.192913 | 90 | 0.499252 | atp42 |
3ca6a6dc39c20d86b71366e5026047f8e8783a7b | 4,831 | hpp | C++ | source/cppx-core-language/syntax/collection-util/Sequence_.hpp | alf-p-steinbach/cppx-core-language | 930351fe0df65e231e8e91998f1c94d345938107 | [
"MIT"
] | 3 | 2020-05-24T16:29:42.000Z | 2021-09-10T13:33:15.000Z | source/cppx-core-language/syntax/collection-util/Sequence_.hpp | alf-p-steinbach/cppx-core-language | 930351fe0df65e231e8e91998f1c94d345938107 | [
"MIT"
] | null | null | null | source/cppx-core-language/syntax/collection-util/Sequence_.hpp | alf-p-steinbach/cppx-core-language | 930351fe0df65e231e8e91998f1c94d345938107 | [
"MIT"
] | null | null | null | #pragma once // Source encoding: UTF-8 with BOM (π is a firstcase Greek "pi").
#include <cppx-core-language/assert-cpp/is-c++17-or-later.hpp>
#include <cppx-core-language/mix-in/Adapt_as_forward_iterator_.hpp> // cppx::mix_in::Adapt_as_forward_iterator_
#include <cppx-core-language/types/Truth.hpp> ... | 32.863946 | 111 | 0.551025 | alf-p-steinbach |
3ca7fb745ac9271b0984cde75675f25e4adb9fe9 | 598 | hpp | C++ | Strategy Pattern/Strategy Pattern/Strategy Pattern/EreDownloader.hpp | glc12125/design_patterns | bede229910e939ac3bb4d78fa030bf3f0156f86f | [
"MIT"
] | null | null | null | Strategy Pattern/Strategy Pattern/Strategy Pattern/EreDownloader.hpp | glc12125/design_patterns | bede229910e939ac3bb4d78fa030bf3f0156f86f | [
"MIT"
] | null | null | null | Strategy Pattern/Strategy Pattern/Strategy Pattern/EreDownloader.hpp | glc12125/design_patterns | bede229910e939ac3bb4d78fa030bf3f0156f86f | [
"MIT"
] | null | null | null | //
// EreDownloader.hpp
// Strategy Pattern
//
// Created by Liangchuan Gu on 12/12/2015.
// Copyright © 2015 Lee Inc. All rights reserved.
//
#ifndef EreDownloader_hpp
#define EreDownloader_hpp
#include "FeedDownloader.hpp"
namespace Li{
class EreDownloader : public FeedDownloader
{
public:
... | 21.357143 | 62 | 0.690635 | glc12125 |
3ca827a992d80b75ed7415a2fb686428eb5dee0e | 10,424 | cc | C++ | ash/projector/projector_controller_impl.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ash/projector/projector_controller_impl.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-03-13T10:32:53.000Z | 2019-03-13T11:05:30.000Z | ash/projector/projector_controller_impl.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 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 "ash/projector/projector_controller_impl.h"
#include "ash/capture_mode/capture_mode_controller.h"
#include "ash/capture_mode/capture_mode_metric... | 32.073846 | 80 | 0.752782 | Yannic |
3caa10eda52c9973047845c4ed92e2970aa3ef3b | 1,724 | cpp | C++ | framework/Source/GPUImageLookupFilter.cpp | autolotto/GPUImage | 35f499ce2f59bba92a1c82e2baa2ee4e54e88736 | [
"BSD-3-Clause"
] | 17 | 2015-02-28T13:16:21.000Z | 2020-01-07T06:10:48.000Z | framework/Source/GPUImageLookupFilter.cpp | JonathanKranz/GPUImage | fcd9576822e4015dc4b1ac514c372d71cfb57b8a | [
"BSD-3-Clause"
] | 2 | 2016-05-29T01:53:18.000Z | 2016-09-02T01:15:39.000Z | framework/Source/GPUImageLookupFilter.cpp | JonathanKranz/GPUImage | fcd9576822e4015dc4b1ac514c372d71cfb57b8a | [
"BSD-3-Clause"
] | 12 | 2015-06-19T07:26:39.000Z | 2020-01-07T09:31:15.000Z | /**
* Author: Alessio Placitelli
* Contact: a.placitelli _@_ a2p.it
*
*/
#include "GPUImageLookupFilter.h"
const std::string GPUImageLookupFilter::kGPUImageLookupFragmentShaderString("\
varying highp vec2 textureCoordinate;\
varying highp vec2 textureCoordinate2;\
\
uniform sampler2D inputImageTexture;\
unif... | 31.345455 | 98 | 0.656032 | autolotto |
3cabf5409460c978ad5c85217f5ccd6991ba7004 | 6,148 | hxx | C++ | Eudora71/SpelChek/src/nuspell/aff_data.hxx | ivanagui2/hermesmail-code | 34387722d5364163c71b577fc508b567de56c5f6 | [
"BSD-3-Clause-Clear"
] | 1 | 2019-06-15T17:46:11.000Z | 2019-06-15T17:46:11.000Z | Eudora71/SpelChek/src/nuspell/aff_data.hxx | ivanagui2/hermesmail-code | 34387722d5364163c71b577fc508b567de56c5f6 | [
"BSD-3-Clause-Clear"
] | null | null | null | Eudora71/SpelChek/src/nuspell/aff_data.hxx | ivanagui2/hermesmail-code | 34387722d5364163c71b577fc508b567de56c5f6 | [
"BSD-3-Clause-Clear"
] | null | null | null | /* Copyright 2016-2018 Dimitrij Mijoski
*
* This file is part of Nuspell.
*
* Nuspell 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 your option) any la... | 27.20354 | 79 | 0.737313 | ivanagui2 |
3cb11c0669d2ffc65dd1bd6de28260679d4cfdf0 | 3,046 | cpp | C++ | protocols/ace/RMCast/Retransmit.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | protocols/ace/RMCast/Retransmit.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | protocols/ace/RMCast/Retransmit.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // author : Boris Kolpackov <boris@kolpackov.net>
// $Id: Retransmit.cpp 91626 2010-09-07 10:59:20Z johnnyw $
#include "ace/Time_Value.h" // ACE_Time_Value
#include "ace/OS_NS_stdlib.h" // abort
#include "ace/OS_NS_sys_time.h" // gettimeofday
#include "Retransmit.h"
namespace ACE_RMCast
{
Retransmit::
R... | 19.908497 | 74 | 0.48851 | cflowe |
3cb2e04465d34e08dcdedb41ff4160c31eadc078 | 2,660 | cpp | C++ | franka_low_level_simulation_driver/src/LowLevelDriver/DegreeOfFreedom.cpp | User-TGK/franka_robot_control | 48d62b2056aca2226cbe5ac3914f01bef3659f49 | [
"MIT"
] | 3 | 2019-12-12T13:09:49.000Z | 2021-09-07T09:08:56.000Z | franka_low_level_simulation_driver/src/LowLevelDriver/DegreeOfFreedom.cpp | User-TGK/franka_robot_control | 48d62b2056aca2226cbe5ac3914f01bef3659f49 | [
"MIT"
] | null | null | null | franka_low_level_simulation_driver/src/LowLevelDriver/DegreeOfFreedom.cpp | User-TGK/franka_robot_control | 48d62b2056aca2226cbe5ac3914f01bef3659f49 | [
"MIT"
] | null | null | null | #include <ros/ros.h>
#include <DegreeOfFreedom.hpp>
namespace RobotControl
{
namespace FrankaLowLevelDriver
{
DegreeOfFreedom::DegreeOfFreedom(unsigned short aChannel,
unsigned long aMinPulseWidth,
unsigned long aMaxPulseWidth,
... | 26.078431 | 120 | 0.652256 | User-TGK |
3cb3a1595c943ad6f1312bb4eafc020e575f5649 | 255 | cpp | C++ | source/Main.cpp | Dovgalyuk/QemuGUI | 12ac1522bc02e5635fcd7b873a465f38a562b641 | [
"Apache-2.0"
] | null | null | null | source/Main.cpp | Dovgalyuk/QemuGUI | 12ac1522bc02e5635fcd7b873a465f38a562b641 | [
"Apache-2.0"
] | null | null | null | source/Main.cpp | Dovgalyuk/QemuGUI | 12ac1522bc02e5635fcd7b873a465f38a562b641 | [
"Apache-2.0"
] | null | null | null | #include "QEMU-GUI.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QEMUGUI w;
//QObject::connect(&a, SIGNAL(aboutToQuit()), &w, SLOT(saveSettingsBeforeQuit()));
w.show();
return a.exec();
}
| 18.214286 | 86 | 0.627451 | Dovgalyuk |
3cb6f0fca73939c5590d4a394b2aaae2f47a8cc5 | 7,545 | cpp | C++ | Milestone 5/Product.cpp | ariaav/OOP244 | bcfc52bfff86b68e4f464e85b8555eef541741a0 | [
"MIT"
] | null | null | null | Milestone 5/Product.cpp | ariaav/OOP244 | bcfc52bfff86b68e4f464e85b8555eef541741a0 | [
"MIT"
] | null | null | null | Milestone 5/Product.cpp | ariaav/OOP244 | bcfc52bfff86b68e4f464e85b8555eef541741a0 | [
"MIT"
] | null | null | null | // Aria Avazkhani
//2018-07-31
//updated: 2018-08-08
#include "Product.h"
namespace AMA {
Product::Product(char type) {
v_type = type;
v_sku[0] = '\0';
v_unit[0] = '\0';
v_name = nullptr;
v_qty = 0;
v_need = 0;
v_price = 0.0;
v_status = false;
}
Product::Product(const char* sk... | 21.618911 | 116 | 0.544599 | ariaav |
3cb73ff5d7cec0899102c859270959d80be1a58e | 15,073 | cpp | C++ | 40_cpnLearnTesting.cpp | KathrynLaing/CPNLearning | b5123f7f1fe5adda8a63a73ed117c67e282cea69 | [
"MIT"
] | null | null | null | 40_cpnLearnTesting.cpp | KathrynLaing/CPNLearning | b5123f7f1fe5adda8a63a73ed117c67e282cea69 | [
"MIT"
] | null | null | null | 40_cpnLearnTesting.cpp | KathrynLaing/CPNLearning | b5123f7f1fe5adda8a63a73ed117c67e282cea69 | [
"MIT"
] | null | null | null | #include "40_cpnlTest.h"
double dataAgreementWithFlips(string filename, int D, cpn cpnet){
//Calculates DFA between data and cpnet
//filename tells us the location of the data - Assumed to be written on 1 comma separated line, each entry is an observed outcome
//D tells us the number of data points
//... | 44.594675 | 207 | 0.569362 | KathrynLaing |
3cba5846488d51a78aa69fea139728e4b5c8400e | 622 | cpp | C++ | SomeOpenMPFirst/order.cpp | Roomanidzee/cpp_projects | 0474ca1bb9ce33c5a58d87ab4bd5c618e74328f8 | [
"MIT"
] | null | null | null | SomeOpenMPFirst/order.cpp | Roomanidzee/cpp_projects | 0474ca1bb9ce33c5a58d87ab4bd5c618e74328f8 | [
"MIT"
] | null | null | null | SomeOpenMPFirst/order.cpp | Roomanidzee/cpp_projects | 0474ca1bb9ce33c5a58d87ab4bd5c618e74328f8 | [
"MIT"
] | null | null | null | //
// Created by andrey on 19.09.18.
//
#include <iostream>
#include <omp.h>
#define N1 3
#define N2 1
int main(){
omp_set_num_threads(N1);
#pragma omp parallel if(omp_get_max_threads() > 2)
{
if(omp_in_parallel()){
printf("Количество нитей: %d; Номер нити : %d\n", omp_get_num_threads(),... | 18.848485 | 107 | 0.602894 | Roomanidzee |
3cbc021ff111d38ed567faa35393a52e3890d2be | 767 | cpp | C++ | solved/r-t/tex-quotes/tex.cpp | abuasifkhan/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-09-30T19:18:04.000Z | 2021-06-26T21:11:30.000Z | solved/r-t/tex-quotes/tex.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | null | null | null | solved/r-t/tex-quotes/tex.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-01-04T09:49:54.000Z | 2021-06-03T13:18:44.000Z | #include <cstdio>
// I/O
#define BUF 65536
struct Reader {
char buf[BUF]; char b; int bi, bz;
Reader() { bi=bz=0; read(); }
void read() {
if (bi==bz) { bi=0; bz = fread(buf, 1, BUF, stdin); }
b = bz ? buf[bi++] : 0; }
void process() {
bool open = true;
while (b != 0) {... | 18.261905 | 61 | 0.324641 | abuasifkhan |
3cbc431c3c0c54fe18f5aef5320ef2a53ba2383a | 2,338 | cpp | C++ | samples/cpp/polar_transforms.cpp | snosov1/opencv | ce05d6cb89450a5778f4c0169b5da5589798192a | [
"BSD-3-Clause"
] | null | null | null | samples/cpp/polar_transforms.cpp | snosov1/opencv | ce05d6cb89450a5778f4c0169b5da5589798192a | [
"BSD-3-Clause"
] | null | null | null | samples/cpp/polar_transforms.cpp | snosov1/opencv | ce05d6cb89450a5778f4c0169b5da5589798192a | [
"BSD-3-Clause"
] | 1 | 2019-09-05T06:47:23.000Z | 2019-09-05T06:47:23.000Z | #include "opencv2/imgproc.hpp"
#include "opencv2/highgui.hpp"
#include <iostream>
using namespace cv;
static void help( void )
{
printf("\nThis program illustrates Linear-Polar and Log-Polar image transforms\n"
"Usage :\n"
"./polar_transforms [[camera number -- Default 0],[path_to_filename... | 30.763158 | 125 | 0.627887 | snosov1 |
3cbe802b4fa7aa4df9f6916e8fcca2aa907a1a43 | 13,925 | cpp | C++ | software/test/testLogTable/main.cpp | greenenergyprojects/electro-vehicle-charger-met16 | cf8c274da60ee8c340915f377c3b352e3ed3e552 | [
"MIT"
] | 1 | 2022-03-18T18:49:50.000Z | 2022-03-18T18:49:50.000Z | software/test/testLogTable/main.cpp | greenenergyprojects/electro-vehicle-charger-met16 | cf8c274da60ee8c340915f377c3b352e3ed3e552 | [
"MIT"
] | null | null | null | software/test/testLogTable/main.cpp | greenenergyprojects/electro-vehicle-charger-met16 | cf8c274da60ee8c340915f377c3b352e3ed3e552 | [
"MIT"
] | null | null | null | #include <string>
#include <stdint.h>
#include <string.h>
#include "mon.hpp"
namespace std {
uint8_t eep [E2END + 1];
void cli() {}
void sei() {}
void popSREG () {}
void pushSREGAndCli () {}
void eeprom_init () {
for (int i = 0; i < sizeof(eep); i++) {
eep[i] = 0xff;
... | 32.611241 | 170 | 0.488977 | greenenergyprojects |
3cbea37cb4afc94db99bf6fa442ce481d8828b2a | 3,410 | inl | C++ | clove/components/core/graphics/include/Clove/Graphics/Validation/ValidationQueue.inl | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 33 | 2020-01-09T04:57:29.000Z | 2021-08-14T08:02:43.000Z | clove/components/core/graphics/include/Clove/Graphics/Validation/ValidationQueue.inl | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 234 | 2019-10-25T06:04:35.000Z | 2021-08-18T05:47:41.000Z | clove/components/core/graphics/include/Clove/Graphics/Validation/ValidationQueue.inl | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 4 | 2020-02-11T15:28:42.000Z | 2020-09-07T16:22:58.000Z | #include "Clove/Graphics/Validation/ValidationCommandBuffer.hpp"
namespace clove {
namespace detail {
template<typename QueueType, typename BufferType>
void initialiseBuffer(QueueType *queue, BufferType *buffer) {
bool const allowBufferReuse{ (queue->getDescriptor().flags & QueueFlags::... | 39.195402 | 252 | 0.707038 | mondoo |
3cc017bbd63a7a87c775f8cc3af8be787175083c | 1,854 | hpp | C++ | tket/src/Utils/EigenConfig.hpp | NewGitter2017/tket | 6ff81af26280770bf2ca80bfb2140e8fa98182aa | [
"Apache-2.0"
] | null | null | null | tket/src/Utils/EigenConfig.hpp | NewGitter2017/tket | 6ff81af26280770bf2ca80bfb2140e8fa98182aa | [
"Apache-2.0"
] | null | null | null | tket/src/Utils/EigenConfig.hpp | NewGitter2017/tket | 6ff81af26280770bf2ca80bfb2140e8fa98182aa | [
"Apache-2.0"
] | null | null | null | // Copyright 2019-2021 Cambridge Quantum Computing
//
// 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... | 27.671642 | 80 | 0.692017 | NewGitter2017 |
3cc0b245fafc9db219b108d495c5a2fd1d701163 | 1,690 | cpp | C++ | mouselistener.cpp | YoungMetroid/Perceptron | 25c9914b59af8bde2e53bdfa6b3301b1f4899623 | [
"MIT"
] | null | null | null | mouselistener.cpp | YoungMetroid/Perceptron | 25c9914b59af8bde2e53bdfa6b3301b1f4899623 | [
"MIT"
] | null | null | null | mouselistener.cpp | YoungMetroid/Perceptron | 25c9914b59af8bde2e53bdfa6b3301b1f4899623 | [
"MIT"
] | null | null | null | #include "mouselistener.h"
mouseListener::mouseListener():colorAzul(0),colorRojo(0)
{
}
//type_class is the color RED or BLUE
//The temps are the weight for each coordiante and the Bias
//which are generated randomly
void mouseListener::addObject(int &Xcoordinate, int &Ycoordinate, int type_class)
{
if(!checkIfEx... | 23.802817 | 81 | 0.573964 | YoungMetroid |
3cc2bf3fce850f480abecf39f67d7e473583e934 | 11,673 | cpp | C++ | Photosynthesis(notManaged).cpp | ARS-CSGCL-DT/PhotoSynthesisModule | 6493ea851e8c65e43ce0780b0f258a5a87ffb082 | [
"Unlicense"
] | 7 | 2016-01-10T07:05:28.000Z | 2021-03-09T02:41:06.000Z | Photosynthesis(notManaged).cpp | ARS-CSGCL-DT/PhotoSynthesisModule | 6493ea851e8c65e43ce0780b0f258a5a87ffb082 | [
"Unlicense"
] | 1 | 2018-02-28T12:46:36.000Z | 2018-03-07T06:31:12.000Z | Photosynthesis(notManaged).cpp | ARS-CSGCL-DT/PhotoSynthesisModule | 6493ea851e8c65e43ce0780b0f258a5a87ffb082 | [
"Unlicense"
] | 1 | 2016-06-16T19:37:35.000Z | 2016-06-16T19:37:35.000Z | /*! @file
* Defines the entry point for the console application.
@author $Author \n
*/
#include "stdafx.h"
#include "gas_exchange.h"
#include <iostream>
#include <fstream>
#include <algorithm>
#include <sstream>
using namespace std;
// uses std::string, a more generic method than CString
/*! \namespace photomo... | 41.83871 | 147 | 0.69014 | ARS-CSGCL-DT |
3cc62a7c894ff5eeab72751fe113b9a6eb7a751d | 858 | cpp | C++ | examples/md-flexible/parsing/MDFlexParser.cpp | ssauermann/AutoPas | 309f9a43840101933b8d06324ea910c780954f61 | [
"BSD-2-Clause"
] | null | null | null | examples/md-flexible/parsing/MDFlexParser.cpp | ssauermann/AutoPas | 309f9a43840101933b8d06324ea910c780954f61 | [
"BSD-2-Clause"
] | null | null | null | examples/md-flexible/parsing/MDFlexParser.cpp | ssauermann/AutoPas | 309f9a43840101933b8d06324ea910c780954f61 | [
"BSD-2-Clause"
] | null | null | null | /**
* @file MDFlexParser.cpp
* @author F. Gratl
* @date 10/18/19
*/
#include "MDFlexParser.h"
bool MDFlexParser::parseInput(int argc, char **argv, MDFlexConfig &config) {
// we need to copy argv because the call to getOpt in _cliParser.inputFilesPresent reorders it...
auto argvCopy = new char *[argc + 1];
f... | 23.833333 | 99 | 0.638695 | ssauermann |
3cc80eee9d476ede270f86cb67ad64312c16b882 | 25,466 | cc | C++ | md-parser/src/content.cc | kev0960/ModooCode | aae17e3be86da2f39bf93d7a91364b2a6a348525 | [
"Apache-2.0"
] | 39 | 2019-02-26T08:21:06.000Z | 2022-03-24T06:38:25.000Z | md-parser/src/content.cc | kev0960/ModooCode | aae17e3be86da2f39bf93d7a91364b2a6a348525 | [
"Apache-2.0"
] | 9 | 2019-03-01T05:07:44.000Z | 2022-02-21T07:39:11.000Z | md-parser/src/content.cc | kev0960/ModooCode | aae17e3be86da2f39bf93d7a91364b2a6a348525 | [
"Apache-2.0"
] | 5 | 2021-02-08T05:52:01.000Z | 2022-03-08T06:37:34.000Z | #include "content.h"
#include <unistd.h>
#include <cstdlib>
#include <fstream>
#include <functional>
#include <limits>
#include <memory>
#include <thread>
#include <unordered_set>
#ifdef USE_CHROMA
#include "chroma.h"
#endif
#include "fast_cpp_syntax_highlighter.h"
#include "fast_py_syntax_highlighter.h"
#include "... | 34.742156 | 80 | 0.568758 | kev0960 |
3cca0f8474b70bc5de851b1988b367f1fcdb0aa5 | 2,259 | cpp | C++ | src/third_party/swiftshader/third_party/marl/src/conditionvariable_test.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 20 | 2019-04-18T07:37:34.000Z | 2022-02-02T21:43:47.000Z | src/third_party/swiftshader/third_party/marl/src/conditionvariable_test.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 11 | 2019-10-21T13:39:41.000Z | 2021-11-05T08:11:54.000Z | src/third_party/swiftshader/third_party/marl/src/conditionvariable_test.cpp | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 1 | 2021-12-03T18:11:36.000Z | 2021-12-03T18:11:36.000Z | // Copyright 2019 The Marl 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | 25.670455 | 75 | 0.611332 | rhencke |
3ccab0df60fb79547d7b11c8b82c917295c6821a | 3,025 | cpp | C++ | src/detail/helper_detail.cpp | Chrizzly/libunicomm | 3aefc02445a5b1e047cc40daaddb7cf9b5082404 | [
"BSL-1.0"
] | null | null | null | src/detail/helper_detail.cpp | Chrizzly/libunicomm | 3aefc02445a5b1e047cc40daaddb7cf9b5082404 | [
"BSL-1.0"
] | null | null | null | src/detail/helper_detail.cpp | Chrizzly/libunicomm | 3aefc02445a5b1e047cc40daaddb7cf9b5082404 | [
"BSL-1.0"
] | 2 | 2019-03-16T07:07:16.000Z | 2020-01-05T11:14:58.000Z | ///////////////////////////////////////////////////////////////////////////////
// helper_detail.cpp
//
// unicomm - Unified Communication protocol C++ library.
//
// Unified Communication protocol different helper entities.
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICE... | 22.574627 | 79 | 0.556364 | Chrizzly |
3ccc0692f3020c0a2b00e9cb6dea4f437472dc46 | 839 | cpp | C++ | Learning/Contests/Codechef/Feb/Cook0ff/PuppyAndBoard.cpp | shiva92/Contests | 720bb3699f774a6ea1f99e888e0cd784e63130c8 | [
"Apache-2.0"
] | null | null | null | Learning/Contests/Codechef/Feb/Cook0ff/PuppyAndBoard.cpp | shiva92/Contests | 720bb3699f774a6ea1f99e888e0cd784e63130c8 | [
"Apache-2.0"
] | null | null | null | Learning/Contests/Codechef/Feb/Cook0ff/PuppyAndBoard.cpp | shiva92/Contests | 720bb3699f774a6ea1f99e888e0cd784e63130c8 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <cstring>
using namespace std;
int state[5][1000010];
int solve(int i, int j) {
if (i == 1 && j == 1) return 0;
if (state[i][j] != -1) return state[i][j];
state[i][j] = 0;
for (int k = 1; k <= 2; k++)
if (j - k > 0)
state[i][j] |= (1 - solve(i, j - k));
for (int k = 1; k <= 3; k++... | 22.078947 | 55 | 0.500596 | shiva92 |
3cd0967970a5c88f259566148fb7865aba403e52 | 8,663 | hpp | C++ | inst/include/barry/counters-meat.hpp | USCbiostats/geese | 0af2ade66a7da42737be613f6b8129347dcae4b2 | [
"MIT"
] | 8 | 2020-07-21T01:30:35.000Z | 2022-03-09T15:51:14.000Z | inst/include/barry/counters-meat.hpp | USCbiostats/geese | 0af2ade66a7da42737be613f6b8129347dcae4b2 | [
"MIT"
] | 2 | 2022-01-24T20:51:46.000Z | 2022-03-16T23:08:40.000Z | include/barry/counters-meat.hpp | USCbiostats/barry | 79c363b9f31d9ee03b3ae199e98c688ffc2abdd0 | [
"MIT"
] | null | null | null | #include "counters-bones.hpp"
#ifndef BARRY_COUNTERS_MEAT_HPP
#define BARRY_COUNTERS_MEAT_HPP 1
#define COUNTER_TYPE() Counter<Array_Type,Data_Type>
#define COUNTER_TEMPLATE_ARGS() <typename Array_Type, typename Data_Type>
#define COUNTER_TEMPLATE(a,b) \
template COUNTER_TEMPLATE_ARGS() inline a COUNTER_TYPE():... | 23.669399 | 102 | 0.606603 | USCbiostats |
3cd1cf2b435b86de97331c58e96ce1f6333d7a67 | 749 | cpp | C++ | _small_src_bucket/copy-move_functional.cpp | NesterovMaxim/all_mini_tests | d6837c28e3b6dfc3cfa12794168356dfd4810a0b | [
"MIT"
] | 1 | 2018-02-27T14:29:50.000Z | 2018-02-27T14:29:50.000Z | _small_src_bucket/copy-move_functional.cpp | NesterovMaxim/all_mini_tests | d6837c28e3b6dfc3cfa12794168356dfd4810a0b | [
"MIT"
] | null | null | null | _small_src_bucket/copy-move_functional.cpp | NesterovMaxim/all_mini_tests | d6837c28e3b6dfc3cfa12794168356dfd4810a0b | [
"MIT"
] | null | null | null | //clang 3.8.0
#include <iostream>
#include <functional>
using ft = std::function<void(int)>;
void p(const char* m, int i){
std::cout << m << ":" << i << std::endl;
}
int i;
class test{
int j;
public:
test(){j = ++i; p("ctor", j);}
~test(){p("dtor", j);}
test(const test& t)... | 15.285714 | 56 | 0.452603 | NesterovMaxim |
3cd52b7b39dda1a32821c83dc529a9d4426212f1 | 1,913 | cpp | C++ | media/labfiles/calculator.cpp | jared-wallace/jared-wallace.com | af58635d18f394906b6a0125eb4573f89546d7d5 | [
"WTFPL"
] | null | null | null | media/labfiles/calculator.cpp | jared-wallace/jared-wallace.com | af58635d18f394906b6a0125eb4573f89546d7d5 | [
"WTFPL"
] | null | null | null | media/labfiles/calculator.cpp | jared-wallace/jared-wallace.com | af58635d18f394906b6a0125eb4573f89546d7d5 | [
"WTFPL"
] | null | null | null | /*
*Name: Jared Wallace
*Date: 09-05-2014
*Section: 18
*
* Answers to questions:
* 1) const int NUM = 200;
* int x = 0;
* cout << "Please enter the value of x";
* cin >> x;
* if (x < NUM)
* {
* cout << "Hooray";
* }
* 2) T && F... | 22.77381 | 72 | 0.503921 | jared-wallace |
3cd729cf62a781dcee151b67ca80518d7e8f42e9 | 453 | hpp | C++ | addons/slingload/script_component.hpp | pterolatypus/sling-load-rigging | 06f6b414b30127e60cc2a9440a693c77cbe9d9c3 | [
"MIT"
] | 1 | 2020-07-17T01:03:07.000Z | 2020-07-17T01:03:07.000Z | addons/slingload/script_component.hpp | pterolatypus/sling-load-rigging | 06f6b414b30127e60cc2a9440a693c77cbe9d9c3 | [
"MIT"
] | 3 | 2021-03-06T13:07:07.000Z | 2021-10-20T19:27:49.000Z | addons/slingload/script_component.hpp | pterolatypus/sling-load-rigging | 06f6b414b30127e60cc2a9440a693c77cbe9d9c3 | [
"MIT"
] | 1 | 2020-06-24T08:34:59.000Z | 2020-06-24T08:34:59.000Z | #define COMPONENT slingload
#define COMPONENT_BEAUTIFIED SlingLoad
#include "\z\slr\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define CBA_DEBUG_SYNCHRONOUS
// #define ENABLE_PERFORMANCE_COUNTERS
#ifdef DEBUG_ENABLED_SLINGLOAD
#define DEBUG_MODE_FULL
#endif
#ifdef ... | 23.842105 | 51 | 0.816777 | pterolatypus |
3cd7ea9bdea035b78f83a2f9e1ad1163d4005848 | 1,167 | cpp | C++ | GameDownloaderTest/src/SimpleContinueHook.cpp | ProtocolONE/cord.game-downloader | 90950019937cd2974801ca2f53ed3b4ecd1d219b | [
"Apache-2.0"
] | 1 | 2019-08-07T06:13:15.000Z | 2019-08-07T06:13:15.000Z | GameDownloaderTest/src/SimpleContinueHook.cpp | ProtocolONE/cord.game-downloader | 90950019937cd2974801ca2f53ed3b4ecd1d219b | [
"Apache-2.0"
] | null | null | null | GameDownloaderTest/src/SimpleContinueHook.cpp | ProtocolONE/cord.game-downloader | 90950019937cd2974801ca2f53ed3b4ecd1d219b | [
"Apache-2.0"
] | null | null | null | #include "SimpleContinueHook.h"
#include <GameDownloader/GameDownloadService.h>
#include <Core/Service.h>
#include <QtCore/QDebug>
SimpleContinueHook::SimpleContinueHook(int hookId, QList<int> *preList, QList<int> *postList)
: HookBase(QString("hookId_%1").arg(hookId))
, _hookId(hookId)
, _preList(preL... | 29.175 | 100 | 0.696658 | ProtocolONE |
3cd834ef1e97d0dcf6b88c2a21f09e29aad650c1 | 372 | cpp | C++ | dev/VisualStudio/Simulator/EmbeddedDLL/EmbeddedDLL/MainEntry.cpp | brandonbraun653/RF24NodeDev | e5a9ff1bcd5397640ca553fca4881fb2d17560ef | [
"MIT"
] | null | null | null | dev/VisualStudio/Simulator/EmbeddedDLL/EmbeddedDLL/MainEntry.cpp | brandonbraun653/RF24NodeDev | e5a9ff1bcd5397640ca553fca4881fb2d17560ef | [
"MIT"
] | null | null | null | dev/VisualStudio/Simulator/EmbeddedDLL/EmbeddedDLL/MainEntry.cpp | brandonbraun653/RF24NodeDev | e5a9ff1bcd5397640ca553fca4881fb2d17560ef | [
"MIT"
] | null | null | null |
#include <windows.h>
BOOL WINAPI DllMain(
HINSTANCE hinstDLL, // handle to DLL module
DWORD fdwReason, // reason for calling function
LPVOID lpReserved ) // reserved
{
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
case ... | 16.909091 | 49 | 0.696237 | brandonbraun653 |
3cdab282c6f7bfcced76427359057666c679d908 | 1,541 | cpp | C++ | 1.Collisions/EDBase/EDCommon.cpp | Cabrra/Advanced-Algorithms | 062c469e575ef18ce22dc5320be3188dbe3b409d | [
"MIT"
] | null | null | null | 1.Collisions/EDBase/EDCommon.cpp | Cabrra/Advanced-Algorithms | 062c469e575ef18ce22dc5320be3188dbe3b409d | [
"MIT"
] | null | null | null | 1.Collisions/EDBase/EDCommon.cpp | Cabrra/Advanced-Algorithms | 062c469e575ef18ce22dc5320be3188dbe3b409d | [
"MIT"
] | null | null | null | #include "EDCommon.h"
#include "EDDefault.h"
// (THIS SHOULD BE THE FIRST FUNCTION YOU COMPLETE. YOUR OTHER FUNCTIONS WILL NOT APPEAR TO WORK PROPERLY WITHOUT IT.)
void OrthoNormalInverse( matrix4f &MatrixO, const matrix4f &MatrixA )
{
// Replace this call with your own implementation of the Orthnormal Inverse algori... | 33.5 | 118 | 0.752758 | Cabrra |
3cdc6867c40b40c46dc4aec91b5cea9e9d4048dd | 340 | cpp | C++ | Project/src/Device/Device.cpp | svez-net/GFW | b9b455e0576c441cc53f0e8d7d295887afaf4c49 | [
"MIT"
] | 1 | 2016-05-11T01:23:20.000Z | 2016-05-11T01:23:20.000Z | Project/src/Device/Device.cpp | svez-net/GFW | b9b455e0576c441cc53f0e8d7d295887afaf4c49 | [
"MIT"
] | 2 | 2016-05-19T08:37:00.000Z | 2016-05-19T08:40:08.000Z | Project/src/Device/Device.cpp | khs2-net/GFW | b9b455e0576c441cc53f0e8d7d295887afaf4c49 | [
"MIT"
] | null | null | null | /*
using namespace GFW;
Device::Device() {
}
Device::~Device() {
}
void Device::Begin(String str) {
assert(this->device.find(str) == this->device.end());
this->stack.push_back(&this->device[str]);
}
void Device::End() {
assert(this->stack_count,TEXT("Error:DeviceStackCount"));
this->stack.pop_back();
if(this->... | 17 | 58 | 0.655882 | svez-net |
3cdd89c091169a2aa6413844ea2b99ac09abc9dd | 528 | cpp | C++ | 4. Recursion/1_count_digit.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | 3 | 2021-02-01T07:56:21.000Z | 2021-02-01T11:56:50.000Z | 4. Recursion/1_count_digit.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | null | null | null | 4. Recursion/1_count_digit.cpp | manishhedau/Data-Structure-Algorithm | d45de87aa44d3af18d58fd59491993cf98dbe6fc | [
"MIT"
] | null | null | null | // Given an number N count How many digit present in that number
/*
Example :-
Input :- N = 2000
Output :- 4
Input :- N = 12345678
Output :- 8
*/
#include <iostream>
using namespace std;
int countDigit(int n)
{
if(n==0)
return 0 ;
int count = 1;
n = n/10;
return count+countDigit(n);
}
... | 14.27027 | 65 | 0.592803 | manishhedau |
3cdd9dfce99d7c2bda4e805c6e6b4ca1728e66d2 | 5,011 | hpp | C++ | inc/lak/window.hpp | LAK132/lak | cb7fbc8925d526bbd4f9318ccf572b395cdd01e3 | [
"MIT",
"Unlicense"
] | 3 | 2021-07-12T02:32:50.000Z | 2022-01-30T03:39:53.000Z | inc/lak/window.hpp | LAK132/lak | cb7fbc8925d526bbd4f9318ccf572b395cdd01e3 | [
"MIT",
"Unlicense"
] | 1 | 2020-11-03T08:57:04.000Z | 2020-11-03T09:04:41.000Z | inc/lak/window.hpp | LAK132/lak | cb7fbc8925d526bbd4f9318ccf572b395cdd01e3 | [
"MIT",
"Unlicense"
] | null | null | null | /*
Typical usage for an OpenGL program:
int main()
{
lak::core_init();
lak::window window(...);
window.init_opengl(...);
uint32_t framerate = 60;
auto last_counter = lak::performance_counter();
// main loop
while(...)
{
// event handlers
// update code
// draw code
window.swap()... | 23.199074 | 76 | 0.694073 | LAK132 |
3cdf61068e32d08c7e615fb4ff00c6b9f144e8c6 | 3,596 | cpp | C++ | Practicafinal/conecta4_v2.1/src/arboltablero_test.cpp | guillegalor/PracticasED | 5e4fbc830c79741997734003add6eae1ee736d61 | [
"MIT"
] | null | null | null | Practicafinal/conecta4_v2.1/src/arboltablero_test.cpp | guillegalor/PracticasED | 5e4fbc830c79741997734003add6eae1ee736d61 | [
"MIT"
] | null | null | null | Practicafinal/conecta4_v2.1/src/arboltablero_test.cpp | guillegalor/PracticasED | 5e4fbc830c79741997734003add6eae1ee736d61 | [
"MIT"
] | null | null | null |
#include <iostream>
#include "ArbolGeneral.hpp"
#include "tablero.hpp"
#include <string>
using namespace std;
int main(int argc, char *argv[]){
//Tablero vacío 6x7
Tablero tablero(6, 7);
//Manualmente se insertan algunos movimientos:
tablero.colocarFicha(3); //Jugador 1 inserta ficha en columna 3
... | 39.086957 | 116 | 0.708287 | guillegalor |
3ce0829d8f8f47766099d258659642dea1740943 | 386 | cpp | C++ | pointimposters/NdfImposters/NdfImposterLibraryTests/selectionV.cpp | reinago/sndfs | 0d152e6bf4f63d1468c8e91915a4ff970c978882 | [
"MIT"
] | null | null | null | pointimposters/NdfImposters/NdfImposterLibraryTests/selectionV.cpp | reinago/sndfs | 0d152e6bf4f63d1468c8e91915a4ff970c978882 | [
"MIT"
] | null | null | null | pointimposters/NdfImposters/NdfImposterLibraryTests/selectionV.cpp | reinago/sndfs | 0d152e6bf4f63d1468c8e91915a4ff970c978882 | [
"MIT"
] | 1 | 2021-11-19T15:30:43.000Z | 2021-11-19T15:30:43.000Z | #version 420
in vec2 Position;
out vec2 texCoords;
void main()
{
gl_Position = vec4(Position.xy, 0.0f ,1.0f);
gl_Position.x /=(.5f* 1280.0f);
//gl_Position.x = gl_Position.x;
gl_Position.y /= (.5f*720.0f);
gl_Position.x -= 1f;
gl_Position.y -= 1f;
gl_Position.y *= -1.0f;
texCoords = vec2(1.0f-Position... | 18.380952 | 95 | 0.645078 | reinago |
c9e51f5a7aa832ad06068b200e6ab69b67498f85 | 3,694 | cpp | C++ | Engine/Source/Programs/UnrealFrontend/Private/Commands/LaunchFromProfileCommand.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Programs/UnrealFrontend/Private/Commands/LaunchFromProfileCommand.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Programs/UnrealFrontend/Private/Commands/LaunchFromProfileCommand.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "LaunchFromProfileCommand.h"
#include "DesktopPlatformModule.h"
#include "ILauncherProfile.h"
#include "ILauncherProfileManager.h"
#include "ILauncherTask.h"
#include "ILauncherWorker.h"
#include "ILauncher.h"
#include "ILauncherServicesModule.h"
#i... | 41.044444 | 145 | 0.784245 | windystrife |
c9e61369099bda6417da15f6a84daefcfe9aca44 | 1,358 | cpp | C++ | .history/001_GFG/Data-Structures-And-Algorithms-Self-Paced/008_Hashing/Practice/007_IMP_Intersection of two arrays_20210617172337.cpp | Sahil1515/coding | 2bd2a2257c8cac5a5c00b37e79bbb68a24e186d4 | [
"RSA-MD"
] | null | null | null | .history/001_GFG/Data-Structures-And-Algorithms-Self-Paced/008_Hashing/Practice/007_IMP_Intersection of two arrays_20210617172337.cpp | Sahil1515/coding | 2bd2a2257c8cac5a5c00b37e79bbb68a24e186d4 | [
"RSA-MD"
] | null | null | null | .history/001_GFG/Data-Structures-And-Algorithms-Self-Paced/008_Hashing/Practice/007_IMP_Intersection of two arrays_20210617172337.cpp | Sahil1515/coding | 2bd2a2257c8cac5a5c00b37e79bbb68a24e186d4 | [
"RSA-MD"
] | null | null | null | Given two arrays a[] and b[] respectively of size n and m, the task is to print the count of elements in the intersection (or common elements) of the two arrays.
For this question, the intersection of two arrays can be defined as the set containing distinct common elements between the two arrays.
Example 1:
Input:
... | 25.622642 | 161 | 0.566274 | Sahil1515 |
c9e67ff488fd2921f511eba619e1a4e8310097f5 | 48,897 | cc | C++ | src/imreg_sift/imreg_sift.cc | kaloyan13/imcomp | 4f9ed3134e835f329716a6364c046e42d2d28b61 | [
"BSD-2-Clause"
] | null | null | null | src/imreg_sift/imreg_sift.cc | kaloyan13/imcomp | 4f9ed3134e835f329716a6364c046e42d2d28b61 | [
"BSD-2-Clause"
] | null | null | null | src/imreg_sift/imreg_sift.cc | kaloyan13/imcomp | 4f9ed3134e835f329716a6364c046e42d2d28b61 | [
"BSD-2-Clause"
] | null | null | null | /*
Register an image pair based on SIFT features
Author: Abhishek Dutta <adutta@robots.ox.ac.uk>
Date: 3 Jan. 2018
some code borrowed from: vlfeat-0.9.20/src/sift.c
*/
#include "imreg_sift/imreg_sift.h"
// normalize input points such that their centroid is the coordinate origin (0, 0)
// and their average distanc... | 36.490299 | 216 | 0.592736 | kaloyan13 |
c9e6865f455005a01f2ea3f3a1da44b9e4b15931 | 1,451 | cpp | C++ | FootSoldier.cpp | rotemish7/wargame-a | 6c5d0cd5c5afe4a0187c38478b408e0ea7cd0661 | [
"MIT"
] | null | null | null | FootSoldier.cpp | rotemish7/wargame-a | 6c5d0cd5c5afe4a0187c38478b408e0ea7cd0661 | [
"MIT"
] | null | null | null | FootSoldier.cpp | rotemish7/wargame-a | 6c5d0cd5c5afe4a0187c38478b408e0ea7cd0661 | [
"MIT"
] | null | null | null | //
// Created by rotem levy on 27/05/2020.
//
#include "FootSoldier.hpp"
FootSoldier::FootSoldier(uint player_number)
{
player_num = player_number;
hp = MAX_HP;
damage = -10;
type = Type::FootSoldierType;
}
uint FootSoldier::getMaxHP()
{
return MAX_HP;
}
void FootSoldier::atta... | 24.59322 | 93 | 0.465196 | rotemish7 |
c9e6e6216c7f602fa8d1fb55d29709a7fcc36744 | 10,104 | cpp | C++ | stm32/cm/CmPinMap.cpp | lupyuen/codal-libopencm3 | 8a7b50ba7b146232e358f2c8b50fc0b27d757113 | [
"MIT"
] | 7 | 2020-02-03T07:15:14.000Z | 2020-12-03T07:05:13.000Z | stm32/cm/CmPinMap.cpp | lupyuen/codal-libopencm3 | 8a7b50ba7b146232e358f2c8b50fc0b27d757113 | [
"MIT"
] | null | null | null | stm32/cm/CmPinMap.cpp | lupyuen/codal-libopencm3 | 8a7b50ba7b146232e358f2c8b50fc0b27d757113 | [
"MIT"
] | 4 | 2019-12-04T10:26:33.000Z | 2021-02-10T06:47:25.000Z | #include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>
#include <logger.h>
#include "CmPinMap.h"
#define error(x) { debug_println(x); debug_flush(); }
static CmPeripheral pinmap_find_peripheral(codal::PinNumber pin, const PinMap *map);
static CmPinMode pinmap_find_mode(codal::PinNumber pin, const PinMap... | 29.982196 | 104 | 0.570269 | lupyuen |
c9eb48dfea9c04d460ffd21cb5f3b927dd82e812 | 3,984 | cpp | C++ | engine/source/PADO/PADO_Object.cpp | Goldenbough44/PADO | a0fac1bb1cb61bafd27e11ac7046ef6ec49160d6 | [
"MIT"
] | 1 | 2021-08-13T04:39:53.000Z | 2021-08-13T04:39:53.000Z | engine/source/PADO/PADO_Object.cpp | Goldenbough44/PADO | a0fac1bb1cb61bafd27e11ac7046ef6ec49160d6 | [
"MIT"
] | 2 | 2021-08-13T04:49:02.000Z | 2022-03-25T19:20:56.000Z | engine/source/PADO/PADO_Object.cpp | Goldenbough44/PADO | a0fac1bb1cb61bafd27e11ac7046ef6ec49160d6 | [
"MIT"
] | null | null | null | //
// (c) 2019 Highwater Games Co. All Rights Reserved.
//
#include "PADO_Object.h"
PADO_Object::PADO_Object()
: position(0, 0) {
}
PADO_Object::~PADO_Object() {
}
void PADO_Object::Initialize() {
}
void PADO_Object::BeginPlay() {
}
void PADO_Object::Update() {
}
void PADO_Object::EndPlay() {
}
void... | 24.145455 | 109 | 0.682229 | Goldenbough44 |
c9ed10547ad050426ff7fa6c90f63326213c4b22 | 881 | cpp | C++ | WildMagic4/LibFoundation/Mathematics/Wm4Vector2.cpp | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | 23 | 2015-08-13T07:36:00.000Z | 2022-01-24T19:00:04.000Z | WildMagic4/LibFoundation/Mathematics/Wm4Vector2.cpp | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | null | null | null | WildMagic4/LibFoundation/Mathematics/Wm4Vector2.cpp | rms80/libgeometry | e60ec7d34968573a9cda3f3bf56d2d4717385dc9 | [
"BSL-1.0"
] | 6 | 2015-07-06T21:37:31.000Z | 2020-07-01T04:07:50.000Z | // Geometric Tools, LLC
// Copyright (c) 1998-2010
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 4.10.0 (2009/11/18)
#include "Wm4FoundationPCH.h"
#include "Wm4Vector2.h"
... | 40.045455 | 67 | 0.710556 | rms80 |
c9ee6afef62776cfed6f043a24baffe689015a98 | 16,405 | cc | C++ | wrappers/8.1.1/vtkBrushWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | 6 | 2016-02-03T12:48:36.000Z | 2020-09-16T15:07:51.000Z | wrappers/8.1.1/vtkBrushWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | 4 | 2016-02-13T01:30:43.000Z | 2020-03-30T16:59:32.000Z | wrappers/8.1.1/vtkBrushWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | null | null | null | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include <nan.h>
#include "vtkObjectWrap.h"
#include "vtkBrushWrap.h"
#include "vtkObjectBaseWrap.h"
#include "vtkImageDataWrap.h"
#include "../../plus/plus.h"
using nam... | 25.713166 | 106 | 0.654617 | axkibe |
c9ef8dcf34ae1e8a51bb41ee9a5c34e1f011cd7a | 4,186 | cpp | C++ | src/crypto/openssl/symmetric_key.cpp | Jerryxia32/CCF | 2514a92ff96ca22aff37994d211ace2e1c918097 | [
"Apache-2.0"
] | 530 | 2019-05-07T03:07:15.000Z | 2022-03-29T16:33:06.000Z | src/crypto/openssl/symmetric_key.cpp | Jerryxia32/CCF | 2514a92ff96ca22aff37994d211ace2e1c918097 | [
"Apache-2.0"
] | 3,393 | 2019-05-07T08:33:32.000Z | 2022-03-31T14:57:14.000Z | src/crypto/openssl/symmetric_key.cpp | beejones/CCF | 335fc3613c2dd4a3bda38e10e8e8196dba52465e | [
"Apache-2.0"
] | 158 | 2019-05-07T09:17:56.000Z | 2022-03-25T16:45:04.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache 2.0 License.
#include "symmetric_key.h"
#include "../mbedtls/symmetric_key.h"
#include "crypto/openssl/openssl_wrappers.h"
#include "crypto/symmetric_key.h"
#include "ds/logger.h"
#include "ds/thread_messaging.h"
#include <opens... | 30.779412 | 77 | 0.666985 | Jerryxia32 |
c9ef9054639d5f33b2bcf68dd02a4e080b8813c9 | 550 | cpp | C++ | CppTranslate/sample_be.cpp | PooiaFerdowsi/Cpp-Translate | e41d32d9feb3ebb07e3b756a836ee215998f74fe | [
"MIT"
] | 48 | 2020-03-25T16:52:10.000Z | 2022-03-28T17:11:13.000Z | CppTranslate/sample_be.cpp | PooiaFerdowsi/Cpp-Translate | e41d32d9feb3ebb07e3b756a836ee215998f74fe | [
"MIT"
] | 22 | 2021-04-22T14:48:17.000Z | 2021-11-02T06:45:51.000Z | CppTranslate/sample_be.cpp | PooiaFerdowsi/Cpp-Translate | e41d32d9feb3ebb07e3b756a836ee215998f74fe | [
"MIT"
] | 19 | 2020-06-09T22:29:05.000Z | 2022-03-21T20:44:41.000Z | #include "be_belarusian.h"
узор<кляса t>
кляса прыклад
{
};
цэлы_лік зачатак()
{
статычны булеев элемент прыраўнай праўда;
калі(элемент ілжывы)
{
вярні 1;
}
указка_на_поле_сыбалаў_які_закончаны_нулявым_сымбалем p = новы сымбаль[10];
p індэкс(0) прыраўнай 'c';
p індэкс(1) прыраўнай 0;
выпіш(p);
вярні 0;
... | 12.222222 | 76 | 0.656364 | PooiaFerdowsi |
c9f0dfb3c7fb00695aa70c191a5177f22c3a2b10 | 1,806 | cc | C++ | sources/tests/stresstests.test.cc | arcanis/text-layout | bfa95293ed06c9b355e803968fceb00b421352ba | [
"Unlicense",
"MIT"
] | 22 | 2017-05-13T07:03:02.000Z | 2021-11-08T08:34:42.000Z | sources/tests/stresstests.test.cc | arcanis/text-layout | bfa95293ed06c9b355e803968fceb00b421352ba | [
"Unlicense",
"MIT"
] | null | null | null | sources/tests/stresstests.test.cc | arcanis/text-layout | bfa95293ed06c9b355e803968fceb00b421352ba | [
"Unlicense",
"MIT"
] | 5 | 2017-05-13T07:03:05.000Z | 2020-05-25T06:19:03.000Z | #include "./framework.hh"
TEST_CASE("stress test #1")
{
SETUP("");
for (auto t = 0u; t < 30; ++t)
APPEND("Foo\n");
ASSERT_EQ(LINE_COUNT(), 31);
ASSERT_EQ(TEXT(), "Foo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\nFoo\n... | 26.558824 | 176 | 0.582503 | arcanis |
c9f1d68067156e6683e47e5eef3b5cbfaedebc76 | 2,688 | cpp | C++ | workspace/src/render_world.cpp | nadnbuds/cs130 | 982dac98005dcf0675eacaf7b56a9ec6c53a8877 | [
"MIT"
] | null | null | null | workspace/src/render_world.cpp | nadnbuds/cs130 | 982dac98005dcf0675eacaf7b56a9ec6c53a8877 | [
"MIT"
] | null | null | null | workspace/src/render_world.cpp | nadnbuds/cs130 | 982dac98005dcf0675eacaf7b56a9ec6c53a8877 | [
"MIT"
] | null | null | null | #include <vector>
#include <limits>
#include "render_world.h"
#include "flat_shader.h"
#include "object.h"
#include "light.h"
#include "ray.h"
Render_World::Render_World()
:background_shader(0),ambient_intensity(0),enable_shadows(true),
recursion_depth_limit(3),disable_fresnel_reflection(false),disable_fresne... | 27.151515 | 96 | 0.697545 | nadnbuds |
c9f6ee8d75a66e04607361715b3130bfa133d12d | 1,706 | hpp | C++ | libs/core/include/fcppt/variant/object_impl.hpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 13 | 2015-02-21T18:35:14.000Z | 2019-12-29T14:08:29.000Z | libs/core/include/fcppt/variant/object_impl.hpp | cpreh/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 5 | 2016-08-27T07:35:47.000Z | 2019-04-21T10:55:34.000Z | libs/core/include/fcppt/variant/object_impl.hpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 8 | 2015-01-10T09:22:37.000Z | 2019-12-01T08:31:12.000Z | // Copyright Carl Philipp Reh 2009 - 2021.
// 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)
#ifndef FCPPT_VARIANT_OBJECT_IMPL_HPP_INCLUDED
#define FCPPT_VARIANT_OBJECT_IMPL_HPP_INCLUDED
#inc... | 27.079365 | 93 | 0.721571 | freundlich |
c9f72b2e01bc87e5839ec3566dab21cfdfb8e6f7 | 1,433 | cpp | C++ | ARPREC/arprec-2.2.13/tests/pslq3_main.cpp | paveloom-p/P3 | 57df3b6263db81685f137a7ed9428dbd3c1b4a5b | [
"Unlicense"
] | null | null | null | ARPREC/arprec-2.2.13/tests/pslq3_main.cpp | paveloom-p/P3 | 57df3b6263db81685f137a7ed9428dbd3c1b4a5b | [
"Unlicense"
] | null | null | null | ARPREC/arprec-2.2.13/tests/pslq3_main.cpp | paveloom-p/P3 | 57df3b6263db81685f137a7ed9428dbd3c1b4a5b | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <cfloat>
#include <cmath>
#include <arprec/mp_real.h>
#include <arprec/mp_int.h>
#include "pslq3.h"
#include "pslq_main.h"
using std::cout;
using std::endl;
int main(int argc, char **argv) {
int mode = 0;
int n;
int r = 7, s = 8;
int nr_digits = 780;
int n_... | 21.712121 | 61 | 0.556874 | paveloom-p |
c9fe678f7afef814b5e579bdca5177d562856b09 | 16,630 | cpp | C++ | src/shogun/machine/gp/VarDTCInferenceMethod.cpp | ShankarNara/shogun | 8ab196de16b8d8917e5c84770924c8d0f5a3d17c | [
"BSD-3-Clause"
] | 1 | 2020-03-30T10:45:09.000Z | 2020-03-30T10:45:09.000Z | src/shogun/machine/gp/VarDTCInferenceMethod.cpp | ShankarNara/shogun | 8ab196de16b8d8917e5c84770924c8d0f5a3d17c | [
"BSD-3-Clause"
] | null | null | null | src/shogun/machine/gp/VarDTCInferenceMethod.cpp | ShankarNara/shogun | 8ab196de16b8d8917e5c84770924c8d0f5a3d17c | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) The Shogun Machine Learning Toolbox
* Written (W) 2015 Wu Lin
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above... | 36.549451 | 132 | 0.745941 | ShankarNara |
c9ffc6fba005eaeffb1a50e23e874db2db42d124 | 1,287 | cpp | C++ | graph-source-code/233-C/2345881.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/233-C/2345881.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/233-C/2345881.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | //Language: MS C++
#include <set>
#include <cmath>
#include <vector>
#include <string>
#include <cstdio>
#include <iostream>
#include <algorithm>
using namespace std;
int k, n;
char m[110][110];
int main(){
#ifdef _DEBUG
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
... | 21.098361 | 47 | 0.337995 | AmrARaouf |