Wrong Answer
Code
#include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while(t--)
{
long long n;
cin >> n;
for(int i=0; i<n; i++)
{
string str;
cin >> str[i];
string str2 = "SeriousOJ";
if(str ==str2)
{
cout << "YES"<<endl;
break;
}
else
{
cout << "NO" <<endl;
break;
}
}
}
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1147 SeriousOJ Challenge
- Contest
- LU IUJPC : Sylhet Division 2024
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2024-12-09 09:03:49
- Judged At
- 2024-12-09 09:03:49
- Judged By
- Score
- 0
- Total Time
- 1ms
- Peak Memory
- 540.0 KiB