結果

問題 No.353 ヘイトプラス
ユーザー fjafjafjafjafjafja
提出日時 2017-09-17 13:06:43
言語 Java21
(openjdk 21)
結果
AC  
実行時間 115 ms / 1,000 ms
コード長 190 bytes
コンパイル時間 1,760 ms
コンパイル使用メモリ 71,044 KB
実行使用メモリ 56,480 KB
最終ジャッジ日時 2023-09-16 23:56:01
合計ジャッジ時間 3,578 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 106 ms
55,596 KB
testcase_01 AC 106 ms
56,016 KB
testcase_02 AC 106 ms
55,852 KB
testcase_03 AC 110 ms
56,480 KB
testcase_04 AC 112 ms
56,188 KB
testcase_05 AC 115 ms
56,160 KB
testcase_06 AC 112 ms
55,880 KB
testcase_07 AC 112 ms
56,160 KB
testcase_08 AC 114 ms
55,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main
{
public static void main(String[] args)
{
Scanner sc=new Scanner (System.in);
int a=sc.nextInt(),b=sc.nextInt();
System.out.println((int)Math.abs(-a-b));
}
}
0