Replies: 2 comments 1 reply
-
@Maxed0utt |
Beta Was this translation helpful? Give feedback.
-
It looks like you're using an infinite loop here, collecting numbers from stdin. FastOlympicCoding is designed in such a way that it will read UI stdin until it runs out, send it to program's stdin in parallel, print to UI stdout immediately when the program flushes something to its stdout (also in parallel). So what's happening here is that it's just waiting indefinitely for the next number.
I have never seen a competitive programming problem with a variable amount of input numbers without an end condition. So either write this condition in your code, or output in parallel (if the task is suitable for this). Imagine that you are running this code in a regular console - try it yourself ( |
Beta Was this translation helpful? Give feedback.
-
Hi Friends!
I really can't seem to figure out how to properly use this amazing plugin with Java code!
I don't understand how the inputs and outputs work after I have clicked run on my tests, If anyone can help me understand how to use the plugin properly and what I am doing wrong I would be greatly appreciative! I have attached a screenshot of what I am currently trying when using this plugin.
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions