Submission #52568804
Source Code Expand
#include <iostream>
#include <cmath>
#include <algorithm>
#include <vector>
using namespace std;
int main() {
string s; cin >> s;
int a = (s[3] - '0') * 100 + (s[4] - '0') * 10 + (s[5] - '0');
if (a < 350 && a != 316 && a != 0) cout << "Yes" << endl;
else cout << "No" << endl;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Past ABCs |
| User | H_Tatsuhiro |
| Language | C++ 23 (gcc 12.2) |
| Score | 100 |
| Code Size | 298 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 3652 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt, sample_03.txt |
| All | random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, sample_01.txt, sample_02.txt, sample_03.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| random_01.txt | AC | 1 ms | 3572 KiB |
| random_02.txt | AC | 1 ms | 3404 KiB |
| random_03.txt | AC | 1 ms | 3568 KiB |
| random_04.txt | AC | 1 ms | 3500 KiB |
| random_05.txt | AC | 1 ms | 3464 KiB |
| random_06.txt | AC | 1 ms | 3568 KiB |
| random_07.txt | AC | 1 ms | 3468 KiB |
| sample_01.txt | AC | 1 ms | 3652 KiB |
| sample_02.txt | AC | 1 ms | 3432 KiB |
| sample_03.txt | AC | 1 ms | 3472 KiB |