Блог пользователя ghorardim

Автор ghorardim, история, 7 лет назад, По-английски

I had solved this problem.Time limit of this problem is 1 sec.After complete of my all calculation I had run a big nested loop and submit that.Then I had surprised!!!I got AC and the execution time of that code as same as my real code. How it is possible??? Why I didn't get TLE?? Why the execution time as same as my real code??

Please anyone help me............

Полный текст и комментарии »

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится

Автор ghorardim, история, 7 лет назад, По-английски

I am getting TLE and I can't handle it.I know the is solved by 0-1 Knapsack.I also try this. I think i have some mistake in my code but I do not found it. Please anyone help me..... Problem :UVA-562 — Dividing coins my code :Cpp_Code

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор ghorardim, история, 9 лет назад, По-английски

I am trying to solve this problem.....

http://codeforces.me/problemset/problem/281/B

but i am continuously getting WA in a case.i check that case in pc's compiler it gives me correct output.i have copied my code and check it in custom test(codeforce compiler) and it gives different result. i can't found my mistake and can't found the solution :( here is my code http://codeforces.me/contest/281/submission/17562664

Plz anyone help me...

Полный текст и комментарии »

  • Проголосовать: нравится
  • -21
  • Проголосовать: не нравится