#include #include using namespace std; void main( void ) { int i; // assign メソッドで初期化する vector v1; v1.assign( 10, 1 ); for ( i=0; i v2; for ( i=0; i