Submission #68906433


Source Code Expand

#include<bits/stdc++.h>
using ll=long long;
using namespace std;
int main()
{
    //freopen(in.in,r,stdin);
    //freopen(out.out,w,stdout);
    ios::sync_with_stdio(false);
    cin.tie(0);
    int tttt=1;
    //cin>>tttt;
    while(tttt--)
    {
        ll n;cin>>n;
        map<ll,string>mp;
        for(int i=1;i<=n;i++)
        {
            string s;
            cin>>s;
            mp[i]=s;
        }
        string y;
        ll x;
        cin>>x;
        cin>>y;
        if(mp[x]==y)
        {
            cout<<"Yes";
        }
        else cout<<"No";
    }
    return 0;
}

Submission Info

Submission Time
Task A - Misdelivery
User evilwater
Language C++ 23 (gcc 12.2)
Score 100
Code Size 615 Byte
Status AC
Exec Time 1 ms
Memory 3516 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 4
AC × 12
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt, sample_04.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, sample_01.txt, sample_02.txt, sample_03.txt, sample_04.txt
Case Name Status Exec Time Memory
random_01.txt AC 1 ms 3512 KiB
random_02.txt AC 1 ms 3516 KiB
random_03.txt AC 1 ms 3452 KiB
random_04.txt AC 1 ms 3500 KiB
random_05.txt AC 1 ms 3428 KiB
random_06.txt AC 1 ms 3372 KiB
random_07.txt AC 1 ms 3512 KiB
random_08.txt AC 1 ms 3428 KiB
sample_01.txt AC 1 ms 3360 KiB
sample_02.txt AC 1 ms 3484 KiB
sample_03.txt AC 1 ms 3400 KiB
sample_04.txt AC 1 ms 3504 KiB