結果
問題 |
No.1395 Less Sweet Alchemy
|
ユーザー |
|
提出日時 | 2021-02-14 21:41:28 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 328 bytes |
コンパイル時間 | 1,810 ms |
コンパイル使用メモリ | 191,204 KB |
最終ジャッジ日時 | 2025-01-18 20:49:21 |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 9 WA * 3 |
ソースコード
#define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; signed main() { ios::sync_with_stdio(false); cin.tie(0); int n, x; cin >> n >> x; for (int i = 0; i < n; i++) { int a; cin >> a; if (a >= x) { cout << "Yes" << endl; return 0; } } cout << "No" << endl; return 0; }