Please sign in first.
Submission #54564521
Source Code Expand
// Problem: A - Welcome to AtCoder Land
// Contest: AtCoder - AtCoder Beginner Contest 358
// URL: https://atcoder.jp/contests/abc358/tasks/abc358_a
// Memory Limit: 1024 MB
// Time Limit: 2000 ms
//
// Powered by CP Editor (https://cpeditor.org)
#include<bits/stdc++.h>
const int N = 1e3;
using namespace std;
using ll = long long;
void solve(){
string s, t;
cin >> s >> t;
string a = "AtCoder", b = "Land";
if(s == a && t == b){
cout << "Yes";
}else{
cout << "No";
}
}
int main(){
std::ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
int t;
//cin >> t;
t=1;
while (t--) {
solve();
}
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Welcome to AtCoder Land |
| User | mellowsky |
| Language | C++ 20 (gcc 12.2) |
| Score | 100 |
| Code Size | 660 Byte |
| Status | AC |
| Exec Time | 1 ms |
| Memory | 3472 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt |
| All | 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 02_handmade_00.txt, 02_handmade_01.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 00_sample_00.txt | AC | 1 ms | 3412 KiB |
| 00_sample_01.txt | AC | 1 ms | 3384 KiB |
| 00_sample_02.txt | AC | 1 ms | 3396 KiB |
| 01_random_00.txt | AC | 1 ms | 3472 KiB |
| 01_random_01.txt | AC | 1 ms | 3408 KiB |
| 01_random_02.txt | AC | 1 ms | 3460 KiB |
| 01_random_03.txt | AC | 1 ms | 3448 KiB |
| 01_random_04.txt | AC | 1 ms | 3388 KiB |
| 01_random_05.txt | AC | 1 ms | 3464 KiB |
| 02_handmade_00.txt | AC | 1 ms | 3424 KiB |
| 02_handmade_01.txt | AC | 1 ms | 3416 KiB |