题解列表
正经分解,非暴力解题
摘要:解题思路:注意事项:参考代码://解决方式还有其他更加好想的,这里只是讲一讲我的逻辑分析过程/*为了好看我把空格当成0 00*0********0***00* 需要两个for循环,因为如果是一个for……
Python方法求根
摘要:参考代码:from math import *
a,b,c=map(int,input().split())
m=b**2-4*a*c
if m>=0:
n=sqrt(m)
……
计算浮点数相除的余数
摘要:解题思路:注意事项:参考代码:num1,num2 = map(float,input().split())print('%g'%(num1%num2))……
1866: 三位数反转
摘要:解题思路:切片注意事项:参考代码:while True: try: a = input() print(a[::-1]) except: brea……
[编程入门]结构体之时间设计 极简利用函数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int days(int i){ int t=0; int num=0; int a[13]={0,31,28,31,……