統計
All
Feeds
解決済み
Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.
8年以上 前
解決済み
Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12
8年以上 前
解決済み
Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...
8年以上 前
解決済み
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
8年以上 前
解決済み
Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...
8年以上 前
回答済み
MouseWheelListener in JFrame that was created in java does not work
Putting a MouseWheelListener on the JFrame instead of the JPanel inside it, and then transposing the mouse location (java.awt.Po...
MouseWheelListener in JFrame that was created in java does not work
Putting a MouseWheelListener on the JFrame instead of the JPanel inside it, and then transposing the mouse location (java.awt.Po...
約14年 前 | 0
質問
MouseWheelListener in JFrame that was created in java does not work
Hi all, I have a java class with a constructor that receives some java model object. The class extends JFrame and visualizes th...
約14年 前 | 1 件の回答 | 0
