Talk:A+B: Difference between revisions
Content added Content deleted
(→Input Specification: A, B in [-1000, 1000] ?) |
|||
Line 20: | Line 20: | ||
: If you look at the solutions contributed in the first version of the page, you'll see code that only makes any sense if the input is two integers on a single line separated by whitespace. There might or might not be leading and trailing whitespace on that line. Or at least that's what the Pascal and C solutions wanted at that point. –[[User:Dkf|Donal Fellows]] 23:27, 8 April 2010 (UTC) |
: If you look at the solutions contributed in the first version of the page, you'll see code that only makes any sense if the input is two integers on a single line separated by whitespace. There might or might not be leading and trailing whitespace on that line. Or at least that's what the Pascal and C solutions wanted at that point. –[[User:Dkf|Donal Fellows]] 23:27, 8 April 2010 (UTC) |
||
===Input specification ("constraints")=== |
|||
The task's text says that A and B are (must be? should be?) between -1000 and 1000; no a single example checks this. Is it a mandatory requirement we should add the check for, or it can be ignored? —[[User:ShinTakezou|ShinTakezou]] 06:30, 13 May 2010 (UTC) |