Hi ,I am writing down here because in previous contest Starter 136(DIV 2) . I don’t cheat still accused for Plagiarism. The problem if my first geometry and i was able to solve this question in just 3-4 minute by observing the test case the problem is very easy and its 1st question of DIV 2 still from last 3-4 contest in DIV 2 i was able to solve 2 or 3 problem in every contest . i didn’t share my code with anyone. I am a competitive programming enthusiast. here the code
</>#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int t;
cin>>t;
while(t–)
{
string s;
cin>>s;
int cnt=0;
for(int i=0;i<4;i++)
{
if(s[i]==‘1’)
{
cnt++;
}
}
if(cnt==1)
{
cout<<11<<endl;
}else if(cnt==4)
{
cout<<441<<endl;
}else if(cnt==3)
{
cout<<231<<endl;
}else if(cnt==2)
{
if((s[0]==‘1’&&s[1]==‘1’)||(s[2]==‘1’&&s[3]==‘1’))
{
cout<<21<<endl;
}else{
cout<<121<<endl;
}
}
}
}
</>
first one is mine. I am not afraid of rating. i don’t want to see a cheater sign on my profile. i know my capability to reach this rating again but i don’t want to loss my profile or cheater sign on my profile.
Don’t let my hard work go in vain.
here is my codeforces and leetcode account link you can see that i am practicing on daily basis
codeforces - rish122
leetcode - RishD789
i am unable to add link in this topic
please remove the flag from my account and restore my rating @admin