Asa's Website

B - Range

cpaojitp1

最終更新日

Table of Contents

Loading...

問題

https://onlinejudge.u-aizu.ac.jp/courses/lesson/2/ITP1/2/ITP1_2_B

問題文

a<b<ca < b < c か判定してね。

制約

サンプル

I/O 1

1 3 8
Yes

I/O 2

3 8 1
No

考察

やるだけ。

コード

https://onlinejudge.u-aizu.ac.jp/status/users/a01sa01to/submissions/1/ITP1_2_B/judge/6370422/C++17

int main() { int a, b, c; cin >> a >> b >> c; if (a < b && b < c) { cout << "Yes" << endl; } else { cout << "No" << endl; } return 0; }