結果

問題 No.383 レーティング
ユーザー リチウム
提出日時 2016-07-01 22:55:55
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 253 bytes
コンパイル時間 3,799 ms
コンパイル使用メモリ 79,424 KB
実行使用メモリ 42,600 KB
最終ジャッジ日時 2024-10-12 00:57:05
合計ジャッジ時間 7,236 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

package test;

import java.util.Scanner;


public class atc {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		String s="";
		if(a>b)s="+";
		System.out.println(s+(a-b));
	}

}
0