結果
問題 | No.353 ヘイトプラス |
ユーザー |
![]() |
提出日時 | 2017-05-03 21:55:16 |
言語 | Java (openjdk 23) |
結果 |
AC
|
実行時間 | 53 ms / 1,000 ms |
コード長 | 517 bytes |
コンパイル時間 | 2,133 ms |
コンパイル使用メモリ | 74,508 KB |
実行使用メモリ | 37,172 KB |
最終ジャッジ日時 | 2024-07-03 22:28:23 |
合計ジャッジ時間 | 3,005 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 |
ソースコード
import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.util.stream.Stream;import static java.lang.System.in;public class Main {public static void main(String[] args) throws IOException {BufferedReader reader = new BufferedReader(new InputStreamReader(in));String[] inputs = reader.readLine().split(" ");int A = Integer.parseInt(inputs[0]);int B = Integer.parseInt(inputs[1]);System.out.println(A-(-B));}}