using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace citirevector
{
class Program
{
static void Main(string[] args)
{
string l = Console.ReadLine();
string[] s=l.Split(' ');
int[] x = new int[s.Count()]; // sau s.Length
int n = 0;
foreach (string a in s)
{
x[n] = Int32.Parse(a);
n++;
}
for (int i = 0; i < n; i++)
Console.Write(x[i] + " ");
Console.ReadKey();
}
}
}
|