Why giving AC even if my solution took 1.8 sec (limit was 1 sec)?

i did not get points though ( not all test cases were correct) i wrote in java

JAVA gets twice the specified time (link to blog post) due to intrinsic language speed.