Results of Comment Search

Search:    Place:    Show:

Title User Message Place Date Posted
Re: Why am I getting it wrong? spencereir Your code is clobbering up variables. Look at the variable names you are using on lines 2, 5, 9. Then try rubber-ducking your code. What actually happens when it breaks out of the for loop (not what ... p299ex4 Jan 01, 2016 - 10:28:44 pm UTC
Re: Typo maybe?? spencereir iff is shorthand for "if and only if" since having two divisors is sufficient and necessary for being prime, iff is the correct term here edit: read here https://en.wikipedia.org/wiki/If_and_only_if p299ex4 Jan 01, 2016 - 10:26:28 pm UTC
Why am I getting it wrong? royanitra04 My code works on my interpreter but not on the PEG Judge. Please tell me why. p299ex4 Jan 01, 2016 - 10:05:56 pm UTC
Typo maybe?? royanitra04 Uhh... well I was scanning through the question and I think there's a typo. "Remember: an integer is prime iff (if and only if) it has exactly two divisors: 1 and N." I think it should be "if (if an... p299ex4 Jan 01, 2016 - 10:04:27 pm UTC
Getting Runtime Errors spencereir Is there any way to catch errors in Ruby without getting a runtime error? I tested using CEMC data on my machine and it all worked fine, but the grader is giving RE. I realize my solution is.... prett... ccc05j5 Jan 01, 2016 - 9:19:26 pm UTC
Re: What if it goes above 100? royanitra04 It cannot because you can only move to 100. "If the piece cannot advance the number of squares indicated by the dice, the piece is not moved at all." ccc03s1 Jan 01, 2016 - 4:20:41 am UTC
What if it goes above 100? Robert1462 ccc03s1 Jan 01, 2016 - 2:22:49 am UTC
Ha. jargon It's pretty amusing that this problem statement about typing contains a typo. In the interest of historical accuracy I think I'll leave it :) wc97p4 Dec 31, 2015 - 6:31:51 pm UTC
Re: WHATTT??? jargon There's an extra z at the end. ;) wc97p4 Dec 31, 2015 - 5:47:54 pm UTC
WHATTT??? girishr2004 Wait jargon stated earlier that "abcdefghijklmnopqrstuvwxyz" is not a permutation, but the sample output doesn't say that. wc97p4 Dec 31, 2015 - 5:09:46 pm UTC