I tried Atcoder, so it's a memo for myself. I plan to add and correct it later.
https://atcoder.jp/contests/abl
A
Q_A.go
package main
import (
    "fmt"
)
func main() {
    var k int
    fmt.Scanf("%d", &k)
	
	var s string = ""
	for i := 0; i<k; i++{
		s += "ACL"
	}
    fmt.Printf("%s\n", s)
}
B
Q_B.go
package main
import (
    "fmt"
)
func main() {
    var a, b, c, d uint64
    fmt.Scanf("%d %d %d %d", &a, &b, &c, &d)
	
	var s string
	if (a<=d && c <= b) || (c <= b && a<=d) {
		s = "Yes"
	} else {
		s = "No"
	}
    fmt.Printf("%s\n", s)
}
C If you remember, I will write it later.
D If you remember, I will write it later.
E If you remember, I will write it later.
F If you remember, I will write it later.
Recommended Posts