首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
Doran_dinosaur
获赞
104
粉丝
23
关注
41
看过 TA
279
男
门头沟学院
2023
Java
IP属地:浙江
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑Doran_dinosaur吗?
发布(253)
评论
刷题
收藏
Doran_dinosaur
关注TA,不错过内容更新
关注
2020-09-18 15:26
已编辑
门头沟学院 Java
1117 Eddington Number (25分)
1117 Eddington Number (25分) British astronomer Eddington liked to ride a bike. It is said that in order to show off his skill, he has even defined an “Eddington number”, E – that is, the maximum integer E such that it is for E days that one rides more than E miles. Eddington’s own E was 87. Now give...
0
点赞
评论
收藏
分享
2020-09-18 15:25
已编辑
门头沟学院 Java
1128 N Queens Puzzle (20分)
#include<iostream> #include<algorithm> #include<cstdio> #define maxn 10005 using namespace std; int main(){ std::ios::sync_with_stdio(false); std::cin.tie(0); int k,n; cin>>k; while(k--){ bool ans=true; cin>>n; int a[maxn]; for(int i=1;i<=n;i++) cin>>a[i]; fo...
0
点赞
评论
收藏
分享
2020-09-18 15:25
门头沟学院 Java
Java---网络编程入门--前篇
文章目录 一、网络编程概述 二、网络编程三要素 一、网络编程概述 计算机网络: 是指将地理位置不同的具有独立功能的多台计算机及其外部设备,通过通信线路连接起来,在网络操作系统,网络管理软件及网络通信协议的管理和协调下,实现资源共享和信息传递的计算机功能 二、网络编程三要素 IP地址: 每台计算机指定的一个标识号 端口: 应用程序的标识 网络的通信,本质上是两个应用程序的通信。每台计算机都有很多的应用程序,怎么说? IP地址可以唯一标识网络中的设备,那么端口号就可以唯一标识设备中的应用程序。 协议: 在计算机中,连接和通信的规则叫网络通信协议。 它对数据的传输格式、传输速率、传输步骤...
0
点赞
评论
收藏
分享
2020-09-18 15:25
已编辑
门头沟学院 Java
Java--网络编程入门
文章目录 一、IP地址 二、端口 三、UDP协议 四、TCP协议 五、 TCP和UDP区别 六、三次握手 一、IP地址 IP地址:是网络中设备的唯一标识 常用命令: ipconfig:查看本机IP地址 ping IP地址:检查网络是否连通 特殊IP地址: 127.0.0.1:是回送地址,可以代表本机地址,一般用来测试使用 InetAddress: 在JDK中提供了一个与IP地址相关的InetAddress类,该类用于封装一个IP地址,并提供了一系列与IP地址相关的方法。 InetAddress 此类表示Internet协议地址 InetAddress address =...
0
点赞
评论
收藏
分享
2020-09-18 15:24
已编辑
门头沟学院 Java
PAT--模拟题总结
简单模拟: 模拟题是一类“题目怎么说,你就怎么做”的题目,实现起来不太麻烦,这类题目不涉及算法,完全只是根据题目描述来进行代码的编写,考查的是代码能力。 记录PAT模拟题: ①1008 Elevator (20分) ②1042 Shuffling Machine (20分) ③1046 Shortest Distance (20分) ④1051 Pop Sequence (25分) ⑤1117 Eddington Number (25分) ⑥1128 N Queens Puzzle (20分)
0
点赞
评论
收藏
分享
2020-09-18 15:24
已编辑
门头沟学院 Java
PAT--进制转换题总结
对于两个不同进制的互相转换: ①将P进制数x转换为十进制数y int y=0; p=1;//product 在循环中会不断乘P,得到1、P、P^2、P^3…… while(x!=0){ y+=x%10*p;//x%10是为了每次获取x的个位数 x/=10;//去掉x的个位 p *= p;// } ②将十进制数y转换为Q进制数z int revd(int n,int d) { int z[40],num=0; do{ z[num++]=n%d; n/=d; }while(n!=0); } PAT进制转换题目: ①1015 Reversible Primes (20) ②101...
0
点赞
评论
收藏
分享
2020-09-18 15:23
门头沟学院 Java
1015 Reversible Primes (20)
#include<iostream> #include<algorithm> #include<cstring> #include<string> #include<cstdio> #include<cctype> #include<cmath> #include<vector> #include<queue> #include<set> #include<map> #include<stack> #include<sstream> #de...
0
点赞
评论
收藏
分享
2020-09-18 15:23
已编辑
门头沟学院 Java
1019 General Palindromic Number (20分)
#include<iostream> #include<algorithm> #include<cstring> #include<string> #include<cstdio> #include<cctype> #include<cmath> #include<vector> #include<queue> #include<set> #include<map> #include<stack> #include<sstream> #de...
0
点赞
评论
收藏
分享
2020-09-18 15:23
已编辑
门头沟学院 Java
1027 Colors in Mars (20分)
#include<iostream> #include<algorithm> #include<cstring> #include<string> #include<cstdio> #include<cctype> #include<cmath> #include<vector> #include<queue> #include<set> #include<map> #include<stack> #include<sstream> #de...
0
点赞
评论
收藏
分享
2020-09-18 15:22
门头沟学院 Java
1058 A+B in Hogwarts (20分)
#include<iostream> #include<cstdio> #include<string> #include<cstring> #define maxn 10005 using namespace std; int main(){ int a[4],b[4],c[4]; scanf("%d.%d.%d",&a[1],&a[2],&a[3]); scanf("%d.%d.%d",&b[1],&b[2],&b[3]); for(int i=1;i&...
0
点赞
评论
收藏
分享
2020-09-18 15:22
已编辑
门头沟学院 Java
1100 Mars Numbers (20分)
#include<iostream> #include<cstdio> #include<cstring> #include<string> #include<map> using namespace std; int main(){ string ones[13]={ "tret", "jan", "feb", "mar", "apr", "may", "jun", "jly&quo...
0
点赞
评论
收藏
分享
2020-09-18 15:22
门头沟学院 Java
1001 A+B Format (20分)
#include<iostream> #include<algorithm> #include<cstring> #include<string> #include<cstdio> #include<cctype> #include<cmath> #include<vector> #include<queue> #include<set> #include<map> #include<stack> #include<sstream> #de...
0
点赞
评论
收藏
分享
2020-09-18 15:21
已编辑
门头沟学院 Java
1005 Spell It Right (20分)
#include<iostream> #include<algorithm> #include<cstring> #include<string> #include<cstdio> #include<cctype> #include<cmath> #include<vector> #include<queue> #include<set> #include<map> #include<stack> #include<sstream> #de...
0
点赞
评论
收藏
分享
2020-09-18 15:21
门头沟学院 Java
1108 Finding Average (20分)
巧用sscanf和sprintf: #include<iostream> #include<algorithm> #include<cstring> #include<string> #include<cstdio> #include<cctype> #include<cmath> #include<vector> #include<queue> #include<set> #include<map> #include<stack> #include&...
0
点赞
评论
收藏
分享
2020-09-18 15:21
门头沟学院 Java
1132 Cut Integer (20分)
#include<iostream> #include<algorithm> #include<cstring> #include<string> #include<cstdio> #include<cctype> #include<cmath> #include<vector> #include<queue> #include<set> #include<map> #include<stack> #include<sstream> #de...
0
点赞
评论
收藏
分享
1
12
13
14
15
16
17
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务