結果

問題 No.1586 Equal Array
ユーザー yuruhiyayuruhiya
提出日時 2021-07-09 13:05:57
言語 Crystal
(1.11.2)
結果
WA  
実行時間 -
コード長 88 bytes
コンパイル時間 17,732 ms
コンパイル使用メモリ 254,752 KB
実行使用メモリ 13,368 KB
最終ジャッジ日時 2023-09-14 06:26:28
合計ジャッジ時間 19,200 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 12 ms
10,244 KB
testcase_05 AC 12 ms
10,336 KB
testcase_06 AC 17 ms
11,280 KB
testcase_07 AC 17 ms
11,204 KB
testcase_08 AC 17 ms
11,400 KB
testcase_09 AC 17 ms
11,464 KB
testcase_10 AC 17 ms
11,360 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 3 ms
4,380 KB
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = read_line.to_i
a = read_line.split.map(&.to_i64)
puts a.sum % n == 1 ? "Yes" : "No"
0