最后一场比较正式的NOIp模拟赛,写一发小总结。题目没什么好说的,大部分很简单,先贴一下代码。

1111 T1

  1. //string
  2. //by Cydiater
  3. //2016.11.11
  4. #include <iostream>
  5. #include <cstring>
  6. #include <iomanip>
  7. #include <queue>
  8. #include <map>
  9. #include <ctime>
  10. #include <cmath>
  11. #include <cstdlib>
  12. #include <cstdio>
  13. #include <algorithm>
  14. #include <bitset>
  15. #include <set>
  16. #include <string>
  17. using namespace std;
  18. #define ll long long
  19. #define up(i,j,n) for(int i=j;i<=n;i++)
  20. #define down(i,j,n) for(int i=j;i>=n;i--)
  21. #define cmax(a,b) a=max(a,b)
  22. #define cmin(a,b) a=min(a,b)
  23. #define FILE "string"
  24. const int MAXN=2e5+5;
  25. const int oo=0x3f3f3f3f;
  26. char q[MAXN];
  27. int head,tail;
  28. namespace solution{
  29. void slove(){
  30. char ch;head=1;tail=0;
  31. while(scanf("%c",&ch)!=EOF){
  32. bool flag=1;
  33. while(tail>=head&&ch==q[tail]){tail--;flag=0;}
  34. if(flag)q[++tail]=ch;
  35. }
  36. up(i,head,tail)if(q[i]!='\n'&&q[i]!='\r')printf("%c",q[i]);
  37. puts("");
  38. }
  39. }
  40. int main(){
  41. freopen(FILE".in","r",stdin);
  42. freopen(FILE".out","w",stdout);
  43. using namespace solution;
  44. slove();
  45. return 0;
  46. }

1111 T2

  1. //plus
  2. //by Cydiater
  3. //2016.11.11
  4. #include <iostream>
  5. #include <iomanip>
  6. #include <queue>
  7. #include <map>
  8. #include <ctime>
  9. #include <cstdlib>
  10. #include <cstring>
  11. #include <string>
  12. #include <algorithm>
  13. #include <bitset>
  14. #include <set>
  15. #include <cmath>
  16. #include <cstdio>
  17. using namespace std;
  18. #define ll long long
  19. #define up(i,j,n) for(int i=j;i<=n;i++)
  20. #define down(i,j,n) for(int i=j;i>=n;i--)
  21. #define cmax(a,b) a=max(a,b)
  22. #define cmin(a,b) a=min(a,b)
  23. #define FILE "plus"
  24. const int MAXN=1e6+5;
  25. const int oo=0x3f3f3f3f;
  26. inline int read(){
  27. char ch=getchar();int x=0,f=1;
  28. while(ch>'9'||ch<'0'){if(ch=='-')f=-1;ch=getchar();}
  29. while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
  30. return x*f;
  31. }
  32. int Z,ans[MAXN],flag=-1,len=oo,test[MAXN],t[MAXN],top=0,head,tol;
  33. namespace solution{//1 X first 0 Y first -1 none
  34. int gcd(int a,int b){return b==0?a:gcd(b,a%b);}
  35. void init(){
  36. Z=read();
  37. }
  38. void updata(int x,int y){
  39. top=0;
  40. while(x!=1&&y!=1){
  41. if(x>y){
  42. head=1;t[++top]=x/y;
  43. x%=y;
  44. }else{
  45. head=0;t[++top]=y/x;
  46. y%=x;
  47. }
  48. }
  49. if(x==1&&y>1){t[++top]=y-x;head=0;}
  50. else if(y==1&&x>1){t[++top]=x-y;head=1;}
  51. if(head==0&&flag==1)return;
  52. if(flag==-1||(head==1&&flag==0)){
  53. flag=head;tol=top;
  54. up(i,1,top)ans[i]=t[i];
  55. }else{
  56. int now=1,opt=flag;
  57. up(i,0,top-1){
  58. if((t[top-i]>ans[tol-i]&&opt==1)||(t[top-i]<ans[tol-i]&&opt==0)){
  59. flag=head;tol=top;
  60. up(i,1,top)ans[i]=t[i];
  61. return;
  62. }else if((t[top-i]<ans[tol-i]&&opt==1)||(t[top-i]>ans[tol-i]&&opt==0))return;
  63. opt^=1;
  64. }
  65. }
  66. }
  67. int get(int x,int y){
  68. int tmp=0;
  69. if(x<y)swap(x,y);
  70. while(y!=0){
  71. tmp+=x/y;
  72. x%=y;
  73. if(x<y)swap(x,y);
  74. }
  75. return tmp;
  76. }
  77. void slove(){
  78. memset(test,10,sizeof(test));
  79. up(i,1,Z)if(gcd(i,Z)==1)cmin(len,(test[i]=get(Z,i)-1));
  80. up(i,1,Z)if(test[i]==len)updata(Z,i);
  81. }
  82. void output(){
  83. down(i,tol,1){
  84. up(j,1,ans[i])
  85. if(flag) printf("X");
  86. else printf("Y");
  87. flag^=1;
  88. }
  89. puts("");
  90. }
  91. }
  92. int main(){
  93. freopen(FILE".in","r",stdin);
  94. freopen(FILE".out","w",stdout);
  95. using namespace solution;
  96. init();
  97. slove();
  98. output();
  99. return 0;
  100. }

1111 T3(80分,100分太毒瘤不改了)

  1. //aiur
  2. //by Cydiater
  3. //2016.11.11
  4. #include <iostream>
  5. #include <queue>
  6. #include <map>
  7. #include <ctime>
  8. #include <cmath>
  9. #include <cstring>
  10. #include <algorithm>
  11. #include <cstdlib>
  12. #include <cstdio>
  13. #include <iomanip>
  14. #include <string>
  15. #include <bitset>
  16. #include <set>
  17. using namespace std;
  18. #define ll long long
  19. #define up(i,j,n) for(int i=j;i<=n;i++)
  20. #define down(i,j,n) for(int i=j;i>=n;i--)
  21. #define cmax(a,b) a=max(a,b)
  22. #define cmin(a,b) a=min(a,b)
  23. #define FILE "aiur"
  24. const int MAXN=2e6+5;
  25. const int oo=0x3f3f3f3f;
  26. inline int read(){
  27. char ch=getchar();int x=0,f=1;
  28. while(ch>'9'||ch<'0'){if(ch=='-')f=-1;ch=getchar();}
  29. while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
  30. return x*f;
  31. }
  32. int N,ty;
  33. ll ans=0,f[MAXN];
  34. struct XY{int x,y;}xy[MAXN];
  35. priority_queue<int,vector<int>,greater<int> >num1,num2;//small
  36. priority_queue<int>num3,num4;//big
  37. namespace solution1{
  38. /*
  39. f[i]=f[i-1]+abs(xi-xj)+abs(yi-yj)
  40. f[i]=f[i-1]+max(xi-xj,xj-xi)+max(yi-yj,yj-yi)
  41. ////////////////////////////////////////////
  42. f[i]=f[i-1]+(xi+yi)-(xj+yj) (1)
  43. f[i]=f[i-1]+(xi-yi)-(xj-yj) (2)
  44. f[i]=f[i-1]-(xi-yi)+(xj-yj) (3)
  45. f[i]=f[i-1]-(xi+yi)+(xj+yj) (4)
  46.  
  47. sort by -(xj+yj) -(xj-yj) (xj-yj) (xj+yj)
  48.  
  49. slove me in O(NlogN) 40 part
  50. */
  51. void init(){
  52. up(i,1,N){
  53. int x=read(),y=read();
  54. xy[i]=(XY){x,y};
  55. }
  56. }
  57. void push(int id){
  58. int sum=xy[id].x+xy[id].y,delta=xy[id].x-xy[id].y;
  59. num1.push(sum);num2.push(delta);
  60. num3.push(delta);num4.push(sum);
  61. }
  62. void slove(){
  63. push(1);
  64. up(i,2,N){
  65. ll tmp=0,n1=num1.top(),n2=num2.top(),n3=num3.top(),n4=num4.top(),x=xy[i].x,y=xy[i].y;
  66. tmp=max(x+y-n1,max(x-y-n2,max(y-x+n3,n4-x-y)));
  67. ans+=tmp;
  68. push(i);
  69. }
  70. cout<<ans<<endl;
  71. }
  72. }
  73. namespace solution2{
  74. void init(){
  75. up(i,0,N-1){
  76. int x=read(),y=read();
  77. xy[i]=(XY){x,y};
  78. }
  79. }
  80. int get(int sta,int id){
  81. int tmp=0;
  82. up(i,0,N-1)if(((1<<i)&sta)==(1<<i))cmax(tmp,abs(xy[id].x-xy[i].x)+abs(xy[id].y-xy[i].y));
  83. return tmp;
  84. }
  85. void slove(){
  86. memset(f,10,sizeof(f));
  87. f[0]=0;
  88. up(i,1,(1<<N)-1){
  89. up(j,0,N-1)if((i&(1<<j))){
  90. int sta=i^(1<<j);
  91. cmin(f[i],f[sta]+get(sta,j));
  92. }
  93. }
  94. cout<<f[(1<<N)-1]<<endl;
  95. }
  96. }
  97. int main(){
  98. freopen(FILE".in","r",stdin);
  99. freopen(FILE".out","w",stdout);
  100. N=read();ty=read();
  101. if(ty==1){
  102. using namespace solution1;
  103. init();
  104. slove();
  105. }else {
  106. using namespace solution2;
  107. init();
  108. slove();
  109. }
  110. return 0;
  111. }

1112 T1

  1. //array
  2. //by Cydiater
  3. //2016.11.12
  4. #include <iostream>
  5. #include <iomanip>
  6. #include <queue>
  7. #include <map>
  8. #include <ctime>
  9. #include <cmath>
  10. #include <cstring>
  11. #include <string>
  12. #include <algorithm>
  13. #include <cstdlib>
  14. #include <cstdio>
  15. #include <bitset>
  16. #include <set>
  17. using namespace std;
  18. #define ll long long
  19. #define up(i,j,n) for(int i=j;i<=n;i++)
  20. #define down(i,j,n) for(int i=j;i>=n;i--)
  21. #define cmax(a,b) a=max(a,b)
  22. #define cmin(a,b) a=min(a,b)
  23. #define Auto(i,node) for(int i=LINK[node];i;i=e[i].next)
  24. #define FILE "array"
  25. const int MAXN=1e5+5;
  26. const int oo=0x3f3f3f3f;
  27. inline int read(){
  28. char ch=getchar();int x=0,f=1;
  29. while(ch>'9'||ch<'0'){if(ch=='-')f=-1;ch=getchar();}
  30. while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
  31. return x*f;
  32. }
  33. int N,LINK[MAXN],len=0,lable[MAXN],id[MAXN],num,node=0,cnt=0,fa[MAXN];
  34. struct edge{
  35. int y,next;
  36. }e[MAXN<<1];
  37. char opt[5];
  38. namespace solution{
  39. inline void insert(int x,int y){e[++len].next=LINK[x];LINK[x]=len;e[len].y=y;}
  40. void slove(){
  41. N=read();
  42. memset(fa,0,sizeof(fa));
  43. memset(LINK,0,sizeof(LINK));
  44. memset(lable,0,sizeof(lable));
  45. lable[0]=-1;
  46. up(j,1,N){
  47. scanf("%s",opt+1);
  48. id[j]=node;
  49. if(opt[1]=='a'){
  50. num=read();bool flag=1;
  51. Auto(i,node)if(lable[e[i].y]==num){
  52. flag=0;node=e[i].y;
  53. }
  54. if(flag){
  55. insert(node,++cnt);
  56. lable[cnt]=num;
  57. fa[cnt]=node;node=cnt;
  58. }
  59. }else if(opt[1]=='s')node=fa[node];
  60. else{
  61. num=read();
  62. node=id[num];
  63. }
  64. printf("%d\n",lable[node]);
  65. }
  66. }
  67. }
  68. int main(){
  69. freopen(FILE".in","r",stdin);
  70. freopen(FILE".out","w",stdout);
  71. using namespace solution;
  72. slove();
  73. return 0;
  74. }

1112 T2

  1. //blossom
  2. //by Cydiater
  3. //2016.11.12
  4. #include <iostream>
  5. #include <cstdlib>
  6. #include <iomanip>
  7. #include <algorithm>
  8. #include <cstdio>
  9. #include <cmath>
  10. #include <ctime>
  11. #include <cstring>
  12. #include <string>
  13. #include <map>
  14. #include <queue>
  15. #include <bitset>
  16. #include <set>
  17. using namespace std;
  18. #define ll long long
  19. #define up(i,j,n) for(ll i=j;i<=n;i++)
  20. #define down(i,j,n) for(ll i=j;i>=n;i--)
  21. #define cmax(a,b) a=max(a,b)
  22. #define cmin(a,b) a=min(a,b)
  23. #define FILE "blossom"
  24. inline int read(){
  25. char ch=getchar();int x=0,f=1;
  26. while(ch>'9'||ch<'0'){if(ch=='-')f=-1;ch=getchar();}
  27. while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
  28. return x*f;
  29. }
  30. ll N,M,lim1,lim2,ans=0;
  31. namespace solution{
  32. int gcd(int a,int b){return b==0?a:gcd(b,a%b);}
  33. void init(){
  34. N=read();M=read();lim1=read();lim2=read();
  35. }
  36. void slove(){
  37. if(lim1<=1)ans+=(N*(M+1)+(N+1)*M);
  38. up(i,1,N)up(j,1,M)if(gcd(i,j)==1){
  39. if(i*i+j*j>=lim1*lim1&&i*i+j*j<=lim2*lim2)ans+=(N-i+1)*(M-j+1)*2;
  40. }
  41. cout<<ans<<endl;
  42. }
  43. }
  44. int main(){
  45. freopen(FILE".in","r",stdin);
  46. freopen(FILE".out","w",stdout);
  47. using namespace solution;
  48. init();
  49. slove();
  50. return 0;
  51. }

1112 T3

  1. //chen
  2. //by Cydiater
  3. //2016.11.12
  4. #include <iostream>
  5. #include <cstring>
  6. #include <string>
  7. #include <cstdio>
  8. #include <cstdlib>
  9. #include <iomanip>
  10. #include <algorithm>
  11. #include <queue>
  12. #include <map>
  13. #include <bitset>
  14. #include <set>
  15. #include <cmath>
  16. #include <ctime>
  17. using namespace std;
  18. #define ll long long
  19. #define up(i,j,n) for(int i=j;i<=n;i++)
  20. #define down(i,j,n) for(int i=j;i>=n;i--)
  21. #define cmax(a,b) a=max(a,b)
  22. #define cmin(a,b) a=min(a,b)
  23. #define FILE "chen"
  24. const int MAXN=1e6+5;
  25. const int oo=0x3f3f3f3f;
  26. inline int read(){
  27. char ch=getchar();int x=0,f=1;
  28. while(ch>'9'||ch<'0'){if(ch=='-')f=-1;ch=getchar();}
  29. while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
  30. return x*f;
  31. }
  32. ll N,num[MAXN],a[MAXN],pos,L,R,v,K[MAXN],top=0,Num[MAXN];
  33. ll Y=0;
  34. struct tree{
  35. int delta,v,maxx;
  36. }t[MAXN<<2];
  37. namespace solution{
  38. inline void downit(int root){
  39. int delta=t[root].delta;t[root].delta=0;
  40. if(delta==0) return;
  41. t[root<<1].delta+=delta;t[root<<1|1].delta+=delta;
  42. t[root<<1].v+=delta;t[root<<1|1].v+=delta;
  43. t[root<<1].maxx+=delta;t[root<<1|1].maxx+=delta;
  44. }
  45. inline void reload(int root){
  46. t[root].v=min(t[root<<1].v,t[root<<1|1].v);
  47. t[root].maxx=max(t[root<<1].maxx,t[root<<1|1].maxx);
  48. }
  49. inline int Get(int x){
  50. int leftt=1,rightt=top,mid;
  51. while(leftt+1<rightt){
  52. mid=(leftt+rightt)>>1;
  53. if(num[mid]>x) rightt=mid;
  54. else leftt=mid;
  55. }
  56. if(num[leftt]==x)return leftt;
  57. return rightt;
  58. }
  59. void init(){
  60. N=read();
  61. up(i,1,N)num[i]=a[i]=read();
  62. sort(num+1,num+N+1);
  63. up(i,1,N)if(num[i]!=num[i-1])Num[++top]=num[i];
  64. memcpy(num,Num,sizeof(num));
  65. up(i,1,N)a[i]=Get(a[i]);
  66. }
  67. int get(int leftt,int rightt,int root){
  68. if(leftt!=rightt)downit(root);
  69. if(t[root].maxx==0) return leftt;
  70. if(t[root].v==0&&leftt==rightt) return leftt;
  71. if(t[root].v>0) return oo;
  72. int mid=(leftt+rightt)>>1;
  73. return min(get(leftt,mid,root<<1),get(mid+1,rightt,root<<1|1));
  74. }
  75. void updata(int leftt,int rightt,int root){
  76. if(leftt!=rightt)downit(root);
  77. if(leftt>R||rightt<L) return;
  78. if(leftt>=L&&rightt<=R){
  79. t[root].delta+=v;
  80. t[root].v+=v;
  81. t[root].maxx+=v;
  82. return;
  83. }
  84. int mid=(leftt+rightt)>>1;
  85. updata(leftt,mid,root<<1);
  86. updata(mid+1,rightt,root<<1|1);
  87. reload(root);
  88. }
  89. void res(int leftt,int rightt,int root){
  90. if(leftt==rightt){
  91. K[leftt]=t[root].v;
  92. return;
  93. }
  94. downit(root);
  95. int mid=(leftt+rightt)>>1;
  96. res(leftt,mid,root<<1);
  97. res(mid+1,rightt,root<<1|1);
  98. reload(root);
  99. }
  100. void slove(){
  101. up(i,1,N){
  102. pos=get(1,N,1);
  103. L=1;R=a[i];v=1;
  104. updata(1,N,1);
  105. if(a[i]+1<=pos-1){
  106. L=a[i]+1;R=pos-1;v=-1;
  107. updata(1,N,1);
  108. }
  109. Y+=num[a[i]];
  110. }
  111. pos=get(1,N,1);
  112. res(1,N,1);
  113. up(i,1,pos)Y-=K[i]*(num[i]-num[i-1]);
  114. cout<<Y<<endl;
  115. }
  116. }
  117. int main(){
  118. freopen(FILE".in","r",stdin);
  119. freopen(FILE".out","w",stdout);
  120. using namespace solution;
  121. init();
  122. slove();
  123. return 0;
  124. }

这次两场发挥都比较稳定,没有什么严重的失误。也是现在意识到了对拍真的很强大。以往的观念里可能只是T3需要拍一拍,T1和T2不需要拍。这两场的T1和T2都选择先写暴力再搞正解,然后扔那里拍再去搞下一题。其实拍T1的意义并不大,但是拍了后心态就会稳很多,能明白自己多少分是已经稳了。搞下一题的时候心态也就不会那么慌。

高一的时候NOIp和省选都挂的很惨,每次都是抱憾而归。闵神讲他高一过度注重理论而轻实践导致高一走了弯路。我觉得我是过度重实践了,一定层次的竞赛考的一定不是你敲过什么。不停的学新东西固然没什么错,稳扎稳打的结果可能也没有那么出彩,但是这就是最后一次机会了,稳了两天的前两题,就是成功。

NOIp 11.11/12的更多相关文章

  1. [团队项目]第二个冲刺 看板和燃尽图 Sprint2 6.8/6.9/6.10/6.11/6.12/6.13/6.14

    1.开始一个新的冲刺: 起止:2016.6.1~2016.6.14 按照以下过程进行 ProductBacklog:继续向下细化 Sprint 计划会议:确定此次冲刺要完成的目标 Sprint Bac ...

  2. 2016年11月12日 星期六 --出埃及记 Exodus 20:3

    2016年11月12日 星期六 --出埃及记 Exodus 20:3 "You shall have no other gods before me.除了我以外,你不可有别的 神.

  3. Atitit jquery  1.4--v1.11  v1.12  v2.0  3.0 的新特性

    Atitit jquery  1.4--v1.11  v1.12  v2.0  3.0 的新特性 1.1. Jquery1.12  jQuery 2.2 和 1.12 新版本发布 - OPEN资讯.h ...

  4. TeamWork#3,Week5,Scrum Meeting 11.6, 11.7, 11.11, 11.12

    11.6:到目前为止基本已完成相关知识的学习,各方面工作都开始进行,一开始进行比较慢. 11.7:项目遇到困难,需要补充相关知识,进度慢了下来. 11.11:各方面工作进展比较顺利,没有什么大问题. ...

  5. 阅读<构建之法>第三10、11、12章并提出问题

    <构建之法>第10.11.12章 第10章: 问题:对我们了解了用户的需求后,但是我们想法和做出来的软件会和用户的需求有偏差,比如风格.界面的修饰等等,那么我们程序猿怎样才能让自己的想法更 ...

  6. MAC 下编译 ANDROID P 源码 提示 internal error: Could not find a supported mac sdk: ["10.10" "10.11" "10.12" "10.13"]

    MAC 下编译 ANDROID P 源码出现下面的问题: ninja: no work to do. [21/21] out/soong/.bootstrap/bin/soong_build out/ ...

  7. JDBC中 mysql数据库的连接工具类 Java登录 及增删改查 整理 附带:Navicat Premium 11.0.12中文破解版.zip(下载)mysql数据库工具

    先写一个工具类,有实现MySQL数据库连接的方法,和关闭数据库连接.关闭ResultSet  结果集.关闭PreparedStatement 的方法.代码如下: package com.swift; ...

  8. 总结近期CNN模型的发展(一)---- ResNet [1, 2] Wide ResNet [3] ResNeXt [4] DenseNet [5] DPNet [9] NASNet [10] SENet [11] Capsules [12]

    总结近期CNN模型的发展(一) from:https://zhuanlan.zhihu.com/p/30746099 余俊 计算机视觉及深度学习   1.前言 好久没有更新专栏了,最近因为项目的原因接 ...

  9. 8.1 NOIP模拟11

    8.1 NOIP模拟 11 今天上午返校之后,颓了一会,然后下午就开始考试,中午睡着了,然后刚开始考试的时候就困的一匹,我一看T1,woc,这不是之前线段树专题的题啊,和那道题差不多,所以我..... ...

随机推荐

  1. 深入理解javascript闭包(二)

    在上次的分享中javascript--函数参数与闭包--详解,对闭包的解释不够深入.本人经过一段时间的学习,对闭包的概念又有了新的理解.于是便把学习的过程整理成文章,一是为了加深自己闭包的理解,二是给 ...

  2. VS2012 Unit Test——Microsoft Fakes入门

    如题,本文主要作为在VS2012使用Fakes的入门示例,开发工具必须是VS2012或更高版本. 关于Fakes的MSDN地址:http://msdn.microsoft.com/en-us/libr ...

  3. UITextField

    UITextFieldDemo 效果 特点 1.有效定制键盘的样式 2.处理键盘对文本框的遮挡 用法 1.导入文件(UITextField+CreateInputAccessoryView.h/.m) ...

  4. [Modern OpenGL系列(二)]创建OpenGL窗口

    本文已同步发表在CSDN:http://blog.csdn.net/wenxin2011/article/details/51295663 在博主的上一篇文章中已经介绍了OpenGL开发环境的搭建,本 ...

  5. IntelliJ IDEA安装及jsp开发环境搭建

    一.前言 现在.net国内市场不怎么好,公司整个.net组技术转型,就个人来说还是更喜欢.net,毕竟不是什么公司都像微软一样财大气粗开发出VS这样的宇宙级IDE供开发者使用,双击sln即可打开项目, ...

  6. mount常用挂载命令

    挂接命令(mount) 首先,介绍一下挂接(mount)命令的使用方法,mount命令参数非常多,这里主要讲一下今天我们要用到的. 命令格式: mount [-t vfstype] [-o optio ...

  7. apache 开机自启动脚本设置

    默认我们源码编译安装apache,是不能使用service这个命令来启动的,通常我们启动的命令是: [root@localhost httpd-2.2.16]# /usr/local/apache2/ ...

  8. [转]An introduction to OAuth 2.0 using Facebook in ASP.NET Core

    本文转自:http://andrewlock.net/an-introduction-to-oauth-2-using-facebook-in-asp-net-core/ This is the ne ...

  9. 在Ubuntu Server 14.04中搭建FTP服务器(VMWare)

    自己搭建ftp服务器,方便主机与虚拟机中的Ubuntu传输文件. 选用的ftp软件为vsftpd. 1.命令行: sudo apt-get install vsftpd 2.安装完配置: vsftpd ...

  10. 2016年Web前端面试题目

    以下是收集一些面试中经常会遇到的经典面试题以及自己面试过程中无法解决的问题,通过对知识的整理以及经验的总结,重新巩固自身的前端基础知识,如有错误或更好的答案,欢迎指正.:) HTML/CSS部分 1. ...