結果

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

ソースコード

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 =1;
    }
    else if(a.at(i)='6'){
      count2=1;
    }
  }
  if(count==1&&count2==1){
    cout << "Beautiful";
  }
  else{
    cout << "...";
  }
}
    
0