首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
anybody
厦门大学
2017届
C++工程师
anybody
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(38)
斐波那契数列
3
#define root sqrt(5) class Solution { public: int Fibonacci(int n) { return (pow(((1 + root)/2), n) / root - pow(((1 - root)/2), n) / root); } };
发表于 2016-07-21 23:50:02
有趣的数字
1
#include <iostream> #include <string> #include <vector> #include <map> #include <algorithm> using namespace std; int ma...
发表于 2016-07-20 21:23:47
合唱队
7
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <iomanip> #include <math.h> ...
发表于 2016-07-12 23:25:50
字符统计
18
#include <iostream> #include <string> using namespace std; int main() { string st; while (getline(cin, st)) { int a[128] = {0}, i, j,...
发表于 2016-07-09 16:55:52
名字的漂亮度
33
#include <iostream> using namespace std; int main() { int test; while (cin >> test) { while (test--) { string st; cin >&g...
发表于 2016-07-09 14:23:24
整数与IP地址间的转换
43
#include <iostream> using namespace std; int main() { long long n, a1, a2, a3, a4; char ch; while(cin >> a1 >> ch >> a2 >...
发表于 2016-07-09 12:48:02
坐标移动
1
#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; int main() { string st; wh...
发表于 2016-07-05 22:45:07
下面关于虚函数的描述,错误的是?
1
派生类不必再声明成虚函数了,只要基类声明就可以.基类声明虚函数后,会建一张虚函数表.除非你要改变功能,就需要再声明!
发表于 2016-04-08 10:21:53
首页
上一页
1
2
3
4
下一页
末页
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题