Notes
This function is in beta test. Please help improve it in the issues
here.
/in/ex5.c:45:77: runtime error: unsigned integer overflow: 8 - 512 cannot be represented in type 'unsigned long' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /in/ex5.c:45:77 in ==65155==WARNING: AddressSanitizer failed to allocate 0xfffffffffffffe08 bytes ==65155==AddressSanitizer's allocator is terminating the process instead of returning 0 ==65155==If you don't like this behavior set allocator_may_return_null=1 ==65155==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 0x4e5a45 (/out/package/ex5+0x4e5a45) #1 0x5032f5 (/out/package/ex5+0x5032f5) #2 0x4ebe36 (/out/package/ex5+0x4ebe36) #3 0x4ebe76 (/out/package/ex5+0x4ebe76) #4 0x427da8 (/out/package/ex5+0x427da8) #5 0x4dcd49 (/out/package/ex5+0x4dcd49) #6 0x5179fa (/out/package/ex5+0x5179fa) #7 0x516016 (/out/package/ex5+0x516016) #8 0x7f3a494ccb96 (/lib/x86_64-linux-gn
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
0.28 -0.60 0.28 -0.60 -0.38 0.28 -0.60 -0.38 0.28 -0.60 -0.38 0.28 -0.60 -0.38 0.15 0.28 -0.60 -0.38 0.13 0.15 0.28 -0.60 -0.38 -0.07 0.13 0.15 0.28 -0.60 -0.38 -0.07 0.13 0.15 0.28 -0.60 -0.38 -0.07 0.13 0.15 0.28 -0.78 -0.60 -0.38 -0.07 0.13 0.15 0.28 -0.78 -0.60 -0.38 -0.07 0.13 0.15 0.28 -0.78 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 -0.78 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 -0.78 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 -0.78 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 -0.78 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 -0.78 -0.70 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 -0.78 -0.70 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 0.73 -0.79 -0.78 -0.70 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 0.73 -0.97 -0.79 -0.78 -0.70 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 0.73 -0.97 -0.79 -0.78 -0.70 -0.62 -0.60 -0.58 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 0.73 -0.97 -0.79 -0.78 -0.70 -0.62 -0.60 -0.58 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 0.73 -0.97 -0.79 -0.7
JOJ Answer
0.28 -0.60 0.28 -0.60 -0.38 0.28 -0.60 -0.38 0.28 -0.60 -0.38 0.28 -0.60 -0.38 0.15 0.28 -0.60 -0.38 0.13 0.15 0.28 -0.60 -0.38 -0.07 0.13 0.15 0.28 -0.60 -0.38 -0.07 0.13 0.15 0.28 -0.60 -0.38 -0.07 0.13 0.15 0.28 -0.78 -0.60 -0.38 -0.07 0.13 0.15 0.28 -0.78 -0.60 -0.38 -0.07 0.13 0.15 0.28 -0.78 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 -0.78 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 -0.78 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 -0.78 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 -0.78 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 -0.78 -0.70 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 -0.78 -0.70 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 0.73 -0.79 -0.78 -0.70 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 0.73 -0.97 -0.79 -0.78 -0.70 -0.62 -0.60 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 0.73 -0.97 -0.79 -0.78 -0.70 -0.62 -0.60 -0.58 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49 0.73 -0.97 -0.79 -0.78 -0.70 -0.62 -0.60 -0.58 -0.38 -0.07 0.06 0.13 0.15 0.28 0.49