結果
問題 | No.1721 [Cherry 3rd Tune N] 麗しきNumber |
ユーザー |
![]() |
提出日時 | 2022-02-12 22:17:35 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 307 bytes |
コンパイル時間 | 1,530 ms |
コンパイル使用メモリ | 166,288 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-29 01:30:55 |
合計ジャッジ時間 | 2,414 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 27 |
ソースコード
#include<bits/stdc++.h> using namespace std; #define rep(i,n) for(int i=0;i<n;i++) #define ll long long int int main(){ string S; cin >> S; bool a=0,b=0; rep(i,S.size()){ if(S[i]=='4')a=1; if(S[i]=='6')b=1; } if(a==1&&b==1){ cout<<"Beautiful"<<endl; } else{ cout<<"..."<<endl; } }