結果

問題 No.280 歯車の問題(1)
ユーザー spaciaspacia
提出日時 2016-01-17 16:34:27
言語 Java21
(openjdk 21)
結果
AC  
実行時間 102 ms / 1,000 ms
コード長 396 bytes
コンパイル時間 2,075 ms
コンパイル使用メモリ 76,728 KB
実行使用メモリ 56,080 KB
最終ジャッジ日時 2023-10-20 00:29:49
合計ジャッジ時間 7,595 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
54,416 KB
testcase_01 AC 78 ms
54,364 KB
testcase_02 AC 81 ms
54,416 KB
testcase_03 AC 80 ms
54,440 KB
testcase_04 AC 88 ms
54,440 KB
testcase_05 AC 78 ms
54,512 KB
testcase_06 AC 80 ms
54,432 KB
testcase_07 AC 80 ms
54,856 KB
testcase_08 AC 80 ms
54,436 KB
testcase_09 AC 81 ms
54,428 KB
testcase_10 AC 82 ms
54,416 KB
testcase_11 AC 80 ms
54,408 KB
testcase_12 AC 82 ms
56,048 KB
testcase_13 AC 82 ms
56,020 KB
testcase_14 AC 91 ms
56,056 KB
testcase_15 AC 102 ms
56,016 KB
testcase_16 AC 78 ms
55,952 KB
testcase_17 AC 79 ms
54,668 KB
testcase_18 AC 77 ms
54,520 KB
testcase_19 AC 87 ms
54,432 KB
testcase_20 AC 90 ms
54,488 KB
testcase_21 AC 80 ms
54,444 KB
testcase_22 AC 78 ms
54,484 KB
testcase_23 AC 84 ms
54,368 KB
testcase_24 AC 81 ms
54,448 KB
testcase_25 AC 84 ms
52,464 KB
testcase_26 AC 82 ms
56,032 KB
testcase_27 AC 81 ms
54,452 KB
testcase_28 AC 82 ms
54,404 KB
testcase_29 AC 93 ms
56,080 KB
testcase_30 AC 84 ms
54,392 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;

class Main {
	
	public static void out (Object o) {
		System.out.println(o);
	}
	
	public static void main (String[] args) throws IOException {
		BufferedReader br = 
			new BufferedReader(new InputStreamReader(System.in));
		
		int n = Integer.parseInt(br.readLine());
		String[] line = br.readLine().split(" ");
		
		out(line[n - 1] + "/" + line[0]);
	}
}
0