Cody

Rafael Siqueira Telles Vieira

131
Rank
29
Badges
5485
Score
1 – 50 of 677

Rafael Siqueira Telles Vieira received Cody5:Easy Master badge

21 hours and 22 minutes ago

Rafael Siqueira Telles Vieira submitted a Comment to Problem 564. How to subtract?

Mark Sanderson, if W > 0 Z = ['+' ...]

on 2 Jul 2020 at 6:52

Rafael Siqueira Telles Vieira submitted a Comment to Problem 564. How to subtract?

actually each of them has 14 characters or less...15 if we count the signs.

on 2 Jul 2020 at 6:48

Rafael Siqueira Telles Vieira submitted a Comment to Problem 44314. A Simple Tide Gauge with MATLAB

We can use derivatives for predicting the high tide (diff) when we can assume that a function is increasing or decreasing (even with some noise).

on 2 Jul 2020 at 3:39

Rafael Siqueira Telles Vieira submitted a Comment to Problem 44334. Sums of Multiple Pairs of Triangular Numbers

The first test case is wrong 0 and 21 are triangular numbers too (https://oeis.org/A000217), therefore: multi_triangular(21) [ 0, 6; 21, 15] PS: And 0 does not make a pair with every number in this case.

on 2 Jul 2020 at 2:28

Rafael Siqueira Telles Vieira submitted a Comment to Problem 44372. Polarisation

Tip: In this problem, the first polarizer is always equated to 0.5 (since I_0 = 1 and the light comes from all directions): we should calculate the integral of the function cos(x)^2 from 0 to 2pi divided by 2pi (Mean Value Theorem). The remainder is Malus's Law.

on 2 Jul 2020 at 1:36

Rafael Siqueira Telles Vieira submitted a Comment to Problem 44370. Octoberfest festival

Good problem, but you could add more test cases, like n = 0, which should be 1. And a higher n, 144, which should be much greater than 2 billion beers (after 3 days straight at Octoberfest, wow). Unfortunately, It is impossible to calculate the beer for all 16 to 18 days within machine precision.

on 1 Jul 2020 at 20:58

1 – 50 of 677