首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
资深聊天技术专家
蚂蚁金服_高级研发工程师
门头沟学院
2018届
Java工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(8)
Java7特性中,abstract class和interface有什么区别。
0
接口不 可以实现方法,只 可以定义 方法,所以不能使用静态方法( 因为静态方法必须 实现 )。 要实现静态方法的继承,可以使用抽象类,抽象类中实现静态的方法后,其他类继承。
发表于 2017-07-06 19:32:38
构造回文
0
#include <bits/stdc++.h> using namespace std; intdp[1005][1005]; intmain() { charc1[1005],c2[1005]; while(scanf(...
发表于 2017-03-27 20:05:13
洗牌
0
#include <bits/stdc++.h> using namespace std; int main() { int t,n,k,a[205],b[205]; scanf("%d",&t); ...
发表于 2017-03-24 10:54:15
罪犯转移
0
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; typedef long long ll; ll a[200050]; ...
发表于 2017-03-14 19:39:50
字符集合
0
#include <cstdio> #include <cstring> using namespace std; char c[105]; int a[350]; int main() { while(scanf("...
发表于 2017-03-14 19:23:16
3*3的九宫格,填写1—9,使得所有行、列、对角线的和都是相等的,那么中间那个方格数字是什么?
0
首先7 8 9三个中的任意两个 肯定不能在一条线上,因为太大了, 1 2 3 同理, 所以对角线是 4 5 6,和是15, 然后就好算啦,先填7 8 9, 再对应着填1 2 3 ,然后4 5 6 顺理成章就出来了。
发表于 2017-03-01 12:47:14
有趣的数字
0
#include <cstdio> #include <cstring> #include <algorithm> using namespace std; typedef long long ll; const int N=1e5+5; int n,cnt; l...
发表于 2017-02-19 19:39:21
小赵和小钱二人分别从寝室和图书馆同时出发,相向而行。过了一段时间后二人在中途相遇
2
解:设小钱相遇后走的距离为x ,相遇前的时间为t1,相遇后的时间为t2,则根据t1和t1+t2能列出速度比的方程: x+600 2*x+750 ------ = --------- x+150 2*x+150 解得x=75,总路程s=75*2+150+600=900(m)。
发表于 2016-12-06 17:06:41
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题