I tried solving 2 problems with JS, TEST and PRIME1, for TEST I got 1.54s what's going on here? obviously my time exceeded for PRIME1, I'm running locally with rhino same version and I'm getting ~2.50s for PRIME1 in worst case, is there something wrong with SPOJ's rhino?
so here is my TEST implementation:
importPackage(java.io);
importPackage(java.lang);
S = new BufferedReader( new InputStreamReader(System['in']) );
s = true;
s = S.readLine();
while (s != '42'){
print(s);
s = S.readLine();
}
pretty straight forward... why did I get 1.54s?