結果

問題 No.280 歯車の問題(1)
ユーザー kou6839kou6839
提出日時 2015-09-21 13:05:59
言語 Java21
(openjdk 21)
結果
AC  
実行時間 162 ms / 1,000 ms
コード長 371 bytes
コンパイル時間 2,535 ms
コンパイル使用メモリ 73,360 KB
実行使用メモリ 57,092 KB
最終ジャッジ日時 2023-09-26 14:09:29
合計ジャッジ時間 12,073 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 152 ms
56,792 KB
testcase_01 AC 152 ms
56,720 KB
testcase_02 AC 153 ms
56,452 KB
testcase_03 AC 153 ms
56,680 KB
testcase_04 AC 155 ms
56,476 KB
testcase_05 AC 155 ms
56,460 KB
testcase_06 AC 150 ms
54,956 KB
testcase_07 AC 154 ms
56,452 KB
testcase_08 AC 155 ms
56,980 KB
testcase_09 AC 157 ms
56,800 KB
testcase_10 AC 158 ms
56,848 KB
testcase_11 AC 149 ms
57,092 KB
testcase_12 AC 156 ms
56,564 KB
testcase_13 AC 151 ms
56,456 KB
testcase_14 AC 157 ms
56,720 KB
testcase_15 AC 156 ms
56,708 KB
testcase_16 AC 154 ms
56,804 KB
testcase_17 AC 151 ms
56,780 KB
testcase_18 AC 147 ms
56,260 KB
testcase_19 AC 154 ms
56,540 KB
testcase_20 AC 158 ms
56,964 KB
testcase_21 AC 161 ms
56,732 KB
testcase_22 AC 155 ms
56,772 KB
testcase_23 AC 155 ms
56,536 KB
testcase_24 AC 156 ms
56,464 KB
testcase_25 AC 162 ms
56,616 KB
testcase_26 AC 156 ms
56,444 KB
testcase_27 AC 156 ms
56,816 KB
testcase_28 AC 151 ms
56,776 KB
testcase_29 AC 157 ms
56,804 KB
testcase_30 AC 149 ms
56,680 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.util.concurrent.locks.ReentrantReadWriteLock;

public class Main{
	public static void main(String[] args){
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();
		int[] z = new int[n];
		for(int i=0;i<n;i++) z[i]=sc.nextInt();
		System.out.println(z[n-1]+"/"+z[0]);
	}
}
0