text stringlengths 1 1.05M |
|---|
#include <iostream>
#include <time.h>
#include <cstdlib>
int main()
{
srand(time(NULL));
int randomNum = std::rand() % 9;
std::cout << "Pomysl i wpisz dowolna liczbe od 0 do 9: ";
int num;
std::cin >> num;
std::cout << "Komputer pomyslal " << randomNum << "\n";
(randomNum == num) ? (std::cout << "Bra... |
/*
This file is a part of
QVGE - Qt Visual Graph Editor
(c) 2016-2020 Ars L. Masiuk (ars.masiuk@gmail.com)
It can be used freely, maintaining the information above.
*/
#include <QGraphicsSceneMouseEvent>
#include "CPolyEdge.h"
#include "CNode.h"
#include "CControlPoint.h"
CPolyEdge::CPolyEdge(QGraphicsItem *paren... |
#pragma once
#include "ompu/game/game_fwd.hpp"
#include <boost/variant/variant.hpp>
#include <boost/variant/static_visitor.hpp>
#include <boost/preprocessor/stringize.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <boost/preprocessor/seq/enum.hpp>
namespace ompu { namespace game {
namespace scenes {... |
[global _readr]
[section .text]
_readr:
push edi
push ebp
mov ebp,esp
sub esp,byte 96
push dword 80
lea edi,[ebp + (-80)]
push dword edi
call _readln
add esp,8
mov edi,eax
cmp edi,0
jne near L2
mov eax,0
jmp L1
L2:
lea edi,[ebp + (-80)]
push dword edi
call _atod
add esp,4
fstp qword [ebp + (-96)]
fld qword [ebp + (-96)... |
.386
.MODEL FLAT
include common.inc
;
; Extern functions.
;
EXTRN _AvmRdtscEmulationTrap0D@4:PROC
EXTRN _AvmpRdtscEmulationTrap0DOriginalHandler:DWORD
; ;
; ------------------------------------------------------------------- ;
; ... |
#include <cmath>
#include <vector>
#include <iostream>
#include <algorithm>
#include "DataFormats/MuonDetId/interface/CSCDetId.h"
#include "DataFormats/MuonDetId/interface/RPCDetId.h"
#include "DataFormats/MuonDetId/interface/DTChamberId.h"
#include "DataFormats/MuonDetId/interface/MuonSubdetId.h"
#include "L1Trigger... |
// -*- C++ -*-
// Copyright (C) 2005-2017 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// of the GNU General Public License as published by the Free Software
// Foundation; either version 3... |
; A158638: a(n) = 48*n^2 + 1.
; 1,49,193,433,769,1201,1729,2353,3073,3889,4801,5809,6913,8113,9409,10801,12289,13873,15553,17329,19201,21169,23233,25393,27649,30001,32449,34993,37633,40369,43201,46129,49153,52273,55489,58801,62209,65713,69313,73009,76801,80689,84673,88753,92929,97201,101569,106033,110593,115249,120001,... |
; A059867: Number of irreducible representations of the symmetric group S_n that have odd degree.
; 1,2,2,4,4,8,8,8,8,16,16,32,32,64,64,16,16,32,32,64,64,128,128,128,128,256,256,512,512,1024,1024,32,32,64,64,128,128,256,256,256,256,512,512,1024,1024,2048,2048,512,512,1024,1024,2048,2048,4096,4096,4096,4096,8192,8192,16... |
###############################################################################
# Copyright 2018 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
SaffronCityScript:
jp EnableAutoTextBoxDrawing
SaffronCityTextPointers:
dw SaffronCityText1
dw SaffronCityText2
dw SaffronCityText3
dw SaffronCityText4
dw SaffronCityText5
dw SaffronCityText6
dw SaffronCityText7
dw SaffronCityText8
dw SaffronCityText9
dw SaffronCityText10
dw SaffronCityText11
dw SaffronCi... |
; $Id: bit_click_mwr.asm,v 1.4 2016-06-11 20:52:25 dom Exp $
;
; 1 bit sound library - version for "memory write" I/O architectures
;
; void bit_click();
;
; Stefano Bodrato - 31/03/2008
;
SECTION code_clib
PUBLIC bit_click
PUBLIC _bit_click
INCLUDE "games/games.inc"
EXTERN __snd_t... |
;bubble sort za listu 8bitnih elemenata
SRT:
LDY #$00 ;postavi zastavicu zamjene na 0
STY $32
LDA ($30),Y ;dohvati broj elemenata...
TAX ;...i spremi ga u x registar
INY ;pokazi na prvi element u listi
DEX ;smanji broj elemenata
NEL:
LDA ($30),Y ;do... |
; A156664: Binomial transform of A052551.
; 1,2,6,16,42,108,274,688,1714,4244,10458,25672,62826,153372,373666,908896,2207842,5357348,12988074,31464568,76179354,184347564,445923058,1078290832,2606699026,6300077492,15223631226,36780894376,88852528842,214620169788,518361303874,1251879648448,3023194342594,7300415817284,176... |
/*
* Copyright (c) 2017, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... |
; A144635: a(n) = 5^n*Sum_{ k=0..n } binomial(2*k,k)/5^k.
; Submitted by Jamie Morken(s4)
; 1,7,41,225,1195,6227,32059,163727,831505,4206145,21215481,106782837,536618341,2693492305,13507578125,67693008145,339066121115,1697664211795,8497396194275,42522326235175,212749477704695,1064285646397915,5323532330953295,266258950... |
; A102480: Triangle read by rows: row n contains the numbers C(n,k)^(k-1) for 0 <= k <= n, n >= 0.
; Submitted by Christian Krause
; 1,1,1,1,1,1,1,1,3,1,1,1,6,16,1,1,1,10,100,125,1,1,1,15,400,3375,1296,1,1,1,21,1225,42875,194481,16807,1,1,1,28,3136,343000,9834496,17210368,262144,1,1,1,36,7056,2000376,252047376,41821194... |
; A121578: Values m of number pairs (m,n) which yield associated matching times on the clock with interchanged hour and minute hands for corresponding n in A121577.
; 0,12,24,36,48,60,72,84,96,108,120,132,1,13,25,37,49,61,73,85,97,109,121,133,2,14,26,38,50,62,74,86,98,110,122,134,3,15,27,39,51,63,75,87,99,111,123,135,4... |
include aasyslib.i
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
SYSLIB_JUMP pj_open sysl_pj_open
code ends
end
|
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xcc0b, %rax
clflush (%rax)
nop
nop
nop
xor %rdx, %rdx
movups (%rax), %xmm2
vpextrq $0, %xmm2, %r8
nop
nop
nop
cmp $11279, %r13
lea addresses_D_ht+0x1e38b, %rsi
lea addresses_D_... |
###############################################################################
# Copyright 2019 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
; void *p_list_push_back(p_list_t *list, void *item)
SECTION code_clib
SECTION code_adt_p_list
PUBLIC p_list_push_back_callee
EXTERN asm_p_list_push_back
p_list_push_back_callee:
pop hl
pop de
ex (sp),hl
jp asm_p_list_push_back
|
// Copyright (c) 2011-2020 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/signverifymessagedialog.h>
#include <qt/forms/ui_signverifymessagedialog.h>
#include <qt/addressbookpage.h>
#i... |
#include "threepp/math/Frustum.hpp"
#include "threepp/core/BufferGeometry.hpp"
#include "threepp/core/Object3D.hpp"
#include "threepp/math/Matrix4.hpp"
#include "threepp/math/Sphere.hpp"
using namespace threepp;
Frustum::Frustum(Plane p0, Plane p1, Plane p2, Plane p3, Plane p4, Plane p5)
: planes_{p0, p1, p2, ... |
; A076662: First differences of A007066.
; 3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2,3,3,2,3,2,3,3,2,3,3,2,3,2
mov $3,$0
mov $5,2
lpb $5,1
mov $0,$3
sub $5,1
add $0,$5
m... |
#include <iostream>
using namespace std;
int main()
{
int T;
cin >> T;
int temp = T;
while (T--)
{
if (T != temp - 1)
cout << endl;
int N;
cin >> N;
int sum = 0;
for (int i = 0; i < N; i++)
{
int gas;
cin >> gas;
... |
; A066524: a(n) = n*(2^n - 1).
; 0,1,6,21,60,155,378,889,2040,4599,10230,22517,49140,106483,229362,491505,1048560,2228207,4718574,9961453,20971500,44040171,92274666,192937961,402653160,838860775,1744830438,3623878629,7516192740,15569256419,32212254690,66571993057,137438953440,283467841503,584115552222,1202590842845,247... |
#include "DendyFoundation/ParallelComputing/ThreadManager.h"
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////... |
// Copyright (c) 2013, ARM Limited. All rights reserved.
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
// which accompanies this distribution. The full text of the license may be found at
// http://opensource.org/license... |
/**********************************************************************
* Copyright (c) 2008-2014, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... |
; A001093: a(n) = n^3 + 1.
; 0,1,2,9,28,65,126,217,344,513,730,1001,1332,1729,2198,2745,3376,4097,4914,5833,6860,8001,9262,10649,12168,13825,15626,17577,19684,21953,24390,27001,29792,32769,35938,39305,42876,46657,50654,54873,59320,64001,68922,74089,79508,85185,91126,97337,103824,110593,117650,125001,132652,140609,14887... |
//=================================================================================================
/*!
// \file src/mtl/TSMatSMatAdd.cpp
// \brief Source file for the MTL transpose sparse matrix/sparse matrix addition kernel
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This file is par... |
push ebp
mov ebp,esp
push ecx
call dword ptr ds:[4D1BCh]
mov ecx,dword ptr [dev]
shl eax,0Ch
xor eax,ecx
and eax,3F000h
xor eax,ecx
mov dword ptr [dev],eax
mov esp,ebp
pop ebp
re... |
CeruleanCave2F_Script:
jp EnableAutoTextBoxDrawing
CeruleanCave2F_TextPointers:
dw PickUpItemText
dw PickUpItemText
dw PickUpItemText
|
; A333996: Number of composite numbers in the triangular n X n multiplication table.
; 0,1,3,7,11,17,23,31,40,50,60,72,84,98,113,129,145,163,181,201,222,244,266,290,315,341,368,396,424,454,484,516,549,583,618,654,690,728,767,807,847,889,931,975,1020,1066,1112,1160,1209,1259,1310,1362,1414
seq $0,256885 ; a(n) = n*(n +... |
ORG 100 /PROGRAMMA SCRITTO IN ESADECIMALE
7800
7020
7200
1106
7200
7001
0000
END
|
#include "Dirichlet.h"
#include "Sum.h"
#include "Product.h"
#include <iostream>
long double dirichlet(const vector<long double>& probs,
const vector<int>& obs,
long double s) {
vector<long double> alphas;
for (vector<int>::const_iterator o = obs.begin(); o != obs.end(); ++o)
alphas... |
/*
+----------------------------------------------------------------------+
| Swoole |
+----------------------------------------------------------------------+
| This source file is subject to version 2.0 of the Apache license, |
| that is bundl... |
COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Text
FILE: rulerClass.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 4/92 Initial version
DESCRIPTION:
... |
#include "Platform.inc"
#include "PollChain.inc"
#include "TestDoubles.inc"
radix decimal
udata
global calledPollAfterTimer0
calledPollAfterTimer0 res 1
PollAfterTimer0Mock code
global initialisePollAfterTimer0Mock
global POLL_AFTER_TIMER0
initialisePollAfterTimer0Mock:
banksel calledPollAfterTimer0
clrf... |
C sparc32/arcfour-crypt.asm
ifelse(<
Copyright (C) 2002, 2005 Niels Möller
This file is part of GNU Nettle.
GNU Nettle is free software: you can redistribute it and/or
modify it under the terms of either:
* the GNU Lesser General Public License as published by the Free
Software Foundation; e... |
; A186224: Adjusted joint rank sequence of (g(i)) and (f(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the triangular numbers and pentagonal numbers. Complement of A186223.
; 2,4,7,10,12,15,18,21,23,26,29,32,34,37,40,42,45,48,51,53,56,59,62,64,67,70,72,75,78,81,83,86,89,92,94,97,100,103,105,108,111,113,1... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rbp
push %rdx
push %rsi
lea addresses_normal_ht+0xf2c7, %r10
nop
nop
nop
nop
nop
inc %rdx
movw $0x6162, (%r10)
nop
nop
nop
nop
cmp $58724, %rsi
lea addresses_normal_ht+0x1cb23, %r14
nop
xor %rbp, %rbp
movb $0x61, (%r14)
nop
cmp $... |
/*
*
* Copyright 2018 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/**
* @file src/fileformat/types/visual_basic/visual_basic_object.cpp
* @brief Class visual basic object.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include "retdec/fileformat/types/visual_basic/visual_basic_object.h"
namespace retdec {
namespace fileformat {
/**
* Get name
* @ret... |
; Assembly code emitted by HLA compiler
; Version 2.16 build 4413 (prototype)
; HLA compiler written by Randall Hyde
; NASM compatible output
bits 32
%define ExceptionPtr__hla_ [dword fs:0]
global QuitMain__hla_
global DfltExHndlr__hla_
global _HLAMain
global HWexcep... |
NAME Data_transfer
TITLE jmp
assume cs:codesg,ds:datasg
; this is add proc ;;
datasg segment
data1 db 1,02h ,101B,'$ 2', 'WoW:),Zp* '
dw 0123h, 0456H,0abch ,0defh,110101001b
msg1 DD 1023, 10001001011001011100B,5C2A57F2H
ARRAY db 10 DUP (1,101b , 'Y') ;?
mgs2 db 3 dup('hello')
dw 3 dup(0ffh, ... |
#include "ros/ros.h"
#include "geometry_msgs/Twist.h"
#include "ball_chaser/DriveToTarget.h"
// ROS::Publisher motor commands;
ros::Publisher motor_command_publisher;
using namespace std;
// This function should publish the requested linear x and angular velocities to the robot wheel joints
// After publishing the ... |
; A100381: a(n) = 2^n*binomial(n,2).
; 0,0,4,24,96,320,960,2688,7168,18432,46080,112640,270336,638976,1490944,3440640,7864320,17825792,40108032,89653248,199229440,440401920,968884224,2122317824,4630511616,10066329600,21810380800,47110422528,101468602368,217969590272,467077693440,998579896320,2130303778816,4535485464576... |
; A154514: a(n) = 648*n^2 - 72*n + 1.
; 577,2449,5617,10081,15841,22897,31249,40897,51841,64081,77617,92449,108577,126001,144721,164737,186049,208657,232561,257761,284257,312049,341137,371521,403201,436177,470449,506017,542881,581041,620497,661249,703297,746641,791281,837217,884449,932977,982801,1033921,1086337,1140049... |
; A175846: Partial sums of ceiling(n^2/15).
; 0,1,2,3,5,7,10,14,19,25,32,41,51,63,77,92,110,130,152,177,204,234,267,303,342,384,430,479,532,589,649,714,783,856,934,1016,1103,1195,1292,1394,1501,1614,1732,1856,1986,2121,2263,2411,2565,2726,2893,3067,3248,3436,3631,3833,4043,4260,4485,4718,4958,5207,5464,5729,6003,6285,6... |
; A280512: Index sequence of the Thue-Morse sequence (A010060, using offset 1) as a reverse block-fractal sequence.
; 1,3,2,1,12,11,10,9,8,7,6,5,4,3,2,1,48,47,46,45,44,43,42,41,40,39,38,37,36,35,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,192,191,190,189,188
mov $1,1
mo... |
; ===============================================================
; Oct 2015
; ===============================================================
;
; void in_wait_key(void)
;
; Busy wait until a key is pressed.
;
; ===============================================================
SECTION code_clib
SECTION code_input
PUB... |
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "vm/globals.h"
#include "vm/instructions.h"
#include "vm/signal_handler.h"
#include "vm/simula... |
; A010955: Binomial coefficient C(39,n).
; 1,39,741,9139,82251,575757,3262623,15380937,61523748,211915132,635745396,1676056044,3910797436,8122425444,15084504396,25140840660,37711260990,51021117810,62359143990,68923264410,68923264410,62359143990,51021117810,37711260990
mov $1,39
bin $1,$0
|
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
./out/forwarding.out: ファイル形式 elf32-mist32
セクション .text の逆アセンブル:
00000000 <_start>:
0: 0d 40 00 00 wl16 r0,0x0
4: 0d 60 00 0f wh16 r0,0xf
8: 1c 00 00 00 srspw r0
c: 14 30 00 1a br 74 <target>,#al
00000010 <mem_print>:
10: 0d 40 02 08 wl16 r16,0x8
14: 0d 60 02 02 wh16 r16,0x2
18: 10 a0 00 ... |
; A345633: Sum of terms of odd index in the binomial decomposition of n^(n-1).
; 0,1,4,36,272,4400,51012,1188544,18640960,567108864,11225320100,421504185344,10079828372880,450353989316608,12627774819845668,654244800082329600,21046391759976988928,1240529732459024678912,45032132922921758270916,2975557672677668838178816
... |
user/_forktest: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <print>:
#define N 1000
void
print(const char *s)
{
0: 1101 addi sp,sp,-32
2: ec06 sd ra,24(sp)
4: e822 sd s0,16(sp)
6: e426 sd s1,8(sp)
... |
// Copyright (c) 2012-2017 VideoStitch SAS
// Copyright (c) 2018 stitchEm
#pragma once
#include <QWidget>
#include "ui_projectworkwidget.h"
#include "libvideostitch-gui/mainwindow/outputfilehandler.hpp"
#include "libvideostitch-gui/mainwindow/packet.hpp"
#include "libvideostitch-gui/mainwindow/frameratecompute.hpp"
... |
//=================================================================================================
/*!
// \file src/mathtest/operations/smatsmatsub/MZaDCb.cpp
// \brief Source file for the MZaDCb sparse matrix/sparse matrix subtraction math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//... |
// Original test: ./tschaefe/hw4/problem6/jal_2.asm
// Author: tschaefe
// Test source code follows
// jal test 2
// Jump instruction should cause looping to earlier portion of program, each time
// setting r7 to 0x8
lbi r1, 0xfd
addi r1, r1, 0x01
bgez r1, .done //after 3 total executions of add, go to halt
jal 0x... |
; Copyright (c) 2017-2021, The rav1e contributors
; Copyright (c) 2021, Nathan Egge
; All rights reserved.
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE... |
; A330033: a(n) = Kronecker(n, 5) * (-1)^floor(n/5).
; 0,1,-1,-1,1,0,-1,1,1,-1,0,1,-1,-1,1,0,-1,1,1,-1,0,1,-1,-1,1,0,-1,1,1,-1,0,1,-1,-1,1,0,-1,1,1,-1,0,1,-1,-1,1,0,-1,1,1,-1,0,1,-1,-1,1,0,-1,1,1,-1,0,1,-1,-1,1,0,-1,1,1,-1,0,1,-1,-1,1,0,-1
mov $2,$0
mul $0,22
mov $3,5
lpb $0
sub $0,$2
lpb $0
sub $0,5
add $... |
;******************************************************************************
;* AAC Spectral Band Replication decoding functions
;* Copyright (C) 2012 Christophe Gisquet <christophe.gisquet@gmail.com>
;*
;* This file is part of Libav.
;*
;* Libav is free software; you can redistribute it and/or
;* modify it under th... |
#include "IconCompare/IconCompare.h"
#include "uvss_label_distance/uvss_label_distance_interface.hpp"
#include "opencv_basic/opencv_match.h"
#include <math.h>
const double EPS = 1e-6;
IconCompare::IconCompare()
{
}
int IconCompare::setBenchMark(const std::map<std::string,std::string> &m_icon,const cv::Size &v_size... |
Name: zel_pysb.asm
Type: file
Size: 126779
Last-Modified: '2016-05-13T04:25:37Z'
SHA-1: FBBE2F2F2A9D14FF52848E9F05D59B62CED8EA98
Description: null
|
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The LightPayCoin developers
// Copyright (c) 2018 The e-Sport Betting Coin developers
// Distributed under the MIT ... |
; A172193: 5*n^2+31*n+1.
; 1,37,83,139,205,281,367,463,569,685,811,947,1093,1249,1415,1591,1777,1973,2179,2395,2621,2857,3103,3359,3625,3901,4187,4483,4789,5105,5431,5767,6113,6469,6835,7211,7597,7993,8399,8815,9241,9677,10123,10579,11045,11521,12007,12503,13009,13525,14051,14587,15133,15689,16255,16831,17417,18013,186... |
; A059015: Total number of 0's in binary expansions of 0, ..., n.
; 1,1,2,2,4,5,6,6,9,11,13,14,16,17,18,18,22,25,28,30,33,35,37,38,41,43,45,46,48,49,50,50,55,59,63,66,70,73,76,78,82,85,88,90,93,95,97,98,102,105,108,110,113,115,117,118,121,123,125,126,128,129,130,130,136,141,146,150,155,159,163,166,171,175,179,182,186,1... |
; A034724: a(n) = n-th sextic factorial number divided by 4.
; 1,10,160,3520,98560,3351040,134041600,6165913600,320627507200,18596395417600,1190169306726400,83311851470848000,6331700711784448000,519199458366324736000,45689552336236576768000,4294817919606238216192000,429481791960623821619200000,4552506994782612509163520... |
dnl X86 MMX mpn_sec_tabselect.
dnl Contributed to the GNU project by Torbjörn Granlund.
dnl Copyright 2011-2013 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
dn... |
global find_word
extern string_equals
section .text
; Params:
; rdi - pointer to null-terminated key string
; rsi - pointer to the last word in dictionary
; Out:
; rax - if not found ? 0 : list element ptr
find_word:
cmp rsi, 0
je .not_found
add rsi, 8
push rdi
push rsi
call string_equa... |
// Tests break statement in a simple loop
// Commodore 64 PRG executable file
.file [name="loop-break-nested.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:Basic... |
db VULPIX ; 037
db 38, 41, 40, 65, 50, 65
; hp atk def spd sat sdf
db FIRE, FIRE ; type
db 190 ; catch rate
db 63 ; base exp
db BURNT_BERRY, BURNT_BERRY ; items
db GENDER_F75 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/vulpix/front.dimen... |
; --COPYRIGHT--,BSD_EX
; Copyright (c) 2012, Texas Instruments Incorporated
; 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 ... |
; A070396: a(n) = 6^n mod 23.
; 1,6,13,9,8,2,12,3,18,16,4,1,6,13,9,8,2,12,3,18,16,4,1,6,13,9,8,2,12,3,18,16,4,1,6,13,9,8,2,12,3,18,16,4,1,6,13,9,8,2,12,3,18,16,4,1,6,13,9,8,2,12,3,18,16,4,1,6,13,9,8,2,12,3,18,16,4,1,6,13,9,8,2,12,3,18,16,4,1,6,13,9,8,2,12,3,18,16,4,1,6,13,9,8,2,12,3,18,16,4,1,6,13,9,8,2,12,3,18,16,4,1,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x15437, %r11
nop
xor %r8, %r8
vmovups (%r11), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %rcx
nop
nop
nop
sub $51158, %r8
lea addresses_normal_ht+0x14c37, %rsi
lea addresses_WC_ht+0x10... |
; 04.2004 aralbrec
PUBLIC ba_Malloc
EXTERN _ba_qtbl
; Returns block of memory from the indicated queue.
;
; enter: HL = queue number
; exit : HL = address of memory block (0 = fail)
; Carry = success
; uses : AF,BC,DE,HL
.ba_Malloc
add hl,hl
ld de,_ba_qtbl
add hl,de
ld e,(hl)
inc hl
ld d,(hl... |
; A307513: Beatty sequence for 1/log(2).
; 1,2,4,5,7,8,10,11,12,14,15,17,18,20,21,23,24,25,27,28,30,31,33,34,36,37,38,40,41,43,44,46,47,49,50,51,53,54,56,57,59,60,62,63,64,66,67,69,70,72,73,75,76,77,79,80,82,83,85,86,88,89,90,92,93,95,96,98,99,100,102,103,105,106,108,109,111,112,113,115
mov $2,$0
add $2,1
mov $7,$0
lp... |
.data
mgs0: .asciiz "Fin del programa \n"
_I: .word 0
_X: .word 0
.text
.globl main
main:
li $t0, 1
sw $t0, _I
li $t0, 4
sw $t0, _X
_etiq0:
lw $t0, _I
li $t1, 6
ble $t0, $t1, _etiq3
li $t0, 0
b _etiq4
_etiq3:
li $t0, 1
_etiq4:
lw $t1, _X
li $t2, 4
beq $t1, $t2, _etiq5
li $t1, 0
b _etiq6
_etiq5:
li $t1, 1
_etiq6:
and $t... |
; A010157: Continued fraction for sqrt(79).
; 8,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,7,1,16,1,... |
; A298025: Partial sums of A298024.
; 1,5,15,29,47,71,99,131,169,211,257,309,365,425,491,561,635,715,799,887,981,1079,1181,1289,1401,1517,1639,1765,1895,2031,2171,2315,2465,2619,2777,2941,3109,3281,3459,3641,3827,4019,4215,4415,4621,4831,5045,5265,5489,5717,5951,6189,6431,6679,6931,7187,7449,7715,7985,8261,8541,8825,91... |
; A104769: G.f. -x/(1+x-x^3).
; Submitted by Jon Maiga
; 0,-1,1,-1,0,1,-2,2,-1,-1,3,-4,3,0,-4,7,-7,3,4,-11,14,-10,-1,15,-25,24,-9,-16,40,-49,33,7,-56,89,-82,26,63,-145,171,-108,-37,208,-316,279,-71,-245,524,-595,350,174,-769,1119,-945,176,943,-1888,2064,-1121,-767,2831,-3952,3185,-354,-3598,6783,-7137,3539,3244,-10381,... |
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int n, cnt = 0;
vector<int> in, cbt;
void inOrder(int index) {
if (index >= n) return;
inOrder(2 * index + 1);
cbt[index] = in[cnt++];
inOrder(2 * index + 2);
}
int main() {
cin >> n;
in.resize(n), cbt.resize(n);
for (int i = 0; i < ... |
; A161532: a(n) = 2n^2 + 8n + 1.
; 1,11,25,43,65,91,121,155,193,235,281,331,385,443,505,571,641,715,793,875,961,1051,1145,1243,1345,1451,1561,1675,1793,1915,2041,2171,2305,2443,2585,2731,2881,3035,3193,3355,3521,3691,3865,4043,4225,4411,4601,4795,4993,5195,5401,5611,5825,6043,6265,6491,6721,6955,7193,7435,7681,7931,818... |
//
// detail/win_iocp_io_service.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef... |
; A170077: Number of reduced words of length n in Coxeter group on 20 generators S_i with relations (S_i)^2 = (S_i S_j)^37 = I.
; 1,20,380,7220,137180,2606420,49521980,940917620,17877434780,339671260820,6453753955580,122621325156020,2329805177964380,44266298381323220,841059669245141180,15980133715657682420
add $0,1
mo... |
// Copyright (C) 2013 Google 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 ... |
/*
Qt4xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 4
Copyright (C) 2021 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
*/
/*
DO NOT EDIT THIS FILE - the content was created using a source code generator
*/
#include "QDragSlots.h"
QDragSlots::QDragSlots( QObject * p... |
//=====================================================================//
/*! @file
@brief OpenGL モーション・オブジェクト・クラス
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2017 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/hirakuni45/glfw3_app/blob/master/LICENSE
*/
/... |
<% from pwnlib.shellcraft import mips %>
<%docstring>Execute /bin/sh</%docstring>
${mips.execve('//bin/sh', ['sh'], {})}
|
#ifndef BSL_OVERRIDES_STD
#define BSL_OVERRIDES_STD
#endif
#include <strstream>
#ifndef std
# error std was expected to be a macro
#endif
int main() { return 0; }
// ----------------------------------------------------------------------------
// Copyright (C) 2013 Bloomberg L.P.
//
// Permission is hereby granted, fre... |
; A213432: 2^(n-3)*binomial(n,4).
; 0,0,0,0,2,20,120,560,2240,8064,26880,84480,253440,732160,2050048,5591040,14909440,38993920,100270080,254017536,635043840,1568931840,3835166720,9285140480,22284337152,53057945600,125409689600,294440140800,687026995200,1593902628864,3678236835840,8446321623040,19305877995520,4393751543... |
PAGE 60,132;
TITLE EDLIN
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;======================= START OF SPECIFICATIONS =========================
;
; MODULE NAME: EDLIN.SAL
;
; DESCR... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x12e81, %rcx
add $50788, %r11
mov $0x6162636465666768, %rdi
movq %rdi, %xmm2
movups %xmm2, (%rcx)
nop
nop
nop
nop
and $47867, %r11
lea addresses_normal_ht+0x2f63, %rsi
nop
nop
nop
nop
... |
.data
textA: .asciiz "+ Nhap so a = "
textB: .asciiz "+ Nhap so b = "
soA: .float 0
soB: .float 0
kq1: .asciiz " \n+ Ket qua : \n\t a + b = "
kq2: .asciiz " \n\t a - b = "
.text
#Nhap so thu nhat
la $a0,textA
li $v0,4
syscall
li $v0,6
syscall
swc1 $f0,soA
#Nhap so thu 2
la $a0,textB
li $v0,... |
user/_strace: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "user/user.h"
//user program for strace
int
main(int argc, char *argv[])
{
0: 7179 addi sp,sp,-48
2: f406 sd ra,40(sp)
4: f022 sd s0,32(sp)
6: ... |
;/*
; * FreeRTOS Kernel V10.0.1
; * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
; *
; * 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 restri... |
db 0 ; species ID placeholder
db 65, 105, 60, 95, 60, 70
; hp atk def spd sat sdf
db FIGHTING, FIGHTING ; type
db 75 ; catch rate
db 149 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/prime... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.