public class MyClass {
public static void main(String args[]) {
long startTime = System.currentTimeMillis();
for (int i = 0; i < 2000000; i++);
long estimatedTime = System.currentTimeMillis() - startTime;
System.out.println(estimatedTime);
}
}
/*
run:
3
*/