ログイン
新規登録
AtsuoCoder Petrozavodsk Contest 001
読込中…
Home
Tasks
Clar
Submissions
Standings
提出 b566f615-a4b0-4b8d-9d78-07c9f380489e
コード
#include <bits/stdc++.h> using namespace std; int main() { int A; int B; int C; int T; cin >> A >> B >> C >> T; if (A<=B){ } if (B *T < C){ cout << 0 << endl; } else{ cout << 1 << endl; } else{ if(A*T <C){ cout << 0 << endl; } else{ cout << 1 << endl; } } }
結果
問題
点数
言語
結果
実行時間
メモリ
B - Dash
0
C++
WJ
0 ms
0 KiB
コンパイルエラー
Main.cpp: In function 'int main()': Main.cpp:19:1: error: 'else' without a previous 'if' 19 | else{ | ^~~~