-
-
Save sakapon/a88697da54fc78f838baeadcc19b54c4 to your computer and use it in GitHub Desktop.
AtCoder Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
class A | |
{ | |
static void Main() | |
{ | |
Console.ReadLine(); | |
var s = Console.ReadLine(); | |
var n = int.Parse(Console.ReadLine()); | |
var a = Console.ReadLine().Split().Select(int.Parse).ToArray(); | |
var ps = new int[n].Select(_ => Console.ReadLine().Split().Select(int.Parse).ToArray()).ToArray(); | |
Console.WriteLine(string.Join(" ", a)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment