結果
| 問題 |
No.1721 [Cherry 3rd Tune N] 麗しきNumber
|
| コンテスト | |
| ユーザー |
houren
|
| 提出日時 | 2021-10-29 21:21:52 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 452 bytes |
| コンパイル時間 | 1,362 ms |
| コンパイル使用メモリ | 166,352 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-07 09:25:55 |
| 合計ジャッジ時間 | 2,114 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll MOD = 1000000007;
using P = pair<int,int>;
#define rep(i, n) for(int i = 0; i < n; i++)
#define all(x) (x).begin(),(x).end()
int main(){
string s;
cin >> s;
bool b1 = false, b2 = false;
for(char c:s){
if(c=='4') b1 = true;
if(c=='6') b2 = true;
}
if(b1&&b2) cout << "Beautiful" << endl;
else cout << "..." << endl;
return 0;
}
houren