結果

問題 No.280 歯車の問題(1)
ユーザー keymoonkeymoon
提出日時 2021-02-01 22:58:54
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 64 ms / 1,000 ms
コード長 512 bytes
コンパイル時間 1,974 ms
コンパイル使用メモリ 103,444 KB
実行使用メモリ 24,092 KB
最終ジャッジ日時 2023-09-12 10:53:36
合計ジャッジ時間 8,306 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
21,924 KB
testcase_01 AC 62 ms
22,048 KB
testcase_02 AC 62 ms
24,012 KB
testcase_03 AC 63 ms
21,896 KB
testcase_04 AC 62 ms
23,980 KB
testcase_05 AC 62 ms
22,004 KB
testcase_06 AC 63 ms
21,936 KB
testcase_07 AC 61 ms
22,012 KB
testcase_08 AC 62 ms
22,032 KB
testcase_09 AC 64 ms
21,984 KB
testcase_10 AC 62 ms
22,004 KB
testcase_11 AC 62 ms
22,056 KB
testcase_12 AC 64 ms
24,092 KB
testcase_13 AC 63 ms
24,044 KB
testcase_14 AC 63 ms
21,912 KB
testcase_15 AC 63 ms
21,992 KB
testcase_16 AC 63 ms
24,032 KB
testcase_17 AC 62 ms
21,936 KB
testcase_18 AC 62 ms
23,896 KB
testcase_19 AC 64 ms
23,888 KB
testcase_20 AC 62 ms
23,872 KB
testcase_21 AC 62 ms
21,956 KB
testcase_22 AC 64 ms
23,896 KB
testcase_23 AC 62 ms
22,016 KB
testcase_24 AC 63 ms
23,988 KB
testcase_25 AC 62 ms
23,980 KB
testcase_26 AC 64 ms
21,916 KB
testcase_27 AC 62 ms
22,016 KB
testcase_28 AC 61 ms
21,984 KB
testcase_29 AC 62 ms
22,036 KB
testcase_30 AC 62 ms
21,940 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;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using static System.Math;
public static class P
{
    public static void Main()
    {
        int n = int.Parse(Console.ReadLine());
        var a = Console.ReadLine().Split().Select(int.Parse).ToArray();
        Console.WriteLine($"{a.Last()}/{a.First()}");
    }
}
0