結果

問題 No.1389 Clumsy Calculation
ユーザー kotatsugamekotatsugame
提出日時 2021-02-12 21:30:27
言語 Ruby
(3.3.0)
結果
AC  
実行時間 227 ms / 2,000 ms
コード長 44 bytes
コンパイル時間 63 ms
コンパイル使用メモリ 11,512 KB
実行使用メモリ 52,568 KB
最終ジャッジ日時 2023-09-27 02:57:41
合計ジャッジ時間 6,541 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,128 KB
testcase_01 AC 81 ms
15,192 KB
testcase_02 AC 82 ms
15,220 KB
testcase_03 AC 83 ms
15,644 KB
testcase_04 AC 85 ms
15,624 KB
testcase_05 AC 86 ms
15,608 KB
testcase_06 AC 86 ms
15,680 KB
testcase_07 AC 86 ms
15,632 KB
testcase_08 AC 81 ms
15,020 KB
testcase_09 AC 224 ms
52,568 KB
testcase_10 AC 203 ms
49,280 KB
testcase_11 AC 85 ms
15,436 KB
testcase_12 AC 85 ms
15,408 KB
testcase_13 AC 85 ms
15,288 KB
testcase_14 AC 218 ms
51,480 KB
testcase_15 AC 218 ms
51,324 KB
testcase_16 AC 221 ms
51,424 KB
testcase_17 AC 222 ms
51,832 KB
testcase_18 AC 224 ms
51,776 KB
testcase_19 AC 225 ms
51,820 KB
testcase_20 AC 224 ms
51,972 KB
testcase_21 AC 224 ms
51,824 KB
testcase_22 AC 222 ms
51,836 KB
testcase_23 AC 221 ms
51,820 KB
testcase_24 AC 227 ms
51,976 KB
testcase_25 AC 225 ms
51,932 KB
testcase_26 AC 216 ms
51,052 KB
testcase_27 AC 218 ms
51,396 KB
testcase_28 AC 226 ms
51,772 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval'N,X,*S='+$<.read.split*?,
p S.sum-X*~-N
0