結果

問題 No.280 歯車の問題(1)
ユーザー TatsuDX
提出日時 2016-10-16 22:23:35
言語 Java
(openjdk 23)
結果
AC  
実行時間 185 ms / 1,000 ms
コード長 296 bytes
コンパイル時間 3,760 ms
コンパイル使用メモリ 75,944 KB
実行使用メモリ 55,064 KB
最終ジャッジ日時 2024-11-22 12:38:35
合計ジャッジ時間 11,861 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Test {
	public static Scanner sc = new Scanner(System.in);

	public static void main(String[] args) {
		int n = sc.nextInt();
		long a = sc.nextLong(), b = 0;
		for (int i = 1; i < n; i++) {
			b = sc.nextLong();
		}
		System.out.println(b + "/" + a);
	}
}
0