摘要: #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 阅读(44) 评论(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 阅读(26) 评论(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 阅读(18) 评论(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 阅读(15) 评论(0) 推荐(0)
摘要: 因为学校的Unix/Linux的作业只是做实验报告,简单的将每条命令全部输入一遍,然后再截屏,很多时间都花在截屏上面,很累,所以就用Python做了这个小玩意儿。 import keyboard,win32gui import time from PIL import ImageGrab windo 阅读全文
posted @ 2023-05-15 01:26 satou_matsuzaka 阅读(41) 评论(1) 推荐(1)
摘要: 想要尝试用python连接我的小米手环,感觉或许会有一些有趣的应用,比如实时检测心率,当我熬夜编程,心率过高猝死之后,能够立刻用脚本删掉电脑上的所有内容之类的,笑.所以大概看了看这方面的东西.具体参考 https://github.com/satcar77/miband4 项目 和 https:// 阅读全文
posted @ 2023-05-14 01:07 satou_matsuzaka 阅读(260) 评论(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 阅读(346) 评论(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 阅读(11) 评论(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 阅读(24) 评论(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 阅读(32) 评论(0) 推荐(0)

This is a Test

メイドノココロハ アヤツリドール