Wrong Answer
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