Fixed a bug when running multiple times

This commit is contained in:
2020-07-09 12:13:08 -04:00
parent 139540e4f0
commit 44cbc2970c

View File

@@ -27,9 +27,10 @@ public class Problem31 extends Problem{
private int permutations;
public Problem31(){
super("How many different ways can 2 pounds be made using any number of coins?");
permutations = 0;
}
public void solve(){
permutations = 0;
//Start the timer
timer.start();