結果

問題 No.1721 [Cherry 3rd Tune N] 麗しきNumber
ユーザー root__786
提出日時 2021-10-29 23:20:59
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 287 bytes
コンパイル時間 2,205 ms
コンパイル使用メモリ 191,580 KB
最終ジャッジ日時 2025-01-25 09:40:38
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10 WA * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <bits/stdc++.h>
using namespace std;

int main() {
    string s;
    cin>>s;
    int c=0,d=0;
    for(int i=0;i<s.length();i++){
        if(s[i]=='4')c+=1;
        if(s[i]=='6')d+=1;
    }
    if(c>=1 && d>=1) cout<<"Beautiful";
    else cout<<"....";
    
}
0