/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Wrong Answer 2ms 324.0 KiB
#2 Wrong Answer 1ms 320.0 KiB

Code

#include<bits/stdc++.h>
using namespace std;

int main()
{
    int tcase;
    cin >> tcase;
    while(tcase--){
        string a, b;
        cin >> a >> b;
        int res;
        if(a.find(b) == -1){
            cout << "NO" << endl;
        }
        else{
            cout << "YES" << endl;
        }
    }
    return 0;
}

Information

Submit By
Type
Submission
Problem
P1020 Favourite footballer
Contest
Brain booster - 1
Language
C++20 (G++ 13.2.0)
Submit At
2023-12-31 16:34:29
Judged At
2024-11-11 03:45:06
Judged By
Score
0
Total Time
2ms
Peak Memory
324.0 KiB