pastebin v0.1.7
nasty batch file hah
Jun 26 2010 5:34 AM
hits: 23
shit
May 19 2010 6:58 PM
hits: 48
shit
May 19 2010 6:48 PM
hits: 32
shit
May 19 2010 6:42 PM
hits: 31
Anonymous
May 9 2010 12:29 PM
hits: 41
Anonymous
Apr 28 2010 11:06 PM
hits: 37
RedHate
Apr 28 2010 10:10 PM
hits: 34
RedHate
Apr 28 2010 10:08 PM
hits: 42
JustHost support
Apr 13 2010 8:28 PM
hits: 80
rsc chatlog 2
Apr 8 2010 7:26 AM
hits: 48
rsc chatlog
Apr 8 2010 7:07 AM
hits: 64
Zones
Feb 28 2010 11:44 AM
hits: 67

Valid HTML 4.01 Strict

Valid CSS!


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import java.io.*;
import java.util.*;
import java.util.List;
import java.awt.*;
 
public class Main {
 
	static Point size;
	static Point robot;
	static String robotHeading;
	static String robotCommands;
	static List<Point> robotsLost;
 
	public static void main(String[] args) {
		BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
		String s;
 
		try {
			s = stdIn.readLine();
			Scanner sc = new Scanner(s);
			size.x = sc.nextInt();
			size.y = sc.nextInt();
			System.out.printf("size %d %d\n", size.x, size.y);
			robotsLost = new ArrayList<Point>();
 
			while ((s = stdIn.readLine()) != null) {
				Scanner sc1 = new Scanner(s);
				robot.x = sc1.nextInt();
				robot.y = sc1.nextInt();
				robotHeading = sc1.next();
				robotCommands = stdIn.readLine();
				System.out.printf("robot position %d %d %s\n",
						robot.x, robot.y, robotHeading);
				System.out.printf("commands %s\n", robotCommands);
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
 
	}
 
}
 

paste below
title
language
description/question
action