Hi everybody,
I am new to SPOJ. Still, I am trying to submit my first solution. But, every time I submit a solution there is a compilation error;
"Main.java:3: class Test is public, should be declared in a file named Test.java
public class Test"
^
But, my code works with netbeans, and also written code in palin text editor.
I think there is a problem in my code, but not in the algorithm. So, please show me complete code(without algorithm) that compatible with SPOJ text editor.
Thank you.