Не пойму в чём прикол, валидатор говорит неправильно мапу заполняю В самой задаче инт заменил на Integer в мапах
public Solution() {
    this.map = new HashMap<Integer, String>();
    map.put(index, name);
}

public static void main(String[] args) throws IOException {
    Solution solution = new Solution();
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

    for (int i = 0; i < 10; i++) {
        Integer index = Integer.parseInt(reader.readLine());

        String name = reader.readLine();
        solution.map.put(index, name);
    }