Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
using namespace std;
int list1[100];
int list2[100];
int x, y;
int total = 0;
int d;
void dot_product(int x[], int y[], int i, int j){
// Isaac de Jesús Bernal Iñiguez/ A01226968
#include <iostream>
using namespace std;
int a;
int b = 0;
int c = 1;
int d;
int e;
int fibonacci(int a){
// Isaac de Jesús Bernal Iñiguez/ A01226968
#include <iostream>
using namespace std;
long int operation = 1;
long c;
long d;
long int superpower(long a, long b){
for(int c = 1; c <=b; c++){
// Isaac de Jesús Bernal Iñiguez/ A01226968
#include <iostream>
using namespace std;
int triangules;
void triangule(int a){
for(int t = 1; t <= a; t++){
cout << "T" << endl;
if (t < a){
for(int c = t; c >0; c--){
#include <iostream>
#include "BigIntegerLibrary.hh"
using namespace std;
BigInteger module;
BigInteger change(int a){
module = 0;
do{
module = module * 10 + a % 10;
#include <iostream>
using namespace std;
int x1, x2, m, num1, num2;
void euclids(int a, int b){
if (a == 0){
m = b;
cout << "Minimum common denominator is: " << m << endl;
}
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
int array, module, i;
int arrays[10];
void find_threes(int a){
for(int i = 0; i < a; i++){
#include <iostream>
#include <string>
using namespace std;
void is_palindrome(string a, string b){
for(int i = a.size()-1; i >= 0; i--){
b += a.at(i);
}
if (b.compare(a)==0) cout<<"It is a palindrome"<<endl;
else cout <<"It is not a palindrome"<<endl;
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
double presicion;
long double acomulator = 1;
long double e1 = 0;
long double e2, difference;
int y = 1;
#include <iostream>
#include <cmath>
using std::cout;
using std::cin;
using std::endl;
int x[10];
int sum;
int multiplication = 1;
int square, addition, variation;