题解 | #又一版 A+B#
又一版 A+B
https://www.nowcoder.com/practice/9255c05d45b8406c9b588d7c57aa920b
while True: try: m,A,B=map(int,input().strip().split()) if m!=0: C=A+B if C==0: print(0) break list=[] while C>0: list.append(C%m) C//=m list.reverse() for i in range(len(list)): print(list[i],end='') print() else: break except: break