結果

問題 No.500 階乗電卓
ユーザー 👑 tatt61880tatt61880
提出日時 2020-04-11 23:44:06
言語 Kuin
(KuinC++ v.2021.9.17)
結果
WA  
実行時間 -
コード長 170 bytes
コンパイル時間 1,927 ms
コンパイル使用メモリ 147,348 KB
実行使用メモリ 4,356 KB
最終ジャッジ日時 2023-10-14 16:07:44
合計ジャッジ時間 3,103 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 1 ms
4,348 KB
testcase_05 AC 2 ms
4,348 KB
testcase_06 AC 2 ms
4,348 KB
testcase_07 AC 2 ms
4,352 KB
testcase_08 AC 2 ms
4,352 KB
testcase_09 AC 2 ms
4,352 KB
testcase_10 AC 2 ms
4,348 KB
testcase_11 AC 2 ms
4,352 KB
testcase_12 AC 2 ms
4,352 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 2 ms
4,352 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

func main()
	var n: int :: [cui@input().toInt(&), 60].min()
	var ans: int :: 1
	for i(1, n)
		do ans :* i
		do ans :% 10 ^ 12
	end for
	do cui@print("\{ans}\n")
end func
0