- 博客(3)
- 收藏
- 关注
原创 阴间猜数字游戏
GitHub:https://github.com/Pollockovski/fuckingguessnumber #include <iostream> #include <stdlib.h> #include <time.h> #include <conio.h> #include <Windows.h> using namespace std; int randint(int x, int y) { srand(int(time(0))
2021-01-15 02:20:45
3044
原创 【cpp】抛硬币(还有个bug未完善)
这是本人第一个cpp程序 //建议Windows运行 #include <iostream> #include <cstdlib> #include <time.h> using namespace std; int main() { int a = 1; //上限 int b = 0; //下限 int times = 1; //次数 int zhengfan = 1; //正反 int t = 1; //总次数 srand(time(0)); whi
2020-11-21 04:03:17
194
3
原创 Python3函数作图
本人第一次做出实用性的Python程序,目前这个程序可以给一些函数作图 程序有一个已知bug:解析式不能加加号 使用注意事项: 1.解析式不能有加号 2.定义域左右端不能为空或者输入非数字字符串 3.画图精度不能为空 4.要安装matplotlib和tkinter,戳下面去教程 matplotlib安装教程: import matplotlib.pyplot as plt from math import * from tkinter import * import tkinter as tk root=t
2020-08-07 13:30:07
480
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅