@Shreyaaaa95 Save everything important in your drives and photos taken back up of everything and make sure you know the mail id password,then just format the phone it's the only option you're left with.
used @Princesingh004's SnapDevCode,it's usefull for posting codes on twitter or to anyone,its very cool.This is solution to problem https://t.co/EpltAefY0p on codeforces.