結果

問題 No.481 1から10
ユーザー papipenpapipen
提出日時 2017-03-27 20:05:42
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 268 bytes
コンパイル時間 2,739 ms
コンパイル使用メモリ 71,440 KB
実行使用メモリ 56,072 KB
最終ジャッジ日時 2023-09-20 17:19:32
合計ジャッジ時間 4,088 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,676 KB
testcase_01 AC 121 ms
55,688 KB
testcase_02 AC 120 ms
55,680 KB
testcase_03 AC 121 ms
56,072 KB
testcase_04 AC 121 ms
55,288 KB
testcase_05 AC 126 ms
55,828 KB
testcase_06 AC 121 ms
55,788 KB
testcase_07 AC 121 ms
55,724 KB
testcase_08 AC 124 ms
55,896 KB
testcase_09 AC 121 ms
55,784 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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