結果
| 問題 |
No.290 1010
|
| コンテスト | |
| ユーザー |
mencotton
|
| 提出日時 | 2020-11-02 23:22:33 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 272 bytes |
| コンパイル時間 | 582 ms |
| コンパイル使用メモリ | 69,500 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-22 08:19:03 |
| 合計ジャッジ時間 | 1,522 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 WA * 2 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
using ll = long long;
int main() {
int n;
string s;
cin >> n >> s;
if (n >= 3 || s == "00" || s == "11")cout << "YES" << endl;
else cout << "NO" << endl;
return 0;
}
mencotton