题解列表

筛选

贪心+大数取余

摘要:解题思路:注意事项:参考代码:import osimport sys# 请在此输入您的代码"""了解进制的规律,需要注意A>=B"""# 输入数据n=eval(input())ma=eval(inpu……

1480: 模拟计算器

摘要:解题思路:注意事项:参考代码:while True:    try:        a, b, c = map(str, input().split())        if (c == '+……

1118: Tom数(python)

摘要:解题思路:注意事项:补充大佬解法,要加上except EOFError才能运行通过参考代码:while True:    try:        print(sum([int(i) for i in ……

1395: 倒数第二

摘要:解题思路:注意事项:参考代码:n = int(input())while n != 0:    try:        x = int(input())        a = list(map(int……

快速进制转换

摘要:解题思路:注意事项:参考代码:n = input()a = int(n,16)print(hex(a).upper()[2:],a,oct(a)[2:])……