結果

問題 No.280 歯車の問題(1)
ユーザー nanophoto12
提出日時 2015-12-06 17:20:56
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 30 ms / 1,000 ms
コード長 427 bytes
コンパイル時間 1,883 ms
コンパイル使用メモリ 111,144 KB
実行使用メモリ 19,456 KB
最終ジャッジ日時 2024-09-14 15:57:57
合計ジャッジ時間 4,955 ms
ジャッジサーバーID
(参考情報)
judge6 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace No280
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			var n = Convert.ToInt32(Console.ReadLine ());
			string[] line = Console.ReadLine ().Split(' ');
			long[] wheels = line.Select (s => Convert.ToInt64 (s)).ToArray();

			Console.WriteLine (wheels[n-1].ToString () + "/" + wheels[0].ToString());
		}
	}
}
0