首页下载资源后端ccf书籍-基础篇-第一章源代码

ZIPccf书籍-基础篇-第一章源代码

Zhou2010_5.75MB需要积分:1

资源文件列表:

基础篇——第1章.zip 大约有27个文件
  1. 第1章/
  2. 第1章/1.1-1.cpp 251B
  3. 第1章/1.1-1.exe 1.89MB
  4. 第1章/1.2-2.cpp 267B
  5. 第1章/1.2-2.exe 1.89MB
  6. 第1章/1.2-3.cpp 307B
  7. 第1章/1.2-3.exe 1.89MB
  8. 第1章/1.3-4.cpp 185B
  9. 第1章/1.3-4.exe 1.89MB
  10. 第1章/1.4-5.cpp 293B
  11. 第1章/1.4-5.exe 1.89MB
  12. 第1章/1.5-6.cpp 371B
  13. 第1章/1.5-6.exe 1.9MB
  14. 第1章/1.5-7.cpp 886B
  15. 第1章/1.5-7.exe 1.89MB
  16. 第1章/1.5-8.cpp 915B
  17. 第1章/1.5-8.exe 1.91MB
  18. 第1章/1.6-10.cpp 308B
  19. 第1章/1.6-10.exe 1.89MB
  20. 第1章/1.6-11.cpp 391B
  21. 第1章/1.6-11.exe 1.9MB
  22. 第1章/1.6-12.cpp 276B
  23. 第1章/1.6-12.exe 1.92MB
  24. 第1章/1.6-9.0.cpp 175B
  25. 第1章/1.6-9.0.exe 1.89MB
  26. 第1章/1.6-9.cpp 177B
  27. 第1章/1.6-9.exe 1.89MB

资源介绍:

ccf书籍——基础篇——第一章(编程如此简单)源代码 共13个源代码 介绍基本的顺序结构 1.1程序设计概念 1.2整数算术运算 1.3实数算术运算 源代码均为本人编写
#include #include #include using namespace std; const int N=110; int n,m,a[N][N],b[N][N]; string s; void input() { cin>>m>>n; for(int i=1;i<=m;i++) { for(int j=1;j<=n;j++)cin>>a[i][j]; } cin>>s; } int f(char a,int x,int y,int g) { if(a=='A')if(!g)return y;else return m-x+1; if(a=='B')if(!g)return n-y+1;else return x; if(a=='C')if(!g)return x;else return n-y+1; if(!g)return m-x+1;else return y; } void work() { for(int k=0;k
100+评论
captcha