Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
14
Task/Integer-overflow/Lingo/integer-overflow.lingo
Normal file
14
Task/Integer-overflow/Lingo/integer-overflow.lingo
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
put -(-2147483647-1)
|
||||
-- -2147483648
|
||||
|
||||
put 2000000000 + 2000000000
|
||||
-- -294967296
|
||||
|
||||
put -2147483647 - 2147483647
|
||||
-- 2
|
||||
|
||||
put 46341 * 46341
|
||||
-- -2147479015
|
||||
|
||||
put (-2147483647-1) / -1
|
||||
--> crashes Director (jeez!)
|
||||
Loading…
Add table
Add a link
Reference in a new issue