結果
問題 | No.2063 ±2^k operations (easy) |
ユーザー |
![]() |
提出日時 | 2022-09-08 20:36:05 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 223 bytes |
コンパイル時間 | 1,542 ms |
コンパイル使用メモリ | 167,108 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-24 16:15:10 |
合計ジャッジ時間 | 2,399 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 WA * 6 |
ソースコード
#include <bits/stdc++.h>using namespace std;int main() {string s;cin >> s;int cnt = 0;for (int i = 0; i < s.size(); i++) {cnt += s[i] == '1';}cout << (cnt >= 2 ? "Yes" : "No") << endl;return 0;}