結果

問題 No.1721 [Cherry 3rd Tune N] 麗しきNumber
ユーザー LV3zJigVW57oPGy
提出日時 2022-08-16 19:03:38
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 337 bytes
コンパイル時間 1,290 ms
コンパイル使用メモリ 158,412 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-03 11:04:11
合計ジャッジ時間 2,333 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12 WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
 string a;
  cin >> a;
  int count=0; 
  int count2=0;
  for(int i=0;i<a.size() ;i++){
    if(a.at(i) == '4'){
      count++;
    }
    else if(a.at(i)=='6'){
      count2++;
    }
  }
  if((count<=1)&&(count2<=1)){
    cout << "Beautiful";
  }
  else{
    cout << "...";
  }
}
0