結果
問題 |
No.1721 [Cherry 3rd Tune N] 麗しきNumber
|
ユーザー |
![]() |
提出日時 | 2021-10-29 21:46:14 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 355 bytes |
コンパイル時間 | 2,297 ms |
コンパイル使用メモリ | 191,872 KB |
最終ジャッジ日時 | 2025-01-25 08:43:54 |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 27 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define int int64_t int32_t main() { string n; cin >> n; bool f = false; bool s = false; for (auto c : n) { if (c == '4') f = true; else if (c == '6') s = true; } if (f and s) cout << "Beautiful" << endl; else cout << "..." << endl; }