結果

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

ソースコード

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