ログイン
新規登録
AtsuoCoder Petrozavodsk Contest 001
読込中…
Home
Tasks
Clar
Submissions
Standings
提出 e5536b87-ff89-4fe2-9ba9-f2ea1619001a
コード
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,t; cin >> a >> b >> c >> t; if(a>b,t/a-c >= 0){ cout << 1 << endl; } else if(a>b,t/a-c < 0){ cout << 0 << endl; } else if(a<=b,t/b-c >= 0){ cout << 1 << endl; } else{ cout << 0 << endl; } }
結果
問題
点数
言語
結果
実行時間
メモリ
B - Dash
100
C++
AC
3 ms
3732 KiB