OKlibrary  0.2.1.6
PdExtend.cpp File Reference

Extending a palindromic vdW-solution to a full solution. More...

#include <iostream>
#include <vector>
#include <cstdlib>
#include <boost/lexical_cast.hpp>

Go to the source code of this file.

Defines

#define INT_TYPE_VDW   int

Enumerations

enum  

Functions

int main (const int argc, const char *const argv[])

Detailed Description

Extending a palindromic vdW-solution to a full solution.

Called with parameters N, reads a sequence of integers +-v for 1 <= v <= ceil(N/2) from standard input and outputs to standard output this sequence, followed by the sequence of +-v' for v' = N - v + 1, in backwards order.

Definition in file PdExtend.cpp.


Define Documentation

#define INT_TYPE_VDW   int

Definition at line 28 of file PdExtend.cpp.


Enumeration Type Documentation

anonymous enum

Definition at line 33 of file PdExtend.cpp.


Function Documentation

int main ( const int  argc,
const char *const  argv[] 
)

Definition at line 46 of file PdExtend.cpp.

References end, and N.