MCD, Un ejemplo de máximo como un divisor

MCD, Un ejemplo de máximo como un divisor

Buenos sitios para revisar son:
  1. Euclidean Algorithm - ProofWiki
    https://proofwiki.org/wiki/Euclidean_Algorithm
    Until this has been finished, please leave {{refactor}} in the code. New contributors: Refactoring is a task which is expected to be undertaken by experienced editors only. Because of the underlying complexity of the work needed, it is recommended that yo ...

  2. MAXimal :: algo :: Расширенный алгоритм Евклида
    http://e-maxx.ru/algo/extended_euclid_algorithm
    MAXimal добавлено: 10 Jun 2008 17:58редактировано: 17 Oct 2012 14:55 Содержание [скрыть][показать] В то время как "обычный" алгоритм Евклида просто находит наибольший общий делитель двух чисел и , расширенный алгоритм Евклида находит помимо НОД также коэф ...

  3. Euclidean algorithm - Wikipedia, the free encyclopedia
    https://en.wikipedia.org/wiki/Euclidean_algorithm
    In mathematics, the Euclidean algorithm[a], or Euclid's algorithm, is an efficient method for computing the greatest common divisor (GCD) of two numbers, the largest number that divides both of them without leaving a remainder. It is named after the ancien ...

  4. Extended Euclidean algorithm - Wikipedia, the free encyclopedia
    https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm
    In arithmetic and computer programming, the extended Euclidean algorithm is an extension to the Euclidean algorithm, which computes, besides the greatest common divisor of integers a and b, the coefficients of Bézout's identity, that is integers x and y su ...

  5. Basic and Extended Euclidean algorithms - GeeksforGeeks
    http://www.geeksforgeeks.org/basic-and-extended-euclidean-algorithms/
    (function() { var cx = '009682134359037907028:tj6eafkv_be'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:' ...

  6. C Program to Find GCD of two Numbers
    http://www.programiz.com/c-programming/examples/hcf-gcd
    close C Program to Check Whether a Number is Even or Odd C Program to Check Whether a Character is Vowel or Consonant C Program to Find the Largest Number Among Three Numbers C program to Find all Roots of a Quadratic equation C Program to Check Leap Year ...

  7. Euclid's Algorithm
    http://www.cut-the-knot.org/blue/Euclid.shtml
    Euclid's Algorithm appears as the solution to the Proposition VII.2 in the Elements: Given two numbers not prime to one another, to find their greatest common measure. What Euclid called "common measure" is termed nowadays a common factor or a commo ...

Escribir "tildes", "Ñ", etc en python UTF-8

Mostrar un texto en negrita y cursiva

NC > Computación > HTML

Negrita

Para mostrar un texto en negrita se usa la etiqueta <b>.

Ejemplo

Ejemplo texto normal <b>Texto en negrita</b>
Se ve:
Ejemplo texto normal Texto en negrita

Cursiva

Para mostrar un texto en cursiva se usa la etiqueta <i>.

Ejemplo

Ejemplo texto normal <i>Texto en cursiva</i>
Se ve:
Ejemplo texto normal Texto en cursiva

0.05

Calculadora Básica

NC > Computación > Calculadora

Calculadora Básica


0.01

Agregar CSS a una página web

NC > Computación > CSS
Entre la etiqueta <style>
<style type='text/css'>
  p {
    color: red;
  }
</style>
Desde un archivo externo
<link rel='stylesheet' type='text/css' href='archivo.css'>
En línea
<p style='color:red;'>Texto de color rojo.</p>

0.03

Imprimir el mayor de dos números en C

NC > Computación > C

#include <stdio.h>
int main(){
  int a,b;
  printf("Ingrese el primer número\n");
  scanf("%d",&a);
  printf("Ingrese el segundo número\n");
  scanf("%d",&b);
  if(a < b)
    printf("El mayor es %d\n",b);
  else if(a > b)
    printf("El mayor es %d\n",a);
  else
    printf("Los números son iguales\n");
  return 0;
}

0.01