結果
問題 |
No.1721 [Cherry 3rd Tune N] 麗しきNumber
|
ユーザー |
![]() |
提出日時 | 2021-10-29 21:20:55 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 305 bytes |
コンパイル時間 | 2,258 ms |
コンパイル使用メモリ | 191,808 KB |
最終ジャッジ日時 | 2025-01-25 08:18:54 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 27 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string N; cin >> N; int f = 0; for(int i = 0; i < N.size(); i++){ if(N[i] == '4') { f |= 1; } if(N[i] == '6') { f |= 2; } } cout << ((f == 3)?"Yes":"No") << endl; }