1 #include 2 #include 3 int a[10000]; 4 int max1=0, n=0; 5 int first = 0; 6 using namespace std; 7 8 void bijiao() 9 { 10 int i; 11 for (i=1;i=1) 14 {... ...
分类:
其他好文 时间:
2017-06-24 19:50:02
阅读次数:
165
Knight Moves Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14114 Accepted: 7870 Description A friend of you is doing research on the Trav ...
分类:
其他好文 时间:
2017-06-24 17:26:22
阅读次数:
137
题意: 给出n个非严格递增的整数(可能有负数),必须操作k次。每次能够把当中一个数变为它的相反数,使得终于的数列和最大。输出这个最大和。 考验怎样出坑数据卡自己的程序... #include <cstdio> const int maxn = 105; int n, k, num[maxn]; in ...
分类:
其他好文 时间:
2017-06-22 12:08:35
阅读次数:
104
#include <iostream> #include <string> #include <cassert> #include <algorithm> #include <vector> using namespace std; class Sales_data { friend std::is ...
分类:
编程语言 时间:
2017-06-22 12:04:56
阅读次数:
285
What is Grammar? And why grammar is your friend… Grammar(noun): the structure and system of a language , or of languages in general, usually considere ...
分类:
其他好文 时间:
2017-06-22 11:11:28
阅读次数:
205
4.5 Inline Functions 以下是Point class 的一个加法运算符的可能实现内容: class Point { friend Point operator+(const Point&, const Point&); }; Point operator+(const Point ...
分类:
编程语言 时间:
2017-06-20 20:18:50
阅读次数:
136
https://www.zabbix.com/forum/showthread.php?t=51258 We have 10 proxies pointing to a single central server (v2.4.5). As far as I can tell the data sen ...
分类:
其他好文 时间:
2017-06-20 17:54:44
阅读次数:
233
You are my brother 时间限制:1000 ms | 内存限制:65535 KB 难度:3 描述 Little A gets to know a new friend, Little B, recently. One day, they realize that they are fa ...
分类:
其他好文 时间:
2017-06-20 10:57:42
阅读次数:
143
Django: Python Web应用开发框架 Django 应该是最出名的Python框架,GAE甚至Erlang都有框架受它影响。Django是走大而全的方向,它最出名的是其全自动化的管理后台:只需要使用起ORM,做简单的对象定义,它就能自动生成数据库结构、以及全功能的管理后台。 Diesel ...
分类:
编程语言 时间:
2017-06-19 18:37:15
阅读次数:
252
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston ...
分类:
其他好文 时间:
2017-06-16 10:22:18
阅读次数:
224