We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Is there a upper limit on the length of the input that can be provided from the console (I'm using Ubuntu terminal)? It reads till 4095 characters from the input and then discards the rest. People who were able to finish this problem using Python3, I wonder how you managed to circumvent this.. Any leads on how may I proceed?
p = list(map(int, input().rstrip().split()))
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Maximizing the Profit
You are viewing a single comment's thread. Return to all comments →
Is there a upper limit on the length of the input that can be provided from the console (I'm using Ubuntu terminal)? It reads till 4095 characters from the input and then discards the rest. People who were able to finish this problem using Python3, I wonder how you managed to circumvent this.. Any leads on how may I proceed?
p = list(map(int, input().rstrip().split()))