System.currentTimeMillis()

Hi! I saw long start = System.currentTimeMillis(); on line 7 of this java solution: https://usaco.guide/problems/usaco-595-subsequences-summing-to-sevens/solution however, it wasn’t actually used in the solution code. Could someone please help clarify what that line does? I have never seen it before. Thank you!

System (Java Platform SE 7 ) (oracle.com)

1 Like

Wait why is that line of code even there though :laughing:

2 Likes

wait crap sorry lol
i put it there for timing purposes

1 Like