题解列表

筛选

2819: 数字反转

摘要:参考代码:n = input() if n[0] == '-':     print('-' + str(int(n[1:][::-1]))) else:   ……

2829: 数1的个数

摘要:参考代码:arr = [str(i + 1) for i in range(int(input()))] print(''.join(arr).count('1'))……

2828: 与7无关的数

摘要:参考代码:n = int(input()) arr = [] for i in range(1, n + 1):     if i % 7 == 0 or ''.join(str……

题解 1332: 津津的储蓄计划

摘要:解题思路:注意事项:参考代码:list1 = []  # 每月预算 for i in range(12):     list1.extend(map(int, input().split())) ……

约瑟夫的环

摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class wc {static Scanner sc=new Scanner(System.in);pu……

汽水瓶(python代码)

摘要:解题思路:注意事项:参考代码while True:    n=int(input())    if n==0:        break    c=0    while n>=3:        c=……