This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| arr = {} | |
| def main(): | |
| print("Range: ") | |
| r = int(input()) | |
| # For each number 0-r | |
| # If number not yet marked off | |
| # mark all multiples of the number that are under r |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LIBRARY ieee; | |
| USE ieee.std_logic_1164.ALL; | |
| USE ieee.numeric_std.ALL; | |
| ENTITY pwmmer IS | |
| GENERIC ( | |
| refgen : std_logic_vector(3 DOWNTO 0) := "0001" | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library ieee; | |
| USE ieee.std_logic_1164.all; | |
| USE ieee.numeric_std.all; | |
| entity pwmmer IS | |
| PORT (ref0: in std_logic; | |
| ref1: in std_logic; | |
| ref2: in std_logic; | |
| ref3: in std_logic; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 208.93.216.61 | |
| 207.230.119.29 | |
| 94.131.61.168 | |
| 104.144.246.58 | |
| 23.250.63.89 | |
| 23.250.63.204 | |
| 192.241.95.78 | |
| 149.104.58.89 | |
| 206.232.48.34 | |
| 108.62.64.164 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library ieee; | |
| use ieee.std_logic_1164.all; -- logic vectors | |
| use ieee.numeric_std.all; --integer, unsigned, etc | |
| entity lut is | |
| generic (i : std_logic_vector(0 to 15) := "0000000000000000"); -- variable with a default value set to an array of 16 bits | |
| port (sel0, sel1, sel2, sel3: in std_logic; | |
| f : out std_logic | |
| ); | |
| end entity lut; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package sample; | |
| import javafx.animation.AnimationTimer; | |
| import javafx.application.Application; | |
| import javafx.event.Event; | |
| import javafx.scene.Scene; | |
| import javafx.scene.input.KeyCode; | |
| import javafx.scene.layout.Pane; | |
| import javafx.scene.paint.Color; | |
| import javafx.scene.shape.Line; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright (C) Nginx, Inc. | |
| */ | |
| #include <ngx_config.h> | |
| #include <ngx_core.h> | |
| #include <ngx_http.h> | |
| // Stubs for the configs below |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdbool.h> | |
| struct graph { | |
| int nodes; //also called vertices | |
| int edges; | |
| struct successor { | |
| int count; | |
| int len; // array len |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import math | |
| arr = [20, 8, 1, -100, 3, 1, 8, 1] | |
| def merge(left, right): | |
| leftindex = 0 | |
| rightindex = 0 | |
| newarray = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package net.wqrld; | |
| import java.util.Arrays; | |
| public class Main { | |
| public static int[] merge(int[] left, int[] right) { | |
| int[] newarr = new int[right.length + left.length]; // Make a new array that can fit the merged arrays | |
| int rightindex = 0; |