結果

問題 No.481 1から10
ユーザー dogwood0424
提出日時 2017-11-30 12:55:17
言語 Java
(openjdk 23)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 267 bytes
コンパイル時間 4,237 ms
コンパイル使用メモリ 74,052 KB
実行使用メモリ 41,704 KB
最終ジャッジ日時 2024-11-27 14:59:04
合計ジャッジ時間 6,233 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

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

		System.out.println(55-sum);

	}

}
0