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