結果

問題 No.481 1から10
ユーザー hippolover02hippolover02
提出日時 2022-07-29 17:57:20
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 461 bytes
コンパイル時間 2,351 ms
コンパイル使用メモリ 75,936 KB
実行使用メモリ 56,296 KB
最終ジャッジ日時 2023-09-26 14:38:40
合計ジャッジ時間 4,371 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
56,212 KB
testcase_01 AC 121 ms
55,776 KB
testcase_02 AC 121 ms
55,832 KB
testcase_03 AC 121 ms
56,024 KB
testcase_04 AC 123 ms
55,924 KB
testcase_05 AC 120 ms
55,788 KB
testcase_06 AC 121 ms
56,296 KB
testcase_07 AC 121 ms
55,948 KB
testcase_08 AC 121 ms
56,008 KB
testcase_09 AC 125 ms
55,848 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;


public class Main {
    public static void main(String[] args) {
        // 自分の得意な言語で
        // Let's チャレンジ!!
        Scanner sc = new Scanner(System.in);
        String[] line = sc.nextLine().split(" ");
        int[] arr = Arrays.stream(line).mapToInt(Integer::parseInt).toArray();
        int sum =0;
        for(int n: arr){
            sum += n;
        }
        System.out.println(55 - sum);
    }
}
0