結果

問題 No.804 野菜が苦手
ユーザー k0825k0825
提出日時 2019-05-01 00:35:14
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 92 bytes
コンパイル時間 390 ms
コンパイル使用メモリ 10,608 KB
実行使用メモリ 8,180 KB
最終ジャッジ日時 2023-08-30 04:11:54
合計ジャッジ時間 2,338 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
8,068 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 16 ms
8,052 KB
testcase_05 AC 15 ms
8,140 KB
testcase_06 AC 15 ms
8,036 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 16 ms
8,016 KB
testcase_10 AC 15 ms
8,064 KB
testcase_11 AC 15 ms
8,132 KB
testcase_12 AC 16 ms
8,016 KB
testcase_13 AC 15 ms
8,104 KB
testcase_14 AC 16 ms
8,132 KB
testcase_15 AC 15 ms
8,072 KB
testcase_16 AC 16 ms
7,984 KB
testcase_17 AC 15 ms
8,112 KB
testcase_18 WA -
testcase_19 AC 16 ms
8,160 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,c,d=map(int,input().split())
for i in range(a):
	if b<c or d<i*c+i:print(i);exit()
	b-=c
0