結果

問題 No.481 1から10
ユーザー HEGO55HEGO55
提出日時 2017-05-09 01:51:15
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 282 bytes
コンパイル時間 1,949 ms
コンパイル使用メモリ 72,384 KB
実行使用メモリ 56,052 KB
最終ジャッジ日時 2023-10-12 19:20:46
合計ジャッジ時間 4,022 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,744 KB
testcase_01 AC 122 ms
55,916 KB
testcase_02 AC 121 ms
55,976 KB
testcase_03 AC 121 ms
56,020 KB
testcase_04 AC 123 ms
55,776 KB
testcase_05 AC 121 ms
55,912 KB
testcase_06 AC 121 ms
55,948 KB
testcase_07 AC 125 ms
55,972 KB
testcase_08 AC 123 ms
56,052 KB
testcase_09 AC 121 ms
55,764 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
class Test24{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int[] num = new int[9];
		int sum = 0;
		
		for(int i=0; i<num.length; i++){
			num[i]= sc.nextInt();
			sum += num[i];
		}
		
		System.out.println(55-sum);
	}
}
				
0