結果
| 問題 |
No.1721 [Cherry 3rd Tune N] 麗しきNumber
|
| コンテスト | |
| ユーザー |
mmn15277198
|
| 提出日時 | 2021-10-29 22:22:02 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 457 bytes |
| コンパイル時間 | 1,036 ms |
| コンパイル使用メモリ | 94,432 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-07 11:51:03 |
| 合計ジャッジ時間 | 1,858 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <functional>
#include <queue>
#include <map>
#include <cmath>
#include <iomanip>
#include <set>
#include <cstdio>
using namespace std;
int main() {
string s;
cin >> s;
vector<int> cnt(10 , 0);
for (int i = 0; i < s.size(); i++) {
cnt[s[i] - '0']++;
}
if (cnt[4] > 0 && cnt[6] > 0) {
cout << "Beautiful" << endl;
} else {
cout << "..." << endl;
}
return 0;
}
mmn15277198