Zahra.H's blog

By Zahra.H, history, 5 years ago, In English

Hi everyone :) i was submitting
Educational Codeforces Round 17 problem A but on test 9 it gives me the correct answer but CF judge says different !! what should i do ?24222811

thanks :) Good day :)

Read more »

 
 
 
 
  • Vote: I like it
  • -7
  • Vote: I do not like it

By Zahra.H, 7 years ago, In English

hi everyone :) i was working on #304 contest (PB D) and it seems like it doesn't work for cin and cout and u should use scanf and printf (which i really dont like to use ) finally even with them i couldn't get AC and can u tell me whats wrong with my code ? or if the algorithm is completely wrong ? thanks :) my code 11371801

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

By Zahra.H, 7 years ago, In English

Hi everyone :) can anyone tell me why my code gives right answer for the first 4 test and it doesnt give the correct answer for the 5th one . i would really really appreciate your help :)

PS : i think my algorithm is correct thats why i dont want to read sb else's code :)

thanks :) http://codeforces.com/contest/415/submission/11136797

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

By Zahra.H, 7 years ago, In English

i wrote this code for min of distance of two strings s and t . but whatever i do it doesnt work for all tests i want

i want that the answer of these two test be 2

test 1 : s = "abbc" // t = "babb"

test2 : s = "aa" // t = "bb"

here is my code http://paste.ubuntu.com/11068656/ thank u so mcuh :)

PS : maybe it be obvious idk 'cause im a beginner :)

Read more »

 
 
 
 
  • Vote: I like it
  • +4
  • Vote: I do not like it

By Zahra.H, 7 years ago, In English

Hi everyone i had a problem with this code. when i run that on my laptop it gives the correct answer but when i submit it CF says its wrong what should i do ??? here is my code

http://codeforces.com/contest/508/submission/10222184

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it