Skip to content

Commit 7049ef7

Browse files
committed
Replace static void solve() throws Exception with public static void main(String[] args) at NumberingRoads
1 parent ce08469 commit 7049ef7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

UVa/NumberingRoads.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,13 @@
3636
* Case 2: impossible
3737
*/
3838

39-
4039
//https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2823
4140

4241
import java.util.Scanner;
4342

4443
public class NumberingRoads {
4544

46-
static void solve() throws Exception {
45+
public static void main(String[] args) {
4746
Scanner input = new Scanner(System.in);
4847
int caseNumber = 1;
4948
while (true) {

0 commit comments

Comments
 (0)