What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-16 18:25:16
reverse shell rubber ducky script
REM Author: Darren Kitchen with mad props to IllWill dabermania.blogspot.co.il/2011/04/copying-executable-from-teensy-using.html REM 27/12/2017: Mod by r00tpgp, removed admin privilege cmd, added auto overwrite on copy con and removed absolute path REM ... Add solution -
C++ 2022-03-03 05:00:01
how to find hcf in c++
// C++ program to find GCD of two numbers #include <iostream> using namespace std; // Recursive function to return gcd of a and b int gcd(int a, int b) { if (b == 0) return a; return gcd(b, a % b); } // Driver program to test above ... Add solution -
Java 2022-03-02 20:05:28
Java program find GCD and LCM of two numbers using euclid’s algorithm
import java.util.Scanner; public class GCDLCMEuclid { // gcd java void findGCD(long num1, long num2) { while(num2 > 0) { long temp = num2; num2 = num1 % num2; num1 = temp; } System.out.printl... Add solution -
Javascript 2022-02-07 01:15:15
greatest common factor
/* Function using "Euclidian Algorithm" to recursively find the greatest common divisor/factor (GCD/GCF) of 2 positive numbers*/ const gcf = function (small, large) { let r = large % small; if (r == 0) return small; else ... Add solution -
C++ 2022-02-06 09:40:26
young physicist codeforces
#include <bits/stdc++.h>using namespace std;#define SPEED ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)#define ll long long#define fi first#define se second#define mp make_pair#define pb push_back#define eb emplace_backll gcd(ll a,ll b){ i... Add solution