Talk:A+B: Difference between revisions

imported>PauliKL
 
(One intermediate revision by one other user not shown)
Line 1:
==task elegance==
This task is pretty elegant; I suspect it could handily replace both [[User Input]] and [[User Output]]. --[[User:Short Circuit|Michael Mol]] 16:49, 8 April 2010 (UTC)
 
 
==Formatting==
Line 13 ⟶ 15:
 
:: Ta! --[[User:Paddy3118|Paddy3118]] 21:46, 8 April 2010 (UTC)
 
 
===Input Specification===
Line 24 ⟶ 27:
:::I don't think we really need to worry about that. That's not really the point of the task. I say let it go ad let people input the numbers in whatever way is natural to the language. --[[User:Mwn3d|Mwn3d]] 16:21, 25 September 2011 (UTC)
:::: I don't know: what is the point of the task, actually? --[[User:Ledrug|Ledrug]] 16:45, 25 September 2011 (UTC)
::::: I still think that the way data is input (numbers separated by space) is the main point in this task. If the numbers could be entered with whatever method is the easiest for given language, then that requirement should not be given in the task description. Therefore, those implementations that expect comma or newline as separator, are clearly wrong. --[[User:PauliKL|PauliKL]] ([[User talk:PauliKL|talk]]) 15:18, 10 October 2023 (UTC)
 
::If it is competition input then those tasks are likely fails if they ''require'' a newline to be typed after the first number, before the second can be recognised, as I would have thought that, as the competition input states, only a space is given.
Line 40 ⟶ 44:
 
: The task specifies that we need the sum of A and B and that they are between -1000 and 1000. It does NOT specify that we should not provide the sum when they are out of this range. I believe the intent was that outside of this range the behavior of the program is unspecified. --[[User:Rdm|Rdm]] 10:30, 13 May 2010 (UTC)
 
 
==Fabula?==
Line 48 ⟶ 53:
::::Thanks Kernigh for the reference. I would have thought that the Oxford English Dictionary would have an entry for Latin words in 'common' usage, so I don't feel the need to put back the mention of it in the task. --[[User:Paddy3118|Paddy3118]] 18:09, 26 September 2011 (UTC)
 
== LabVIEW ==
 
== LabVIEW ==
While LabVIEW can add numbers, I'm pretty sure that it cannot read stdin (or if it can, it's well beyond my knowledge). Should I add LabVIEW code, mark it as <nowiki>{{omit from|LabVIEW|No Stdin}}</nowiki>, or just leave it for someone else? --[[User:Crazyfirex|Crazyfirex]] 03:20, 16 January 2012 (UTC)
 
==REXX==
 
==REXX==
Siskus: &nbsp; The REXX version 4 you flagged as ''incorrect'' is indeed correct, and it works as described and has been tested.
 
Anonymous user