代码搜索:reverse
找到约 4,015 项符合「reverse」的源代码
代码结果 4,015
www.eeworm.com/read/127418/14355999
txt 表操作.txt
Prolog对表的基本操作
表在Prolog中很重要,下面里举一下对它的基本操作(都是书上的)
先定义
domains
element = integer
array = element*
这样的好处是,可以轻松的改掉基本的element为别的类型,如symbol,而不用去该谓词里的定义
www.eeworm.com/read/127418/14356015
pro fouth.pro
domains
sylist=symbol*
predicates
palin(sylist)
reverse(sylist,sylist)
append(sylist,sylist,sylist)
clauses
palin([]).
palin([X|[Y,X]]).
palin([X|L]):-
reverse(L,[X|M]),pal
www.eeworm.com/read/126350/14427838
c 3opt.c
/*
HEADER: CUG000.05;
TITLE: ThreeOpt;
DATE: Mar 89;
DESCRIPTION: 3-Opt Tour Improvement Algorithm;
VERSION: 2.0;
www.eeworm.com/read/126350/14427842
c 2opt.c
/*
HEADER: CUG000.03;
TITLE: TwoOpt;
DATE: Mar 89;
DESCRIPTION: 2-Opt Tour Improvement Algorithm;
VERSION: 2.0;
www.eeworm.com/read/126184/14439748
cpp liststability.cpp
//: C07:ListStability.cpp {-bor}
// From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison.
// (c) 1995-2004 MindView, Inc. All Rights Reserved.
// See source code use permissions stated
www.eeworm.com/read/226560/14459323
cpp liststability.cpp
//: C04:ListStability.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Things don't move around i
www.eeworm.com/read/124791/14544200
cpp chapter2-27.cpp
//文件名:CHAPTER2-27.cpp
#include
#include
#include
using namespace std;
int main()
{ //create constant string
const string hello("Hello, how are you?");
//i