Submission #40058098
Source Code Expand
#pragma GCC optimize ("O3") #include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); set<string> st; st.insert("and"); st.insert("not"); st.insert("that"); st.insert("the"); st.insert("you"); int n; cin >> n; for (int i = 0; i < n; ++i) { string s; cin >> s; if (st.find(s) != st.end()) { cout << "Yes\n"; return 0; } } cout << "No\n"; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - Probably English |
User | aqxa |
Language | C++ (GCC 9.2.1) |
Score | 100 |
Code Size | 507 Byte |
Status | AC |
Exec Time | 8 ms |
Memory | 3620 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 |
All | sample_01.txt, sample_02.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt, test_14.txt, test_15.txt, test_16.txt, test_17.txt, test_18.txt, test_19.txt, test_20.txt, test_21.txt, test_22.txt, test_23.txt, test_24.txt, test_25.txt, test_26.txt, test_27.txt, test_28.txt, test_29.txt, test_30.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 8 ms | 3608 KiB |
sample_02.txt | AC | 2 ms | 3548 KiB |
test_01.txt | AC | 2 ms | 3572 KiB |
test_02.txt | AC | 1 ms | 3492 KiB |
test_03.txt | AC | 2 ms | 3612 KiB |
test_04.txt | AC | 1 ms | 3612 KiB |
test_05.txt | AC | 2 ms | 3500 KiB |
test_06.txt | AC | 3 ms | 3588 KiB |
test_07.txt | AC | 2 ms | 3500 KiB |
test_08.txt | AC | 2 ms | 3500 KiB |
test_09.txt | AC | 2 ms | 3440 KiB |
test_10.txt | AC | 2 ms | 3604 KiB |
test_11.txt | AC | 2 ms | 3600 KiB |
test_12.txt | AC | 3 ms | 3572 KiB |
test_13.txt | AC | 2 ms | 3444 KiB |
test_14.txt | AC | 2 ms | 3444 KiB |
test_15.txt | AC | 2 ms | 3496 KiB |
test_16.txt | AC | 2 ms | 3616 KiB |
test_17.txt | AC | 2 ms | 3444 KiB |
test_18.txt | AC | 2 ms | 3540 KiB |
test_19.txt | AC | 2 ms | 3564 KiB |
test_20.txt | AC | 2 ms | 3612 KiB |
test_21.txt | AC | 2 ms | 3576 KiB |
test_22.txt | AC | 3 ms | 3592 KiB |
test_23.txt | AC | 2 ms | 3452 KiB |
test_24.txt | AC | 4 ms | 3608 KiB |
test_25.txt | AC | 2 ms | 3504 KiB |
test_26.txt | AC | 2 ms | 3608 KiB |
test_27.txt | AC | 2 ms | 3448 KiB |
test_28.txt | AC | 2 ms | 3620 KiB |
test_29.txt | AC | 2 ms | 3528 KiB |
test_30.txt | AC | 3 ms | 3540 KiB |