Skip to content

Commit

Permalink
Replace static void solve() throws Exception with public static void …
Browse files Browse the repository at this point in the history
…main(String[] args) at AverageSpeed
  • Loading branch information
fatosmorina committed May 27, 2017
1 parent 96a4bea commit e20c1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UVa/AverageSpeed.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

public class AverageSpeed {

static void solve() throws Exception {
public static void main(String[] args) {
int speed = 0;
boolean reachedTheEnd = false;
Scanner input = new Scanner(System.in);
Expand Down

0 comments on commit e20c1d1

Please sign in to comment.