aboutsummaryrefslogtreecommitdiff
path: root/problems/boatraceanalysis/attachments/template.java
blob: eba73418c14e7a9871570e1d1f9e412d17335d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import java.util.*;
import java.io.*;
import java.math.*;

class Solution {

    public static void main(String args[]) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        if (in.hasNextLine()) {
            in.nextLine();
        }
        for (int i = 0; i < n; i++) {
            String analysis = in.nextLine();
        }

        // Write an answer using System.out.println()
        // To debug: System.err.println("Debug messages...");

        System.out.println("one line per boat with its position or one line per analysis causing an error");
    }
}