結果

問題 No.383 レーティング
ユーザー Goyotan
提出日時 2016-07-18 16:05:29
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 403 bytes
コンパイル時間 4,959 ms
コンパイル使用メモリ 77,624 KB
実行使用メモリ 54,480 KB
最終ジャッジ日時 2024-10-15 16:57:28
合計ジャッジ時間 6,682 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Study02 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String a = sc.nextLine();
		String [] q = a.split(" ");
		int [] z = new int[2];
		for(int i=0;i<q.length;i++){
			z[i] = Integer.parseInt(q[i]);
		}
		int asd = z[1] - z[0];
		if(asd < 0){
			System.out.println(asd);
		}else{
			System.out.println("+"+asd);
		}

	}

}
0