Problem F: Difference Row
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 8 Solved: 3
[Submit][Status][Web
Board]
Description
You want to arrange n integers a1, a2, ..., an in some order...
分类:
其他好文 时间:
2014-11-19 11:21:30
阅读次数:
171
不能用递归,被玩烂了的方法不一定是好方法。看看我这个?来自模电课上的随笔。 1 #include "iostream" 2 int main(void) 3 { 4 int a = 1; 5 int b = 1; 6 std::cout << a <<"\n"<<b<< st...
分类:
其他好文 时间:
2014-11-19 07:18:49
阅读次数:
176
1228: Simple Molecules
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 22 Solved: 8
[Submit][Status][Web
Board]
Description
Mad scientist Mike is busy carrying out experiments in chemist...
分类:
其他好文 时间:
2014-11-19 01:25:58
阅读次数:
161
1229: Rational Resistance
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 8 Solved: 4
[Submit][Status][Web
Board]
Description
Mad scientist Mike is building a time machine in his spare t...
分类:
其他好文 时间:
2014-11-19 01:25:50
阅读次数:
239
1230: Magnets
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 24 Solved: 13
[Submit][Status][Web
Board]
Description
Mad scientist Mike entertains himself by arranging rows of dominoes. H...
分类:
其他好文 时间:
2014-11-19 01:24:32
阅读次数:
220
Problem E: Fixed Points
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 29 Solved: 11
[Submit][Status][Web
Board]
Description
A permutation of length n is an integer sequence such that e...
分类:
其他好文 时间:
2014-11-19 01:23:39
阅读次数:
250
Problem F: Difference Row
Time Limit: 1 Sec Memory Limit: 128 MB
Submit: 8 Solved: 3
[Submit][Status][Web
Board]
Description
You want to arrange n integers a1, a2, ..., an in some order...
分类:
其他好文 时间:
2014-11-19 01:23:01
阅读次数:
252
这个博客费了好大劲也总算是弄出来了,也经过不断完善,但始终觉得好像患有什么没有完善的,希望大姐给出好的建议...
分类:
其他好文 时间:
2014-11-17 16:00:37
阅读次数:
189
#include <iostream> #include <stdlib.h> #include <string.h> using namespace std; /* 字符串匹配 ?代表一个字符(不能没有),*可以代表任意多个字符(可以为空) ?表示任意字符,也就是说?永远可以匹配成功,...
分类:
其他好文 时间:
2014-11-16 20:16:43
阅读次数:
191
运行及代码:
/*
*Copyright (c)2014,烟台大学计算机与控制工程学院
*All rights reserved.
*文件名称:d.cpp
*作 者:张旺华
*完成日期:2014年11月16日
*版 本 号:v1.0
*
*问题描述:求多组整数最大公约数
*输入描述:每次输入两个整数或以N结束
*程序输出:输入两整数最大公约数
*/
#include...
分类:
其他好文 时间:
2014-11-16 14:45:15
阅读次数:
162