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
