結果

問題 No.280 歯車の問題(1)
ユーザー nanophoto12nanophoto12
提出日時 2015-12-06 17:20:56
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 64 ms / 1,000 ms
コード長 427 bytes
コンパイル時間 2,048 ms
コンパイル使用メモリ 103,356 KB
実行使用メモリ 24,048 KB
最終ジャッジ日時 2023-10-12 17:25:31
合計ジャッジ時間 8,204 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
22,008 KB
testcase_01 AC 61 ms
21,900 KB
testcase_02 AC 62 ms
21,888 KB
testcase_03 AC 62 ms
23,928 KB
testcase_04 AC 62 ms
23,928 KB
testcase_05 AC 62 ms
21,936 KB
testcase_06 AC 61 ms
21,824 KB
testcase_07 AC 63 ms
19,848 KB
testcase_08 AC 64 ms
22,048 KB
testcase_09 AC 61 ms
21,840 KB
testcase_10 AC 62 ms
23,860 KB
testcase_11 AC 62 ms
21,840 KB
testcase_12 AC 63 ms
19,884 KB
testcase_13 AC 62 ms
21,844 KB
testcase_14 AC 63 ms
23,984 KB
testcase_15 AC 61 ms
21,988 KB
testcase_16 AC 62 ms
21,848 KB
testcase_17 AC 61 ms
24,024 KB
testcase_18 AC 62 ms
21,828 KB
testcase_19 AC 61 ms
21,748 KB
testcase_20 AC 62 ms
24,048 KB
testcase_21 AC 62 ms
21,944 KB
testcase_22 AC 62 ms
23,884 KB
testcase_23 AC 62 ms
21,876 KB
testcase_24 AC 62 ms
21,832 KB
testcase_25 AC 61 ms
21,880 KB
testcase_26 AC 62 ms
23,876 KB
testcase_27 AC 61 ms
21,760 KB
testcase_28 AC 62 ms
23,872 KB
testcase_29 AC 62 ms
23,972 KB
testcase_30 AC 62 ms
21,844 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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