結果
| 問題 |
No.1721 [Cherry 3rd Tune N] 麗しきNumber
|
| コンテスト | |
| ユーザー |
root__786
|
| 提出日時 | 2021-10-29 23:19:26 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 275 bytes |
| コンパイル時間 | 2,186 ms |
| コンパイル使用メモリ | 191,848 KB |
| 最終ジャッジ日時 | 2025-01-25 09:40:29 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 17 |
ソースコード
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin>>s;
int c=0;
for(int i=0;i<s.length();i++){
if(s[i]=='4')c+=1;
if(s[i]=='6')c+=1;
}
if(c>=2) cout<<"Beautiful";
else cout<<"....";
}
root__786