After deleting leaves and recalculation x ( (X^i)^i == X ) we can get parent of new leaves and so on... About this problem after recursivly deleting leaves, only loop stay in graph(with ans[i] == 0 for each vertex i in cycle ). → Reply lamphanviet 13 years ago, # ^...
Explain me this Code , bold one to explain me detail Go to solution Former Member 2008 Jul 25 11:48 AM 0 Kudos 202 SAP Managed Tags: ABAP Development form get_structure. data : idetails type abap_compdescr_tab, xdetails type abap_compdescr. data : ref_table_des type ...
Can someone please explain this code to me? If num = 8 how would the process go? num = int(input()) def fibonacci(n): if n <= 1: return n else: return fibonacci(n-1) + fibonacci(n-2) for i in range(num): print(fibonacci(i))...
Can someone explain me this line of code? $newColor.css("background-color", $("#newColor").css("background-color")) I understand that we're changing the background color of the variable $newColor, but adding the value $("#newColor").css("background-color") throws me off. ...
can someone explain to me this code line by line cuase im lost, i know the point of it but i cant figuret out A=[ 2 0 0;1 5 0; 7 9 8 ] b = [ 6; 2; 5] n = length(b); x = zeros(n,1); for j=1:n-1 x(j) = b(j)/L...
Help me explain this code I can't understand how this code works, pls help me The code: class Enemy: name = "" lives = 0 def __init__(self, name, lives): self.name = name self.lives = lives def hit(self): self.lives -= 1 if self.lives <= 0: print(self.name + ' kille...
So upon researching online for code I came across one that works great, but I don't understand completely. I just want to understand what is happening throughout the code, why this person did some of the things they did. Does that make sense? I'm seeing a lot of things I haven't ...
Can someone explain this code to me? (Visual C#) Can Struct stored in heap?! can VB & C# to be used in same project? Can we add derived class object to base class object? Can we change the return type of a method during overriding in c# Can we const with String.Format Can we ...
README ETC (Explain This Code) ExplainThisCode is A VSCode extension that uses the ChatGPT API to provide explanations for selected code. Features The extension will explain the selected code in your VSCode editor and insert the explanation as a block comment above the code. Run this extension...
What I usually do is throw it away if it does not work out of the box for the problem I was trying to solve. Almost nothing is so complex that spending time figuring out unclear code is worth the time. If that is not an option, and you have to figure it out, the next step is...