OrdinaryCrazy
码龄8年
关注
提问 私信
  • 博客:258,336
    问答:4,123
    262,459
    总访问量
  • 118
    原创
  • 477,067
    排名
  • 94
    粉丝
  • 0
    铁粉

个人简介:这里是张劲暾的CSDN博客

IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:美国
  • 加入CSDN时间: 2017-02-06
博客简介:

OrdinaryCrazy的博客

博客描述:
本博客已不再更新,更多资源请访问https://github.com/OrdinaryCrazy
查看详细资料
个人成就
  • 获得93次点赞
  • 内容获得21次评论
  • 获得364次收藏
  • 代码片获得241次分享
创作历程
  • 18篇
    2018年
  • 111篇
    2017年
成就勋章
TA的专栏
  • OpenJudge
    73篇
  • Python3
    7篇
  • C语言
    80篇
  • 算法
    10篇
  • 计算机网络
    7篇
  • 数据结构
    20篇
  • Linux
    5篇
  • sklearn学习笔记
    1篇
  • 操作系统
    3篇
  • 图论
    3篇
  • Nexys2开发板
    1篇
  • verilog
    2篇
  • JAVA
    2篇
创作活动更多

2024 博客之星年度评选报名已开启

博主的专属年度盛宴,一年仅有一次!MAC mini、大疆无人机、华为手表等精美奖品等你来拿!

去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

最大子数组问题的暴力解法,递归解法,动态规划解法和暴力-递归混合解法

#include <stdio.h>#include <stdlib.h>#include <time.h>#include <math.h>#define SIZE 5000#define RANDOM_LIMIT 50#define THRESHOLD 22#define TESTTIMES 3double Myrandom(...
原创
发布博客 2018.09.26 ·
836 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

texstudio-2.12.10

发布资源 2018.07.21 ·
exe

线程同步——生产者消费者问题

/*buffer.h*/typedef int buffer_item;#define BUFFER_SIZE 5#include "buffer.h"#include <stdlib.h>#include <stdio.h>#include <time.h>#include <pthread.h>#include <semap...
原创
发布博客 2018.05.22 ·
743 阅读 ·
1 点赞 ·
0 评论 ·
8 收藏

Pthread 多线程矩阵乘法

/**ORDINARYCRAZY**/#include <stdio.h>#define _GNU_SOURCE#include <unistd.h>#include <pthread.h>#include <sys/syscall.h>#include <stdlib.h>#define M 3#define K 2#...
原创
发布博客 2018.05.07 ·
4465 阅读 ·
4 点赞 ·
0 评论 ·
17 收藏

计算机网络课程大作业STEP2---Iperfer

package iperfer;import java.io.IOException;import java.io.InputStream;import java.io.OutputStream;import java.net.InetAddress;import java.net.ServerSocket;import java.net.Socket;public class ...
原创
发布博客 2018.05.05 ·
1014 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

计算机网络课程大作业STEP1---Pinger

import java.io.IOException;import java.net.DatagramPacket;import java.net.DatagramSocket;import java.net.InetAddress;import java.net.SocketException;import java.net.UnknownHostException;public ...
原创
发布博客 2018.05.05 ·
1406 阅读 ·
0 点赞 ·
0 评论 ·
3 收藏

操作系统编程作业:UNIX Shell and History Feature

#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/types.h>#include <sys/shm.h>#include <wait.h>#include <string.h>#include <
原创
发布博客 2018.04.25 ·
4848 阅读 ·
7 点赞 ·
0 评论 ·
33 收藏

计算机网络课程实验——可靠传输协议:(3)GBN(unidirectional)

/* Zhang Jingtun(Ordinary Crazy) */#include #include #include //#include /* ****************************************************************** ALTERNATING BIT AND GO-BACK-N NETWORK EMULATOR: V
原创
发布博客 2018.04.15 ·
4510 阅读 ·
3 点赞 ·
0 评论 ·
26 收藏

计算机网络课程实验——可靠传输协议:(2)ABP(unidirectional)

/* Zhang Jingtun(Ordinary Crazy) */#include <stdio.h>#include <stdlib.h>#include <string.h>/* ****************************************************************** ALTERNATING BI...
原创
发布博客 2018.04.15 ·
2937 阅读 ·
4 点赞 ·
0 评论 ·
26 收藏

计算机网络课程实验——可靠传输协议:(1)问题描述

Programming Assignment #2: Implementing a Reliable Transport ProtocolOverviewIn this assignmentoratory programming assignment, you will be writing the sending and receiving transport-level code
原创
发布博客 2018.04.15 ·
2910 阅读 ·
0 点赞 ·
0 评论 ·
4 收藏

sklearn.feature_extraction.text.TfidfVectorizer,文本TFIDF向量化类使用说明

class sklearn.feature_extraction.text.TfidfVectorizer(input=’content’, encoding=’utf-8’, decode_error=’strict’, strip_accents=None, lowercase=True, preprocessor=None, tokenizer=None, analyzer=’word’, ...
翻译
发布博客 2018.04.01 ·
1734 阅读 ·
0 点赞 ·
0 评论 ·
3 收藏

Python判断文件路径是否存在exists()

# -*- coding:utf-8 -*-from sys import argvfrom os.path import existsscript,from_file,to_file = argvprint("Copying from %s to %s" % (from_file,to_file))print("Does the destination file exists? : ...
原创
发布博客 2018.03.28 ·
18889 阅读 ·
1 点赞 ·
1 评论 ·
2 收藏

Pydoc

python3 -m pydoc ospydoc - the Python documentation toolpydoc <name> ... Show text documentation on something. <name> may be the name of a Python keyword, topic, function, modu...
原创
发布博客 2018.03.26 ·
851 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Python3中如何让print不换行

print("Who is godness?",end = "")>>> help(print) Help on built-in function print in module builtins: print(...) print(value, ..., sep=' ', end='
', file=sys.stdout, flush=False)...
原创
发布博客 2018.03.26 ·
2615 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

Python3中的raw_input()

python3中 raw_input() 变成了 input()
原创
发布博客 2018.03.26 ·
2807 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

python 如何实现四舍五入

round()函数,如round(2.33)
原创
发布博客 2018.03.25 ·
3189 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Linux文件拆分命令——split

linux split 命令  功能说明:切割文件。  语  法:split [--help][--version][-<行数>][-b <字节>][-C <字节>][-l <行数>][要切割的文件][输出文件名]  补充说明:split可将文件切成较小的文件,预设每1000行会切成一个小文件。  参  数:  -<行数>或-l<行...
转载
发布博客 2018.03.25 ·
932 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

模拟数字电路国外原版课件

发布资源 2018.03.23 ·
zip

react全套资源

发布资源 2018.03.23 ·
zip

计算机网络(2)——手动SMTP

#file name:PA01_3.py#writer:Zhang_Jingtun(Ordinary_Crazy)#initial date:20180310from socket import *msg = "\r
I love computer networks!"endmsg = "\r
.\r
"# Choose a mail server (e.g. Google ...
原创
发布博客 2018.03.11 ·
1351 阅读 ·
0 点赞 ·
2 评论 ·
0 收藏
加载更多