![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
程序员笔试面试经典题目
小白龙victory
努力奔跑在路上,追梦赤子心。
展开
-
C/C++典型面试题目整理001
1、关于输出格式问题,请问下列程序最终输出结果是什么?#include #include using namespace std;int main(){ cout<<setfill(' ')<<setw(4)<<setfill('i')<<setw(7)<<'m'<<endl; system("PAUSE"); return 0;}结果:setfill() 的参数只能是原创 2015-07-13 10:59:29 · 338 阅读 · 0 评论 -
数据结构:树结构笔试题目
1、n个顶点,m条边的全连通图,至少去掉几条边才能构成一棵树?n个顶点的树一定有n-1条边(证明可以看任何一本图论书),所以需要去掉m-(n-1)=m-n+1条边原创 2015-07-13 11:23:18 · 694 阅读 · 0 评论