結果
問題 | No.804 野菜が苦手 |
ユーザー | Kura |
提出日時 | 2019-04-09 08:05:22 |
言語 | C++11 (gcc 11.4.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 171 bytes |
コンパイル時間 | 1,106 ms |
コンパイル使用メモリ | 143,196 KB |
実行使用メモリ | 11,864 KB |
最終ジャッジ日時 | 2023-09-14 15:49:25 |
合計ジャッジ時間 | 7,566 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | TLE | - |
testcase_01 | -- | - |
testcase_02 | -- | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
testcase_19 | -- | - |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d;cin>>a>>b>>c>>d; int k=1; while(1){ if(k*c>b||(c+1)*k>d||k>a)break; } cout<<k-1<<endl; }