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 "Tlc5940.h" | |
int delayTime = 1; | |
int analogPin[8] = { | |
A0, A1, A2, A3, A4, A5, 2, 1}; | |
char cmd; | |
int edgeLength = 2; | |
int layMin = 3; |
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
lobby | http://128.122.151.22/mjpg/video.mjpg | |
---|---|---|
classroom20closeup | http://128.122.151.188/mjpg/video.mjpg | |
jroom | http://128.122.151.200/mjpg/video.mjpg | |
shop | http://128.122.151.221/mjpg/video.mjpg | |
classroom20 | http://128.122.151.227/mjpg/video.mjpg |
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 class02; | |
import java.util.Stack; | |
//note: for example usage of BitSet, see ch5_06_primes.java | |
class BitmaskDemo { | |
private static int setBit(int S, int j) { return S | (1 << j); } | |
private static int isOn(int S, int j) { return S & (1 << j); } |
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 java.util.PriorityQueue; | |
import java.util.Scanner; | |
public class A { | |
public static void main(String[] args) throws Exception { | |
Scanner in = new Scanner(System.in); | |
while (true) { |
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 java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.util.Map; | |
import java.util.TreeMap; | |
public class Main { | |
public static void main(String args[]) throws Exception { | |
BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); | |
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 java.util.Scanner; | |
public class A { | |
public static String binaryString(int x, int n) { | |
StringBuilder sb = new StringBuilder(); | |
sb.append(Integer.toString(x, 2)); | |
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 class04; | |
import java.util.Scanner; | |
// 10041 Vito's Family | |
// TLE on UVa but this should be the answer... | |
public class Main10041VitosFamily { | |
public static void main(String[] args) throws Exception { | |
Scanner in = new Scanner(System.in); |
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 class06; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
// 357 Let Me Count The Ways | |
// TLE on UVa | |
public class Main00357LetMeCountTheWaysTopDown { | |
public static void main(String[] args) throws Exception { |
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 java.io.*; | |
import java.util.*; | |
public class Main { | |
public static void main(String args[]) throws Exception { | |
BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); | |
//BufferedReader in = new BufferedReader(new FileReader("input")); // for local testing from input file | |
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 class08; | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.util.Stack; | |
// Parenthesis 00673 | |
public class Main00673Parenthesis { | |
public static void main(String[] args) throws Exception { |