Fix stu[id fortran bug

This commit is contained in:
Bill Rossi 2023-12-24 21:46:02 -05:00
parent a9ef0dce69
commit 708e2caf3c

View File

@ -11,10 +11,10 @@ program problem
read(unit) input
do i=1, input_file_size
do i=0, input_file_size - 1
if (input(i:i) == "(") then
floor = floor + 1
else
else if (input(i:i) == ")") then
floor = floor - 1
end if
end do