Please sign in first.
Submission #74933889
Source Code Expand
#include <bits/stdc++.h>
using namespace std;
int main()
{
string s;
cin >> s;
bool ans = true;
for(int i = 0; i < 16; i ++)
{
if(i & 1)
{
if(s[i] == '1')
{
ans = false;
}
}
}
if(ans)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
Submission Info
| Submission Time | |
|---|---|
| Task | B - Weak Beats |
| User | white_55kai |
| Language | C++23 (GCC 15.2.0) |
| Score | 100 |
| Code Size | 382 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 3640 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example_00.txt, example_01.txt, example_02.txt |
| All | example_00.txt, example_01.txt, example_02.txt, hand_00.txt, hand_01.txt, hand_02.txt, hand_03.txt, hand_04.txt, hand_05.txt, hand_06.txt, hand_07.txt, hand_08.txt, hand_09.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| example_00.txt | AC | 1 ms | 3500 KiB |
| example_01.txt | AC | 1 ms | 3500 KiB |
| example_02.txt | AC | 1 ms | 3572 KiB |
| hand_00.txt | AC | 1 ms | 3504 KiB |
| hand_01.txt | AC | 1 ms | 3588 KiB |
| hand_02.txt | AC | 1 ms | 3504 KiB |
| hand_03.txt | AC | 1 ms | 3640 KiB |
| hand_04.txt | AC | 1 ms | 3588 KiB |
| hand_05.txt | AC | 1 ms | 3584 KiB |
| hand_06.txt | AC | 1 ms | 3512 KiB |
| hand_07.txt | AC | 1 ms | 3500 KiB |
| hand_08.txt | AC | 1 ms | 3500 KiB |
| hand_09.txt | AC | 1 ms | 3520 KiB |
| random_00.txt | AC | 1 ms | 3568 KiB |
| random_01.txt | AC | 1 ms | 3628 KiB |
| random_02.txt | AC | 1 ms | 3584 KiB |
| random_03.txt | AC | 1 ms | 3572 KiB |
| random_04.txt | AC | 1 ms | 3640 KiB |
| random_05.txt | AC | 1 ms | 3508 KiB |
| random_06.txt | AC | 1 ms | 3620 KiB |
| random_07.txt | AC | 1 ms | 3500 KiB |
| random_08.txt | AC | 1 ms | 3520 KiB |
| random_09.txt | AC | 1 ms | 3620 KiB |