結果
| 問題 |
No.1721 [Cherry 3rd Tune N] 麗しきNumber
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-11-11 00:35:08 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 365 bytes |
| コンパイル時間 | 1,912 ms |
| コンパイル使用メモリ | 185,776 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-21 18:36:48 |
| 合計ジャッジ時間 | 3,001 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
#define _GLIBCXX_DEBUG
#define ll long long
#include <bits/stdc++.h>
using namespace std;
using Graph = vector<vector<int>>;
int main(){
int N; cin >> N;
bool F4 = false, F6 = false;
while(N>0){
int n = N%10;
if(n == 4) F4 = true;
if(n == 6) F6 = true;
N /= 10;
}
if(F4 and F6) cout << "Beautiful" << endl;
else cout << "..." << endl;
}