Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "fmt"
- //#system testing
- func main() {
- var t, n, m int
- request := []string{}
- fmt.Scan(&t) //count of possibilities for entering a value
- if 1 <= t && t <= 100 {
- for i := 0; i < t; i++ {
- fmt.Scan(&n, &m)
- if n >= 1 && m <= 100 {
- if n >= m {
- request = append([]string{"Yes"}, request...)
- } else {
- request = append([]string{"No"}, request...)
- }
- }
- }
- }
- for i := range request {
- fmt.Printf("%v\n", request[i])
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment