結果

問題 No.383 レーティング
ユーザー fal_rndfal_rnd
提出日時 2016-10-29 00:41:36
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 216 bytes
コンパイル時間 2,279 ms
コンパイル使用メモリ 74,428 KB
実行使用メモリ 54,308 KB
最終ジャッジ日時 2024-05-03 08:31:57
合計ジャッジ時間 4,187 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
53,980 KB
testcase_01 AC 115 ms
53,868 KB
testcase_02 AC 114 ms
54,172 KB
testcase_03 AC 122 ms
54,308 KB
testcase_04 AC 113 ms
53,664 KB
testcase_05 AC 111 ms
52,688 KB
testcase_06 AC 122 ms
54,236 KB
testcase_07 AC 122 ms
54,252 KB
testcase_08 AC 108 ms
53,280 KB
testcase_09 AC 115 ms
53,952 KB
testcase_10 AC 113 ms
53,784 KB
testcase_11 AC 104 ms
52,700 KB
testcase_12 AC 112 ms
53,936 KB
testcase_13 AC 110 ms
54,128 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