結果

問題 No.1131 Deviation Score
ユーザー kat0rikkat0rik
提出日時 2020-08-15 18:13:22
言語 Go
(1.22.1)
結果
AC  
実行時間 461 ms / 2,000 ms
コード長 221 bytes
コンパイル時間 11,129 ms
コンパイル使用メモリ 210,024 KB
実行使用メモリ 7,936 KB
最終ジャッジ日時 2023-09-10 12:27:44
合計ジャッジ時間 17,281 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 98 ms
4,376 KB
testcase_01 AC 9 ms
4,380 KB
testcase_02 AC 404 ms
7,936 KB
testcase_03 AC 186 ms
5,656 KB
testcase_04 AC 364 ms
7,936 KB
testcase_05 AC 138 ms
5,636 KB
testcase_06 AC 392 ms
7,932 KB
testcase_07 AC 188 ms
5,656 KB
testcase_08 AC 348 ms
7,928 KB
testcase_09 AC 129 ms
4,380 KB
testcase_10 AC 335 ms
7,932 KB
testcase_11 AC 347 ms
7,932 KB
testcase_12 AC 309 ms
5,708 KB
testcase_13 AC 404 ms
7,932 KB
testcase_14 AC 83 ms
4,380 KB
testcase_15 AC 81 ms
4,380 KB
testcase_16 AC 362 ms
7,932 KB
testcase_17 AC 141 ms
5,648 KB
testcase_18 AC 461 ms
7,936 KB
testcase_19 AC 3 ms
4,376 KB
testcase_20 AC 1 ms
4,380 KB
testcase_21 AC 1 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package main

import "fmt"

func main() {
	var n, sum int
	fmt.Scan(&n)
	x := make([]int, n)
	for i := range x {
		fmt.Scan(&x[i])
		sum += x[i]
	}
	for i := range x {
		fmt.Println((100*n - sum + n*x[i]) / (n * 2))
	}
}
0