結果
問題 | No.1721 [Cherry 3rd Tune N] 麗しきNumber |
ユーザー |
|
提出日時 | 2022-04-13 18:06:55 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 354 bytes |
コンパイル時間 | 1,121 ms |
コンパイル使用メモリ | 159,016 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-23 16:29:34 |
合計ジャッジ時間 | 2,110 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 27 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; bool fr = false; bool sx = false; for (const char& c : s) { if (c == '4') fr = true; if (c == '6') sx = true; } if (fr && sx) { cout << "Beautiful" << endl; return 0; } cout << "..." << endl; return 0; }