diff options
Diffstat (limited to 'problems/raidtime/attachments/template.java')
-rw-r--r-- | problems/raidtime/attachments/template.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/problems/raidtime/attachments/template.java b/problems/raidtime/attachments/template.java new file mode 100644 index 0000000..773f5c9 --- /dev/null +++ b/problems/raidtime/attachments/template.java @@ -0,0 +1,29 @@ +import java.util.*; +import java.io.*; +import java.math.*; + +class Solution { + + public static void main(String args[]) { + Scanner in = new Scanner(System.in); + int w = in.nextInt(); + if (in.hasNextLine()) { + in.nextLine(); + } + for (int i = 0; i < w; i++) { + String wall = in.nextLine(); + } + int d = in.nextInt(); + if (in.hasNextLine()) { + in.nextLine(); + } + for (int i = 0; i < d; i++) { + String door = in.nextLine(); + } + + // Write an answer using System.out.println() + // To debug: System.err.println("Debug messages..."); + + System.out.println("0 C4 needed to go through 0 walls"); + } +} |