第三章 1~5 import math def test(a, b, c): if a <= 0 or b <= 0 or c <= 0: return False else: return math.sqrt((a ** 2) + (b ** 2)) == c a, b, c = eval(input()), eval(input()), eval(input()) print('YES' if (test(a,b,c) | test(c,b,a) | test(b,a,c)) else 'NO') x = int(input()) if x % 100 == 0: print(366 if x % 400 == 0 else 365) else: print(366 if x % 4 == 0 else 365) import math def test(a, b, c): if a <= 0 or b <= 0 or c <= 0: return False else: return a + b > c a, b, c = eval(input()), eval(input()), eval(input()) s = (a + b + c) / 2 print(('YES\n' + '{:.2f}'.format(math.pow(s * (s - a) * (s - b) * (s - c), .5))) if (test(a,b,c) & test(c,b,a) & test(b,a,c)) else 'NO') a, b, sex = int(input()), int(input()), input() if sex == '女': print(int( (a*0.923+b) /2)) elif sex == '男': print(int( (a+b)* 1.08 / 2)) else: print("无对应公式") x = float(input()) if x <…
Notepad++ Background Image Dev
Dec 18, 2023 The following NppBgImg plugin requires notepad++ debug built version to run correctly. I'm currently working to make it compatible with release built of Notepad++. Debug Built Notepad++ and NppBgImg: notepad++.7zDownload plugins.7zDownload Dec 16, 2023 I'm currently working with Notepad++, because this powerful editor has no such plugin before(maybe I just have not found it). Anyway, I have done this by modifying its source code, when I have spare time, I will try to make this to a plugin with Detours or MinHook. I'm new to win32 development and not familiar with English, forgive me if there are errors unsatissfying you. Modifying Notepad++ Source Steps: AlphaRectangle This function will be called if any transparent color has passed to FillRectangle, all following functions will call this function if you has modified their parameter to a transparent color like ColourRGBA transRGBA(255, 255, 255, 0);. DrawBackground This function draws background for text parts. FillLineRemainder This function manages drawing line Remaining parts. DrawEOL This function manages EOL background drawing of each line. paintText (This function I have…
Jisho – Local Android
I'm a new programmer in Android, This program is one of my starting Android projects. This program was created with compose Material 3. app-debugDownload
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!