05 2023 档案

摘要:```go package main import ( "bufio" "fmt" "os" "strconv" "strings" "pkg/mplayer/mlib" "pkg/mplayer/mp" ) var lib *library.MusicManager var id int = 1 阅读全文
posted @ 2023-05-26 19:46 satou_matsuzaka 阅读(8) 评论(0) 推荐(0) 编辑
摘要:```java import java.awt.*; import java.awt.event.*; import java.util.Random; public class Minesweeper { private static final int ROWS = 10; private st 阅读全文
posted @ 2023-05-25 18:16 satou_matsuzaka 阅读(41) 评论(0) 推荐(0) 编辑
摘要:```java import java.util.*; public class StaffManagementSystem { private static List staffList = new ArrayList(); public static void main(String[] arg 阅读全文
posted @ 2023-05-24 19:18 satou_matsuzaka 阅读(7) 评论(0) 推荐(0) 编辑
摘要:```c++ #include #include using namespace std; const float PI = 3.14159; class Shape { public: virtual float area() = 0; }; class Circle : public Shape 阅读全文
posted @ 2023-05-23 19:08 satou_matsuzaka 阅读(3) 评论(0) 推荐(0) 编辑
摘要:``` import os import sqlite3 # Create a database connection conn = sqlite3.connect('todo.db') # Create a todo table cur = conn.cursor() cur.execute('' 阅读全文
posted @ 2023-05-22 19:09 satou_matsuzaka 阅读(6) 评论(0) 推荐(0) 编辑
摘要:``go package main import "bufio" import "flag" import "fmt" import "io" import "os" import "strconv" var infile *string = flag.String("i", "unsorted.d 阅读全文
posted @ 2023-05-19 20:16 satou_matsuzaka 阅读(8) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <iomanip> #include <string> #include <bitset> using namespace std; int main () { int x; cin >> oct >> x; cout << dec << x 阅读全文
posted @ 2023-05-18 22:19 satou_matsuzaka 阅读(21) 评论(0) 推荐(0) 编辑
摘要:class miband(Peripheral): _send_rnd_cmd = struct.pack('<2s', b'\x02\x00') _send_enc_key = struct.pack('<2s', b'\x03\x00') def __init__(self, mac_addre 阅读全文
posted @ 2023-05-17 23:48 satou_matsuzaka 阅读(13) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <iomanip> using namespace std; class Matrix { private: int row; int column; int **mat = nullptr; public: Matrix(int r = 1 阅读全文
posted @ 2023-05-16 18:26 satou_matsuzaka 阅读(12) 评论(0) 推荐(0) 编辑
摘要:package main import "os" import "fmt" import "simplemath" import "strconv" var Usage = func() { fmt.Println("USAGE: calc command [arguments] ...") fmt 阅读全文
posted @ 2023-05-15 20:58 satou_matsuzaka 阅读(11) 评论(0) 推荐(0) 编辑
摘要:因为学校的Unix/Linux的作业只是做实验报告,简单的将每条命令全部输入一遍,然后再截屏,很多时间都花在截屏上面,很累,所以就用Python做了这个小玩意儿。 import keyboard,win32gui import time from PIL import ImageGrab windo 阅读全文
posted @ 2023-05-15 01:26 satou_matsuzaka 阅读(23) 评论(1) 推荐(1) 编辑
摘要:想要尝试用python连接我的小米手环,感觉或许会有一些有趣的应用,比如实时检测心率,当我熬夜编程,心率过高猝死之后,能够立刻用脚本删掉电脑上的所有内容之类的,笑.所以大概看了看这方面的东西.具体参考 https://github.com/satcar77/miband4 项目 和 https:// 阅读全文
posted @ 2023-05-14 01:07 satou_matsuzaka 阅读(206) 评论(0) 推荐(0) 编辑
摘要:首先,去专门的Bot那里申请一个Token 官网列举了很多 Bot API Library 我只会Python 所以就用 python-telegram-bot https://github.com/python-telegram-bot/python-telegram-bot/ 然后就别看我写的了 阅读全文
posted @ 2023-05-13 05:06 satou_matsuzaka 阅读(265) 评论(1) 推荐(0) 编辑
摘要://9-1 #include <iostream> #include <array> using namespace std; int main() { int n; cin >> n; array<double, 100000> scores; for (int i = 0; i < n; i++ 阅读全文
posted @ 2023-05-11 20:57 satou_matsuzaka 阅读(9) 评论(0) 推荐(0) 编辑
摘要://Node.h #ifndef NODE_H #define NODE_H //类模板的定义 template <class T> class Node { private: Node<T> *next; //指向后继结点的指针 public: T data; //数据域 Node (const 阅读全文
posted @ 2023-05-10 23:47 satou_matsuzaka 阅读(16) 评论(0) 推荐(0) 编辑
摘要:面向对象程序设计测试 #include <iostream> #include<iomanip> using namespace std; class Point { protected: double x,y; public: Point(double a = 0,double b = 0):x( 阅读全文
posted @ 2023-05-09 21:42 satou_matsuzaka 阅读(20) 评论(0) 推荐(0) 编辑
摘要:编程打卡:C++ 语言程序设计 #include <iostream> #include <array> using namespace std; int main() { int n; cin >> n; array<double, 100000> scores; for (int i = 0; 阅读全文
posted @ 2023-05-08 20:51 satou_matsuzaka 阅读(34) 评论(0) 推荐(0) 编辑
摘要:编程打卡: C++ 语言程序设计 复数类 代码实现 #include <iostream> using namespace std; class Complex { protected: double real; double imag; public: Complex (double r = 0. 阅读全文
posted @ 2023-05-07 00:04 satou_matsuzaka 阅读(17) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> using namespace std; class vector_N { private: int n; int *p; public: vector_N () { n = 0; p = nullptr; } explicit vector_N (int d 阅读全文
posted @ 2023-05-06 02:29 satou_matsuzaka 阅读(11) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> using namespace std; class Complex { protected: double real; double imag; public: Complex (double r = 0.0, double i = 0.0): real(r 阅读全文
posted @ 2023-05-04 23:00 satou_matsuzaka 阅读(7) 评论(0) 推荐(0) 编辑

This is a Test

メイドノココロハ アヤツリドール
点击右上角即可分享
微信分享提示