- 博客(5)
- 收藏
- 关注
转载 Django框架介绍
Django框架原理 MVC是众所周知的模式,即:将应用程序分解成三个组成部分:model(模型),view(视图),和 controller(控制 器)。其中: M——管理应用程序的状态(通常存储到数据库中),并约束改变状态的行为(或者叫做“业务规则”)。 C——接受外部用户的操作,根据操作访问模型获取数据,并调用“视图”显示这些数据。控制器是将“模型”和“视图...
2018-04-26 19:43:08
377
原创 PAT甲级1004--二叉树DFS
1004. Counting Leaves (30) A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Each input file contains one test case. Eac...
2018-04-26 19:29:55
192
原创 PAT甲级1003--最短路径
1003. Emergency (25) As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams ...
2018-04-25 20:43:47
236
原创 PAT甲级1002-数学模拟
1002. A+B for Polynomials (25)-PAT甲级真题 Details:This time, you are supposed to find A+B where A and B are two polynomials. Input Each input file contains one test case. Each case occupies 2 lines, a...
2018-04-24 16:25:59
255
原创 PAT甲级1001-字符串处理
1001. A+B Format (20) Details:Calculate a + b and output the sum in standard format – that is, the digits must be separated into groups of three by commas (unless there are less than four digits). I...
2018-04-24 16:18:22
339
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人