⌨️
[AtCoder]ABC-099|A - ABD
設問ページ
提出結果
def getInt():
return int(input())
def main():
n = getInt()
print('ABD' if n // 1000 == 1 else 'ABC')
if __name__ == "__main__":
main()
def getInt():
return int(input())
def main():
n = getInt()
print('ABD' if n // 1000 == 1 else 'ABC')
if __name__ == "__main__":
main()
Discussion