You are viewing a single comment's thread. Return to all comments →
According to multiple manuals I can use input in a way like:
#!/bin/bash read X Y;
However my script doesn't pass all test scenarios. And everything is ok when I change it just to:
#!/bin/bash read X; read Y;
Now all test cases passed successfully. Took half an hour to figure it out here :)
Seems like cookies are disabled on this browser, please enable them to open this website
Comparing Numbers
You are viewing a single comment's thread. Return to all comments →
According to multiple manuals I can use input in a way like:
However my script doesn't pass all test scenarios. And everything is ok when I change it just to:
Now all test cases passed successfully. Took half an hour to figure it out here :)