結果
| 問題 | No.280 歯車の問題(1) |
| コンテスト | |
| ユーザー |
nanophoto12
|
| 提出日時 | 2015-12-06 17:20:56 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 18 ms / 1,000 ms |
| コード長 | 427 bytes |
| 記録 | |
| コンパイル時間 | 1,052 ms |
| コンパイル使用メモリ | 107,008 KB |
| 実行使用メモリ | 19,968 KB |
| 最終ジャッジ日時 | 2026-04-04 13:34:47 |
| 合計ジャッジ時間 | 3,568 ms |
|
ジャッジサーバーID (参考情報) |
judge5_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 31 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
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());
}
}
}
nanophoto12