提出 #54554233


ソースコード 拡げる

#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp> 
 
using namespace std;
using namespace __gnu_pbds;
 
typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> pbds;
//A.order_of_key() *A.find_by_order()
#define endl "\n"
#define int long long
#define ld long double
#define pb push_back
#define rep(i,a,b) for(int i = a; i < b; i++)
#define sz(v) v.size()
#define all(x) x.begin(),x.end()
#define in(v) for(int i = 0; i<v.size(); i++) cin>>v[i];
#define out(v) for(int i = 0; i<v.size(); i++) cout<<v[i]<<" "; cout<<endl;
#define ret(v) cout<<v<<"\n"; return
#define popcount(num) __builtin_popcount(num)
typedef vector<int> vi;
typedef pair<int,int> pii;
const int INF = 1e18;
const int MOD = 998244353;
const int N = 3e5;
const int LN = 20;

void solve(){
string s1, s2;
cin >> s1 >> s2;

if(s1 == "AtCoder" && s2 == "Land"){
    cout<<"Yes"<<endl;
} 
else{
    cout<<"No"<<endl;
}


}
 
int32_t main() {   
    ios_base::sync_with_stdio(false);
    cin.tie(0); cout.tie(0); 
    int t = 1; 
    // cin>>t;
    for(int i = 1; i<=t; i++){
        // cout<<"Case #"<<i<<": ";
        solve();
    }
    return 0;
}
 
 

提出情報

提出日時
問題 A - Welcome to AtCoder Land
ユーザ TheDivineAurora
言語 C++ 20 (gcc 12.2)
得点 100
コード長 1259 Byte
結果 AC
実行時間 1 ms
メモリ 3600 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 11
セット名 テストケース
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
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 1 ms 3388 KiB
00_sample_01.txt AC 1 ms 3596 KiB
00_sample_02.txt AC 1 ms 3600 KiB
01_random_00.txt AC 1 ms 3416 KiB
01_random_01.txt AC 1 ms 3460 KiB
01_random_02.txt AC 1 ms 3408 KiB
01_random_03.txt AC 1 ms 3412 KiB
01_random_04.txt AC 1 ms 3312 KiB
01_random_05.txt AC 1 ms 3412 KiB
02_handmade_00.txt AC 1 ms 3444 KiB
02_handmade_01.txt AC 1 ms 3316 KiB