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 ArchaeologistsDilemma
  • Loading branch information
fatosmorina committed May 27, 2017
1 parent 4c60bfb commit 96a4bea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion UVa/ArchaeologistsDilemma.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package uva;

/**
* An archeologist seeking proof of the presence of extraterrestrials in the Earth’s past, stumbles upon a
* partially destroyed wall containing strange chains of numbers. The left-hand part of these lines of digits
Expand Down Expand Up @@ -39,7 +41,7 @@ public class ArchaeologistsDilemma {
final static double LOG2 = Math.log(2.0);
final static double LOG2_10 = Math.log(10) / LOG2;

public static void solve() throws IOException {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
while (true) {
long N = input.nextLong();
Expand Down

0 comments on commit 96a4bea

Please sign in to comment.