結果

問題 No.280 歯車の問題(1)
ユーザー kohaku_kohaku
提出日時 2016-11-18 22:12:35
言語 Java
(openjdk 23)
結果
AC  
実行時間 157 ms / 1,000 ms
コード長 323 bytes
コンパイル時間 2,180 ms
コンパイル使用メモリ 75,856 KB
実行使用メモリ 42,612 KB
最終ジャッジ日時 2024-11-26 06:33:52
合計ジャッジ時間 8,536 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        long [] z = new long [N];
        for(int i=0; i<N; i++){
            z[i] = sc.nextLong();
        }
        System.out.println(z[N-1]+"/"+z[0]);
    }
}
0