結果
| 問題 |
No.1721 [Cherry 3rd Tune N] 麗しきNumber
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-10-29 21:38:01 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 438 bytes |
| コンパイル時間 | 2,204 ms |
| コンパイル使用メモリ | 190,116 KB |
| 最終ジャッジ日時 | 2025-01-25 08:36:39 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
string p;
bool cuatro = 0;
bool seis = 0;
int main(){
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
cin >> p;
int tam = p.size();
for(int i = 0; i < tam; i++){
if(p[i] == '4')cuatro = true;
if(p[i] == '6')seis = true;
}
if(cuatro && seis){
cout << "Beautiful";
}else{
cout << "...";
}
return 0;
}