text
stringlengths
1
1.05M
; A042798: Numerators of continued fraction convergents to sqrt(930). ; Submitted by Christian Krause ; 30,61,3690,7441,450150,907741,54914610,110736961,6699132270,13509001501,817239222330,1647987446161,99696485991990,201040959430141,12162154051800450,24525349063031041,1483683097833662910,2991891544730356861,1809971757...
; A253885: Permutation of even numbers: a(n) = A003961(n+1) - 1. ; 0,2,4,8,6,14,10,26,24,20,12,44,16,32,34,80,18,74,22,62,54,38,28,134,48,50,124,98,30,104,36,242,64,56,76,224,40,68,84,188,42,164,46,116,174,86,52,404,120,146,94,152,58,374,90,296,114,92,60,314,66,110,274,728,118,194,70,170,144,230,72,674,78,122,244,206,1...
; A196592: Maximum number of floors with n elevators and 3 stops. ; 3,3,4,5,5,6,7,7,7,7,8,9,9,9,9,9 mov $2,$0 lpb $0 mov $0,$2 sub $0,2 add $1,1 div $0,$1 sub $0,$1 lpe mul $1,2 mov $3,$0 mov $0,1 lpb $3 add $1,$0 mov $3,1 lpe add $1,3 mov $0,$1
#include <mailio/message.hpp> #include <mailio/smtp.hpp> #include <iostream> int main() { mailio::message msg; msg.from(mailio::mail_address("mailio library", "mailio@gmail.com")); msg.add_recipient(mailio::mail_address("mailio library", "mailio@gmail.com")); msg.subject("smtps simple message"); msg.content(...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1b4c2, %r15 nop nop nop nop cmp %rax, %rax vmovups (%r15), %ymm2 vextracti128 $1, %ymm2, %xmm2 vpextrq $1, %xmm2, %rbp xor %rsi, %rsi lea addresses_WC_ht+0xeb82, %rdi nop add %r15, %r...
//****************************************************************************** // Copyright (c) 2005-2013 by Jan Van hijfte // // See the included file COPYING.TXT for details about the copyright. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the i...
; A081147: Differences of Beatty sequence for square root of 5. ; 2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2 mov $3,$0 mov $6,2 lpb $6 mov $0,$3 sub...
COMMENT @--------------------------------------------------------------------- Copyright (c) GeoWorks 1994 -- All Rights Reserved GEOWORKS CONFIDENTIAL PROJECT: GEOS MODULE: CommonUI/CWin (common code for several specific ui's) FILE: cwinClassMisc.asm ROUTINES: Name Description ---- ----------- ...
# include <Siv3D.hpp> void Main() { Scene::SetResizeMode(ResizeMode::Keep); const RenderTexture renderTexture{ Scene::Size(), TextureFormat::R8G8B8A8_Unorm_SRGB, HasDepth::Yes }; DebugCamera3D camera{ Graphics3D::GetRenderTargetSize(), 45_deg, Vec3{ 0, 3, -16 } }; Graphics3D::SetGlobalAmbientColor(ColorF{ 1.0 }...
#include "Entity.h" #include "OgreEntity.h" #include "OgreRoot.h" namespace Thermite { Entity::Entity(const QString& meshName, const QString& materialName, Object* parent) :RenderComponent(parent) ,mOgreEntity(0) ,mUpdateMesh(false) ,mUpdateMaterial(false) ,mUpdateCastsShadows(false) { set...
; A213581: Antidiagonal sums of the convolution array A213571. ; Submitted by Jon Maiga ; 1,8,36,124,367,988,2498,6048,14197,32576,73472,163508,360027,785908,1703294,3669240,7863393,16776120,35650300,75495980,159381831,335542348,704640826,1476392464,3087004877,6442447728,13421769208,27917283428,57982054067,120259079396...
dnl S/390-64 logops. dnl Copyright 2011 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Lesser General Public License as published by the Free dnl ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x1e566, %rax clflush (%rax) nop nop nop nop nop sub %r10, %r10 mov (%rax), %r9w nop nop nop nop sub %r14, %r14 lea addresses_WC_ht+0x16fb0, %rsi lea addresses_WT_ht+0x8130, %rd...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x198e9, %rsi nop nop sub $2093, %r11 mov (%rsi), %rbx nop nop nop nop nop xor %r12, %r12 lea addresses_normal_ht+0x7ea9, %r10 nop cmp $51633, %r9 movl $0x61626364, (%r10) nop ...
; A246331: Total number of ON cells at stage 2n of two-dimensional 5-neighbor outer totalistic cellular automaton defined by "Rule 465". ; 1,9,25,49,89,113,161,233,345,369,417,489,609,681,825,1041,1369,1393,1441,1513,1633,1705,1849,2065,2401,2473,2617,2833,3193,3409,3841,4489,5465,5489,5537,5609,5729,5801,5945,6161,649...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
; A027814: 126*(n+1)*C(n+5,9)/5. ; 126,1512,9702,44352,162162,504504,1387386,3459456,7963956,17153136,34918884,67721472,125919612,225629712,391270572,658982016,1081142370,1732250520,2716483770,4177293120,6309453150,9374044680,13716915030,19791233280,28184836680,39653149536,55158547752,75917140992,103454050392,139668373...
; A250353: Number of length 4 arrays x(i), i=1..4 with x(i) in i..i+n and no value appearing more than 2 times. ; 16,75,235,581,1221,2287,3935,6345,9721,14291,20307,28045,37805,49911,64711,82577,103905,129115,158651,192981,232597,278015,329775,388441,454601,528867,611875,704285,806781,920071,1044887,1181985,1332145 mo...
/** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "OpenrWrapper.h" #include <folly/MapUtil.h> namespace openr { template <class Serializer> OpenrWrapper<Serializer>::OpenrWra...
/**************************************************************************************** * @author: kzvd4729 created: Mar/11/2021 17:09 * solution_verdict: Accepted language: GNU C++17 (64) * run...
; A118824: 2-adic continued fraction of zero, where a(n) = -2 if n is odd, A006519(n/2) otherwise. ; -2,1,-2,2,-2,1,-2,4,-2,1,-2,2,-2,1,-2,8,-2,1,-2,2,-2,1,-2,4,-2,1,-2,2,-2,1,-2,16,-2,1,-2,2,-2,1,-2,4,-2,1,-2,2,-2,1,-2,8,-2,1,-2,2,-2,1,-2,4,-2,1,-2,2,-2,1,-2,32,-2,1,-2,2,-2,1,-2,4,-2,1,-2,2,-2,1,-2,8,-2,1,-2,2,-2,1,-2...
// Fill out your copyright notice in the Description page of Project Settings. #include "AssetManagement/GenerateSoundBanksCommandlet.h" #if WITH_EDITOR #include "AkAssetDatabase.h" #include "AkAssetManagementManager.h" #include "AkAudioBank.h" #include "AkAudioBankGenerationHelpers.h" #include "AkAudioEvent.h" #incl...
//===-- R600ControlFlowFinalizer.cpp - Finalize Control Flow Inst----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
; This file contains symbolic test index that serves as input to PRINT_SLOT, which store the index at x2700, which will ; be loaded into R1. .ORIG x2700 ; KLC3: INPUT_FILE ; KLC3: SET_DATA_DEFAULT_FLAG READ_ONLY ; KLC3: COMMENT This file contains the test input index. .BLKW #1 ; KLC3: SYMBOLIC as R1_VALUE ...
; A337823: a(n) = prime(n-1) - floor(a(n-1)/2); a(1)=1. ; Submitted by Simon Strandgaard ; 1,2,2,4,5,9,9,13,13,17,21,21,27,28,29,33,37,41,41,47,48,49,55,56,61,67,68,69,73,73,77,89,87,94,92,103,100,107,110,112 mov $2,$0 mov $3,1 lpb $0 mov $2,$1 seq $2,40 ; The prime numbers. div $3,2 sub $2,$3 mov $3,$2 su...
/* __ _____ _____ _____ __| | __| | | | JSON for Modern C++ | | |__ | | | | | | version 3.8.0 |_____|_____|_____|_|___| https://github.com/nlohmann/json Licensed under the MIT License <http://opensource.org/licenses/MIT>. SPDX-License-Identifier: MIT Copyright (c) 2013-2019 Niels Lohmann...
db DEX_GOLEM ; pokedex id db 80 ; base hp db 110 ; base attack db 130 ; base defense db 45 ; base speed db 55 ; base special db ROCK ; species type 1 db GROUND ; species type 2 db 45 ; catch rate db 177 ; base exp yield INCBIN "pic/ymon/golem.pic",0,1 ; 66, sprite dimensions dw GolemPicFront dw GolemPicBack ; attacks k...
; A128806: a(n) = A001316(n) + A046092(n). ; 1,6,14,28,42,64,88,120,146,184,224,272,316,372,428,496,546,616,688,768,844,932,1020,1120,1204,1308,1412,1528,1632,1756,1876,2016,2114,2248,2384,2528,2668,2820,2972,3136,3284,3452,3620,3800,3968,4156,4340 mov $2,$0 mov $3,$0 mov $4,$0 lpb $2 lpb $4 div $0,2 sub $4,...
; A151590: Number of permutations of 3 indistinguishable copies of 1..n arranged in a circle with exactly 2 adjacent element pairs in decreasing order. ; 0,12,207,1392,7455,36540,171591,785856,3538215,15727740,69204927,301988592,1308621327,5637142812,24159189015,103079212800,438086661591,1855425868956,7834020344655,329...
/** * \file QryWzemOpxList_blks.cpp * job handler for job QryWzemOpxList (implementation of blocks) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 1 Dec 2020 */ // IP header --- ABOVE using namespace std; using namespace Sbecore; using namesp...
//========================================================================= // 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...
include jccomp.inc .code JCALG1_GetUncompressedSizeOfCompressedBlock proc stdcall pBlock:DWORD mov eax,pBlock or eax,eax jz BadPtr cmp word ptr [eax],'CJ' jnz BadPtr mov eax,[eax+2] ret BadPtr: xor eax,eax ret JCALG1_GetUncompressedSizeOfCompressedBlock endp
; A057666: n*(n+1)^2*(n+2)*(n+3)^2*(n+4). ; 0,960,10800,60480,235200,725760,1905120,4435200,9408960,18532800,34354320,60540480,102211200,166333440,262180800,401863680,600935040,879076800,1260871920,1776667200,2463531840,3366316800,4538820000 mov $2,$0 mul $2,$0 add $2,$0 seq $0,6411 ; Number of nonseparable tree-roote...
// Copyright 2014 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/execution/arguments-inl.h" #include "src/execution/isolate-inl.h" #include "src/heap/heap-inl.h" // For ToBoolean. TODO(jkummerow): Drop....
db GASTLY ; pokedex id db 30 ; base hp db 35 ; base attack db 30 ; base defense db 80 ; base speed db 100 ; base special db GHOST ; species type 1 db GHOST ; species type 2 db 190 ; catch rate db 95 ; base exp yield INCBIN "pic/gsmon/gastly.pic",0,1 ; 66, sprite dimensions dw GastlyPicFront dw GastlyPicBack ; attacks k...
; A158660: a(n) = 56*n^2 + 1. ; 1,57,225,505,897,1401,2017,2745,3585,4537,5601,6777,8065,9465,10977,12601,14337,16185,18145,20217,22401,24697,27105,29625,32257,35001,37857,40825,43905,47097,50401,53817,57345,60985,64737,68601,72577,76665,80865,85177,89601,94137,98785,103545,108417,113401,118497,123705,129025,134457,140...
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="fd, buf"/> <%docstring> Invokes the syscall fstat64. See 'man 2 fstat64' for more information. Arguments: fd(int): fd buf(stat64): buf </%docstring> ${syscall('SYS_fstat64', fd, buf)}
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x16876, %rsi lea addresses_A_ht+0x15440, %rdi nop nop add $11050, %r10 mov $96, %rcx rep movsl inc %rsi lea addresses_A_ht+0x15712, %rcx cmp %r15, %r15 mov (%rcx), %edi nop no...
/* Singly linked list ------------------ A linked list is a common data structure used to maintain a dynamic list of similar elements. The list is maintained so that each element points to the next element and stores some data. To improve performance, the head and tail elements are stored to kee...
//============================================================================== // Copyright 2003 - 2014 LASMEA UMR 6602 CNRS/UBP // Copyright 2009 - 2014 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // See accompan...
#include "stdafx.h" #include "favorites.h" #include "../../../corelib/collection_helper.h" using namespace core; using namespace wim; favorite::favorite() : time_(0) { } favorite::favorite(const std::string& _aimid, const int64_t _time) : aimid_(_aimid) , time_(_time) { } void fa...
;; @file ; Provide FSP API entry points. ; ; Copyright (c) 2022, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ;; SECTION .text %include "SaveRestoreSseAvxNasm.inc" %include "MicrocodeLoadNasm.inc" ; ; Following are fixed PCDs ; extern ASM_PFX(...
;*************************************************************************** ; DEFINE SECTION ;*************************************************************************** ; load vectrex bios routine definitions INCLUDE "VECTREX.I" ; vectrex function includes ;**********************...
; ; SECTION code_clib PUBLIC printc_MODE1 EXTERN generic_console_font32 EXTERN generic_console_udg32 EXTERN generic_console_flags printc_MODE1: ld l,d ld h,0 ld de,(generic_console_font32) bit 7,l jr z,not_udg res 7,l ld de,(generic_console_udg32) inc d not_udg: add hl,hl add hl,hl add h...
//===- ConvertToLLVMIR.cpp - MLIR to LLVM IR conversion ---------*- C++ -*-===// // // Copyright 2019 The MLIR Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www....
#pragma once #include "perfkit/configs.h" #include "perfkit/traces.h" using namespace std::literals; std::map<std::string, std::map<std::string, std::string>> ved{ {"asd", {{"asd", "weqw"}, {"vafe, ewqew", "dwrew"}}}, {"vadsfew", {{"dav ,ea w", "Ewqsad"}, {"scxz ss", "dwqewqew"}}}}; PERFKIT_CATEGORY(...
; A315684: Coordination sequence Gal.5.291.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,6,12,17,22,27,32,37,42,48,54,60,66,71,76,81,86,91,96,102,108,114,120,125,130,135,140,145,150,156,162,168,174,179,184,189,194,199,204,210,2...
;organization of bad guys and gals ;x and y on screen (2) goes to monsterCoords ;name goes into descriptionList ;---------------------- ;hp, max and actual (4, 2 bytes each) ;mp, max and actual (4, 2 bytes each) ;strength (2) ;defense (2) ;agility (2) ;intelligence (2) ;sincerity (1) ;desperation (1) ;====TOT...
#include("test/inc-test.S") out .1
; A241750: a(n) = n^2 + 15. ; 15,16,19,24,31,40,51,64,79,96,115,136,159,184,211,240,271,304,339,376,415,456,499,544,591,640,691,744,799,856,915,976,1039,1104,1171,1240,1311,1384,1459,1536,1615,1696,1779,1864,1951,2040,2131,2224,2319,2416,2515,2616,2719,2824,2931,3040,3151,3264,3379,3496,3615,3736,3859,3984,4111,4240,43...
include stdafx.inc public _SetTimerClock public _SetTimerSecond public _SetTimerMinute public _SetTimerHour public _ProcTimer extrn ALARM_COUNT: dword .const szAlarmPudding db 'msc\\pudding.wav', 0 .code _ProcTimer proc hWnd, uMsg, idEvent, dwTime ; check alarm clock every 100ms .if ALARM_COUNT == 1 ret ...
; A013928: Number of (positive) squarefree numbers < n. ; 0,1,2,3,3,4,5,6,6,6,7,8,8,9,10,11,11,12,12,13,13,14,15,16,16,16,17,17,17,18,19,20,20,21,22,23,23,24,25,26,26,27,28,29,29,29,30,31,31,31,31,32,32,33,33,34,34,35,36,37,37,38,39,39,39,40,41,42,42,43,44,45,45,46,47,47,47,48,49,50,50,50,51,52,52,53,54,55,55,56,56,57,...
; void *memchr(const void *s, int c, size_t n) SECTION code_clib SECTION code_string PUBLIC memchr_callee, l0_memchr_callee EXTERN asm_memchr memchr_callee: pop hl pop bc pop de ex (sp),hl l0_memchr_callee: ld a,e jp asm_memchr ; SDCC bridge for Classic IF __CLASSIC PUBLIC _memchr_callee defc...
; Original address was $B382 ; Beginning of 7-4 .word W704_WaterL ; Alternate level layout .word W704_WaterO ; Alternate object layout .byte LEVEL1_SIZE_05 | LEVEL1_YSTART_180 .byte LEVEL2_BGPAL_02 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 | LEVEL2_UNUSEDFLAG .byte LEVEL3_TILESET_06 | LEVEL3_VSCROLL_LOCKED | LEVEL3_PI...
leaw $1, %A movw (%A), %D movw %D, %S decw %S loop: leaw $1, %A addw (%A), %D, %D leaw $loop, %A decw %S jg %S nop leaw $0, %A movw %D, (%A)
/******************************************************************************\ Copyright (c) 2005-2019, 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: 1. Redistributions of source c...
; nasmfunc section .text ; オブジェクトファイルではこれを書いてからプログラムを書く GLOBAL io_hlt GLOBAL write_mem8 io_hlt: ; void io_hlt(void); HLT RET ; 直接メモリを指定して書き込む関数を作る ; Cから自由に触れるレジスタはEAX, ECX, EDX ; 他は参照できるけどいじれない write_mem8: ; void write_mem8(int addr, int data...
#ifndef UTIL_WINDOWS_PLATFORM_HPP #define UTIL_WINDOWS_PLATFORM_HPP #include "Platform/IPlatform.hpp" // TODO: WM_DISPLAYCHANGE event handling (multi-monitor support) namespace util { struct WindowsPlatform : IPlatform { WindowsPlatform(); ~WindowsPlatform(); void setIcon(const sf::WindowHandle& inHandle) final;...
; Desplazamientos de bits para realizar operaciones rápidas de ; multiplicacion y division dentro de los registros de memoria ;------------- Seccion de datos ------------- section .data ; declaracion de caracteres escape ln db 10, 13 longln equ 2 section .bss resultado1 resb 1 ; reserva de memoria result...
// This file has been generated by Py++. #include "boost/python.hpp" #include "generators/include/python_CEGUI.h" #include "ResourceEventArgs.pypp.hpp" namespace bp = boost::python; void register_ResourceEventArgs_class(){ { //::CEGUI::ResourceEventArgs typedef bp::class_< CEGUI::ResourceEventArgs, bp::...
#include <iostream> #include <algorithm> #include <vector> using namespace std; int sum[300001]; int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); vector<int> Sb; int n, q; cin >> n >> q; for (int i = 0; i < n; i++){ int k; cin >> k; Sb.push_back(k); ...
; int __FASTCALL__ spectranet_detect(void); PUBLIC spectranet_detect EXTERN libspectranet include "spectranet.asm" .spectranet_detect push bc ld bc,CTRLREG ld a,5 ;cyan ei halt out (0xFE),a in a,(c) and 0x07 ;mask off bits pop bc and a ld hl, 0 cp 5 ret z ld hl, -1 ret
;(only 30 as code 0 is used for no drums) ;10 11 12 13 14(and 7) 20 21 22 lut_drumsounds: .db 0,0,0,0,0,$C0,$51,$21 ;Closed hihat .db 0,0,0,0,0,$F7,$51,$4A ;Mini hard hat .db 0,0,0,0,0,$C0,$53,$21 ;Open hihat .db 0,0,0,0,0,$C0,$49,$21 ;Reverse hat .db 0,0,0,0,0,$C0,$19,$51 ;ScratchH .db 0,0,0,0,0,$C0,$19,$61 ;S...
SECTION code_fp_math16 PUBLIC cm16_sccz80_tan EXTERN cm16_sccz80_read1, tanf16 cm16_sccz80_tan: call cm16_sccz80_read1 jp tanf16
; A170205: Number of reduced words of length n in Coxeter group on 4 generators S_i with relations (S_i)^2 = (S_i S_j)^40 = I. ; 1,4,12,36,108,324,972,2916,8748,26244,78732,236196,708588,2125764,6377292,19131876,57395628,172186884,516560652,1549681956,4649045868,13947137604,41841412812,125524238436,376572715308,1129718...
#include <iostream> #include <string> #include <sstream> #include <vector> #include <set> #include <map> #include <list> #include <queue> #include <stack> #include <memory> #include <iomanip> #include <functional> #include <new> #include <algorithm> #include <cmath> #include <cstring> #include <cstdlib>...
; A158737: a(n) = 1296*n^2 - 36. ; 1260,5148,11628,20700,32364,46620,63468,82908,104940,129564,156780,186588,218988,253980,291564,331740,374508,419868,467820,518364,571500,627228,685548,746460,809964,876060,944748,1016028,1089900,1166364,1245420,1327068,1411308,1498140,1587564,1679580,1774188,1871388,1971180,2073564,21...
/* * Original work Copyright (c) 2006-2009 Erin Catto http://www.box2d.org * Modified work Copyright (c) 2017 Louis Langholtz https://github.com/louis-langholtz/PlayRho * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * ...
; ; Keyboard routines for the Commodore 128 (Z80 mode) ; By Stefano Bodrato - 27/08/2001 ; ; getkey() Wait for keypress ; ; $Id: fgetc_cons.asm,v 1.5 2016/06/12 17:07:43 dom Exp $ ; SECTION code_clib PUBLIC fgetc_cons PUBLIC _fgetc_cons EXTERN getk .fgetc_cons ._fgetc_cons call getk and a jr nz,fge...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x17e60, %rsi lea addresses_D_ht+0x35a0, %rdi nop nop add $28704, %rax mov $86, %rcx rep movsl nop nop nop xor %r10, %r10 lea addresses_WT_ht+0x12a6a, %r10 nop nop nop xor $6389...
; A162942: Binomial[n + 1, 2]*7^2 . ; 0,49,147,294,490,735,1029,1372,1764,2205,2695,3234,3822,4459,5145,5880,6664,7497,8379,9310,10290,11319,12397,13524,14700,15925,17199,18522,19894,21315,22785,24304,25872,27489,29155,30870,32634,34447,36309 sub $1,$0 bin $1,2 mul $1,49 mov $0,$1
; $Id: ASMAtomicUoIncU32.asm $ ;; @file ; IPRT - ASMAtomicUoIncU32(). ; ; ; Copyright (C) 2014-2015 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or modify it under the terms of ...
; A001652: a(n) = 6*a(n-1) - a(n-2) + 2 with a(0) = 0, a(1) = 3. ; 0,3,20,119,696,4059,23660,137903,803760,4684659,27304196,159140519,927538920,5406093003,31509019100,183648021599,1070379110496,6238626641379,36361380737780,211929657785303,1235216565974040,7199369738058939,41961001862379596,244566641436218639,1425438846...
; A066370: Quadruply triangular numbers. ; 0,1,231,26796,1186570,26357430,359026206,3413156131,24666759216,143717956515,703974775735,2989908659661,11270904497931,38398515291136,119929709686710,347357071281165,941718655098991,2408309883851256,5847191602173306,13551450210950905,30118700956190595,64449908476890321,1332398...
/* * Copyright 2014 Realm Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
; A143622: a(n) = (-1)^binomial(n,8): Periodic sequence 1,1,1,1,1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,... . ; 1,1,1,1,1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1 div...
#pragma once #ifndef DISH2_CELL_CARDINAL_ITERATORS_GENOMENODEINPUTWRAPPER_HPP_INCLUDE #define DISH2_CELL_CARDINAL_ITERATORS_GENOMENODEINPUTWRAPPER_HPP_INCLUDE #include "../../../../third-party/Empirical/include/emp/base/vector.hpp" #include "../Cardinal.hpp" namespace dish2 { template<typename Spec> class GenomeNod...
table textmaps/dialog.map org $328000 Notice_MapOf: db $74 : dw "You have found" db $75 : dw "the map of" dw #$7F7F Notice_CompassOf: db $74 : dw "You have found" db $75 : dw "the compass of" dw #$7F7F Notice_BigKeyOf: db $74 : dw "Oh look! It's" db $75 : dw "the Big Key of" dw #$7F7F Notice_SmallKeyOf: d...
; A022358: Fibonacci sequence beginning 0, 24. ; Submitted by Jon Maiga ; 0,24,24,48,72,120,192,312,504,816,1320,2136,3456,5592,9048,14640,23688,38328,62016,100344,162360,262704,425064,687768,1112832,1800600,2913432,4714032,7627464,12341496,19968960,32310456,52279416,84589872,136869288,221459160,358328448,579787608,938...
;Simon Final 12/1/2015 ;Chris Potter, Maya Bloom, Jonathan Keys ;Assembly, Professor Suresh TITLE Simon .386 .MODEL FLAT, STDCALL OPTION CASEMAP:none ;-------LIBRARIES USED-------------------------------------------- INCLUDELIB winmm.lib INCLUDELIB user32.lib INCLUDELIB kernel32.lib INCLUDELIB gdi32.li...
; Program 8.4 ; SSE Packed Operations - MASM (64-bit) ; Copyright (c) 2019 Hall & Slonka extrn ExitProcess : proc .data ALIGN 16 ; 16-byte alignment vectorA REAL4 1.2, 3.4, 5.6, 7.8 vectorB REAL4 7.8, 5.6, 3.4, 1.2 result REAL4 ?, ?, ?, ? ; space for storing results .code _main PROC movaps xmm0, vectorA ; move ...
; A106157: G.f. (1-x-x^3+x^4-2*x^2)/((1-2*x)*(x-1)^2*(x+1)^2). ; -1,-1,-2,-1,-2,1,2,11,22,53,106,223,446,905,1810,3635,7270,14557,29114,58247,116494,233009,466018,932059,1864118,3728261,7456522,14913071,29826142,59652313,119304626,238609283,477218566,954437165,1908874330,3817748695,7635497390,15270994817 sub $0,1 sub ...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0 TITLE C:\Users\libit\source\repos\L032\L032\L032.cpp .686P .XMM include listing.inc .model flat INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG5557 DB 'Hello World!', 0aH, 00H ORG $+2 $SG5558 DB '%f', 0aH, 00H CONST ENDS PU...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x19461, %rax nop nop and $20954, %r10 mov (%rax), %r9d nop nop nop sub %rax, %rax lea addresses_normal_ht+0x12641, %rsi lea addresses_D_ht+0x5e61, %rdi nop nop nop nop nop sub ...
; A157910: a(n) = 18*n^2 - 1. ; Submitted by Christian Krause ; 17,71,161,287,449,647,881,1151,1457,1799,2177,2591,3041,3527,4049,4607,5201,5831,6497,7199,7937,8711,9521,10367,11249,12167,13121,14111,15137,16199,17297,18431,19601,20807,22049,23327,24641,25991,27377,28799,30257,31751,33281,34847,36449,38087,39761,41471,...
#include<bits/stdc++.h> using namespace std; using vi = vector<int>; using ii = pair<int,int>; using ll = long long; using llu = unsigned long long; const int INF = numeric_limits<int>::max(); int main() { int n; while (cin >> n) { vector<ii> v(n); for (int i = 0; i < n; i++) cin >> v[i].first >> v[i].sec...
IF !__CPU_INTEL__ && !__CPU_GBZ80__ MODULE __printf_handle_llx SECTION code_clib PUBLIC __printf_handle_llx EXTERN __printf_number64 __printf_handle_llx: ld c,0 ;unsigned ld (ix-9),16 res 1,(ix-4) ;disable '+' flag jp __printf_number64 ENDIF
; A302560: Partial sums of icosahedral numbers (A006564). ; 1,13,61,185,440,896,1638,2766,4395,6655,9691,13663,18746,25130,33020,42636,54213,68001,84265,103285,125356,150788,179906,213050,250575,292851,340263,393211,452110,517390,589496,668888,756041,851445,955605,1069041,1192288,1325896,1470430,1626470,1794611,1975463...
; A010735: Period 2: repeat (9,10). ; 9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10,9,10 mov $1,$0 mod $1,2 add $1,9
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; Wide resolution (WORD based parameters) version by Stefano Bodrato ; ; $Id: w_unplot.asm,v 1.1 2008/07/17 15:39:56 stefano Exp $ ; ;Usage: unplot(int x, int...
; CRT0 (rom) stub for Aquarius carts ; ; Constants for ROM mode (-startup=2) defc CRT_ORG_CODE = 0xe000 defc TAR__register_sp = 0x3fff defc TAR__clib_exit_stack_size = 0 defc RAM_Start = 0x3900 INCLUDE "crt/classic/crt_rules.inc" org CRT_ORG_CODE ; Aquarius Cartr...
-- 7 Billion Humans (2087) -- -- 32: Creative Writhing -- -- Author: landfillbaby -- Size: 19 -- Speed: 34 a: pickup s write 99 drop if sw == 0: step w else: if se == 0: step e else: jump b endif endif pickup s write 99 drop step s pickup s write 99 drop b: step s jump a
// PropertyControlTest.cpp : main source file for PropertyControlTest.exe // #include "stdafx.h" #include <atlframe.h> #include <atlctrls.h> #include <atldlgs.h> #include <atlctrlw.h> #include "resource.h" #include "maindlg.h" CAppModule _Module; int WINAPI _tWinMain(HINSTANCE hInstance, HINSTAN...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x516e, %rsi nop nop nop nop nop add %r14, %r14 mov (%rsi), %r10w nop cmp $36263, %r10 lea addresses_WC_ht+0xe95e, %rsi lea addresses_A_ht+0x1a9ca, %rdi nop nop nop cmp %rax, %...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /////////////////////////////////////////////////////////////////////////////////////////////////// #include "api/pooling.hpp" #include "api/proposal.hpp" #include "api/roi_pooling.hpp" #include "program_helpers.h" #include "pass_...
#include "ex14_15.h" std::istream &operator>>(std::istream &in, Book &book) { in >> book.no_ >> book.name_ >> book.author_ >> book.pubdate_ >> book.number_; return in; } std::ostream &operator<<(std::ostream &out, const Book &book) { out << book.no_ << " " << book.name_ << " " << book.author_ << " " << bo...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_D_ht+0xe302, %r15 nop nop and %r12, %r12 movb $0x61, (%r15) nop nop sub %r10, %r10 lea addresses_UC_ht+0x7132, %rcx nop sub $6715, %rdi movups (%rcx), %xmm4 vpextrq $0, %xmm4, %r11 n...
PUBLIC padgetversion .padgetversion jp 0xb8de
; Top-hole Golf ; Copyright 2020-2021 Matthew Clarke !byte 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,3,147,3,5,188,203,149,140,69,4,9,69,3,200,8 !byte 3,3,3,230,110,6,6,19,3,3,6,3,3,3,6,3,3,3,3,3,3,3,3,3,5,5,3,3,181,203,5,94,56,5,78,69,84,197,52,8 !byte 3,3,3,227,6,227,230,6,3,3,6,3,3,3,230,3,3,3,3,3,3,3,3...
; A002279: a(n) = 5*(10^n - 1)/9. ; 0,5,55,555,5555,55555,555555,5555555,55555555,555555555,5555555555,55555555555,555555555555,5555555555555,55555555555555,555555555555555,5555555555555555,55555555555555555,555555555555555555,5555555555555555555,55555555555555555555,555555555555555555555,5555555555555555555555,5555555...