Submission #68918594


Source Code Expand

#include<bits/stdc++.h>
using namespace std;
int t,x;
string y,s[105];
int main()
{
    cin>>t;
    for(int i=1;i<=t;i++)cin>>s[i];
    cin>>x>>y;
    if(s[x]==y)cout<<"Yes";
    else cout<<"No";
    return 0;
}

Submission Info

Submission Time
Task A - Misdelivery
User wwbzh
Language C++ 20 (gcc 12.2)
Score 100
Code Size 223 Byte
Status AC
Exec Time 1 ms
Memory 3596 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 3528 KiB
random_02.txt AC 1 ms 3416 KiB
random_03.txt AC 1 ms 3416 KiB
random_04.txt AC 1 ms 3536 KiB
random_05.txt AC 1 ms 3536 KiB
random_06.txt AC 1 ms 3536 KiB
random_07.txt AC 1 ms 3540 KiB
random_08.txt AC 1 ms 3596 KiB
sample_01.txt AC 1 ms 3456 KiB
sample_02.txt AC 1 ms 3476 KiB
sample_03.txt AC 1 ms 3596 KiB
sample_04.txt AC 1 ms 3516 KiB