Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

/in/ex5.c:114:111: runtime error: unsigned integer overflow: 8 - 512 cannot be represented in type 'unsigned long'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/ex5.c:114:111 in 
==71915==WARNING: AddressSanitizer failed to allocate 0xfffffffffffffe08 bytes
==71915==AddressSanitizer's allocator is terminating the process instead of returning 0
==71915==If you don't like this behavior set allocator_may_return_null=1
==71915==AddressSanitizer CHECK failed: /build/llvm-toolchain-6.0-QjOn7h/llvm-toolchain-6.0-6.0/projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc:225 "((0)) != (0)" (0x0, 0x0)
    #0 0x4e5a05  (/out/package/ex5+0x4e5a05)
    #1 0x5032b5  (/out/package/ex5+0x5032b5)
    #2 0x4ebdf6  (/out/package/ex5+0x4ebdf6)
    #3 0x4ebe36  (/out/package/ex5+0x4ebe36)
    #4 0x427d68  (/out/package/ex5+0x427d68)
    #5 0x4dcd09  (/out/package/ex5+0x4dcd09)
    #6 0x519453  (/out/package/ex5+0x519453)
    #7 0x515fd6  (/out/package/ex5+0x515fd6)
    #8 0x7f60e36dab96  (/lib/x86_64-linu

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Runtime Error. And the exit code of your program is 1, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer


        

JOJ Answer

0.48 
0.48 
0.48 
0.48 0.81 
0.48 0.74 0.81 
-0.57 0.48 0.74 0.81 
-0.57 0.48 0.74 0.81 
-0.60 -0.57 0.48 0.74 0.81 
-0.60 -0.57 0.48 0.74 0.81 
-0.60 -0.57 -0.46 0.48 0.74 0.81 
-0.60 -0.57 -0.46 0.07 0.48 0.74 0.81 
-0.60 -0.57 -0.46 0.07 0.48 0.74 0.81 
-0.60 -0.57 -0.46 0.07 0.48 0.74 0.81 
-0.60 -0.57 -0.46 0.07 0.48 0.74 0.81 
-0.60 -0.57 -0.46 0.07 0.48 0.74 
-0.60 -0.57 -0.46 -0.10 0.07 0.48 0.74 
-0.60 -0.57 -0.46 -0.10 0.07 0.48 0.74 
-0.60 -0.57 -0.46 -0.10 0.07 0.48 0.74 
-0.60 -0.57 -0.46 -0.10 0.07 0.48 0.74 0.77 
-0.60 -0.57 -0.10 0.07 0.48 0.74 0.77 
-0.60 -0.57 -0.10 0.07 0.48 0.74 0.77 
-0.60 -0.57 -0.10 0.07 0.48 0.55 0.74 0.77 
-0.60 -0.57 -0.10 0.07 0.48 0.55 0.74 0.77 
-0.60 -0.57 -0.10 0.07 0.48 0.55 0.74 0.77 
-0.60 -0.57 -0.10 0.07 0.48 0.55 0.57 0.74 0.77 
-0.60 -0.57 -0.10 0.07 0.39 0.48 0.55 0.57 0.74 0.77 
-0.60 -0.57 -0.10 0.07 0.39 0.48 0.55 0.57 0.74 0.77 
-0.60 -0.57 -0.10 0.07 0.17 0.39 0.48 0.55 0.57 0.74 0.77 
-0.82 -0.60 -0.57 -0.10 0.07 0.17 0.