WIP maya
This commit is contained in:
parent
81075f8920
commit
ae116cf138
1 changed files with 39 additions and 0 deletions
39
training/maya.go
Normal file
39
training/maya.go
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Auto-generated code below aims at helping you parse
|
||||||
|
* the standard input according to the problem statement.
|
||||||
|
**/
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
var L, H int
|
||||||
|
fmt.Scan(&L, &H)
|
||||||
|
mayaDigits := make(map[string]int)
|
||||||
|
|
||||||
|
for i := 0; i < H; i++ {
|
||||||
|
var numeral string
|
||||||
|
fmt.Scan(&numeral)
|
||||||
|
}
|
||||||
|
var S1 int
|
||||||
|
fmt.Scan(&S1)
|
||||||
|
|
||||||
|
for i := 0; i < S1; i++ {
|
||||||
|
var num1Line string
|
||||||
|
fmt.Scan(&num1Line)
|
||||||
|
}
|
||||||
|
var S2 int
|
||||||
|
fmt.Scan(&S2)
|
||||||
|
|
||||||
|
for i := 0; i < S2; i++ {
|
||||||
|
var num2Line string
|
||||||
|
fmt.Scan(&num2Line)
|
||||||
|
}
|
||||||
|
var operation string
|
||||||
|
fmt.Scan(&operation)
|
||||||
|
|
||||||
|
|
||||||
|
// fmt.Fprintln(os.Stderr, "Debug messages...")
|
||||||
|
fmt.Println("result")// Write answer to stdout
|
||||||
|
}
|
Loading…
Reference in a new issue