結果

問題 No.1453 手助け
ユーザー 👑 tatt61880tatt61880
提出日時 2021-04-02 21:11:51
言語 Kuin
(KuinC++ v.2021.9.17)
結果
WA  
実行時間 -
コード長 338 bytes
コンパイル時間 2,211 ms
コンパイル使用メモリ 146,328 KB
実行使用メモリ 4,376 KB
最終ジャッジ日時 2023-10-14 18:13:43
合計ジャッジ時間 3,704 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

func main()
	var a: int :: cui@inputInt()
	var b: int :: cui@inputInt()
	var c: int :: cui@inputInt()
	var d: int :: cui@inputInt()
	var e: int :: cui@inputInt()
	var n: int :: b - c
	var ans: int :: 0
	var x: int :: d
	for i(1, n)
		if(i % 10 = 0 & e <= x)
			do x :- e
		end if
		do ans :+ x
	end for
	do cui@print("\{ans}\n")
end func
0