equal
deleted
inserted
replaced
3 * بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِِ |
3 * بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِِ |
4 * Time: 18.06.2011 11:37:46 |
4 * Time: 18.06.2011 11:37:46 |
5 ***********************************************/ |
5 ***********************************************/ |
6 package ru.alphatech.icfpc.game; |
6 package ru.alphatech.icfpc.game; |
7 |
7 |
|
8 import java.io.BufferedReader; |
|
9 import java.io.IOException; |
|
10 import java.io.InputStreamReader; |
|
11 |
8 public class Run |
12 public class Run |
9 { |
13 { |
10 public static void main(String[] args) |
14 private static Player proponent = new Player(); |
|
15 |
|
16 private static Player opponent = new Player(); |
|
17 |
|
18 private static void readOpponent() throws IOException |
|
19 { |
|
20 BufferedReader breader = new BufferedReader(new InputStreamReader(System.in)); |
|
21 |
|
22 breader.readLine(); |
|
23 breader.readLine(); |
|
24 breader.readLine(); |
|
25 } |
|
26 |
|
27 private static void writeMove() |
|
28 { |
|
29 System.out.println(1); |
|
30 System.out.println("I"); |
|
31 System.out.println(0); |
|
32 } |
|
33 |
|
34 public static void main(String[] args) throws IOException |
11 { |
35 { |
12 String playerNum = args[0]; |
36 String playerNum = args[0]; |
|
37 |
|
38 if("1".equals(playerNum)) |
|
39 { |
|
40 readOpponent(); |
|
41 } |
|
42 |
|
43 writeMove(); |
|
44 readOpponent(); |
13 } |
45 } |
14 } |
46 } |