Arthur Ashe

Table of Contents

You should know tennis to do this (maybe).

Problem

Welcome to the Arthur Ashe stadium!
We'll keep sending you scores if you keep sending us who wins (0 or 1).
Do try to keep the crowd happy, won't you [Y/n]?

My answer is no.

Script 1

import sys
import socket
import time
import math


def get_result(first: str, second: str) -> str:
    if first == 'love':
        return "1"
    if second == 'love' :
        return "0"
    if first == 'set' or first == 'game':
        return "0"
    if second == 'set' or second == 'game':
        return "1"
    first_score = int(first)
    second_score = int(second)
    if first_score < second_score:
        return '1'
    else:
        return '0'



def netcat(hostname: str, port: int):
    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    sock.connect((hostname, port))
    first_flag = True
    answer = ""
    while True:
        data = sock.recv(1024)
        res = data.decode()
        res = res.strip()
        print(res)
        if res == "You did great!  Thank you!":
            print(answer)
            return
        if first_flag:
            first_flag = False
            sock.send('n\n'.encode())
            continue
        question = res.split(" ")
        query = question[6]
        query = query.rstrip('.')
        query = query.split('-')
        a = get_result(query[0], query[1])
        answer = answer + a
        print(a)
        a = a + "\n"
        sock.send(a.encode())
    sock.close()


hostname_ = "arthurashe.ctf.umbccd.io"
port_ = int(8411)

netcat(hostname_, port_)

Output 1.1

Welcome to the Arthur Ashe stadium!  We'll keep sending you scores if you keep sending us who wins (0 or 1).  Do try to keep the crowd happy, won't you [Y/n]?
The result of this game is 15-love.
0
The result of this match is 2-3.
1
The result of this set is set-4.
0
The result of this match is 2-3.
1
The result of this game is 15-love.
0
The result of this game is 30-game.
1
The result of this match is 1-love.
0
The result of this match is 2-love.
0
The result of this match is 3-1.
0
The result of this set is 1-set.
1
The result of this match is 2-3.
1
The result of this game is 40-15.
0
The result of this match is love-2.
1
The result of this match is 3-love.
0
The result of this set is 5-3.
0
The result of this game is 40-15.
0
The result of this game is 30-love.
0
The result of this match is 1-2.
1
The result of this match is 1-3.
1
The result of this match is 2-love.
0
The result of this match is 2-love.
0
The result of this match is love-1.
1
The result of this match is 3-1.
0
The result of this set is 5-set.
1
The result of this set is set-1.
0
The result of this set is 2-love.
0
The result of this game is 30-game.
1
The result of this game is game-30.
0
The result of this match is 2-1.
0
The result of this set is 5-2.
0
The result of this game is game-love.
0
The result of this game is game-love.
0
The result of this match is 2-love.
0
The result of this set is love-set.
1
The result of this game is 40-15.
0
The result of this set is 5-love.
0
The result of this match is 3-love.
0
The result of this set is love-set.
1
The result of this set is 4-set.
1
The result of this game is 30-love.
0
The result of this match is 3-love.
0
The result of this match is 1-3.
1
The result of this game is 15-40.
1
The result of this match is 2-1.
0
The result of this game is 40-game.
1
The result of this match is 1-2.
1
The result of this game is 40-love.
0
The result of this match is 2-love.
0
The result of this game is 30-love.
0
The result of this match is 2-3.
1
The result of this game is 15-40.
1
The result of this game is game-30.
0
The result of this set is 3-love.
0
The result of this match is 3-love.
0
The result of this game is 15-love.
0
The result of this match is love-3.
1
The result of this game is game-15.
0
The result of this match is love-2.
1
The result of this match is love-2.
1
The result of this match is 3-1.
0
The result of this game is game-love.
0
The result of this match is 1-2.
1
The result of this game is 40-game.
1
The result of this match is love-1.
1
The result of this game is 40-love.
0
The result of this match is 1-love.
0
The result of this match is 1-3.
1
The result of this game is game-30.
0
The result of this match is 3-1.
0
The result of this game is game-40.
0
The result of this game is 15-love.
0
The result of this game is game-love.
0
The result of this match is 3-1.
0
The result of this match is love-1.
1
The result of this set is 4-set.
1
The result of this match is 3-love.
0
The result of this match is 1-3.
1
The result of this game is game-30.
0
The result of this match is 2-love.
0
The result of this set is 1-4.
1
The result of this set is 4-3.
0
The result of this game is love-30.
1
The result of this game is 40-game.
1
The result of this set is love-set.
1
The result of this game is 40-30.
0
The result of this set is 5-3.
0
The result of this game is 15-30.
1
The result of this match is love-1.
1
The result of this game is 30-love.
0
The result of this match is 3-2.
0
The result of this set is 5-set.
1
The result of this game is game-30.
0
The result of this game is 30-love.
0
The result of this game is game-love.
0
The result of this game is 40-15.
0
The result of this set is 3-2.
0
The result of this match is 2-love.
0
The result of this game is 15-40.
1
The result of this game is game-love.
0
The result of this match is 3-2.
0
The result of this game is game-love.
0
The result of this game is love-15.
1
The result of this game is game-30.
0
The result of this match is 3-2.
0
The result of this set is 1-love.
0
The result of this set is 1-set.
1
The result of this set is 5-set.
1
The result of this match is 3-1.
0
The result of this set is 2-love.
0
The result of this game is game-love.
0
The result of this match is 2-love.
0
The result of this match is 1-3.
1
The result of this set is 1-love.
0
The result of this game is 30-game.
1
The result of this match is love-2.
1
The result of this set is 3-set.
1
The result of this match is 2-love.
0
The result of this set is love-4.
1
The result of this game is 15-30.
1
The result of this match is love-1.
1
The result of this match is 3-2.
0
The result of this match is 2-3.
1
The result of this set is 1-5.
1
The result of this set is 5-1.
0
The result of this set is set-1.
0
The result of this game is love-game.
1
The result of this set is 1-set.
1
The result of this game is 15-game.
1
The result of this set is 5-3.
0
The result of this set is 3-5.
1
The result of this game is 40-15.
0
The result of this match is 3-2.
0
The result of this match is 2-1.
0
The result of this match is 2-1.
0
The result of this set is love-2.
1
The result of this game is love-game.
1
The result of this match is 3-love.
0
The result of this set is 1-5.
1
The result of this match is 2-1.
0
The result of this set is love-set.
1
The result of this set is 2-love.
0
The result of this match is love-3.
1
The result of this set is 4-love.
0
The result of this set is 3-1.
0
The result of this match is 3-1.
0
The result of this match is love-2.
1
The result of this game is 15-love.
0
The result of this match is 2-love.
0
The result of this game is 30-love.
0
The result of this match is 2-3.
1
The result of this set is 1-set.
1
The result of this set is 5-love.
0
The result of this set is 5-1.
0
The result of this match is love-1.
1
The result of this game is 15-30.
1
The result of this set is 3-4.
1
The result of this game is love-game.
1
The result of this match is 2-1.
0
The result of this set is love-5.
1
The result of this game is 40-game.
1
The result of this match is 3-2.
0
The result of this game is love-game.
1
The result of this set is 5-1.
0
The result of this game is 30-love.
0
The result of this game is 40-game.
1
The result of this set is love-2.
1
The result of this match is 3-love.
0
The result of this set is set-4.
0
The result of this set is 5-1.
0
The result of this game is 40-30.
0
The result of this set is love-set.
1
The result of this set is love-5.
1
The result of this match is 3-2.
0
The result of this game is 40-15.
0
The result of this game is game-love.
0
The result of this match is 1-love.
0
The result of this game is 40-love.
0
The result of this match is 2-3.
1
The result of this game is love-40.
1
The result of this match is love-3.
1
The result of this set is 3-1.
0
The result of this match is 1-2.
1
The result of this match is love-1.
1
The result of this game is game-love.
0
The result of this match is 1-love.
0
The result of this set is set-3.
0
The result of this game is 30-game.
1
The result of this match is love-1.
1
The result of this match is 3-love.
0
The result of this set is set-4.
0
The result of this match is love-2.
1
The result of this game is love-30.
1
The result of this set is 4-1.
0
The result of this set is 2-5.
1
The result of this game is game-30.
0
The result of this match is 2-3.
1
The result of this set is 3-set.
1
The result of this match is love-1.
1
The result of this match is 1-3.
1
The result of this match is 1-2.
1
The result of this match is 1-love.
0
The result of this match is love-2.
1
The result of this game is 40-love.
0
The result of this set is 3-1.
0
The result of this set is love-set.
1
The result of this set is love-4.
1
The result of this game is 40-love.
0
The result of this match is love-2.
1
The result of this match is 3-love.
0
The result of this set is love-5.
1
The result of this match is love-2.
1
The result of this game is 30-15.
0
The result of this game is game-30.
0
The result of this set is 1-5.
1
The result of this set is 5-love.
0
The result of this game is 30-game.
1
The result of this set is 5-1.
0
The result of this set is 1-5.
1
The result of this match is 2-love.
0
The result of this match is 3-2.
0
The result of this set is set-4.
0
The result of this game is game-40.
0
The result of this game is 40-love.
0
The result of this match is 3-love.
0
The result of this set is 5-2.
0
The result of this match is 2-3.
1
The result of this set is love-3.
1
The result of this match is 3-1.
0
The result of this game is 30-game.
1
The result of this match is love-1.
1
The result of this match is 1-2.
1
The result of this match is 2-love.
0
The result of this set is 4-love.
0
The result of this set is 2-love.
0
The result of this game is 30-40.
1
The result of this set is love-5.
1
The result of this game is 15-love.
0
The result of this set is love-5.
1
The result of this set is 5-1.
0
The result of this set is love-set.
1
The result of this match is 2-1.
0
The result of this game is love-game.
1
The result of this match is 3-2.
0
The result of this set is 1-set.
1
The result of this match is 2-3.
1
The result of this match is 2-3.
1
The result of this set is 1-5.
1
The result of this set is love-set.
1
The result of this set is 5-love.
0
The result of this set is 4-set.
1
The result of this game is game-40.
0
The result of this match is 3-love.
0
The result of this set is love-2.
1
The result of this set is 2-3.
1
The result of this match is love-2.
1
The result of this set is set-3.
0
The result of this match is 2-love.
0
The result of this game is 30-love.
0
The result of this game is love-30.
1
The result of this set is 1-set.
1
The result of this match is 2-1.
0
The result of this set is set-4.
0
The result of this game is 40-love.
0
The result of this game is 30-love.
0
The result of this set is 4-love.
0
The result of this set is 3-1.
0
The result of this set is love-3.
1
The result of this match is 1-3.
1
The result of this game is 30-love.
0
The result of this match is love-2.
1
The result of this game is 30-game.
1
The result of this set is love-5.
1
The result of this set is 4-love.
0
The result of this match is 1-3.
1
The result of this game is love-game.
1
The result of this game is game-30.
0
The result of this set is love-5.
1
The result of this set is 4-1.
0
The result of this set is 5-4.
0
The result of this match is 2-1.
0
The result of this game is game-30.
0
The result of this game is game-love.
0
The result of this match is love-2.
1
The result of this match is love-2.
1
The result of this set is 5-1.
0
The result of this game is 30-love.
0
The result of this match is 3-love.
0
The result of this game is 30-game.
1
The result of this match is 3-love.
0
The result of this game is 40-game.
1
The result of this set is 2-set.
1
The result of this match is 1-love.
0
The result of this match is 1-2.
1
The result of this match is love-3.
1
The result of this match is love-3.
1
The result of this game is 40-15.
0
The result of this match is 2-love.
0
The result of this game is 40-game.
1
The result of this set is 1-5.
1
The result of this game is 15-love.
0
The result of this game is 40-30.
0
The result of this game is love-30.
1
The result of this match is love-2.
1
The result of this set is love-3.
1
The result of this match is 3-1.
0
The result of this game is love-15.
1
The result of this game is game-love.
0
The result of this game is 15-30.
1
The result of this match is 2-3.
1
The result of this set is love-5.
1
The result of this game is 15-30.
1
The result of this game is 40-game.
1
The result of this set is set-4.
0
The result of this game is game-love.
0
The result of this game is love-40.
1
The result of this match is 1-love.
0
The result of this match is 3-1.
0
The result of this set is 5-3.
0
The result of this set is set-5.
0
The result of this set is 3-5.
1
The result of this match is 3-2.
0
The result of this match is love-2.
1
The result of this set is 1-3.
1
The result of this match is 2-1.
0
The result of this match is 1-3.
1
The result of this game is 15-30.
1
The result of this game is 15-game.
1
The result of this set is set-2.
0
The result of this game is 40-love.
0
The result of this game is love-30.
1
The result of this match is 2-1.
0
The result of this match is love-1.
1
The result of this game is 15-30.
1
The result of this set is 1-2.
1
The result of this set is love-3.
1
The result of this set is 1-3.
1
The result of this match is 2-love.
0
The result of this match is love-3.
1
The result of this game is 30-15.
0
The result of this match is 1-2.
1
The result of this game is 40-30.
0
The result of this match is 2-3.
1
The result of this set is set-1.
0
The result of this set is set-love.
0
The result of this set is 2-1.
0
The result of this match is 3-love.
0
The result of this set is 4-set.
1
The result of this set is 1-love.
0
The result of this match is 2-1.
0
The result of this match is 2-love.
0
The result of this match is love-1.
1
The result of this game is 40-game.
1
The result of this match is 3-1.
0
The result of this match is 1-2.
1
The result of this game is 15-30.
1
The result of this match is 3-love.
0
The result of this set is 5-4.
0
The result of this game is 15-game.
1
The result of this match is 1-love.
0
The result of this game is 40-game.
1
The result of this set is set-1.
0
The result of this game is 15-game.
1
The result of this game is game-15.
0
The result of this set is 3-5.
1
The result of this game is 15-30.
1
The result of this game is love-30.
1
The result of this game is 40-game.
1
The result of this game is 30-game.
1
The result of this match is 3-love.
0
The result of this match is 1-2.
1
The result of this game is game-40.
0
The result of this game is 15-love.
0
The result of this match is 3-1.
0
The result of this set is love-set.
1
The result of this game is love-15.
1
The result of this game is 30-game.
1
The result of this set is 1-love.
0
The result of this match is love-3.
1
The result of this match is 3-1.
0
The result of this set is 5-3.
0
The result of this set is 5-love.
0
The result of this set is 2-love.
0
The result of this match is 3-1.
0
The result of this game is 30-love.
0
The result of this game is game-30.
0
The result of this set is love-2.
1
The result of this match is love-2.
1
The result of this match is 2-1.
0
The result of this game is 40-game.
1
The result of this set is 1-2.
1
The result of this match is 3-2.
0
The result of this set is 1-set.
1
The result of this set is set-1.
0
The result of this match is 3-1.
0
The result of this set is 1-5.
1
The result of this match is love-3.
1
The result of this set is 5-1.
0
The result of this match is 3-love.
0
The result of this set is 3-5.
1
The result of this game is 40-game.
1
The result of this set is 5-love.
0
The result of this set is 1-3.
1
The result of this set is set-2.
0
The result of this set is 4-set.
1
The result of this set is 3-5.
1
The result of this game is 30-game.
1
The result of this set is love-3.
1
The result of this match is 1-3.
1
The result of this game is 15-love.
0
The result of this set is 2-set.
1
The result of this match is 3-2.
0
The result of this game is 30-love.
0
The result of this game is 30-40.
1
The result of this game is 15-40.
1
The result of this game is love-30.
1
The result of this set is 4-set.
1
The result of this match is 1-love.
0
The result of this set is 1-5.
1
The result of this match is love-3.
1
The result of this set is set-love.
0
The result of this set is 4-love.
0
The result of this match is love-3.
1
The result of this set is 1-set.
1
The result of this game is 40-15.
0
The result of this match is 3-love.
0
The result of this set is 3-set.
1
The result of this game is 30-15.
0
The result of this match is 1-2.
1
The result of this match is 1-2.
1
The result of this match is 1-2.
1
The result of this game is 15-30.
1
The result of this game is love-game.
1
The result of this set is 4-love.
0
The result of this game is love-40.
1
The result of this game is 30-love.
0
The result of this game is love-15.
1
The result of this set is 2-1.
0
The result of this set is 1-4.
1
The result of this match is 1-love.
0
The result of this match is 1-love.
0
The result of this game is 40-love.
0
The result of this match is 2-love.
0
The result of this set is 1-5.
1
The result of this game is love-15.
1
The result of this set is 3-love.
0
The result of this game is game-30.
0
The result of this game is 30-40.
1
The result of this match is love-2.
1
The result of this game is 15-love.
0
The result of this game is 15-40.
1
The result of this set is love-1.
1
The result of this match is 3-2.
0
The result of this set is 3-5.
1
The result of this set is love-4.
1
The result of this set is love-set.
1
The result of this set is 5-love.
0
The result of this game is 30-15.
0
The result of this match is 2-3.
1
The result of this set is 4-set.
1
The result of this set is 5-4.
0
The result of this match is love-2.
1
The result of this set is 2-5.
1
The result of this set is love-set.
1
The result of this match is 3-1.
0
The result of this match is 2-love.
0
The result of this game is game-love.
0
The result of this game is 15-40.
1
The result of this set is 4-5.
1
The result of this set is set-1.
0
The result of this match is 1-love.
0
The result of this game is 40-15.
0
The result of this match is love-3.
1
The result of this set is 5-3.
0
The result of this game is 40-love.
0
The result of this game is 30-game.
1
The result of this match is 1-2.
1
The result of this match is 2-1.
0
The result of this game is love-15.
1
The result of this match is 3-love.
0
The result of this game is 40-game.
1
The result of this set is 4-1.
0
The result of this game is 40-15.
0
The result of this match is 1-2.
1
The result of this match is 3-love.
0
The result of this match is 1-3.
1
The result of this game is 15-30.
1
The result of this set is love-5.
1
The result of this set is set-1.
0
The result of this match is 3-1.
0
The result of this set is love-2.
1
The result of this set is love-4.
1
The result of this game is 30-game.
1
The result of this match is love-2.
1
The result of this game is 30-40.
1
The result of this game is game-30.
0
The result of this game is 40-game.
1
The result of this match is 3-love.
0
The result of this set is 5-1.
0
The result of this set is 5-set.
1
The result of this game is 40-love.
0
The result of this set is 1-set.
1
The result of this game is 15-40.
1
The result of this game is love-40.
1
The result of this match is 3-1.
0
You did great!  Thank you!
010101000110100001100101001000000100011001101100011000010110011100100000011010010111001100100000010001000110000101110111011001110100001101010100010001100111101101001100001100000111011000110011010111110100110101100101010000000110111000110101010111110100111000110000001101110110100000110001011011100110011101011111001000010110111001011111010101000010001101100101010111110100011101000000011011010011001101011111010011110110011001011111010101000011001101101110011011100011000100110101001011100111110100101110

Output 1.2

Welcome to the Arthur Ashe stadium!  We'll keep sending you scores if you keep sending us who wins (0 or 1).  Do try to keep the crowd happy, won't you [Y/n]?
The result of this match is 3-2.
0
The result of this set is love-set.
1
The result of this match is 2-love.
0
The result of this match is love-1.
1
The result of this match is 3-love.
0
The result of this game is love-15.
1
The result of this set is 5-4.
0
The result of this set is 4-3.
0
The result of this game is 30-15.
0
The result of this set is love-2.
1
The result of this set is 3-4.
1
The result of this match is 3-2.
0
The result of this match is love-3.
1
The result of this set is 2-love.
0
The result of this match is 3-1.
0
The result of this set is set-love.
0
The result of this set is set-5.
0
The result of this match is love-3.
1
The result of this game is 30-game.
1
The result of this game is game-40.
0
The result of this game is game-30.
0
The result of this game is love-15.
1
The result of this set is set-3.
0
The result of this set is 4-set.
1
The result of this match is 2-1.
0
The result of this game is 40-15.
0
The result of this game is love-game.
1
The result of this match is 2-love.
0
The result of this set is set-4.
0
The result of this set is 4-3.
0
The result of this set is set-1.
0
The result of this match is 1-love.
0
The result of this match is 2-1.
0
The result of this set is love-set.
1
The result of this match is 3-love.
0
The result of this game is 40-30.
0
The result of this set is 4-love.
0
The result of this match is love-1.
1
The result of this game is 15-40.
1
The result of this match is 3-1.
0
The result of this match is 3-love.
0
The result of this game is 15-40.
1
The result of this match is love-2.
1
The result of this game is 15-love.
0
The result of this match is love-2.
1
The result of this set is love-5.
1
The result of this set is set-4.
0
The result of this set is 5-love.
0
The result of this game is 30-15.
0
The result of this match is love-2.
1
The result of this match is 1-2.
1
The result of this match is 2-1.
0
The result of this game is game-love.
0
The result of this match is 3-2.
0
The result of this set is 3-2.
0
The result of this match is love-1.
1
The result of this game is game-40.
0
The result of this match is 1-2.
1
The result of this game is 40-game.
1
The result of this game is 30-15.
0
The result of this game is game-15.
0
The result of this set is 1-3.
1
The result of this set is 3-5.
1
The result of this set is love-2.
1
The result of this match is 3-1.
0
The result of this set is 5-1.
0
The result of this game is 40-game.
1
The result of this game is 30-love.
0
The result of this match is 3-2.
0
The result of this set is 2-love.
0
The result of this set is 5-1.
0
The result of this game is game-30.
0
The result of this set is 4-3.
0
The result of this game is 40-game.
1
The result of this game is 15-40.
1
The result of this set is set-1.
0
The result of this match is love-2.
1
The result of this game is 40-15.
0
The result of this match is 3-1.
0
The result of this game is 30-40.
1
The result of this set is set-2.
0
The result of this set is 1-5.
1
The result of this match is 1-2.
1
The result of this match is 1-2.
1
The result of this match is 3-2.
0
The result of this set is 1-love.
0
The result of this game is 15-game.
1
The result of this game is 15-30.
1
The result of this set is 5-2.
0
The result of this match is 2-love.
0
The result of this game is love-30.
1
The result of this set is 4-love.
0
The result of this match is 3-1.
0
The result of this match is 3-2.
0
The result of this game is game-40.
0
The result of this game is game-love.
0
The result of this set is set-love.
0
The result of this set is 1-set.
1
The result of this match is 2-love.
0
The result of this match is 2-love.
0
The result of this set is 5-2.
0
The result of this match is love-2.
1
The result of this game is game-15.
0
The result of this game is game-15.
0
The result of this match is 1-love.
0
The result of this set is 1-set.
1
The result of this set is love-set.
1
The result of this game is game-love.
0
The result of this set is 1-love.
0
The result of this set is 5-4.
0
The result of this match is 3-2.
0
The result of this match is love-2.
1
The result of this match is 3-love.
0
The result of this match is 1-3.
1
The result of this set is 4-5.
1
The result of this game is 30-game.
1
The result of this game is 30-love.
0
The result of this match is love-2.
1
The result of this game is love-game.
1
The result of this match is 1-3.
1
The result of this match is 2-love.
0
The result of this set is love-2.
1
The result of this set is 1-set.
1
The result of this set is 5-love.
0
The result of this game is game-30.
0
The result of this match is 1-3.
1
The result of this game is 15-game.
1
The result of this match is love-3.
1
The result of this game is 40-love.
0
The result of this set is 4-5.
1
The result of this game is 40-30.
0
The result of this set is 4-love.
0
The result of this set is 3-1.
0
The result of this set is 3-love.
0
The result of this game is 40-game.
1
The result of this set is 5-set.
1
The result of this match is 2-love.
0
The result of this game is 30-game.
1
The result of this match is 3-1.
0
The result of this set is love-2.
1
The result of this match is 2-1.
0
The result of this game is love-40.
1
The result of this match is 1-love.
0
The result of this match is 2-love.
0
The result of this game is 40-love.
0
The result of this game is 40-game.
1
The result of this set is set-4.
0
The result of this game is game-love.
0
The result of this set is 5-1.
0
The result of this match is love-2.
1
The result of this set is 1-5.
1
The result of this game is 40-30.
0
The result of this set is 5-1.
0
The result of this game is love-15.
1
The result of this set is 4-set.
1
The result of this match is 1-3.
1
The result of this match is love-1.
1
The result of this set is 2-love.
0
The result of this set is love-set.
1
The result of this game is love-30.
1
The result of this match is 3-love.
0
The result of this match is 2-3.
1
The result of this match is 3-love.
0
The result of this match is 2-love.
0
The result of this game is love-30.
1
The result of this match is love-1.
1
The result of this match is 3-2.
0
The result of this match is 2-1.
0
The result of this game is 40-15.
0
The result of this match is 2-1.
0
The result of this set is love-set.
1
The result of this set is 1-5.
1
The result of this match is 3-1.
0
The result of this set is 2-love.
0
The result of this set is 3-love.
0
The result of this game is game-love.
0
The result of this game is game-love.
0
The result of this game is love-30.
1
The result of this match is love-3.
1
The result of this set is love-2.
1
The result of this game is game-40.
0
The result of this match is 2-3.
1
The result of this set is 1-set.
1
The result of this match is 2-1.
0
The result of this set is 3-love.
0
The result of this match is 1-love.
0
The result of this game is love-15.
1
The result of this match is 1-3.
1
The result of this game is game-love.
0
The result of this set is set-1.
0
The result of this set is love-4.
1
The result of this match is 1-3.
1
The result of this set is 2-1.
0
The result of this game is 15-40.
1
The result of this match is 2-love.
0
The result of this set is 1-set.
1
The result of this game is love-30.
1
The result of this game is 15-40.
1
The result of this set is 1-set.
1
The result of this match is 1-3.
1
The result of this set is 3-1.
0
The result of this match is love-2.
1
The result of this match is 3-1.
0
The result of this match is 1-love.
0
The result of this set is love-set.
1
The result of this game is 30-game.
1
The result of this set is set-5.
0
The result of this set is 1-set.
1
The result of this game is 40-15.
0
The result of this match is love-1.
1
The result of this set is 3-4.
1
The result of this match is 2-love.
0
The result of this set is 1-love.
0
The result of this match is 1-3.
1
The result of this set is set-4.
0
The result of this match is love-1.
1
The result of this game is game-love.
0
The result of this match is 2-3.
1
The result of this match is 3-love.
0
The result of this game is game-love.
0
The result of this match is 2-love.
0
The result of this set is 3-love.
0
The result of this game is game-30.
0
The result of this game is 30-love.
0
The result of this set is set-love.
0
The result of this game is 30-40.
1
The result of this set is love-4.
1
The result of this set is 1-love.
0
The result of this game is 40-game.
1
The result of this set is 1-5.
1
The result of this set is love-4.
1
The result of this game is game-15.
0
The result of this set is set-2.
0
The result of this match is 2-love.
0
The result of this set is love-5.
1
The result of this game is love-15.
1
The result of this set is 5-3.
0
The result of this match is 1-2.
1
The result of this set is 1-love.
0
The result of this set is 1-set.
1
The result of this match is 2-love.
0
The result of this set is 2-3.
1
The result of this match is 1-love.
0
The result of this game is 40-game.
1
The result of this set is 1-4.
1
The result of this set is 1-5.
1
The result of this set is 4-5.
1
The result of this game is love-15.
1
The result of this game is 30-love.
0
The result of this match is 1-3.
1
The result of this match is 3-love.
0
The result of this set is set-1.
0
The result of this match is 1-3.
1
The result of this match is 1-3.
1
The result of this set is 2-set.
1
The result of this match is 3-2.
0
The result of this match is 2-1.
0
The result of this game is game-love.
0
The result of this game is love-40.
1
The result of this match is love-2.
1
The result of this game is 40-15.
0
The result of this match is 2-love.
0
The result of this game is 40-30.
0
The result of this game is 30-love.
0
The result of this game is 30-15.
0
The result of this set is 4-1.
0
The result of this set is 3-4.
1
The result of this game is love-game.
1
The result of this set is set-4.
0
The result of this match is love-1.
1
The result of this set is love-5.
1
The result of this match is 1-2.
1
The result of this game is 40-love.
0
The result of this game is 15-40.
1
The result of this game is 15-game.
1
The result of this game is 40-15.
0
The result of this game is love-game.
1
The result of this set is set-4.
0
The result of this game is game-40.
0
The result of this match is 2-1.
0
The result of this match is 1-love.
0
The result of this set is 5-love.
0
The result of this match is love-2.
1
The result of this set is 2-3.
1
The result of this game is 40-15.
0
The result of this set is 5-1.
0
The result of this match is 2-1.
0
The result of this set is 4-5.
1
The result of this set is set-2.
0
The result of this match is love-1.
1
The result of this set is 2-set.
1
The result of this game is game-30.
0
The result of this game is 30-game.
1
The result of this set is love-4.
1
The result of this match is love-2.
1
The result of this set is 5-love.
0
The result of this game is 40-love.
0
The result of this game is 30-game.
1
The result of this match is love-2.
1
The result of this match is 2-1.
0
The result of this set is 4-love.
0
The result of this match is 1-2.
1
The result of this game is love-40.
1
The result of this game is love-game.
1
The result of this match is 1-love.
0
The result of this game is 15-game.
1
The result of this match is 3-1.
0
The result of this match is love-2.
1
The result of this match is love-1.
1
The result of this game is 40-game.
1
The result of this match is 1-3.
1
The result of this match is 1-3.
1
The result of this set is set-love.
0
The result of this match is 2-1.
0
The result of this game is love-30.
1
The result of this set is 4-love.
0
The result of this game is game-love.
0
The result of this match is 2-1.
0
The result of this game is game-40.
0
The result of this set is 3-5.
1
The result of this game is game-40.
0
The result of this game is love-game.
1
The result of this set is love-1.
1
The result of this game is 40-30.
0
The result of this set is love-3.
1
The result of this match is love-2.
1
The result of this set is 1-3.
1
The result of this set is set-4.
0
The result of this set is 3-2.
0
The result of this match is 2-3.
1
The result of this game is 40-15.
0
The result of this game is 15-30.
1
The result of this set is 1-3.
1
The result of this set is 5-set.
1
The result of this match is 1-3.
1
The result of this match is 1-2.
1
The result of this match is 1-love.
0
The result of this game is 15-40.
1
The result of this match is 3-1.
0
The result of this set is 1-3.
1
The result of this game is 30-15.
0
The result of this set is 4-set.
1
The result of this game is 40-15.
0
The result of this set is 5-1.
0
The result of this match is 3-1.
0
The result of this game is 30-love.
0
The result of this set is 1-2.
1
The result of this game is game-40.
0
The result of this game is game-40.
0
The result of this set is set-love.
0
The result of this set is 5-set.
1
The result of this game is 40-game.
1
The result of this match is 2-love.
0
The result of this set is love-1.
1
The result of this match is 2-3.
1
The result of this game is 30-love.
0
The result of this match is 3-love.
0
The result of this game is 40-game.
1
The result of this game is game-30.
0
The result of this match is love-2.
1
The result of this match is 1-love.
0
The result of this match is love-3.
1
The result of this set is 4-3.
0
The result of this match is 2-3.
1
The result of this match is 1-3.
1
The result of this set is 1-set.
1
The result of this game is love-game.
1
The result of this match is love-2.
1
The result of this set is 5-1.
0
The result of this match is 1-3.
1
The result of this set is 5-4.
0
The result of this match is 3-2.
0
The result of this set is set-1.
0
The result of this match is love-1.
1
The result of this match is love-3.
1
The result of this set is love-1.
1
The result of this match is 2-1.
0
The result of this match is 2-3.
1
The result of this set is 4-love.
0
The result of this game is 15-love.
0
The result of this match is 3-love.
0
The result of this game is game-love.
0
The result of this game is 30-love.
0
The result of this game is 40-15.
0
The result of this set is 2-1.
0
The result of this set is love-set.
1
The result of this set is 3-5.
1
The result of this match is 3-love.
0
The result of this set is love-2.
1
The result of this game is love-30.
1
The result of this set is 3-love.
0
The result of this set is love-5.
1
The result of this game is 40-love.
0
The result of this match is 3-1.
0
The result of this game is love-game.
1
The result of this set is 1-5.
1
The result of this match is 3-1.
0
The result of this game is game-love.
0
The result of this set is 2-set.
1
The result of this game is 30-game.
1
The result of this game is game-30.
0
The result of this match is love-1.
1
The result of this game is game-love.
0
The result of this game is 40-game.
1
The result of this game is love-15.
1
The result of this set is 1-5.
1
The result of this match is love-2.
1
The result of this match is love-2.
1
The result of this game is 30-15.
0
The result of this game is love-30.
1
The result of this game is 40-15.
0
The result of this match is 2-1.
0
The result of this game is 15-game.
1
The result of this game is 15-40.
1
The result of this match is 1-2.
1
The result of this set is love-5.
1
The result of this set is set-1.
0
The result of this game is love-game.
1
The result of this match is 1-2.
1
The result of this set is 3-love.
0
The result of this game is game-40.
0
The result of this match is 1-2.
1
The result of this match is 2-3.
1
The result of this game is 15-love.
0
The result of this set is 5-love.
0
The result of this set is 1-set.
1
The result of this game is game-15.
0
The result of this match is 2-3.
1
The result of this set is love-set.
1
The result of this game is 15-40.
1
The result of this match is 2-3.
1
The result of this game is 40-game.
1
The result of this set is set-2.
0
The result of this set is love-4.
1
The result of this set is set-love.
0
The result of this match is 1-2.
1
The result of this game is game-30.
0
The result of this game is 15-game.
1
The result of this game is game-love.
0
The result of this match is 1-love.
0
The result of this set is 4-love.
0
The result of this game is game-15.
0
The result of this match is love-2.
1
The result of this set is love-4.
1
The result of this match is 1-love.
0
The result of this match is 2-1.
0
The result of this game is love-30.
1
The result of this match is 1-3.
1
The result of this set is set-4.
0
The result of this game is 15-40.
1
The result of this set is love-3.
1
The result of this set is set-4.
0
The result of this match is love-2.
1
The result of this game is 40-game.
1
The result of this set is love-5.
1
The result of this match is 2-1.
0
The result of this set is 4-1.
0
The result of this game is 15-game.
1
The result of this game is 15-40.
1
The result of this match is 3-love.
0
The result of this set is love-4.
1
The result of this match is love-1.
1
The result of this set is 4-set.
1
The result of this set is 1-love.
0
The result of this set is set-4.
0
The result of this game is 40-love.
0
The result of this set is 1-2.
1
The result of this set is 1-set.
1
The result of this set is set-1.
0
The result of this match is 2-1.
0
The result of this set is set-5.
0
The result of this game is love-40.
1
The result of this match is 3-1.
0
The result of this match is 3-2.
0
The result of this set is 1-set.
1
The result of this match is love-1.
1
The result of this match is 3-love.
0
The result of this game is love-40.
1
The result of this game is 30-15.
0
The result of this match is 1-3.
1
The result of this set is set-5.
0
The result of this game is 30-15.
0
The result of this game is 30-40.
1
The result of this game is game-30.
0
The result of this match is 2-3.
1
The result of this set is 2-set.
1
The result of this set is love-2.
1
The result of this match is 3-1.
0
The result of this set is 3-love.
0
The result of this match is 1-2.
1
The result of this set is 1-5.
1
The result of this game is love-30.
1
The result of this match is 1-2.
1
The result of this match is love-2.
1
The result of this set is set-2.
0
The result of this match is 2-3.
1
The result of this game is 30-15.
0
The result of this set is 3-1.
0
The result of this game is love-30.
1
The result of this match is 3-2.
0
The result of this game is 40-game.
1
The result of this match is 1-2.
1
The result of this game is love-game.
1
The result of this match is 2-1.
0
You did great!  Thank you!
010101000110100001100101001000000100011001101100011000010110011100100000011010010111001100100000010001000110000101110111011001110100001101010100010001100111101101001100001100000111011000110011010111110100110101100101010000000110111000110101010111110100111000110000001101110110100000110001011011100110011101011111001000010110111001011111010101000010001101100101010111110100011101000000011011010011001101011111010011110110011001011111010101000011001101101110011011100011000100110101001011100111110100101110

Script 2

From those two outputs, we can see no flag. I tried to print all the answers, and found these two were identical. Judging from their characteristics and length, I thought it is ASCII in binary form.

#include <iostream>
#include <cstring>
#include <cmath>

using std::cin;
using std::cout;

int main()
{
    char buffer[1000];
    cin >> buffer;
    int length = strlen(buffer);
    int char_count = length / 8;
    // 8 at a time
    for (int i = 0; i < char_count; i++)
    {
        char temp = 0;
        for (int j = 0; j < 8; j++)
        {
            temp += pow(2, 7 - j) * (buffer[8 * i + j] - '0');
        }
        cout << temp;
    }
    return 0;
}

Output 2

Use the answer string I got above as input.

The Flag is DawgCTF{L0v3_Me@n5_N07h1ng_!n_T#e_G@m3_Of_T3nn15.}.
Nemo Xiong avatar
Nemo Xiong
ex-Cybersecurity Executor, now a student in Unimelb
comments powered by Disqus