单页面应用程序:使用一个进加载一次的网页,如果页面由于用户的交互而改变,则仅绘制更改的页面部分。 要创建单页面应用程序需要使用 oj.Router 的虚拟导航来支持,ojModule 用来响应页面的重新绘制。 ojModule 仅用于分离的 view 和 viewMode ,使之与页面通过 Knoc ...
分类:
数据库 时间:
2017-07-24 13:06:39
阅读次数:
207
作为一个蒟蒻,头一回在bzoj这个神奇的oj上写题(A+B这么难的题就不说了) 废话不多说,先让dalao们看看题吧: 题目描述: 对于一个给定的S={a1,a2,a3,…,an},若有P={ax1,ax2,ax3,…,axm},满足(x1 < x2 < … < xm)且( ax1 < ax2 < ...
分类:
其他好文 时间:
2017-07-24 01:35:02
阅读次数:
237
题目: Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 -> ...
分类:
其他好文 时间:
2017-07-23 22:38:03
阅读次数:
131
Total Accepted: 1341 Total Submissions: 3744 Difficulty: Medium The thief has found himself a new place for his thievery again. There is only one entr ...
分类:
其他好文 时间:
2017-07-23 21:10:51
阅读次数:
142
这是一道坑爹的题目,为什么这么说,且看我慢慢分析…… 题目例如以下: 给出一个名字,该名字有26个字符串组成,定义这个字符串的“美丽度”是其全部字母“美丽度”的总和。 每一个字母都有一个“美丽度”。范围在1到26之间。没有不论什么两个字母拥有同样的“美丽度”。字母忽略大写和小写。 给出多个名字。计算 ...
分类:
其他好文 时间:
2017-07-23 19:59:43
阅读次数:
156
62. Unique Paths My Submissions Question Total Accepted: 75227 Total Submissions: 214539 Difficulty: Medium A robot is located at the top-left corner ...
分类:
其他好文 时间:
2017-07-23 18:23:26
阅读次数:
178
Problem 2277 Change Time Limit: 2000 mSec Memory Limit : 262144 KB Time Limit: 2000 mSec Memory Limit : 262144 KB Problem Description There is a roote ...
分类:
编程语言 时间:
2017-07-23 15:29:04
阅读次数:
174
Description 期末考试结束,班主任拿到了本班学生的成绩汇总表。由m行n列组成(本班共同拥有m名学生,本学期有n门课程),每行是一个同学的n门课程成绩,请编敲代码,计算并输出每门课的平均分。结果保留2位小数。 Input 第一行是两个整数m和n,表示本班的人数和本学期课程数目,0<m<=10 ...
分类:
其他好文 时间:
2017-07-23 09:59:38
阅读次数:
219
#include #include #include #include using namespace std; /*string a = "abc" ,将a放到字符数组*/ void convert(string str,char s[]) { /*abc的长度是3*/ for(int i=0;i... ...
分类:
编程语言 时间:
2017-07-23 00:49:38
阅读次数:
104
有点气啊 写了半天的题刚要交就发现bzoj又炸了 维护一个oj如此吃力? ...
分类:
其他好文 时间:
2017-07-22 22:22:39
阅读次数:
128