Can I upload Jar file?

Hi,

It is first time to join CodeShef today.

Can I upload jar file on submit page?

I compiled and make the jar file form java classes…

because I saw an example in Sample Solution page

I tried upload the jar file, I faced errors…


Main.java:1: warning: unmappable character for encoding utf8
PK!??FMETA-INF/MANIFEST.MF???M??LK-.?

Main.java:2: illegal character: \0
K-*???R0?3???PKa??ePK??F


I set encoding utf8… but it still shows same errors…

Should I make all sources in only Main.java file?

You can write several classes in the same java file and this is far easier than submitting a jar file. I think nobody even bothers with those and in classical programming competitions working with jar files is extreme overkill.