ex:
輸入:
1 5 3 5
23 59 0 34
21 33 21 10
0 0 0 0
輸出 :
1 5 3 5
23 59 0 34
21 33 21 10
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Collections;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string line;
while( (line=Console.ReadLine()) != null)
{
String [] temp = line.Split(' ');
int num0 = int.Parse(temp[0]);
int num1 = int.Parse(temp[1]);
int num2 = int.Parse(temp[2]);
int num3 = int.Parse(temp[3]);
System.Console.WriteLine(line);
}
}
}
}
沒有留言:
張貼留言