Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sleroq committed Dec 3, 2022
1 parent bc916fd commit 410b2b7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions 2/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func round1(rounds [][]int) {
points += 3
}

if round[1] - 1 == round[0] {
if round[1]-1 == round[0] {
points += 6
}

Expand All @@ -70,20 +70,18 @@ func round1(rounds [][]int) {
log.Println("Ponts:", points)
}


func round2(rounds [][]int) {
win := map[int]int{
1: 3,
2: 1,
3: 2,
}
lose := map[int]int{
3:1,
1:2,
2:3,
3: 1,
1: 2,
2: 3,
}


points := 0
for _, round := range rounds {

Expand Down

0 comments on commit 410b2b7

Please sign in to comment.