Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
14
Task/Integer-overflow/YAMLScript/integer-overflow.ys
Normal file
14
Task/Integer-overflow/YAMLScript/integer-overflow.ys
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
!YS-v0
|
||||
|
||||
tests =: |
|
||||
-9223372036854775807.-- * -1
|
||||
5000000000000000000 + 5000000000000000000
|
||||
-9223372036854775807 - 9223372036854775807
|
||||
3037000500 * 3037000500
|
||||
|
||||
each test tests:lines:
|
||||
say: test
|
||||
try:
|
||||
eval: test
|
||||
catch e:
|
||||
say: "$e\n"
|
||||
Loading…
Add table
Add a link
Reference in a new issue