結果

問題 No.481 1から10
ユーザー fkwnw3_1243fkwnw3_1243
提出日時 2017-05-04 08:08:23
言語 Java21
(openjdk 21)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 473 bytes
コンパイル時間 3,145 ms
コンパイル使用メモリ 75,328 KB
実行使用メモリ 50,840 KB
最終ジャッジ日時 2023-10-12 06:58:10
合計ジャッジ時間 4,038 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
50,612 KB
testcase_01 AC 60 ms
50,496 KB
testcase_02 AC 64 ms
50,676 KB
testcase_03 AC 59 ms
50,656 KB
testcase_04 AC 59 ms
50,808 KB
testcase_05 AC 60 ms
50,612 KB
testcase_06 AC 60 ms
50,688 KB
testcase_07 AC 59 ms
50,840 KB
testcase_08 AC 59 ms
50,660 KB
testcase_09 AC 58 ms
50,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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(" ");
        System.out.println(55 -Stream.of(inputs).mapToInt(Integer::parseInt).sum());
    }
}
0