結果
問題 |
No.1721 [Cherry 3rd Tune N] 麗しきNumber
|
ユーザー |
|
提出日時 | 2022-07-02 12:12:17 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 312 bytes |
コンパイル時間 | 1,978 ms |
コンパイル使用メモリ | 192,408 KB |
最終ジャッジ日時 | 2025-01-30 03:53:55 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 27 |
ソースコード
#include <bits/stdc++.h> using namespace std; using G=vector<vector<int>>; typedef long long ll; #define rep(i,l,r) for(int i=(l);i<(r);++i) int main(){ string s; cin>>s; bool flg=true; if(s.find('4')==string::npos) flg=false; if(s.find('6')==string::npos) flg=false; cout<<(flg?"Beautiful":"...")<<endl; }