結果

問題 No.383 レーティング
ユーザー fal_rndfal_rnd
提出日時 2016-10-29 00:41:36
言語 Java21
(openjdk 21)
結果
AC  
実行時間 113 ms / 2,000 ms
コード長 216 bytes
コンパイル時間 1,634 ms
コンパイル使用メモリ 71,620 KB
実行使用メモリ 56,224 KB
最終ジャッジ日時 2023-08-15 22:03:34
合計ジャッジ時間 3,988 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 111 ms
55,732 KB
testcase_01 AC 108 ms
55,832 KB
testcase_02 AC 110 ms
56,224 KB
testcase_03 AC 109 ms
55,800 KB
testcase_04 AC 113 ms
55,828 KB
testcase_05 AC 109 ms
55,600 KB
testcase_06 AC 112 ms
55,856 KB
testcase_07 AC 108 ms
56,132 KB
testcase_08 AC 111 ms
55,632 KB
testcase_09 AC 111 ms
55,948 KB
testcase_10 AC 108 ms
54,432 KB
testcase_11 AC 108 ms
56,036 KB
testcase_12 AC 109 ms
55,616 KB
testcase_13 AC 110 ms
55,828 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
class A{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		int r = -s.nextInt()+s.nextInt();
		if(r>0)
			System.out.print("+");
		System.out.println(r);
	}
}
0