結果

問題 No.353 ヘイトプラス
ユーザー takutakutakutaku
提出日時 2020-09-23 11:12:07
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 1,000 ms
コード長 292 bytes
コンパイル時間 2,230 ms
コンパイル使用メモリ 71,452 KB
実行使用メモリ 58,148 KB
最終ジャッジ日時 2023-09-09 23:55:34
合計ジャッジ時間 4,710 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
58,148 KB
testcase_01 AC 122 ms
56,188 KB
testcase_02 AC 123 ms
53,896 KB
testcase_03 AC 123 ms
56,040 KB
testcase_04 AC 123 ms
56,140 KB
testcase_05 AC 122 ms
56,184 KB
testcase_06 AC 122 ms
55,936 KB
testcase_07 AC 124 ms
55,456 KB
testcase_08 AC 125 ms
56,040 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	public static void main(String[] args) {
	    
	    // 標準入力を受け取る
	    Scanner sc = new Scanner(System.in);
        long a = sc.nextLong();
        long b = sc.nextLong();
        
        System.out.println(a - (-b));
        
	}
}
0