Teagan Dineen

Operations Specialist I at Recruitomics Consulting

Teagan Dineen is currently employed as an Operations Specialist I at Recruitomics Consulting, a position they have held since 2023. Prior to this role, they worked as a Consultant at Recruitomics Consulting.

package com.javarush.task.task18.task1801;

import java.io.BufferedReader;

import java.io.FileInputStream;

import java.io.InputStreamReader;

/*

Максимальный байт

*/

public class Solution {

public static void main(String[] args) throws Exception {

BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

String fileName = reader.readLine();

reader.close();

FileInputStream fileInputStream = new FileInputStream(fileName);

int maxByte = 0;

while (fileInputStream.available() > 0) {

int data = fileInputStream.read();

if (maxByte < data) {

maxByte = data;

}

}

fileInputStream.close();

System.out.println(maxByte);

}

}

Links


Org chart

Sign up to view 0 direct reports

Get started