I tried coding the problem of sunny buildings but it is giving no element exception in java for Scanner class and for the BufferedReader class it gives number format exception whereas both codes are running perfectly fine in my Eclipse IDE ,giving no errors and displaying intended output. My code is same as the code in the video of the course.
Attached below are the snip of the errors.
Java Code not Supported
Probably you are not clear with scanner and bufferedreader input functions. The way you are inputting numbers is incorrect. Send the link of question and solution for me to correct it