#include <deque>
#include <iostream>
#include <iterator>
using namespace std;
template <class T>
void print(T& c){
for( typename T::iterator i = c.begin(); i != c.end(); i++ ){
std::cout << *i << endl;
}
}
int main( )
{
deque<float> data( (istream_iterator<float>( cin )),istream_iterator<float>() );
print( data );
}
|